wifi: cfg80211: check radio iface combination for multi radio per wiphy
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Tue, 17 Sep 2024 14:02:39 +0000 (19:32 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2024 19:52:11 +0000 (21:52 +0200)
commitbd9813d13be439851a7ff3e6372e53caa6e387a6
tree7a0a0b0bb48c7e7954117b301b27d00b267852bc
parent4b482281eeb263d5bbbe75e1c5688d80daabb20e
wifi: cfg80211: check radio iface combination for multi radio per wiphy

Currently, wiphy_verify_combinations() fails for the multi-radio per wiphy
due to the condition check on new global interface combination that DFS
only works on one channel. In a multi-radio scenario, new global interface
combination encompasses the capabilities of all radio combinations, so it
supports more than one channel with DFS. For multi-radio per wiphy,
interface combination verification needs to be performed for radio specific
interface combinations. This is necessary as the new global interface
combination combines the capabilities of all radio combinations.

Fixes: a01b1e9f9955 ("wifi: mac80211: add support for DFS with multiple radios")
Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Link: https://patch.msgid.link/20240917140239.886083-1-quic_periyasa@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c