wifi: mac80211: Schedule regulatory channels check on bandwith change
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 20 Dec 2023 11:41:36 +0000 (13:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Dec 2023 19:35:14 +0000 (20:35 +0100)
Some devices may support concurrent DFS operation which relies on the
BSS channel width for its relaxations. Notify cfg80211 about BW change
so it can schedule regulatory checks.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231220133549.e08f8e9ebc67.If8915d13e203ebd380579f55fd9148e9b3f43306@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c

index 0c7ce022d2ede6ef3445eb2881d0c645e4ba57b0..643b2653e38c1ab2e63e197319e548f959e4b8b1 100644 (file)
@@ -598,6 +598,7 @@ static int ieee80211_config_bw(struct ieee80211_link_data *link,
                return ret;
        }
 
+       cfg80211_schedule_channels_check(&sdata->wdev);
        return 0;
 }