wlan - Don't check bgscanidle setting in net80211 for full-offload scan.
authorImre Vadász <imre@vdsz.com>
Thu, 17 Nov 2016 22:06:29 +0000 (23:06 +0100)
committerImre Vadász <imre@vdsz.com>
Thu, 17 Nov 2016 22:06:29 +0000 (23:06 +0100)
commit3aca8a4433acf84c92d5511261b53f2749a67ba8
tree241ed207c25c9a716b38a68c7ce92bddc37228fc
parent69b57ec30fee1ae9fdf70856e8b6b3f12351405e
wlan - Don't check bgscanidle setting in net80211 for full-offload scan.

* If full-offload scan is used, the NIC driver (or rather the firmware of
  the NIC) should take care of interrupting and continuing the background
  scan. So net80211 should ignore the vap->iv_bgscanidle setting then,
  instead the NIC driver might look at this setting and pass it on to the
  firmware in some way if possible.

* Since full-offload scans won't be explicitly interrupted by net80211, it
  also doesn't really make sense to check the vap->iv_bgscanidle condition
  in that case, before starting a background scan. If the NIC driver
  advertises background scan support and full-offload scanning, the firmware
  should be able to execute that scan without interfering too much with our
  data traffic.

Taken-From: FreeBSD (svn r308785)
sys/netproto/802_11/wlan/ieee80211_scan_sta.c
sys/netproto/802_11/wlan/ieee80211_sta.c