diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-01-15 06:34:21 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-15 17:05:30 -0500 |
commit | f8187b5b9780a9ac3c12c70413615a0fdf321cd5 (patch) | |
tree | 958642e56b1c5190d7c6ef7dcaec608a9c23a9fc /drivers/net/wireless/b43/phy_n.c | |
parent | 76a4db303d06066792bbc0e886def2cf99b232ef (diff) |
b43: N-PHY: add needed struct definitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_n.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 6b995b92af7a..cb784a2504a6 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -29,6 +29,30 @@ | |||
29 | #include "phy_n.h" | 29 | #include "phy_n.h" |
30 | #include "tables_nphy.h" | 30 | #include "tables_nphy.h" |
31 | 31 | ||
32 | struct nphy_txgains { | ||
33 | u16 txgm[2]; | ||
34 | u16 pga[2]; | ||
35 | u16 pad[2]; | ||
36 | u16 ipa[2]; | ||
37 | }; | ||
38 | |||
39 | struct nphy_iqcal_params { | ||
40 | u16 txgm; | ||
41 | u16 pga; | ||
42 | u16 pad; | ||
43 | u16 ipa; | ||
44 | u16 cal_gain; | ||
45 | u16 ncorr[5]; | ||
46 | }; | ||
47 | |||
48 | struct nphy_iq_est { | ||
49 | s32 iq0_prod; | ||
50 | u32 i0_pwr; | ||
51 | u32 q0_pwr; | ||
52 | s32 iq1_prod; | ||
53 | u32 i1_pwr; | ||
54 | u32 q1_pwr; | ||
55 | }; | ||
32 | 56 | ||
33 | void b43_nphy_set_rxantenna(struct b43_wldev *dev, int antenna) | 57 | void b43_nphy_set_rxantenna(struct b43_wldev *dev, int antenna) |
34 | {//TODO | 58 | {//TODO |