public static final class Dot11ProbeRequestPacket.Dot11ProbeRequestHeader extends Dot11ManagementPacket.Dot11ManagementHeader
0 15 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Frame Control | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Duration | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address1 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address2 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address3 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Control | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HT Control | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Frame Body | | |
1 | SSID | If dot11MeshActivated is true, the SSID element is the wildcard value. |
2 | Supported rates | |
3 | Request information | The Request element is optionally present if dot11MultiDomainCapabilityActivated is true. |
4 | Extended Supported Rates | The Extended Supported Rates element is present if there are more than eight supported rates, and is optionally present otherwise. |
5 | DSSS Parameter Set | The DSSS Parameter Set element is present within Probe Request frames generated by STAs using Clause 16, Clause 17, or Clause 19 PHYs if dot11RadioMeasurementActivated is true. The DSSS Parameter Set element is present within Probe Request frames generated by STAs using a Clause 20 PHY in the 2.4 GHz band if dot11RadioMeasurementActivated is true. The DSSS Parameter Set element is optionally present within Probe Request frames generated by STAs using Clause 16, Clause 17, or Clause 19 PHYs if dot11RadioMeasurementActivated is false. The DSSS Parameter Set element is optionally present within Probe Request frames generated by STAs using a Clause 20 PHY in the 2.4 GHz band if dot11RadioMeasurementActivated is false. |
6 | Supported Operating Classes | The Supported Operating Classes element is present if dot11ExtendedChannelSwitchActivated is true. |
7 | HT Capabilities | The HT Capabilities element is present when dot11HighThroughputOptionImplemented attribute is true. |
8 | 20/40 BSS Coexistence | The 20/40 BSS Coexistence element is optionally present when the dot112040BSSCoexistenceManagementSupport attribute is true. |
9 | Extended Capabilities | The Extended Capabilities element is optionally present if any of the fields in this element are nonzero. |
10 | SSID List | The SSID List element is optionally present if dot11MgmtOptionSSIDListActivated is true. |
11 | Channel Usage | The Channel Usage element is optionally present if dot11MgmtOptionChannelUsageActivated is true. |
12 | Interworking | The Interworking element is present if dot11InterworkingServiceActivated is true. |
13 | Mesh ID | The Mesh ID element is present if dot11MeshActivated is true. |
Last | Vendor Specific | One or more vendor-specific elements are optionally present. These elements follow all other elements. |
getAddress1, getAddress2, getAddress3, getDuration, getDurationAsInt, getFrameControl, getHtControl, getSequenceControl
buildHexString, buildRawData, getRawData, hashCode, length, toHexString, toString
public Dot11SsidElement getSsid()
public Dot11SupportedRatesElement getSupportedRates()
public Dot11RequestElement getRequest()
public Dot11ExtendedSupportedRatesElement getExtendedSupportedRates()
public Dot11DsssParameterSetElement getDsssParameterSet()
public Dot11SupportedOperatingClassesElement getSupportedOperatingClasses()
public Dot11HTCapabilitiesElement getHtCapabilities()
public Dot112040BssCoexistenceElement get2040BssCoexistence()
public Dot11ExtendedCapabilitiesElement getExtendedCapabilities()
public Dot11SsidListElement getSsidList()
public Dot11ChannelUsageElement getChannelUsage()
public Dot11InterworkingElement getInterworking()
public Dot11MeshIdElement getMeshId()
public List<Dot11VendorSpecificElement> getVendorSpecificElements()
protected List<byte[]> getRawFields()
AbstractPacket.AbstractHeader
calcLength()
and buildRawData()
.getRawFields
in class Dot11ManagementPacket.Dot11ManagementHeader
public int calcLength()
AbstractPacket.AbstractHeader
length()
will return by adding up the
lengths of byte arrays in the list getRawFields()
returns.calcLength
in class Dot11ManagementPacket.Dot11ManagementHeader
protected String buildString()
AbstractPacket.AbstractHeader
toString()
will return.buildString
in class Dot11ManagementPacket.Dot11ManagementHeader
protected String getHeaderName()
getHeaderName
in class Dot11ManagementPacket.Dot11ManagementHeader
protected int calcHashCode()
AbstractPacket.AbstractHeader
hashCode()
will return using the byte array
getRawData()
returns. This method may be better to be overridden for
performance reason.calcHashCode
in class Dot11ManagementPacket.Dot11ManagementHeader
public boolean equals(Object obj)
AbstractPacket.AbstractHeader
getRawData()
. This method should be overridden so that it does more strict
comparisons more efficiently.equals
in class Dot11ManagementPacket.Dot11ManagementHeader
Copyright © 2011–2019 Pcap4J.org. All rights reserved.