Page MenuHomeFreeBSD

net80211: IEEE80211_FEXT_SCAN_OFFLOAD conditions for bgscan
Needs ReviewPublic

Authored by bz on Thu, Jun 27, 12:46 PM.
Tags
None
Referenced Files
F87245431: D45756.diff
Sun, Jun 30, 6:53 PM
Unknown Object (File)
Thu, Jun 27, 1:04 PM

Details

Reviewers
adrian
Summary

If "full offload scan" is set, we do not want to continue or start
a background scan (the firmware will do that anyway by its own leisure).
Simplify the logic and pull that case out upfront.
This is assumed to help iwm(4), LinuxKPI based drivers supporting hw_scan
and rsu(4) to not get into a state where a scan is always assumed to be
running but no scan is actually active.

While where fix spelling and use an != 0 check for style on a
conition check for IEEE80211_FEXT_SCAN_OFFLOAD in sta_roam_check().

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Test Plan

I should go back and run iwm(4) for a few days and roam around
to see that things improve there too. This was mostly noticed
during code inspection and I want to put it out for validation/
review to not lose it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 58374
Build 55262: arc lint + arc unit