パッケージ org.pcap4j.packet
クラス Dot112040BssCoexistenceElement
- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement
-
- org.pcap4j.packet.Dot112040BssCoexistenceElement
-
- すべての実装されたインタフェース:
Serializable
public final class Dot112040BssCoexistenceElement extends Dot11InformationElement
IEEE802.11 20/40 BSS Coexistence element1 1 1 +-----------------+-----------------+-----------------+ | Element ID | Length |Information field| +-----------------+-----------------+-----------------+ Element ID: 72
The 20/40 BSS Coexistence element is used by STAs to exchange information that affects 20/40 BSS coexistence. The structure of the 20/40 BSS Coexistence Information field is as follows:B0 B1 B2 B3 B4 B5,6,7 +-------------+-------------+-------------+-------------+-------------+-------------+ |Information |Forty MHz |20 MHz BSS |OBSS Scanning|OBSS Scanning| Reserved | |Request |Intolerant |Width Request|Exemption |Exemption | | | | | |Request |Grant | | +-------------+-------------+-------------+-------------+-------------+-------------+
The Information Request field is used to indicate that a transmitting STA is requesting the recipient to transmit a 20/40 BSS Coexistence Management frame with the transmitting STA as the recipient. The Forty MHz Intolerant field is set to 1 to prohibit an AP that receives this information or reports of this information from operating a 20/40 MHz BSS. When equal to 0, it does not prohibit a receiving AP from operating a 20/40 MHz BSS. This field is used for inter-BSS communication. The definition of this field is the same as the definition of the Forty MHz Intolerant field in the HT Capabilities element. The 20 MHz BSS Width Request field is set to 1 to prohibit a receiving AP from operating its BSS as a 20/40 MHz BSS. Otherwise, it is set to 0. This field is used for intra-BSS communication. The OBSS Scanning Exemption Request field is set to 1 to indicate that the transmitting non-AP STA is requesting the BSS to allow the STA to be exempt from OBSS scanning. Otherwise, it is set to 0. The OBSS Scanning Exemption Request field is reserved when transmitted by an AP. The OBSS Scanning Exemption Request field is reserved when a 20/40 BSS Coexistence element is included in a group addressed frame. The OBSS Scanning Exemption Grant field is set to 1 by an AP to indicate that the receiving STA is exempted from performing OBSS Scanning. Otherwise, it is set to 0. The OBSS Scanning Exemption Grant field is reserved when transmitted by a non-AP STA. The OBSS Scanning Exemption Grant field is reserved when a 20/40 BSS Coexistence element is included in a group addressed frame.- 導入されたバージョン:
- pcap4j 1.7.0
- 作成者:
- Kaito Yamada
- 関連項目:
- IEEE802.11, 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
Dot112040BssCoexistenceElement.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
boolean
getBit5()
boolean
getBit6()
boolean
getBit7()
Dot112040BssCoexistenceElement.Builder
getBuilder()
byte[]
getRawData()
int
hashCode()
boolean
is20MhzBssWidthRequested()
boolean
is40MhzIntolerant()
boolean
isInformationRequested()
boolean
isObssScanningExemptionGranted()
boolean
isObssScanningExemptionRequested()
int
length()
static Dot112040BssCoexistenceElement
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
String
toString(String indent)
-
クラスから継承されたメソッド org.pcap4j.packet.Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
-
-
-
メソッドの詳細
-
newInstance
public static Dot112040BssCoexistenceElement 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.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- length- 戻り値:
- a new Dot112040BssCoexistenceElement object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
isInformationRequested
public boolean isInformationRequested()
- 戻り値:
- true if the Information Request field is set to 1; otherwise false.
-
is40MhzIntolerant
public boolean is40MhzIntolerant()
- 戻り値:
- true if the Forty MHz Intolerant field is set to 1; otherwise false.
-
is20MhzBssWidthRequested
public boolean is20MhzBssWidthRequested()
- 戻り値:
- true if the 20 MHz BSS Width Request field is set to 1; otherwise false.
-
isObssScanningExemptionRequested
public boolean isObssScanningExemptionRequested()
- 戻り値:
- true if the OBSS Scanning Exemption Request field is set to 1; otherwise false.
-
isObssScanningExemptionGranted
public boolean isObssScanningExemptionGranted()
- 戻り値:
- true if the OBSS Scanning Exemption Grant field is set to 1; otherwise false.
-
getBit5
public boolean getBit5()
- 戻り値:
- true if the bit 5 of the Information field is set to 1; otherwise false.
-
getBit6
public boolean getBit6()
- 戻り値:
- true if the bit 6 of the Information field is set to 1; otherwise false.
-
getBit7
public boolean getBit7()
- 戻り値:
- true if bit 7 of the Information field is set to 1; otherwise false.
-
length
public int length()
- 定義:
length
クラス内Dot11InformationElement
- 戻り値:
- the length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
クラス内Dot11InformationElement
- 戻り値:
- the raw data.
-
getBuilder
public Dot112040BssCoexistenceElement.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
hashCode
public int hashCode()
- オーバーライド:
hashCode
クラス内Dot11InformationElement
-
equals
public boolean equals(Object obj)
- オーバーライド:
equals
クラス内Dot11InformationElement
-
-