Skip to content

Commit

Permalink
ath9k: fixing register bit shift values of control packets to support…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Thomas Huehn authored and John W. Linville committed Jul 9, 2012
1 parent c11216d commit 1960195
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/ath/ath9k/reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1960195

Please sign in to comment.