public final class Dot11DsssParameterSetElement extends Dot11InformationElement
1 1 1 +---------------+---------------+---------------+ | Element ID | Length |Current Channel| +---------------+---------------+---------------+ Element ID: 3The 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(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.
|
String |
toString() |
String |
toString(String indent) |
getElementId, getLength, getLengthAsInt
public 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 Dot11InformationElement
public byte[] getRawData()
getRawData
in class Dot11InformationElement
public Dot11DsssParameterSetElement.Builder getBuilder()
public int hashCode()
hashCode
in class Dot11InformationElement
public boolean equals(Object obj)
equals
in class Dot11InformationElement
Copyright © 2011–2019 Pcap4J.org. All rights reserved.