Lines Matching refs:rate_scope
163 struct mwifiex_rate_scope *rate_scope; in mwifiex_cmd_tx_rate_cfg() local
172 rate_scope = (struct mwifiex_rate_scope *) ((u8 *) rate_cfg + in mwifiex_cmd_tx_rate_cfg()
174 rate_scope->type = cpu_to_le16(TLV_TYPE_RATE_SCOPE); in mwifiex_cmd_tx_rate_cfg()
175 rate_scope->length = cpu_to_le16 in mwifiex_cmd_tx_rate_cfg()
176 (sizeof(*rate_scope) - sizeof(struct mwifiex_ie_types_header)); in mwifiex_cmd_tx_rate_cfg()
178 rate_scope->hr_dsss_rate_bitmap = cpu_to_le16(pbitmap_rates[0]); in mwifiex_cmd_tx_rate_cfg()
179 rate_scope->ofdm_rate_bitmap = cpu_to_le16(pbitmap_rates[1]); in mwifiex_cmd_tx_rate_cfg()
180 for (i = 0; i < ARRAY_SIZE(rate_scope->ht_mcs_rate_bitmap); i++) in mwifiex_cmd_tx_rate_cfg()
181 rate_scope->ht_mcs_rate_bitmap[i] = in mwifiex_cmd_tx_rate_cfg()
185 i < ARRAY_SIZE(rate_scope->vht_mcs_rate_bitmap); in mwifiex_cmd_tx_rate_cfg()
187 rate_scope->vht_mcs_rate_bitmap[i] = in mwifiex_cmd_tx_rate_cfg()
191 rate_scope->hr_dsss_rate_bitmap = in mwifiex_cmd_tx_rate_cfg()
193 rate_scope->ofdm_rate_bitmap = in mwifiex_cmd_tx_rate_cfg()
195 for (i = 0; i < ARRAY_SIZE(rate_scope->ht_mcs_rate_bitmap); i++) in mwifiex_cmd_tx_rate_cfg()
196 rate_scope->ht_mcs_rate_bitmap[i] = in mwifiex_cmd_tx_rate_cfg()
200 i < ARRAY_SIZE(rate_scope->vht_mcs_rate_bitmap); in mwifiex_cmd_tx_rate_cfg()
202 rate_scope->vht_mcs_rate_bitmap[i] = in mwifiex_cmd_tx_rate_cfg()
207 rate_drop = (struct mwifiex_rate_drop_pattern *) ((u8 *) rate_scope + in mwifiex_cmd_tx_rate_cfg()