wlan - Import initial full-offload scan support from FreeBSD.

Operating Systems / DragonFlyBSD - Imre Vadász [vdsz.com] - 8 November 2016 16:08 UTC

This is a very simple addition to the net80211 scan support.

It doesn't implement a replacement scan interface - it just disables the pieces that we should disable to make this lifecycle a bit more managable.

There's more work to come before full scan offload support is available but it should be good enough for driver work.

- add a flag to say "full offload"
- don't do probe requests when scanning full-offload - firmware can do that
- don't do powersave transitions and buffering - firmware can do that
- don't abort a background scan upon reception of a single packet. Full offload drivers don't need this behaviour - they do it in firmware.

Taken-From: FreeBSD (svn r307602, r308007 and r308008)

84bcb7f wlan - Import initial full-offload scan support from FreeBSD.
sys/netproto/802_11/ieee80211_var.h | 3 ++-
sys/netproto/802_11/wlan/ieee80211_scan.c | 3 +++
sys/netproto/802_11/wlan/ieee80211_scan_sw.c | 32 ++++++++++++++++++++++++--
3 files changed, 35 insertions(+), 3 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share