public final class Dot11ChannelUsageElement extends Dot11InformationElement
1 1 1 2n +----------+----------+----------+--------------- |Element ID| Length |Usage Mode|Channel Entry +----------+----------+----------+--------------- Element ID: 97The Channel Usage element defines the channel usage information for noninfrastructure networks or an off channel TDLS direct link.
Modifier and Type | Class and Description |
---|---|
static class |
Dot11ChannelUsageElement.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Dot11ChannelUsageElement.Builder |
getBuilder() |
ArrayList<Dot11ChannelEntry> |
getChannelEntries() |
byte[] |
getRawData() |
Dot11ChannelUsageMode |
getUsageMode() |
int |
hashCode() |
int |
length() |
static Dot11ChannelUsageElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
getElementId, getLength, getLengthAsInt
public static Dot11ChannelUsageElement 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 Dot11ChannelUsageMode getUsageMode()
public ArrayList<Dot11ChannelEntry> getChannelEntries()
public int length()
length
in class Dot11InformationElement
public byte[] getRawData()
getRawData
in class Dot11InformationElement
public Dot11ChannelUsageElement.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.