aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.h')
-rw-r--r--drivers/net/wireless/iwlegacy/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h
index cf7352f45cdb..66d0c1dd5894 100644
--- a/drivers/net/wireless/iwlegacy/common.h
+++ b/drivers/net/wireless/iwlegacy/common.h
@@ -816,6 +816,7 @@ struct il_sensitivity_ranges {
816 816
817/** 817/**
818 * struct il_hw_params 818 * struct il_hw_params
819 * @bcast_id: f/w broadcast station ID
819 * @max_txq_num: Max # Tx queues supported 820 * @max_txq_num: Max # Tx queues supported
820 * @dma_chnl_num: Number of Tx DMA/FIFO channels 821 * @dma_chnl_num: Number of Tx DMA/FIFO channels
821 * @scd_bc_tbls_size: size of scheduler byte count tables 822 * @scd_bc_tbls_size: size of scheduler byte count tables
@@ -836,6 +837,7 @@ struct il_sensitivity_ranges {
836 * @struct il_sensitivity_ranges: range of sensitivity values 837 * @struct il_sensitivity_ranges: range of sensitivity values
837 */ 838 */
838struct il_hw_params { 839struct il_hw_params {
840 u8 bcast_id;
839 u8 max_txq_num; 841 u8 max_txq_num;
840 u8 dma_chnl_num; 842 u8 dma_chnl_num;
841 u16 scd_bc_tbls_size; 843 u16 scd_bc_tbls_size;
@@ -1173,8 +1175,6 @@ struct il_rxon_context {
1173 1175
1174 struct il_qos_info qos_data; 1176 struct il_qos_info qos_data;
1175 1177
1176 u8 bcast_sta_id;
1177
1178 struct il_wep_key wep_keys[WEP_KEYS_MAX]; 1178 struct il_wep_key wep_keys[WEP_KEYS_MAX];
1179 u8 key_mapping_keys; 1179 u8 key_mapping_keys;
1180 1180
@@ -2372,7 +2372,7 @@ il_sta_id_or_broadcast(struct il_priv *il, struct il_rxon_context *context,
2372 int sta_id; 2372 int sta_id;
2373 2373
2374 if (!sta) 2374 if (!sta)
2375 return context->bcast_sta_id; 2375 return il->hw_params.bcast_id;
2376 2376
2377 sta_id = il_sta_id(sta); 2377 sta_id = il_sta_id(sta);
2378 2378