Rafał Miłecki | d7520b1 | 2011-06-13 16:20:06 +0200 | [diff] [blame] | 1 | #ifndef B43_PHY_HT_H_ |
| 2 | #define B43_PHY_HT_H_ |
| 3 | |
| 4 | #include "phy_common.h" |
| 5 | |
| 6 | |
Rafał Miłecki | 19240f3 | 2011-08-12 13:13:46 +0200 | [diff] [blame^] | 7 | #define B43_PHY_HT_BBCFG 0x001 /* BB config */ |
| 8 | #define B43_PHY_HT_BBCFG_RSTCCA 0x4000 /* Reset CCA */ |
| 9 | #define B43_PHY_HT_BBCFG_RSTRX 0x8000 /* Reset RX */ |
Rafał Miłecki | bdb2dfb | 2011-06-27 14:58:51 +0200 | [diff] [blame] | 10 | #define B43_PHY_HT_BANDCTL 0x009 /* Band control */ |
Rafał Miłecki | 19240f3 | 2011-08-12 13:13:46 +0200 | [diff] [blame^] | 11 | #define B43_PHY_HT_BANDCTL_5GHZ 0x0001 /* Use the 5GHz band */ |
Rafał Miłecki | d7520b1 | 2011-06-13 16:20:06 +0200 | [diff] [blame] | 12 | #define B43_PHY_HT_TABLE_ADDR 0x072 /* Table address */ |
| 13 | #define B43_PHY_HT_TABLE_DATALO 0x073 /* Table data low */ |
| 14 | #define B43_PHY_HT_TABLE_DATAHI 0x074 /* Table data high */ |
Rafał Miłecki | bdb2dfb | 2011-06-27 14:58:51 +0200 | [diff] [blame] | 15 | #define B43_PHY_HT_BW1 0x1CE |
| 16 | #define B43_PHY_HT_BW2 0x1CF |
| 17 | #define B43_PHY_HT_BW3 0x1D0 |
| 18 | #define B43_PHY_HT_BW4 0x1D1 |
| 19 | #define B43_PHY_HT_BW5 0x1D2 |
| 20 | #define B43_PHY_HT_BW6 0x1D3 |
Rafał Miłecki | d7520b1 | 2011-06-13 16:20:06 +0200 | [diff] [blame] | 21 | |
Rafał Miłecki | e7c6255 | 2011-06-19 02:18:11 +0200 | [diff] [blame] | 22 | #define B43_PHY_HT_RF_CTL1 B43_PHY_EXTG(0x010) |
| 23 | |
Rafał Miłecki | a8e8274 | 2011-06-16 01:59:20 +0200 | [diff] [blame] | 24 | #define B43_PHY_HT_AFE_CTL1 B43_PHY_EXTG(0x110) |
| 25 | #define B43_PHY_HT_AFE_CTL2 B43_PHY_EXTG(0x111) |
| 26 | #define B43_PHY_HT_AFE_CTL3 B43_PHY_EXTG(0x114) |
| 27 | #define B43_PHY_HT_AFE_CTL4 B43_PHY_EXTG(0x115) |
| 28 | #define B43_PHY_HT_AFE_CTL5 B43_PHY_EXTG(0x118) |
| 29 | #define B43_PHY_HT_AFE_CTL6 B43_PHY_EXTG(0x119) |
| 30 | |
Rafał Miłecki | d7520b1 | 2011-06-13 16:20:06 +0200 | [diff] [blame] | 31 | |
Rafał Miłecki | 5192bf5 | 2011-06-19 12:17:19 +0200 | [diff] [blame] | 32 | /* Values for PHY registers used on channel switching */ |
| 33 | struct b43_phy_ht_channeltab_e_phy { |
Rafał Miłecki | bdb2dfb | 2011-06-27 14:58:51 +0200 | [diff] [blame] | 34 | u16 bw1; |
| 35 | u16 bw2; |
| 36 | u16 bw3; |
| 37 | u16 bw4; |
| 38 | u16 bw5; |
| 39 | u16 bw6; |
Rafał Miłecki | 5192bf5 | 2011-06-19 12:17:19 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | |
Rafał Miłecki | d7520b1 | 2011-06-13 16:20:06 +0200 | [diff] [blame] | 43 | struct b43_phy_ht { |
| 44 | }; |
| 45 | |
| 46 | |
| 47 | struct b43_phy_operations; |
| 48 | extern const struct b43_phy_operations b43_phyops_ht; |
| 49 | |
| 50 | #endif /* B43_PHY_HT_H_ */ |