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:Aloka Dixit <quic_alokad@quicinc.com> Link: https://lore.kernel.org/r/20230131001227.25014-2-quic_alokad@quicinc.com Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Bug: 272227555 Bug: 324905919 Change-Id: I0b5d7829982afc0ae18b105ddd3ad9df7d3dd7ed (cherry picked from commit b25413fe) [shivbara: Skipped changes in net/mac80211 due to missing dependency changes] Signed-off-by:
Shivani Baranwal <quic_shivbara@quicinc.com> (cherry picked from commit 5761541a) Signed-off-by:
Lee Jones <joneslee@google.com> Signed-off-by:
Andrew Evans <andrewevans@google.com>
Loading
Please sign in to comment