HomeFreeBSD

net80211: define mask for ss_flags rather than using hardcoded 0xfff

Description

net80211: define mask for ss_flags rather than using hardcoded 0xfff

scan state ss_flags in two places cut off the "internal" GOTPICK
options. Replace the hardcoded 0xfff with a defined mask.
Note that "internal" flags is confusing as we also supplement the
the 16bit by another 16bit of "internal flags" passed around but
comaparing to GOTPICK never stored to my understanding.

No functional change.

Sponsored by: The FreeBSD Foundation
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D38832

(cherry picked from commit 3346164ce844f8995311c3988ab193bd6ddda0c9)

Details

Provenance
bzAuthored on Mar 14 2023, 9:00 PM
Reviewer
adrian
Differential Revision
D38832: net80211: define mask for ss_flags rather than using hardcoded 0xfff
Parents
rGca5e52ed3a5d: net80211: make ieee80211_scan_dump_channels private
Branches
Unknown
Tags
Unknown