diff options
author | Thomas Huehn <thomas@net.t-labs.tu-berlin.de> | 2012-06-29 14:43:10 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-09 20:36:02 (GMT) |
commit | 19601957252413676ff107faf0fb00a80874c253 (patch) | |
tree | e5619852e6dd3b773db0537f17a9aa02222797a1 /drivers/net/wireless/ath/ath9k/reg.h | |
parent | c11216d1f62163e7de92793dcfd4d06247d0a20e (diff) | |
download | linux-19601957252413676ff107faf0fb00a80874c253.tar.xz |
ath9k: fixing register bit shift values of control packets to support TPC
Some register values of bit shifts are corrected in order to support the upcoming
transmission power control (tpc) for control packets as well.
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index 5046b28..dd9c726 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h @@ -1643,11 +1643,11 @@ enum { #define AR_TPC 0x80e8 #define AR_TPC_ACK 0x0000003f -#define AR_TPC_ACK_S 0x00 +#define AR_TPC_ACK_S 0 #define AR_TPC_CTS 0x00003f00 -#define AR_TPC_CTS_S 0x08 +#define AR_TPC_CTS_S 8 #define AR_TPC_CHIRP 0x003f0000 -#define AR_TPC_CHIRP_S 0x16 +#define AR_TPC_CHIRP_S 16 #define AR_QUIET1 0x80fc #define AR_QUIET1_NEXT_QUIET_S 0 |