Searched refs:rate_scope (Results 1 – 3 of 3) sorted by relevance
1912 struct nxpwifi_rate_scope *rate_scope; in nxpwifi_cmd_sta_tx_rate_cfg() local1921 rate_scope = (struct nxpwifi_rate_scope *)((u8 *)rate_cfg + in nxpwifi_cmd_sta_tx_rate_cfg()1923 rate_scope->type = cpu_to_le16(TLV_TYPE_RATE_SCOPE); in nxpwifi_cmd_sta_tx_rate_cfg()1924 rate_scope->length = cpu_to_le16 in nxpwifi_cmd_sta_tx_rate_cfg()1925 (sizeof(*rate_scope) - sizeof(struct nxpwifi_ie_types_header)); in nxpwifi_cmd_sta_tx_rate_cfg()1927 rate_scope->hr_dsss_rate_bitmap = cpu_to_le16(pbitmap_rates[0]); in nxpwifi_cmd_sta_tx_rate_cfg()1928 rate_scope->ofdm_rate_bitmap = cpu_to_le16(pbitmap_rates[1]); in nxpwifi_cmd_sta_tx_rate_cfg()1929 for (i = 0; i < ARRAY_SIZE(rate_scope->ht_mcs_rate_bitmap); i++) in nxpwifi_cmd_sta_tx_rate_cfg()1930 rate_scope->ht_mcs_rate_bitmap[i] = in nxpwifi_cmd_sta_tx_rate_cfg()1934 i < ARRAY_SIZE(rate_scope->vht_mcs_rate_bitmap); in nxpwifi_cmd_sta_tx_rate_cfg()[all …]
260 struct mwifiex_rate_scope *rate_scope; in mwifiex_ret_tx_rate_cfg() local279 rate_scope = (struct mwifiex_rate_scope *) tlv_buf; in mwifiex_ret_tx_rate_cfg()281 le16_to_cpu(rate_scope->hr_dsss_rate_bitmap); in mwifiex_ret_tx_rate_cfg()283 le16_to_cpu(rate_scope->ofdm_rate_bitmap); in mwifiex_ret_tx_rate_cfg()285 i < ARRAY_SIZE(rate_scope->ht_mcs_rate_bitmap); in mwifiex_ret_tx_rate_cfg()288 le16_to_cpu(rate_scope-> in mwifiex_ret_tx_rate_cfg()292 for (i = 0; i < ARRAY_SIZE(rate_scope-> in mwifiex_ret_tx_rate_cfg()296 le16_to_cpu(rate_scope-> in mwifiex_ret_tx_rate_cfg()
163 struct mwifiex_rate_scope *rate_scope; in mwifiex_cmd_tx_rate_cfg() local172 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()180 rate_scope->hr_dsss_rate_bitmap = cpu_to_le16(pbitmap_rates[0]); in mwifiex_cmd_tx_rate_cfg()181 rate_scope->ofdm_rate_bitmap = cpu_to_le16(pbitmap_rates[1]); in mwifiex_cmd_tx_rate_cfg()183 for (i = 0; i < ARRAY_SIZE(rate_scope->ht_mcs_rate_bitmap); i++) in mwifiex_cmd_tx_rate_cfg()184 rate_scope->ht_mcs_rate_bitmap[i] = cpu_to_le16(pbitmap_rates[2 + i]); in mwifiex_cmd_tx_rate_cfg()187 for (i = 0; i < ARRAY_SIZE(rate_scope->vht_mcs_rate_bitmap); i++) in mwifiex_cmd_tx_rate_cfg()[all …]