wifi: iwlwifi: mvm: add MLO support to SF - use sta pointer
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Apr 2023 08:41:32 +0000 (11:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Apr 2023 12:47:56 +0000 (14:47 +0200)
commit8939a18ce1d7efcaff8801ab16dd33eaeec4c91c
treea3c74396124967a906347d20b157d353fdfd0817
parentd2d0468f60cda38c275f7d1cc5955d60eebad43b
wifi: iwlwifi: mvm: add MLO support to SF - use sta pointer

For MLO support, use the pointer to the peer MLD instead of the default
link station id, since the default link is only used for non-MLO cases.
Using the default link sta id is meaningless for MLO. Also remove the
rcu protected section since we now avoid the lookup based on sta id.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230417113648.40cef48c0592.I8dd666d603d6e1854033e5369c70e78d9303d236@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sf.c