パッケージ org.pcap4j.packet
クラス Dot11SupportedRatesElement
- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement
-
- org.pcap4j.packet.Dot11AbstractSupportedRatesElement
-
- org.pcap4j.packet.Dot11SupportedRatesElement
-
- すべての実装されたインタフェース:
Serializable
public final class Dot11SupportedRatesElement extends Dot11AbstractSupportedRatesElement
IEEE802.11 Supported Rates element1 1 0-8 +----------+----------+----------------- |Element ID| Length | Supported Rates +----------+----------+----------------- Element ID: 1
The Supported Rates element specifies up to eight rates in the OperationalRateSet parameter, as described in the MLME-JOIN.request and MLME-START.request primitives, and zero or more BSS membership selectors. The Information field is encoded as 1 to 8 octets, where each octet describes a single Supported Rate or BSS membership selector. Within Beacon, Probe Response, Association Response, Reassociation Response, Mesh Peering Open, and Mesh Peering Confirm management frames, each Supported Rate contained in the BSSBasicRateSet parameter is encoded as an octet with the MSB (bit 7) set to 1, and bits 6 to 0 are set to the data rate, if necessary rounded up to the next 500kb/s, in units of 500 kb/s. Rates not contained in the BSSBasicRateSet parameter are encoded with the MSB set to 0, and bits 6 to 0 are set to the appropriate value. The MSB of each Supported Rate octet in other management frame types is ignored by receiving STAs. Within Beacon, Probe Response, Association Response, Reassociation Response, Mesh Peering Open, and Mesh Peering Confirm management frames, each BSS membership selector contained in the BSSMembershipSelectorSet parameter is encoded as an octet with the MSB (bit 7) set to 1, and bits 6 to 0 are set to the encoded value for the selector. A BSS membership selector that has the MSB (bit 7) set to 1 in the Supported Rates element is defined to be basic.- 導入されたバージョン:
- pcap4j 1.7.0
- 作成者:
- Kaito Yamada
- 関連項目:
- IEEE802.11, 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
Dot11SupportedRatesElement.Builder
-
クラスから継承されたネストされたクラス/インタフェース org.pcap4j.packet.Dot11AbstractSupportedRatesElement
Dot11AbstractSupportedRatesElement.BssMembershipSelector, Dot11AbstractSupportedRatesElement.Datum, Dot11AbstractSupportedRatesElement.Rate
-
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 Dot11SupportedRatesElement.Builder
getBuilder()
String
getElementName()
static Dot11SupportedRatesElement
newInstance(byte[] rawData, int offset, int length)
A static factory method.-
クラスから継承されたメソッド org.pcap4j.packet.Dot11AbstractSupportedRatesElement
equals, getBssMembershipSelectors, getRates, getRawData, hashCode, length, toString, toString
-
クラスから継承されたメソッド org.pcap4j.packet.Dot11InformationElement
getElementId, getLength, getLengthAsInt
-
-
-
-
メソッドの詳細
-
newInstance
public static Dot11SupportedRatesElement 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 Dot11SupportedRatesElement object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getBuilder
public Dot11SupportedRatesElement.Builder getBuilder()
- 定義:
getBuilder
クラス内Dot11AbstractSupportedRatesElement
- 戻り値:
- a new Builder object populated with this object's fields.
-
getElementName
public String getElementName()
- 定義:
getElementName
クラス内Dot11AbstractSupportedRatesElement
- 戻り値:
- element name
-
-