]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: start AP with the correct bandwidth
authorAvraham Stern <avraham.stern@intel.com>
Wed, 30 Apr 2025 12:57:24 +0000 (15:57 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 6 May 2025 19:22:11 +0000 (22:22 +0300)
commit94f086a4db66d912c7df37bc7651a3efd276415a
treed124031a4fdc6669cce830bf6f0013c9d0a53b99
parenta4911d0178479b4f6411d317adc6e34d1c9c8d89
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
drivers/net/wireless/intel/iwlwifi/mld/ap.c
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
drivers/net/wireless/intel/iwlwifi/mld/phy.c
drivers/net/wireless/intel/iwlwifi/mld/phy.h