aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-03-28 19:33:35 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-08 15:05:56 -0400
commit3109ece1114293b8201d9c140d02d7ce9a9fa387 (patch)
treefd04ee3aab9fde3d0b93633263bc0504d73aa418 /drivers/net/wireless/iwlwifi/iwl-4965.h
parent21c0cbe760ca6b5d4c6927c3ec1352a843a8c11c (diff)
iwlwifi: Eliminate association from beacon
This patch removes association from beacon using bss_info_change handler for association Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index 8c14e9a87c14..c8e7028cdf2a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -1068,7 +1068,6 @@ struct iwl_priv {
1068 u16 active_rate; 1068 u16 active_rate;
1069 u16 active_rate_basic; 1069 u16 active_rate_basic;
1070 1070
1071 u8 call_post_assoc_from_beacon;
1072 u8 assoc_station_added; 1071 u8 assoc_station_added;
1073 u8 use_ant_b_for_management_frame; /* Tx antenna selection */ 1072 u8 use_ant_b_for_management_frame; /* Tx antenna selection */
1074 u8 valid_antenna; /* Bit mask of antennas actually connected */ 1073 u8 valid_antenna; /* Bit mask of antennas actually connected */
@@ -1161,8 +1160,7 @@ struct iwl_priv {
1161 struct sk_buff *ibss_beacon; 1160 struct sk_buff *ibss_beacon;
1162 1161
1163 /* Last Rx'd beacon timestamp */ 1162 /* Last Rx'd beacon timestamp */
1164 u32 timestamp0; 1163 u64 timestamp;
1165 u32 timestamp1;
1166 u16 beacon_int; 1164 u16 beacon_int;
1167 struct iwl4965_driver_hw_info hw_setting; 1165 struct iwl4965_driver_hw_info hw_setting;
1168 struct ieee80211_vif *vif; 1166 struct ieee80211_vif *vif;
@@ -1226,7 +1224,7 @@ struct iwl_priv {
1226 struct timer_list statistics_periodic; 1224 struct timer_list statistics_periodic;
1227}; /*iwl_priv */ 1225}; /*iwl_priv */
1228 1226
1229static inline int iwl4965_is_associated(struct iwl_priv *priv) 1227static inline int iwl_is_associated(struct iwl_priv *priv)
1230{ 1228{
1231 return (priv->active_rxon.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0; 1229 return (priv->active_rxon.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0;
1232} 1230}