git: wlan - Don't check bgscanidle setting in net80211 for full-offload scan.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Nov 17 14:15:09 PST 2016


commit 3aca8a4433acf84c92d5511261b53f2749a67ba8
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Nov 17 23:06:29 2016 +0100

    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)

Summary of changes:
 sys/netproto/802_11/wlan/ieee80211_scan_sta.c | 3 ++-
 sys/netproto/802_11/wlan/ieee80211_sta.c      | 7 +++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3aca8a4433acf84c92d5511261b53f2749a67ba8


-- 
DragonFly BSD source repository



More information about the Commits mailing list