public final class Dot11DsssParameterSetElement extends Dot11InformationElement
1 1 1
+---------------+---------------+---------------+
| Element ID | Length |Current Channel|
+---------------+---------------+---------------+
Element ID: 3
The DSSS Parameter Set element contains information to allow channel number identification for
STAs. The Information field contains a single parameter containing the dot11CurrentChannel.
The length of the dot11CurrentChannel parameter is 1 octet.| Modifier and Type | Class and Description |
|---|---|
static class |
Dot11DsssParameterSetElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Dot11DsssParameterSetElement.Builder |
getBuilder() |
byte |
getCurrentChannel() |
int |
getCurrentChannelAsInt() |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static Dot11DsssParameterSetElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
getElementId, getLength, getLengthAsIntpublic static Dot11DsssParameterSetElement 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 getCurrentChannel()
public int getCurrentChannelAsInt()
public int length()
length in class Dot11InformationElementpublic byte[] getRawData()
getRawData in class Dot11InformationElementpublic Dot11DsssParameterSetElement.Builder getBuilder()
public int hashCode()
hashCode in class Dot11InformationElementpublic boolean equals(java.lang.Object obj)
equals in class Dot11InformationElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - indentCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.