wifi: mt76: add multi-radio remain_on_channel functions

This allows a driver using the generic channel context functions to
temporarily switch to another channel for off-channel rx/tx.

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2024-10-27 08:52:59 +01:00
parent fc0ff17b53
commit f19cbcf834
4 changed files with 112 additions and 1 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ int mt76_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
mutex_lock(&dev->mutex);
if (dev->scan.req) {
if (dev->scan.req || phy->roc_vif) {
ret = -EBUSY;
goto out;
}