summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mld/phy.h
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2025-04-30 15:57:24 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-05-06 22:22:11 +0300
commit94f086a4db66d912c7df37bc7651a3efd276415a (patch)
treed124031a4fdc6669cce830bf6f0013c9d0a53b99 /drivers/net/wireless/intel/iwlwifi/mld/phy.h
parenta4911d0178479b4f6411d317adc6e34d1c9c8d89 (diff)
wifi: iwlwifi: mld: start AP with the correct bandwidth
When a channel context is added, it is still not assigned to the link and the link is not yet active. As a result, the channel context min_def is used when the AP is started, even when the full bandwidth should be used. Fix it by updating the PHY channel context when the link is already active so the full bandwidth is used when needed. Signed-off-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250430155443.30b043b10fb1.I62c2aa58687e4796b759fa68132122119a337b49@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mld/phy.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mld/phy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mld/phy.h b/drivers/net/wireless/intel/iwlwifi/mld/phy.h
index 563e309deb0a..0deaf179f07c 100644
--- a/drivers/net/wireless/intel/iwlwifi/mld/phy.h
+++ b/drivers/net/wireless/intel/iwlwifi/mld/phy.h
@@ -54,4 +54,7 @@ u8 iwl_mld_get_fw_ctrl_pos(const struct cfg80211_chan_def *chandef);
int iwl_mld_send_phy_cfg_cmd(struct iwl_mld *mld);
+void iwl_mld_update_phy_chandef(struct iwl_mld *mld,
+ struct ieee80211_chanctx_conf *ctx);
+
#endif /* __iwl_mld_phy_h__ */