wifi: mac80211: Fix SMPS handling in the context of MLO
authorIlan Peer <ilan.peer@intel.com>
Mon, 28 Aug 2023 13:09:25 +0000 (15:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:18 +0000 (11:27 +0200)
commite665ab9c5aab79e1c576a220013419ef215c3b6a
tree30f880bedaa6b5e94e376d0c9c4379db0c8cf68b
parentf498f6ab7adb461a68e13ea6d4443cb3636f2d93
wifi: mac80211: Fix SMPS handling in the context of MLO

When the connection is a MLO connection, a SMPS request should be
sent on a specific link, as SMPS is BSS specific, and the DA and BSSID
used for the action frame transmission should be the AP MLD address, as
the underlying driver is expected to perform the address translation
(based on the link ID).

Fix the SMPS request handling to use the AP MLD address and provide the
link ID for the request processing during Tx.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ht.c
net/mac80211/ieee80211_i.h