diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-12-26 10:26:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:17 -0500 |
commit | aa6c7ae21d079f25420e436092e5461001ec29d7 (patch) | |
tree | 8f54db43dced1c177c9dbaee035e72609b4bf70b /drivers/net/wireless/b43/b43.h | |
parent | 03b29773b613f10d2f97dbf0983f1c4c58507967 (diff) |
b43: Add definitions for MAC Control register
This adds some definitions for the MAC Control register
and uses them.
This basically is no functional change.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 104d0b2ba02e..c19b773c978a 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -35,8 +35,8 @@ | |||
35 | #define B43_MMIO_DMA4_IRQ_MASK 0x44 | 35 | #define B43_MMIO_DMA4_IRQ_MASK 0x44 |
36 | #define B43_MMIO_DMA5_REASON 0x48 | 36 | #define B43_MMIO_DMA5_REASON 0x48 |
37 | #define B43_MMIO_DMA5_IRQ_MASK 0x4C | 37 | #define B43_MMIO_DMA5_IRQ_MASK 0x4C |
38 | #define B43_MMIO_MACCTL 0x120 | 38 | #define B43_MMIO_MACCTL 0x120 /* MAC control */ |
39 | #define B43_MMIO_STATUS2_BITFIELD 0x124 | 39 | #define B43_MMIO_MACCMD 0x124 /* MAC command */ |
40 | #define B43_MMIO_GEN_IRQ_REASON 0x128 | 40 | #define B43_MMIO_GEN_IRQ_REASON 0x128 |
41 | #define B43_MMIO_GEN_IRQ_MASK 0x12C | 41 | #define B43_MMIO_GEN_IRQ_MASK 0x12C |
42 | #define B43_MMIO_RAM_CONTROL 0x130 | 42 | #define B43_MMIO_RAM_CONTROL 0x130 |
@@ -321,6 +321,13 @@ enum { | |||
321 | #define B43_MACCTL_DISCPMQ 0x40000000 /* Discard Power Management Queue */ | 321 | #define B43_MACCTL_DISCPMQ 0x40000000 /* Discard Power Management Queue */ |
322 | #define B43_MACCTL_GMODE 0x80000000 /* G Mode */ | 322 | #define B43_MACCTL_GMODE 0x80000000 /* G Mode */ |
323 | 323 | ||
324 | /* MAC Command bitfield */ | ||
325 | #define B43_MACCMD_BEACON0_VALID 0x00000001 /* Beacon 0 in template RAM is busy/valid */ | ||
326 | #define B43_MACCMD_BEACON1_VALID 0x00000002 /* Beacon 1 in template RAM is busy/valid */ | ||
327 | #define B43_MACCMD_DFQ_VALID 0x00000004 /* Directed frame queue valid (IBSS PS mode, ATIM) */ | ||
328 | #define B43_MACCMD_CCA 0x00000008 /* Clear channel assessment */ | ||
329 | #define B43_MACCMD_BGNOISE 0x00000010 /* Background noise */ | ||
330 | |||
324 | /* 802.11 core specific TM State Low flags */ | 331 | /* 802.11 core specific TM State Low flags */ |
325 | #define B43_TMSLOW_GMODE 0x20000000 /* G Mode Enable */ | 332 | #define B43_TMSLOW_GMODE 0x20000000 /* G Mode Enable */ |
326 | #define B43_TMSLOW_PLLREFSEL 0x00200000 /* PLL Frequency Reference Select */ | 333 | #define B43_TMSLOW_PLLREFSEL 0x00200000 /* PLL Frequency Reference Select */ |
@@ -693,7 +700,7 @@ struct b43_wldev { | |||
693 | int suspend_init_status; | 700 | int suspend_init_status; |
694 | 701 | ||
695 | bool bad_frames_preempt; /* Use "Bad Frames Preemption" (default off) */ | 702 | bool bad_frames_preempt; /* Use "Bad Frames Preemption" (default off) */ |
696 | bool reg124_set_0x4; /* Some variable to keep track of IRQ stuff. */ | 703 | bool dfq_valid; /* Directed frame queue valid (IBSS PS mode, ATIM) */ |
697 | bool short_preamble; /* TRUE, if short preamble is enabled. */ | 704 | bool short_preamble; /* TRUE, if short preamble is enabled. */ |
698 | bool short_slot; /* TRUE, if short slot timing is enabled. */ | 705 | bool short_slot; /* TRUE, if short slot timing is enabled. */ |
699 | bool radio_hw_enable; /* saved state of radio hardware enabled state */ | 706 | bool radio_hw_enable; /* saved state of radio hardware enabled state */ |