summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_ht.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-09-09 21:17:06 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-09-11 15:27:35 -0400
commit85e6c26fb632dbf3722fa9d2d788cd4f7993c943 (patch)
treeb59078c7891170a8327d12b3449e73843aa03323 /drivers/net/wireless/b43/phy_ht.h
parent4f4378dead3792d21577739f07869fbd843dab23 (diff)
downloadop-kernel-dev-85e6c26fb632dbf3722fa9d2d788cd4f7993c943.zip
op-kernel-dev-85e6c26fb632dbf3722fa9d2d788cd4f7993c943.tar.gz
b43: HT-PHY: Move radio preparation into init function
Radio should be prepared only before initialization. We need this to be able to call b43_radio_2059_init conditionally (in the future). This also documents RF control register a bit. 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_ht.h')
-rw-r--r--drivers/net/wireless/b43/phy_ht.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_ht.h b/drivers/net/wireless/b43/phy_ht.h
index 6cae370..67b208e 100644
--- a/drivers/net/wireless/b43/phy_ht.h
+++ b/drivers/net/wireless/b43/phy_ht.h
@@ -81,7 +81,9 @@
#define B43_PHY_HT_RF_SEQ_STATUS B43_PHY_EXTG(0x004)
/* Values for the status are the same as for the trigger */
-#define B43_PHY_HT_RF_CTL1 B43_PHY_EXTG(0x010)
+#define B43_PHY_HT_RF_CTL_CMD 0x810
+#define B43_PHY_HT_RF_CTL_CMD_FORCE 0x0001
+#define B43_PHY_HT_RF_CTL_CMD_CHIP0_PU 0x0002
#define B43_PHY_HT_RF_CTL_INT_C1 B43_PHY_EXTG(0x04c)
#define B43_PHY_HT_RF_CTL_INT_C2 B43_PHY_EXTG(0x06c)
OpenPOWER on IntegriCloud