Searched refs:rate_scope (Results 1 – 2 of 2) sorted by relevance
175 struct mwifiex_rate_scope *rate_scope; in mwifiex_cmd_tx_rate_cfg() local184 rate_scope = (struct mwifiex_rate_scope *) ((u8 *) rate_cfg + in mwifiex_cmd_tx_rate_cfg()186 rate_scope->type = cpu_to_le16(TLV_TYPE_RATE_SCOPE); in mwifiex_cmd_tx_rate_cfg()187 rate_scope->length = cpu_to_le16 in mwifiex_cmd_tx_rate_cfg()188 (sizeof(*rate_scope) - sizeof(struct mwifiex_ie_types_header)); in mwifiex_cmd_tx_rate_cfg()190 rate_scope->hr_dsss_rate_bitmap = cpu_to_le16(pbitmap_rates[0]); in mwifiex_cmd_tx_rate_cfg()191 rate_scope->ofdm_rate_bitmap = cpu_to_le16(pbitmap_rates[1]); in mwifiex_cmd_tx_rate_cfg()193 i < sizeof(rate_scope->ht_mcs_rate_bitmap) / sizeof(u16); in mwifiex_cmd_tx_rate_cfg()195 rate_scope->ht_mcs_rate_bitmap[i] = in mwifiex_cmd_tx_rate_cfg()199 i < ARRAY_SIZE(rate_scope->vht_mcs_rate_bitmap); in mwifiex_cmd_tx_rate_cfg()[all …]
287 struct mwifiex_rate_scope *rate_scope; in mwifiex_ret_tx_rate_cfg() local306 rate_scope = (struct mwifiex_rate_scope *) tlv_buf; in mwifiex_ret_tx_rate_cfg()308 le16_to_cpu(rate_scope->hr_dsss_rate_bitmap); in mwifiex_ret_tx_rate_cfg()310 le16_to_cpu(rate_scope->ofdm_rate_bitmap); in mwifiex_ret_tx_rate_cfg()313 sizeof(rate_scope->ht_mcs_rate_bitmap) / in mwifiex_ret_tx_rate_cfg()316 le16_to_cpu(rate_scope-> in mwifiex_ret_tx_rate_cfg()320 for (i = 0; i < ARRAY_SIZE(rate_scope-> in mwifiex_ret_tx_rate_cfg()324 le16_to_cpu(rate_scope-> in mwifiex_ret_tx_rate_cfg()