]> 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)
commit55402fe404f3ec6b13ff5602f8cbd2a31710c71b
tree8cfee08b4889bb7241d28501531ec94dd0125f35
parent4d5d1e75e8e321046f92232e23d7f031d94e8a8d
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