HomeFreeBSD

net80211: HT: check for feature support in ht_recv_action_ht_txchwidth()

Description

net80211: HT: check for feature support in ht_recv_action_ht_txchwidth()

ht_recv_action_ht_txchwidth() can blindly change the channel width to
40 Mhz whether or not that is supported. If 20/40 is not supported
there is nothing to do as the channel width cannot change in that case.

While here mark unused arguments with __unused.

Sponosred by: The FreeBSD Foundation
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D47857

(cherry picked from commit 30e8252353d95cc77f787ef784942a551d3e0567)

Details

Provenance
bzAuthored on Dec 1 2024, 8:16 PM
Reviewer
adrian
Differential Revision
D47857: net80211: HT: check for feature support in ht_recv_action_ht_txchwidth()
Parents
rG1a472e9357f3: net80211: HT: add missing bit descriptions for IEEE80211_AGGR_BITS
Branches
Unknown
Tags
Unknown