summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorMichael Braun <michael-dev@fami-braun.de>2016-10-15 13:28:19 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-10-17 11:43:33 +0200
commita3e2f4b6ed9de85086850fe49801f9b00adb6ae1 (patch)
treee3cbc8f949893d90583a81f0a47bfd5fe848c172 /include/net/mac80211.h
parent06f2bb1e017166c6413debc28cf72087679242fb (diff)
downloadlinux-a3e2f4b6ed9de85086850fe49801f9b00adb6ae1.tar.bz2
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>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index a810dfcb83c2..e50c9e02889a 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1438,7 +1438,7 @@ enum ieee80211_vif_flags {
struct ieee80211_vif {
enum nl80211_iftype type;
struct ieee80211_bss_conf bss_conf;
- u8 addr[ETH_ALEN];
+ u8 addr[ETH_ALEN] __aligned(2);
bool p2p;
bool csa_active;
bool mu_mimo_owner;