diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2010-07-11 06:24:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-12 16:05:33 -0400 |
commit | d8147f9d9ed6abfa105234a21f05af4a4839eb80 (patch) | |
tree | 5e00a39ec607af756696ded2bcb01b7c1f8f0725 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 27df2a9ce9ea6a77b9959cf5cc03ee85324aced9 (diff) |
rt2x00: Disable link tuning while scanning
While scanning the link tuner must be disabled. Otherwise
it will interfere with receiving all beacons for each channel
due to changing sensitivity levels.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 42f466163278..bf5e3f37e705 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -628,6 +628,7 @@ enum rt2x00_flags { | |||
628 | DEVICE_STATE_INITIALIZED, | 628 | DEVICE_STATE_INITIALIZED, |
629 | DEVICE_STATE_STARTED, | 629 | DEVICE_STATE_STARTED, |
630 | DEVICE_STATE_ENABLED_RADIO, | 630 | DEVICE_STATE_ENABLED_RADIO, |
631 | DEVICE_STATE_SCANNING, | ||
631 | 632 | ||
632 | /* | 633 | /* |
633 | * Driver requirements | 634 | * Driver requirements |
@@ -1081,6 +1082,8 @@ int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | |||
1081 | #else | 1082 | #else |
1082 | #define rt2x00mac_set_key NULL | 1083 | #define rt2x00mac_set_key NULL |
1083 | #endif /* CONFIG_RT2X00_LIB_CRYPTO */ | 1084 | #endif /* CONFIG_RT2X00_LIB_CRYPTO */ |
1085 | void rt2x00mac_sw_scan_start(struct ieee80211_hw *hw); | ||
1086 | void rt2x00mac_sw_scan_complete(struct ieee80211_hw *hw); | ||
1084 | int rt2x00mac_get_stats(struct ieee80211_hw *hw, | 1087 | int rt2x00mac_get_stats(struct ieee80211_hw *hw, |
1085 | struct ieee80211_low_level_stats *stats); | 1088 | struct ieee80211_low_level_stats *stats); |
1086 | void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw, | 1089 | void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw, |