cfg80211/nl80211: Indicate roaming feature capability to userspace.
authorVivek Natarajan <nataraja@qca.qualcomm.com>
Mon, 29 Aug 2011 08:53:03 +0000 (14:23 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:42:31 +0000 (15:42 -0400)
commitf4b34b550a5428345f3794e62de48ad5a3db3954
tree50d5c3b482bd018069fdde870f0c472808156070
parentf0425beda4d404a6e751439b562100b902ba9c98
cfg80211/nl80211: Indicate roaming feature capability to userspace.

When the rssi of the current AP drops, both wpa_supplicant and the
firmware may do a background scan to find a better AP and try to
associate. Since firmware based roaming is faster, inform
wpa_supplicant to avoid roaming and let the firmware decide to
roam if necessary.

For fullmac drivers like ath6kl, it is just enough to provide the
ESSID and the firmware will decide on the BSSID. Since it is not
possible to do pre-auth during roaming for fullmac drivers, the
wpa_supplicant needs to completely disconnect with the old AP and
reconnect with the new AP. This consumes lot of time and it is
better to leave the roaming decision to the firmware.

Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/nl80211.c