summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/phy_common.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-05-28 00:07:31 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-05-29 21:10:33 +0400
commit09951ad4936948e03316fdb1fe636846f706136e (patch)
tree77ef0567528a4b8b47970e1b091acddb55ae8b01 /drivers/net/wireless/b43/phy_common.h
parentcf42c4e5d3019d801ec6d033b63de5446a53af5c (diff)
downloadlinux-09951ad4936948e03316fdb1fe636846f706136e.tar.xz
b43: PHY: allow init optimizations by tracking PHY state
PHY has to be often re-initialized (e.g. during band switching after PHY reset), however some operations have to be performed only once (only power reset affects them). 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 47b55855c37d..4ad6240d9ff4 100644
--- a/drivers/net/wireless/b43/phy_common.h
+++ b/drivers/net/wireless/b43/phy_common.h
@@ -234,6 +234,9 @@ struct b43_phy {
/* Is GMODE (2 GHz mode) bit enabled? */
bool gmode;
+ /* After power reset full init has to be performed */
+ bool do_full_init;
+
/* Analog Type */
u8 analog;
/* B43_PHYTYPE_ */