diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2013-05-24 18:30:59 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-30 18:42:35 (GMT) |
commit | b0a1ae976d6cd40ff90ba87883e17eb2610dae3d (patch) | |
tree | fe131921922ea83429092629696d037ee294bc19 /drivers/net/wireless/ath/ath9k/mac.h | |
parent | ab276103357637fb26cc851369b5abbdc42afbf4 (diff) | |
download | linux-b0a1ae976d6cd40ff90ba87883e17eb2610dae3d.tar.xz |
ath9k: check for Rx-STBC flag and pass it to ieee80211
This patch make use of STBC flag in DMA RX descriptor.
Only devices after ar9280 can provide this information.
If card support it we will set HAVE_STBC flag, to show
clint programm thet STBC is supported but not received.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h index 3f1e775..b02dfce 100644 --- a/drivers/net/wireless/ath/ath9k/mac.h +++ b/drivers/net/wireless/ath/ath9k/mac.h @@ -534,7 +534,8 @@ struct ar5416_desc { #define AR_2040 0x00000002 #define AR_Parallel40 0x00000004 #define AR_Parallel40_S 2 -#define AR_RxStatusRsvd30 0x000000f8 +#define AR_STBC 0x00000008 /* on ar9280 and later */ +#define AR_RxStatusRsvd30 0x000000f0 #define AR_RxAntenna 0xffffff00 #define AR_RxAntenna_S 8 |