]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: select link when transmitting to non-MLO stations
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 13 Jul 2022 09:05:27 +0000 (12:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:23 +0000 (11:43 +0200)
commit6f049887d0e8943f4696afbfd727e56c6b3ff6e5
tree8cfee08b4889bb7241d28501531ec94dd0125f35
parent726d9dd2309078a0e2d77145c4aac038ea9011d4
wifi: mac80211: select link when transmitting to non-MLO stations

When an MLO AP is transmitting to a non-MLO station, addr2 should be set
to a link address. This should be done before the frame is encrypted as
otherwise aad verification would fail. In case of software encryption
this can't be left for the device to handle, and should be done by
mac80211 when building the frame hdr.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/tx.c