Class QbssLoad
- java.lang.Object
-
- com.facebook.openwifi.cloudsdk.ies.QbssLoad
-
public class QbssLoad extends Object
This information element (IE) appears in wifiscan entries. It is called "QBSS Load" in these entries, and just "BSS Load" in the 802.11 specification (section 9.4.2.27). Refer to the specification for more details. Language in javadocs is taken from the specification.
-
-
Field Summary
Fields Modifier and Type Field Description short
availableAdmissionCapacity
Unsigned 16 bits - The Available Admission Capacity field contains an unsigned integer that specifies the remaining amount of medium time available via explicit admission control, in units of 32 miscrosecond/second.short
channelUtilization
Unsigned 8 bits - The Channel Utilization field is defined as the percentage of time, linearly scaled with 255 representing 100%, that the AP sensed the medium was busy, as indicated by either the physical or virtual carrier sense (CS) mechanism.short
stationCount
Unsigned 16 bits - The total number of STAs currently associated with the BSS.static int
TYPE
Defined in 802.11 table 9-92
-
Constructor Summary
Constructors Constructor Description QbssLoad(short stationCount, short channelUtilization, short availableAdmissionCapacity)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
static QbssLoad
parse(com.google.gson.JsonObject contents)
Parse QbssLoad IE from appropriate Json object; return null if invalid.
-
-
-
Field Detail
-
TYPE
public static final int TYPE
Defined in 802.11 table 9-92- See Also:
- Constant Field Values
-
stationCount
public final short stationCount
Unsigned 16 bits - The total number of STAs currently associated with the BSS.
-
channelUtilization
public final short channelUtilization
Unsigned 8 bits - The Channel Utilization field is defined as the percentage of time, linearly scaled with 255 representing 100%, that the AP sensed the medium was busy, as indicated by either the physical or virtual carrier sense (CS) mechanism. When more than one channel is in use for the BSS, the Channel Utilization field value is calculated only for the primary channel. This percentage is computed using the following formula:floor(255 * channelBusyTime / (dot11ChannelUtilizationBeaconIntervals * dot11BeaconPeriod * 1024) )
-
availableAdmissionCapacity
public final short availableAdmissionCapacity
Unsigned 16 bits - The Available Admission Capacity field contains an unsigned integer that specifies the remaining amount of medium time available via explicit admission control, in units of 32 miscrosecond/second. The field is helpful for roaming STAs to select an AP that is likely to accept future admission control requests, but it does not represent an assurance that the HC admits these requests.
-
-
Method Detail
-
parse
public static QbssLoad parse(com.google.gson.JsonObject contents)
Parse QbssLoad IE from appropriate Json object; return null if invalid.
-
-