summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/phy_n.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-01-15 14:34:21 +0300
committerJohn W. Linville <linville@tuxdriver.com>2010-01-16 01:05:30 +0300
commitf8187b5b9780a9ac3c12c70413615a0fdf321cd5 (patch)
tree958642e56b1c5190d7c6ef7dcaec608a9c23a9fc /drivers/net/wireless/b43/phy_n.h
parent76a4db303d06066792bbc0e886def2cf99b232ef (diff)
downloadlinux-f8187b5b9780a9ac3c12c70413615a0fdf321cd5.tar.xz
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.h')
-rw-r--r--drivers/net/wireless/b43/phy_n.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_n.h b/drivers/net/wireless/b43/phy_n.h
index 1749aef4147d..f829e4e397e8 100644
--- a/drivers/net/wireless/b43/phy_n.h
+++ b/drivers/net/wireless/b43/phy_n.h
@@ -919,6 +919,44 @@
struct b43_wldev;
+struct b43_phy_n_iq_comp {
+ s16 a0;
+ s16 b0;
+ s16 a1;
+ s16 b1;
+};
+
+struct b43_phy_n_rssical_cache {
+ u16 rssical_radio_regs_2G[2];
+ u16 rssical_phy_regs_2G[12];
+
+ u16 rssical_radio_regs_5G[2];
+ u16 rssical_phy_regs_5G[12];
+};
+
+struct b43_phy_n_cal_cache {
+ u16 txcal_radio_regs_2G[8];
+ u16 txcal_coeffs_2G[8];
+ struct b43_phy_n_iq_comp rxcal_coeffs_2G;
+
+ u16 txcal_radio_regs_5G[8];
+ u16 txcal_coeffs_5G[8];
+ struct b43_phy_n_iq_comp rxcal_coeffs_5G;
+};
+
+struct b43_phy_n_txpwrindex {
+ s8 index;
+ s8 index_internal;
+ s8 index_internal_save;
+ u16 AfectrlOverride;
+ u16 AfeCtrlDacGain;
+ u16 rad_gain;
+ u8 bbmult;
+ u16 iqcomp_a;
+ u16 iqcomp_b;
+ u16 locomp;
+};
+
struct b43_phy_n {
//TODO lots of missing stuff
};