public final class Dot11MeshIdElement extends Dot11InformationElement
1 1 0-32 +----------+----------+---------- |Element ID| Length | Mesh ID +----------+----------+---------- Element ID: 114The Mesh ID element is used to advertise the identification of an MBSS. The Mesh ID element is transmitted in Mesh Peering Open frames, Mesh Peering Confirm frames, Mesh Peering Close frames, Beacon frames, and Probe Request and Response frames. A Mesh ID field of length 0 indicates the wildcard Mesh ID, which is used within Probe Request frame.
Modifier and Type | Class and Description |
---|---|
static class |
Dot11MeshIdElement.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Dot11MeshIdElement.Builder |
getBuilder() |
byte[] |
getMeshId() |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static Dot11MeshIdElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
getElementId, getLength, getLengthAsInt
public static Dot11MeshIdElement newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public byte[] getMeshId()
public int length()
length
in class Dot11InformationElement
public byte[] getRawData()
getRawData
in class Dot11InformationElement
public Dot11MeshIdElement.Builder getBuilder()
public int hashCode()
hashCode
in class Dot11InformationElement
public boolean equals(Object obj)
equals
in class Dot11InformationElement
Copyright © 2011–2018 Pcap4J.org. All rights reserved.