Searched refs:rates_tlv (Results 1 – 2 of 2) sorted by relevance
391 struct mwifiex_ie_types_rates_param_set *rates_tlv; in mwifiex_cmd_802_11_associate() local451 rates_tlv = (struct mwifiex_ie_types_rates_param_set *) pos; in mwifiex_cmd_802_11_associate()452 rates_tlv->header.type = cpu_to_le16(WLAN_EID_SUPP_RATES); in mwifiex_cmd_802_11_associate()453 rates_tlv->header.len = cpu_to_le16((u16) rates_size); in mwifiex_cmd_802_11_associate()454 memcpy(rates_tlv->rates, rates, rates_size); in mwifiex_cmd_802_11_associate()455 pos += sizeof(rates_tlv->header) + rates_size; in mwifiex_cmd_802_11_associate()
549 struct mwifiex_ie_types_rates_param_set *rates_tlv; in mwifiex_append_rate_tlv() local565 rates_tlv = (struct mwifiex_ie_types_rates_param_set *)tlv_pos; in mwifiex_append_rate_tlv()566 rates_tlv->header.type = cpu_to_le16(WLAN_EID_SUPP_RATES); in mwifiex_append_rate_tlv()567 rates_tlv->header.len = cpu_to_le16((u16) rates_size); in mwifiex_append_rate_tlv()568 memcpy(rates_tlv->rates, rates, rates_size); in mwifiex_append_rate_tlv()569 scan_cfg_out->tlv_buf_len += sizeof(rates_tlv->header) + rates_size; in mwifiex_append_rate_tlv()