diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-05-27 16:07:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-29 13:10:33 -0400 |
commit | 09951ad4936948e03316fdb1fe636846f706136e (patch) | |
tree | 77ef0567528a4b8b47970e1b091acddb55ae8b01 /drivers/net/wireless/b43/phy_common.h | |
parent | cf42c4e5d3019d801ec6d033b63de5446a53af5c (diff) |
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.h | 3 |
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 { | |||
234 | /* Is GMODE (2 GHz mode) bit enabled? */ | 234 | /* Is GMODE (2 GHz mode) bit enabled? */ |
235 | bool gmode; | 235 | bool gmode; |
236 | 236 | ||
237 | /* After power reset full init has to be performed */ | ||
238 | bool do_full_init; | ||
239 | |||
237 | /* Analog Type */ | 240 | /* Analog Type */ |
238 | u8 analog; | 241 | u8 analog; |
239 | /* B43_PHYTYPE_ */ | 242 | /* B43_PHYTYPE_ */ |