Commit 5761541a authored by Aloka Dixit's avatar Aloka Dixit Committed by William McVicker
Browse files

BACKPORT: 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>

Bug: 272227555
Change-Id: I0b5d7829982afc0ae18b105ddd3ad9df7d3dd7ed
(cherry picked from commit b25413fe)
[shivbara: Skipped changes in net/mac80211 due to missing
dependency changes]
Signed-off-by: default avatarShivani Baranwal <quic_shivbara@quicinc.com>
parent 267de69e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment