]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211_hwsim: track active STA links
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Sep 2022 14:12:45 +0000 (16:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2022 08:14:01 +0000 (10:14 +0200)
commita9b64e1118b01954f9861e72f7a3ca0b9d8c600c
treeb5558ae842b1d7bcff332bcc3fdec5fe8ab9b4fd
parentdffb5435f24b8173a886d352148e68ed6253b2f9
wifi: mac80211_hwsim: track active STA links

Track the powersave bit on frames where we can look up
the STA by link addresses and set the links active or
inactive accordingly, and use this information to TX
only on links that are actually active in the peer.

Note that this doesn't implement powersave fully so
if no link is active things will not work right.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c