]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/net/mac80211.h
mac80211: fix A-MSDU outer SA/DA
authorMichael Braun <michael-dev@fami-braun.de>
Sat, 15 Oct 2016 11:28:19 +0000 (13:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 17 Oct 2016 09:43:33 +0000 (11:43 +0200)
commita3e2f4b6ed9de85086850fe49801f9b00adb6ae1
treee3cbc8f949893d90583a81f0a47bfd5fe848c172
parent06f2bb1e017166c6413debc28cf72087679242fb
mac80211: fix A-MSDU outer SA/DA

According to IEEE 802.11-2012 section 8.3.2 table 8-19, the outer SA/DA
of A-MSDU frames need to be changed depending on FromDS/ToDS values.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
[use ether_addr_copy and add alignment annotations]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/tx.c