2.2.2.8.1 BssDesc Item

Each BssDesc item has the following packet format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Length

BSSID

...

Channel

Reserved

Frequency

SSID_Length

SSID (variable)

...

RSSI

BSS_Type

Phy_Type

IE_Length

IE_Data (variable)

...

Padding (variable)

Length (4 bytes): A 32-bit unsigned integer that specifies the size of this BssDesc item. This value MUST be a multiple of 4.

BSSID (6 bytes): The BSSID of the wireless network to which this BssDesc item refers.

Channel (1 byte): The channel used by the wireless network.

Reserved (1 byte): A value that MUST be zero and MUST be ignored on receipt.

Frequency (4 bytes): The frequency of the center channel for the wireless network, in kilohertz (kHz) units.

SSID_Length (4 bytes): A 32-bit unsigned integer that specifies the length in octets of the SSID field. This value MUST be greater than zero and less than or equal to0x00000020.

SSID (variable): The SSID of the BSS of the wireless network. The maximum length of this field is 32 octets.

RSSI (4 bytes): A 32-bit signed integer that identifies the RSSI of the IEEE 802.11 network [IEEE802.11-2007], in dBm. The normal range for an RSSI value is -10 dBm through -200 dBm.

BSS_Type (4 bytes): A 32-bit unsigned integer that specifies the wireless network connection method.

Value

Meaning

0x00000000

Unknown mode.

0x00000001

802.11 infrastructure mode [IEEE802.11-2007].

0x00000002

802.11 IBSS or ad-hoc mode [IEEE802.11-2007].

Phy_Type (4 bytes): A 32-bit unsigned integer that specifies the wireless band used by the wireless network. Possible values are shown in the following table:

Value

Meaning

0x00000000

Unknown wireless band.

0x00000001

802.11b [IEEE802.11-2007]

0x00000002

802.11g [IEEE802.11-2007]

0x00000003

802.11a [IEEE802.11-2007]

IE_Length (4 bytes): A 32-bit unsigned integer that identifies the size in octets of the IE_Data field.

IE_Data (variable): The 802.11 Information Elements data blob associated with the wireless network [IEEE802.11-2007].

Padding (variable): An optional field that, if exists, MUST be zero and MUST be ignored on receipt. The size of the field can be anywhere from 0 through 3 bytes. It exists to satisfy the requirement of the Length field.