aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-27 11:53:46 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-08-27 11:53:46 -0400
commita194e3249baf954dc34c67cdad5b8bed36f49e72 (patch)
tree2010fbba8fdae3179a1439f2038e30694a85124f /drivers/net/wireless/iwlwifi/iwl-dev.h
parent751ca305d0e37f0d44b6a261e7db31aa6b60fbf4 (diff)
iwlwifi: contextify broadcast station
The broadcast station ID is per context, so add a variable for the ID in the context and use it everywhere we previously hardcoded it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 8ec377d514fb..f51c07c078cc 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -681,7 +681,6 @@ struct iwl_sensitivity_ranges {
681 * @rx_page_order: Rx buffer page order 681 * @rx_page_order: Rx buffer page order
682 * @rx_wrt_ptr_reg: FH{39}_RSCSR_CHNL0_WPTR 682 * @rx_wrt_ptr_reg: FH{39}_RSCSR_CHNL0_WPTR
683 * @max_stations: 683 * @max_stations:
684 * @bcast_sta_id:
685 * @ht40_channel: is 40MHz width possible in band 2.4 684 * @ht40_channel: is 40MHz width possible in band 2.4
686 * BIT(IEEE80211_BAND_5GHZ) BIT(IEEE80211_BAND_5GHZ) 685 * BIT(IEEE80211_BAND_5GHZ) BIT(IEEE80211_BAND_5GHZ)
687 * @sw_crypto: 0 for hw, 1 for sw 686 * @sw_crypto: 0 for hw, 1 for sw
@@ -705,7 +704,6 @@ struct iwl_hw_params {
705 u32 rx_page_order; 704 u32 rx_page_order;
706 u32 rx_wrt_ptr_reg; 705 u32 rx_wrt_ptr_reg;
707 u8 max_stations; 706 u8 max_stations;
708 u8 bcast_sta_id;
709 u8 ht40_channel; 707 u8 ht40_channel;
710 u8 max_beacon_itrvl; /* in 1024 ms */ 708 u8 max_beacon_itrvl; /* in 1024 ms */
711 u32 max_inst_size; 709 u32 max_inst_size;
@@ -1126,6 +1124,8 @@ struct iwl_rxon_context {
1126 struct iwl_rxon_cmd staging; 1124 struct iwl_rxon_cmd staging;
1127 1125
1128 struct iwl_rxon_time_cmd timing; 1126 struct iwl_rxon_time_cmd timing;
1127
1128 u8 bcast_sta_id;
1129}; 1129};
1130 1130
1131struct iwl_priv { 1131struct iwl_priv {