]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe5e718f54210feb25ac6ec4439c82d77838643d
treee3cbc8f949893d90583a81f0a47bfd5fe848c172
parent3b414bdb8008952ec3dd5050f228c804ee7de1ef
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