summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/phy_common.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-01-25 18:59:59 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-01-25 16:36:31 -0500
commit986504540306137dfc90a936f9f25086d15621c5 (patch)
treee41a8ea05d14152054f07fe3c4bd2fbc3c7836bb /drivers/net/wireless/b43/phy_common.h
parent3ed0fac3b56504aaaa3d800e7891ed4a7068b85c (diff)
downloadlwn-986504540306137dfc90a936f9f25086d15621c5.tar.gz
lwn-986504540306137dfc90a936f9f25086d15621c5.zip
b43: make cordic common (LP-PHY and N-PHY need it)
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_common.h')
-rw-r--r--drivers/net/wireless/b43/phy_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_common.h b/drivers/net/wireless/b43/phy_common.h
index f635f9e4f83d..9e4de47d0608 100644
--- a/drivers/net/wireless/b43/phy_common.h
+++ b/drivers/net/wireless/b43/phy_common.h
@@ -5,6 +5,8 @@
struct b43_wldev;
+/* Complex number using 2 32-bit signed integers */
+struct b43_c32 { s32 i, q; };
/* PHY register routing bits */
#define B43_PHYROUTE 0x0C00 /* PHY register routing bits mask */
@@ -421,5 +423,6 @@ int b43_phy_shm_tssi_read(struct b43_wldev *dev, u16 shm_offset);
*/
void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on);
+struct b43_c32 b43_cordic(int theta);
#endif /* LINUX_B43_PHY_COMMON_H_ */