Skip to content
Commit b25413fe authored by Aloka Dixit's avatar Aloka Dixit Committed by Johannes Berg
Browse files

wifi: cfg80211: move puncturing bitmap validation from mac80211



- Move ieee80211_valid_disable_subchannel_bitmap() from mlme.c to
  chan.c, rename it as cfg80211_valid_disable_subchannel_bitmap()
  and export it.
- Modify the prototype to include struct cfg80211_chan_def instead
  of only bandwidth to support a check which returns false if the
  primary channel is punctured.

Signed-off-by: default avatarAloka Dixit <quic_alokad@quicinc.com>
Link: https://lore.kernel.org/r/20230131001227.25014-2-quic_alokad@quicinc.com
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 90b2c3cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment