blob: 7ad7affc8df08b8bc9e2caa7a03f5cb4e4e8e431 [file] [log] [blame]
Rafał Miłeckid7520b12011-06-13 16:20:06 +02001#ifndef B43_PHY_HT_H_
2#define B43_PHY_HT_H_
3
4#include "phy_common.h"
5
6
Rafał Miłeckibdb2dfb2011-06-27 14:58:51 +02007#define B43_PHY_HT_BANDCTL 0x009 /* Band control */
Rafał Miłeckid7520b12011-06-13 16:20:06 +02008#define B43_PHY_HT_TABLE_ADDR 0x072 /* Table address */
9#define B43_PHY_HT_TABLE_DATALO 0x073 /* Table data low */
10#define B43_PHY_HT_TABLE_DATAHI 0x074 /* Table data high */
Rafał Miłeckibdb2dfb2011-06-27 14:58:51 +020011#define B43_PHY_HT_BW1 0x1CE
12#define B43_PHY_HT_BW2 0x1CF
13#define B43_PHY_HT_BW3 0x1D0
14#define B43_PHY_HT_BW4 0x1D1
15#define B43_PHY_HT_BW5 0x1D2
16#define B43_PHY_HT_BW6 0x1D3
Rafał Miłeckid7520b12011-06-13 16:20:06 +020017
Rafał Miłeckie7c62552011-06-19 02:18:11 +020018#define B43_PHY_HT_RF_CTL1 B43_PHY_EXTG(0x010)
19
Rafał Miłeckia8e82742011-06-16 01:59:20 +020020#define B43_PHY_HT_AFE_CTL1 B43_PHY_EXTG(0x110)
21#define B43_PHY_HT_AFE_CTL2 B43_PHY_EXTG(0x111)
22#define B43_PHY_HT_AFE_CTL3 B43_PHY_EXTG(0x114)
23#define B43_PHY_HT_AFE_CTL4 B43_PHY_EXTG(0x115)
24#define B43_PHY_HT_AFE_CTL5 B43_PHY_EXTG(0x118)
25#define B43_PHY_HT_AFE_CTL6 B43_PHY_EXTG(0x119)
26
Rafał Miłeckid7520b12011-06-13 16:20:06 +020027
Rafał Miłecki5192bf52011-06-19 12:17:19 +020028/* Values for PHY registers used on channel switching */
29struct b43_phy_ht_channeltab_e_phy {
Rafał Miłeckibdb2dfb2011-06-27 14:58:51 +020030 u16 bw1;
31 u16 bw2;
32 u16 bw3;
33 u16 bw4;
34 u16 bw5;
35 u16 bw6;
Rafał Miłecki5192bf52011-06-19 12:17:19 +020036};
37
38
Rafał Miłeckid7520b12011-06-13 16:20:06 +020039struct b43_phy_ht {
40};
41
42
43struct b43_phy_operations;
44extern const struct b43_phy_operations b43_phyops_ht;
45
46#endif /* B43_PHY_HT_H_ */