- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement
-
- org.pcap4j.packet.Dot11ExtendedCapabilitiesElement
-
- All Implemented Interfaces:
java.io.Serializable
public final class Dot11ExtendedCapabilitiesElement extends Dot11InformationElement
IEEE802.11 Extended Capabilities element1 1 n +-----------------+-----------------+----------------- | Element ID | Length | Capabilities +-----------------+-----------------+----------------- Element ID: 127The Extended Capabilities element carries information about the capabilities of an IEEE 802.11 STA that augment the Capability Information field (CIF).- Since:
- pcap4j 1.7.0
- See Also:
- IEEE802.11, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDot11ExtendedCapabilitiesElement.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.lang.BooleanacStationCountActivatedprivate intactualLengthprivate java.lang.Booleanbit1private java.lang.Booleanbit3private java.lang.Booleanbit35private java.lang.Booleanbit47private java.lang.Booleanbit49private java.lang.Booleanbit5private java.lang.Booleanbit50private java.lang.Booleanbit51private java.lang.Booleanbit52private java.lang.Booleanbit53private java.lang.Booleanbit54private java.lang.Booleanbit55private java.lang.BooleanbssTransitionActivatedprivate java.lang.BooleanchannelUsageActivatedprivate java.lang.BooleancollocatedInterferenceReportingActivatedprivate java.lang.BooleandiagnosticsActivatedprivate java.lang.BooleandmsActivatedprivate java.lang.BooleanebrActivatedprivate java.lang.BooleaneventActivatedprivate java.lang.BooleanextendedChannelSwitchingSupportedprivate java.lang.BooleanfmsActivatedprivate java.lang.BooleaninterworkingServiceActivatedprivate java.lang.BooleanlocationTrackingActivatedprivate java.lang.BooleanmsgcfActivatedprivate java.lang.BooleanmultiBssIdActivatedprivate java.lang.BooleanmulticastDiagnosticsActivatedprivate java.lang.BooleanproxyArpServiceActivatedprivate java.lang.BooleanpsmpOperationSupportedprivate java.lang.BooleanqosMapActivatedprivate java.lang.BooleanqosTrafficCapabilityActivatedprivate java.lang.BooleanrejectingUnadmittedTrafficprivate java.lang.BooleanrmCivicMeasurementActivatedprivate java.lang.BooleanrmIdentifierMeasurementActivatedprivate java.lang.BooleanrmLciMeasurementActivatedprivate java.lang.BooleanscheduledPsmpSupportedprivate static longserialVersionUIDprivate Dot11ServiceIntervalGranularityserviceIntervalGranularityprivate java.lang.BooleanssidListActivatedprivate java.lang.BooleansspnInterfaceActivatedprivate java.lang.BooleantdlsChannelSwitchingActivatedprivate java.lang.BooleantdlsChannelSwitchingProhibitedprivate java.lang.BooleantdlsPeerPsmSupportedprivate java.lang.BooleantdlsPeerUapsdBufferStaSupportedprivate java.lang.BooleantdlsProhibitedprivate java.lang.BooleantdlsSupportedprivate java.lang.BooleantfsActivatedprivate java.lang.BooleantimBroadcastActivatedprivate java.lang.BooleantimingMeasurementActivatedprivate byte[]trailingDataprivate java.lang.BooleantwentyFortyBssCoexistenceManagementSupportedprivate java.lang.BooleanuapsdCoexistenceActivatedprivate java.lang.BooleanutcTsfOffsetActivatedprivate java.lang.Booleanutf8Ssidprivate java.lang.BooleanwnmNotificationActivatedprivate java.lang.BooleanwnmSleepModeActivated
-
Constructor Summary
Constructors Modifier Constructor Description privateDot11ExtendedCapabilitiesElement(byte[] rawData, int offset, int length)privateDot11ExtendedCapabilitiesElement(Dot11ExtendedCapabilitiesElement.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intcalcActualLength(Dot11ExtendedCapabilitiesElement.Builder builder)booleanequals(java.lang.Object obj)java.lang.BooleangetBit1()java.lang.BooleangetBit3()java.lang.BooleangetBit35()java.lang.BooleangetBit47()java.lang.BooleangetBit49()java.lang.BooleangetBit5()java.lang.BooleangetBit50()java.lang.BooleangetBit51()java.lang.BooleangetBit52()java.lang.BooleangetBit53()java.lang.BooleangetBit54()java.lang.BooleangetBit55()Dot11ExtendedCapabilitiesElement.BuildergetBuilder()byte[]getRawData()Dot11ServiceIntervalGranularitygetServiceIntervalGranularity()byte[]getTrailingData()inthashCode()java.lang.Booleanis2040BssCoexistenceManagementSupported()java.lang.BooleanisAcStationCountActivated()java.lang.BooleanisBssTransitionActivated()java.lang.BooleanisChannelUsageActivated()java.lang.BooleanisCollocatedInterferenceReportingActivated()java.lang.BooleanisDiagnosticsActivated()java.lang.BooleanisDmsActivated()java.lang.BooleanisEbrActivated()java.lang.BooleanisEventActivated()java.lang.BooleanisExtendedChannelSwitchingSupported()java.lang.BooleanisFmsActivated()java.lang.BooleanisInterworkingServiceActivated()java.lang.BooleanisLocationTrackingActivated()java.lang.BooleanisMsgcfActivated()java.lang.BooleanisMultiBssIdActivated()java.lang.BooleanisMulticastDiagnosticsActivated()java.lang.BooleanisProxyArpServiceActivated()java.lang.BooleanisPsmpOperationSupported()java.lang.BooleanisQosMapActivated()java.lang.BooleanisQosTrafficCapabilityActivated()java.lang.BooleanisRejectingUnadmittedTraffic()java.lang.BooleanisRmCivicMeasurementActivated()java.lang.BooleanisRmIdentifierMeasurementActivated()java.lang.BooleanisRmLciMeasurementActivated()java.lang.BooleanisScheduledPsmpSupported()java.lang.BooleanisSsidListActivated()java.lang.BooleanisSspnInterfaceActivated()java.lang.BooleanisTdlsChannelSwitchingActivated()java.lang.BooleanisTdlsChannelSwitchingProhibited()java.lang.BooleanisTdlsPeerPsmSupported()java.lang.BooleanisTdlsPeerUapsdBufferStaSupported()java.lang.BooleanisTdlsProhibited()java.lang.BooleanisTdlsSupported()java.lang.BooleanisTfsActivated()java.lang.BooleanisTimBroadcastActivated()java.lang.BooleanisTimingMeasurementActivated()java.lang.BooleanisUapsdCoexistenceActivated()java.lang.BooleanisUtcTsfOffsetActivated()java.lang.Booleanisutf8Ssid()java.lang.BooleanisWnmNotificationActivated()java.lang.BooleanisWnmSleepModeActivated()intlength()static Dot11ExtendedCapabilitiesElementnewInstance(byte[] rawData, int offset, int length)A static factory method.java.lang.StringtoString()java.lang.StringtoString(java.lang.String indent)-
Methods inherited from class org.pcap4j.packet.Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
twentyFortyBssCoexistenceManagementSupported
private final java.lang.Boolean twentyFortyBssCoexistenceManagementSupported
-
bit1
private final java.lang.Boolean bit1
-
extendedChannelSwitchingSupported
private final java.lang.Boolean extendedChannelSwitchingSupported
-
bit3
private final java.lang.Boolean bit3
-
psmpOperationSupported
private final java.lang.Boolean psmpOperationSupported
-
bit5
private final java.lang.Boolean bit5
-
scheduledPsmpSupported
private final java.lang.Boolean scheduledPsmpSupported
-
eventActivated
private final java.lang.Boolean eventActivated
-
diagnosticsActivated
private final java.lang.Boolean diagnosticsActivated
-
multicastDiagnosticsActivated
private final java.lang.Boolean multicastDiagnosticsActivated
-
locationTrackingActivated
private final java.lang.Boolean locationTrackingActivated
-
fmsActivated
private final java.lang.Boolean fmsActivated
-
proxyArpServiceActivated
private final java.lang.Boolean proxyArpServiceActivated
-
collocatedInterferenceReportingActivated
private final java.lang.Boolean collocatedInterferenceReportingActivated
-
rmCivicMeasurementActivated
private final java.lang.Boolean rmCivicMeasurementActivated
-
rmLciMeasurementActivated
private final java.lang.Boolean rmLciMeasurementActivated
-
tfsActivated
private final java.lang.Boolean tfsActivated
-
wnmSleepModeActivated
private final java.lang.Boolean wnmSleepModeActivated
-
timBroadcastActivated
private final java.lang.Boolean timBroadcastActivated
-
bssTransitionActivated
private final java.lang.Boolean bssTransitionActivated
-
qosTrafficCapabilityActivated
private final java.lang.Boolean qosTrafficCapabilityActivated
-
acStationCountActivated
private final java.lang.Boolean acStationCountActivated
-
multiBssIdActivated
private final java.lang.Boolean multiBssIdActivated
-
timingMeasurementActivated
private final java.lang.Boolean timingMeasurementActivated
-
channelUsageActivated
private final java.lang.Boolean channelUsageActivated
-
ssidListActivated
private final java.lang.Boolean ssidListActivated
-
dmsActivated
private final java.lang.Boolean dmsActivated
-
utcTsfOffsetActivated
private final java.lang.Boolean utcTsfOffsetActivated
-
tdlsPeerUapsdBufferStaSupported
private final java.lang.Boolean tdlsPeerUapsdBufferStaSupported
-
tdlsPeerPsmSupported
private final java.lang.Boolean tdlsPeerPsmSupported
-
tdlsChannelSwitchingActivated
private final java.lang.Boolean tdlsChannelSwitchingActivated
-
interworkingServiceActivated
private final java.lang.Boolean interworkingServiceActivated
-
qosMapActivated
private final java.lang.Boolean qosMapActivated
-
ebrActivated
private final java.lang.Boolean ebrActivated
-
sspnInterfaceActivated
private final java.lang.Boolean sspnInterfaceActivated
-
bit35
private final java.lang.Boolean bit35
-
msgcfActivated
private final java.lang.Boolean msgcfActivated
-
tdlsSupported
private final java.lang.Boolean tdlsSupported
-
tdlsProhibited
private final java.lang.Boolean tdlsProhibited
-
tdlsChannelSwitchingProhibited
private final java.lang.Boolean tdlsChannelSwitchingProhibited
-
rejectingUnadmittedTraffic
private final java.lang.Boolean rejectingUnadmittedTraffic
-
serviceIntervalGranularity
private final Dot11ServiceIntervalGranularity serviceIntervalGranularity
-
rmIdentifierMeasurementActivated
private final java.lang.Boolean rmIdentifierMeasurementActivated
-
uapsdCoexistenceActivated
private final java.lang.Boolean uapsdCoexistenceActivated
-
wnmNotificationActivated
private final java.lang.Boolean wnmNotificationActivated
-
bit47
private final java.lang.Boolean bit47
-
utf8Ssid
private final java.lang.Boolean utf8Ssid
-
bit49
private final java.lang.Boolean bit49
-
bit50
private final java.lang.Boolean bit50
-
bit51
private final java.lang.Boolean bit51
-
bit52
private final java.lang.Boolean bit52
-
bit53
private final java.lang.Boolean bit53
-
bit54
private final java.lang.Boolean bit54
-
bit55
private final java.lang.Boolean bit55
-
trailingData
private final byte[] trailingData
-
actualLength
private final int actualLength
-
-
Constructor Detail
-
Dot11ExtendedCapabilitiesElement
private Dot11ExtendedCapabilitiesElement(byte[] rawData, int offset, int length) throws IllegalRawDataException- Parameters:
rawData- rawDataoffset- offsetlength- length- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
Dot11ExtendedCapabilitiesElement
private Dot11ExtendedCapabilitiesElement(Dot11ExtendedCapabilitiesElement.Builder builder)
- Parameters:
builder- builder
-
-
Method Detail
-
newInstance
public static Dot11ExtendedCapabilitiesElement newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new Dot11ExtendedCapabilitiesElement object.
- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
calcActualLength
private static int calcActualLength(Dot11ExtendedCapabilitiesElement.Builder builder)
-
is2040BssCoexistenceManagementSupported
public java.lang.Boolean is2040BssCoexistenceManagementSupported()
- Returns:
- twentyFortyBssCoexistenceManagementSupported. May be null.
-
getBit1
public java.lang.Boolean getBit1()
- Returns:
- bit1. May be null.
-
isExtendedChannelSwitchingSupported
public java.lang.Boolean isExtendedChannelSwitchingSupported()
- Returns:
- extendedChannelSwitchingSupported. May be null.
-
getBit3
public java.lang.Boolean getBit3()
- Returns:
- bit3. May be null.
-
isPsmpOperationSupported
public java.lang.Boolean isPsmpOperationSupported()
- Returns:
- psmpOperationSupported. May be null.
-
getBit5
public java.lang.Boolean getBit5()
- Returns:
- bit5. May be null.
-
isScheduledPsmpSupported
public java.lang.Boolean isScheduledPsmpSupported()
- Returns:
- scheduledPsmpSupported. May be null.
-
isEventActivated
public java.lang.Boolean isEventActivated()
- Returns:
- eventActivated. May be null.
-
isDiagnosticsActivated
public java.lang.Boolean isDiagnosticsActivated()
- Returns:
- diagnosticsActivated. May be null.
-
isMulticastDiagnosticsActivated
public java.lang.Boolean isMulticastDiagnosticsActivated()
- Returns:
- multicastDiagnosticsActivated. May be null.
-
isLocationTrackingActivated
public java.lang.Boolean isLocationTrackingActivated()
- Returns:
- locationTrackingActivated. May be null.
-
isFmsActivated
public java.lang.Boolean isFmsActivated()
- Returns:
- fmsActivated. May be null.
-
isProxyArpServiceActivated
public java.lang.Boolean isProxyArpServiceActivated()
- Returns:
- proxyArpServiceActivated. May be null.
-
isCollocatedInterferenceReportingActivated
public java.lang.Boolean isCollocatedInterferenceReportingActivated()
- Returns:
- collocatedInterferenceReportingActivated. May be null.
-
isRmCivicMeasurementActivated
public java.lang.Boolean isRmCivicMeasurementActivated()
- Returns:
- rmCivicMeasurementActivated. May be null.
-
isRmLciMeasurementActivated
public java.lang.Boolean isRmLciMeasurementActivated()
- Returns:
- rmLciMeasurementActivated. May be null.
-
isTfsActivated
public java.lang.Boolean isTfsActivated()
- Returns:
- tfsActivated. May be null.
-
isWnmSleepModeActivated
public java.lang.Boolean isWnmSleepModeActivated()
- Returns:
- wnmSleepModeActivated. May be null.
-
isTimBroadcastActivated
public java.lang.Boolean isTimBroadcastActivated()
- Returns:
- timBroadcastActivated. May be null.
-
isBssTransitionActivated
public java.lang.Boolean isBssTransitionActivated()
- Returns:
- bssTransitionActivated. May be null.
-
isQosTrafficCapabilityActivated
public java.lang.Boolean isQosTrafficCapabilityActivated()
- Returns:
- qosTrafficCapabilityActivated. May be null.
-
isAcStationCountActivated
public java.lang.Boolean isAcStationCountActivated()
- Returns:
- acStationCountActivated. May be null.
-
isMultiBssIdActivated
public java.lang.Boolean isMultiBssIdActivated()
- Returns:
- multiBssIdActivated. May be null.
-
isTimingMeasurementActivated
public java.lang.Boolean isTimingMeasurementActivated()
- Returns:
- timingMeasurementActivated. May be null.
-
isChannelUsageActivated
public java.lang.Boolean isChannelUsageActivated()
- Returns:
- channelUsageActivated. May be null.
-
isSsidListActivated
public java.lang.Boolean isSsidListActivated()
- Returns:
- ssidListActivated. May be null.
-
isDmsActivated
public java.lang.Boolean isDmsActivated()
- Returns:
- dmsActivated. May be null.
-
isUtcTsfOffsetActivated
public java.lang.Boolean isUtcTsfOffsetActivated()
- Returns:
- utcTsfOffsetActivated. May be null.
-
isTdlsPeerUapsdBufferStaSupported
public java.lang.Boolean isTdlsPeerUapsdBufferStaSupported()
- Returns:
- tdlsPeerUapsdBufferStaSupported. May be null.
-
isTdlsPeerPsmSupported
public java.lang.Boolean isTdlsPeerPsmSupported()
- Returns:
- tdlsPeerPsmSupported. May be null.
-
isTdlsChannelSwitchingActivated
public java.lang.Boolean isTdlsChannelSwitchingActivated()
- Returns:
- tdlsChannelSwitchingActivated. May be null.
-
isInterworkingServiceActivated
public java.lang.Boolean isInterworkingServiceActivated()
- Returns:
- interworkingServiceActivated. May be null.
-
isQosMapActivated
public java.lang.Boolean isQosMapActivated()
- Returns:
- qosMapActivated. May be null.
-
isEbrActivated
public java.lang.Boolean isEbrActivated()
- Returns:
- ebrActivated. May be null.
-
isSspnInterfaceActivated
public java.lang.Boolean isSspnInterfaceActivated()
- Returns:
- sspnInterfaceActivated. May be null.
-
getBit35
public java.lang.Boolean getBit35()
- Returns:
- bit35. May be null.
-
isMsgcfActivated
public java.lang.Boolean isMsgcfActivated()
- Returns:
- msgcfActivated. May be null.
-
isTdlsSupported
public java.lang.Boolean isTdlsSupported()
- Returns:
- tdlsSupported. May be null.
-
isTdlsProhibited
public java.lang.Boolean isTdlsProhibited()
- Returns:
- tdlsProhibited. May be null.
-
isTdlsChannelSwitchingProhibited
public java.lang.Boolean isTdlsChannelSwitchingProhibited()
- Returns:
- tdlsChannelSwitchingProhibited. May be null.
-
isRejectingUnadmittedTraffic
public java.lang.Boolean isRejectingUnadmittedTraffic()
- Returns:
- rejectingUnadmittedTraffic. May be null.
-
getServiceIntervalGranularity
public Dot11ServiceIntervalGranularity getServiceIntervalGranularity()
- Returns:
- serviceIntervalGranularity. May be null.
-
isRmIdentifierMeasurementActivated
public java.lang.Boolean isRmIdentifierMeasurementActivated()
- Returns:
- rmIdentifierMeasurementActivated. May be null.
-
isUapsdCoexistenceActivated
public java.lang.Boolean isUapsdCoexistenceActivated()
- Returns:
- uapsdCoexistenceActivated. May be null.
-
isWnmNotificationActivated
public java.lang.Boolean isWnmNotificationActivated()
- Returns:
- wnmNotificationActivated. May be null.
-
getBit47
public java.lang.Boolean getBit47()
- Returns:
- bit47. May be null.
-
isutf8Ssid
public java.lang.Boolean isutf8Ssid()
- Returns:
- utf8Ssid. May be null.
-
getBit49
public java.lang.Boolean getBit49()
- Returns:
- bit49. May be null.
-
getBit50
public java.lang.Boolean getBit50()
- Returns:
- bit50. May be null.
-
getBit51
public java.lang.Boolean getBit51()
- Returns:
- bit51. May be null.
-
getBit52
public java.lang.Boolean getBit52()
- Returns:
- bit52. May be null.
-
getBit53
public java.lang.Boolean getBit53()
- Returns:
- bit53. May be null.
-
getBit54
public java.lang.Boolean getBit54()
- Returns:
- bit54. May be null.
-
getBit55
public java.lang.Boolean getBit55()
- Returns:
- bit55. May be null.
-
getTrailingData
public byte[] getTrailingData()
- Returns:
- trailingData. May be null.
-
length
public int length()
- Specified by:
lengthin classDot11InformationElement- Returns:
- the length
-
getRawData
public byte[] getRawData()
- Specified by:
getRawDatain classDot11InformationElement- Returns:
- the raw data.
-
getBuilder
public Dot11ExtendedCapabilitiesElement.Builder getBuilder()
- Returns:
- a new Builder object populated with this object's fields.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDot11InformationElement
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classDot11InformationElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(java.lang.String indent)
- Parameters:
indent- indent- Returns:
- the string representation of this object.
-
-