linux/drivers/net/wireless/intel
Miri Korenblit c337cbcf38 wifi: iwlwifi: assign phy_ctxt before eSR activation
[ Upstream commit 9b6614e5ea ]

eSR is activated when a chanctx is assigned to more than one link.
During eSR activation we should disable RLC for both phys, and configure
the FW with a special phy command for both phys.
Currently we assign the phy_ctxt to the link only after eSR activation,
so RLC is not disabled for the new phy_ctxt, and a cmd is not sent to FW.
Fix this by first assigning the new phy_ctxt to the link and then
doing the eSR activation.

Fixes: 12bacfc2c0 ("wifi: iwlwifi: handle eSR transitions")
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231219215605.3d94507f5d9a.I537fcd73aedf94c7348c03157e486f24301fef14@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-01-25 15:44:55 -08:00
..
ipw2x00 wifi: ipw2x00: replace deprecated strncpy with strscpy_pad 2023-10-23 20:26:29 +03:00
iwlegacy wifi: mac80211: add support for mld in ieee80211_chswitch_done 2023-09-11 12:31:31 +02:00
iwlwifi wifi: iwlwifi: assign phy_ctxt before eSR activation 2024-01-25 15:44:55 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile iwlwifi: fix build error for IWLMEI 2022-03-02 22:36:49 +01:00