wifi: mac80211: handle TDLS data frames with MLO
authorAbhishek Naik <abhishek.naik@intel.com>
Fri, 16 Jun 2023 06:53:52 +0000 (09:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:27 +0000 (12:05 +0200)
commit8cc07265b69141f8ed9597d0f27185239c241c80
tree44eca9eb1345ce9fd4c49ae8b4f07c5f8adc5971
parent78a7ea370d5f0eb6f3e774e7f6afece1c3a6860f
wifi: mac80211: handle TDLS data frames with MLO

If the device is associated with an AP MLD, then TDLS data frames
should have
 - A1 = peer address,
 - A2 = own MLD address (since the peer may now know about MLO), and
 - A3 = BSSID.

Change the code to do that.

Signed-off-by: Abhishek Naik <abhishek.naik@intel.com>
Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616094948.4bf648b63dfd.I98ef1dabd14b74a92120750f7746a7a512011701@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c