]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wnm_sta.c
WNM: Workaround for broken AP operating class behavior
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 5 Feb 2016 15:06:06 +0000 (17:06 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 5 Feb 2016 15:06:06 +0000 (17:06 +0200)
commit80ce804e88247bb0409d131c5882808a0ce9bba4
tree437a2e76238a942da499078153fb630394d21b8a
parentaf060932deada3e0822f2a53a9ef6337b16af83b
WNM: Workaround for broken AP operating class behavior

Some APs do not advertise operating classes correctly for BSS Transition
Management. Try to determine the most likely operating frequency based
on the channel number (1..14 --> 2.4 GHz; 36..169 --> 5 GHz) if invalid
op_class == 0 is received in a BSS Transition Management Request. This
speeds up the following operating by avoiding a full scan due to an
unknown channel.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wnm_sta.c