HomeFreeBSD

LinuxKPI: 802.11 correct enum ieee80211_channel_flags

Description

LinuxKPI: 802.11 correct enum ieee80211_channel_flags

enum ieee80211_channel_flags are used as bit fields and not as 1..n.
Correct the values using BIT(n).

This is also hoped to fix problems with 7260 cards which come up and
panic due to an empty channel list as all channels are set disabled [1][2].
It will hopefully also fix the one or other oddity.

Reported by: ambrisko, Mike Tancsa (mike sentex.net) [1]
Confirmed to fix by: ambrisko, Mike Tancsa (mike sentex.net) [2]
Sponsored by: The FreeBSD Foundation

(cherry picked from commit d7ce88aafc870944d5eda477b125478f56844f81)

Details

Provenance
bzAuthored on Jan 16 2022, 10:22 PM
Parents
rGf27c46a85096: LinuxKPI: 802.11 Refine/add DTIM/TSF handling
Branches
Unknown
Tags
Unknown