forked from wifinigel/wlan-client-capability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Capability_Logic.txt
53 lines (45 loc) · 2.36 KB
/
Capability_Logic.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Client Capability Logic:
=======================
This logic operates on an 802.11 asocuation request frame, looking at various tagged parameter
values to determine client capabilities.
1. 802.11n: inspect tagged parameter number 45 (HT Capabilities)
a. is tagged parameter present?
Y - 802.11n supported
N - 802.11n not supported
b. inspect octets 3 to 7 (Rx MCS sets) -
i. count Rx MCS bitmasks that are set (11111111) to determine number of streams supported
2. 802.11ac: inspect tagged parameter 191 (VHT Capabilities)
a. is tagged parameter present?
Y - 802.11ac supported
N - 802.11ac not supported
b. inspect octets 4 & 5 (Rx MCS map) -
i. count Rx MCS map bit pairs set to '10' to determine number of streams supported
c. inspect octet 1 (one of the four vht capability octets)
i. if bit zero set to '1', client is SU Beam-formee capable
c. inspect octet 2 (one of the four vht capability octets)
i. if bit zero set to '1', client is MU Beam-formee capable
3. 802.11k: inspect tagged parameter 70 (RM Enabled Capabilities) - RM = radio management
a. is tagged parameter present?
Y - 802.11k supported
N - 802.11k not supported
4. 802.11r - inspect tagged parameter 54 (Mobility Domain)
a. is tagged parameter present?
Y - 802.11r supported
N - 802.11r not supported
5. 802.11v - inspect tagged parameter 127 (Extended capabilities)
a. is tagged parameter present?
N - 802.11v not supported
Y - 802.11v may be supported
i. does octet 3 exist in ext capabilities tagged parameter?
N - 802.11v not supported
Y - 802.11v may be supported
a. is bit 3 of octet 3 set to '1'?
Y - 802.11v is supported
N - 802.11v not supported
6. Max Power - inspect tagged parameter 33 (Power Capability)
a. is tagged parameter present?
N - unable to report max power
Y - inspect octet 1 of tagged parameter (max powe rin dBm)
7. Supported channels - inspect tagged parameter 6 (Supported Channels)
a. Step through each channel set octet-pair provided reporting start channel and other channels in range
i. Note: use step of 4 if start channel above number 14 (must be 5GHz channels), use step of 1 otherwise