Re: [PATCH 2/2] wifi: ath10k: update the channel list if change in channel flags.
From: Wen Gong
Date: Wed Jan 18 2023 - 21:27:25 EST
On 12/22/2022 8:42 PM, Youghandhar Chintala wrote:
...
+static void ath10k_mac_beacon_notifier(struct wiphy *wiphy)
+{
+ struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
+ struct ath10k *ar = hw->priv;
+
+ if (ath10k_update_channel_list(ar))
+ ath10k_warn(ar, "failed to update channel list\n");
+}
+
Will this called while scan is running?
On ath11k, if send channel list to firmware, then the running scan will
be cancel and removed.
I guess this is same for ath10k.
...