summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_n.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-07-31 21:59:48 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-08-25 22:00:43 +0200
commit8615eb2870f1a89ad551d80ef821172015af7c28 (patch)
tree4ae6c8dd39521cc77189b6bb786a6fb52b0932ea /drivers/net/wireless/b43/phy_n.h
parentb43: implement PPR (Power Per Rate) management/API (diff)
downloadlinux-8615eb2870f1a89ad551d80ef821172015af7c28.tar.xz
linux-8615eb2870f1a89ad551d80ef821172015af7c28.zip
b43: N-PHY: support setting custom TX power
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_n.h b/drivers/net/wireless/b43/phy_n.h
index 30bec815b969..a6da2c31a99c 100644
--- a/drivers/net/wireless/b43/phy_n.h
+++ b/drivers/net/wireless/b43/phy_n.h
@@ -2,6 +2,7 @@
#define B43_NPHY_H_
#include "phy_common.h"
+#include "ppr.h"
/* N-PHY registers. */
@@ -967,6 +968,9 @@ struct b43_phy_n {
struct b43_phy_n_txpwrindex txpwrindex[2];
struct b43_phy_n_pwr_ctl_info pwr_ctl_info[2];
struct b43_chanspec txiqlocal_chanspec;
+ struct b43_ppr tx_pwr_max_ppr;
+ u16 tx_pwr_last_recalc_freq;
+ int tx_pwr_last_recalc_limit;
u8 txrx_chain;
u16 tx_rx_cal_phy_saveregs[11];