Searched refs:rates_tlv (Results 1 – 2 of 2) sorted by relevance
383 struct mwifiex_ie_types_rates_param_set *rates_tlv; in mwifiex_cmd_802_11_associate() local443 rates_tlv = (struct mwifiex_ie_types_rates_param_set *) pos; in mwifiex_cmd_802_11_associate()444 rates_tlv->header.type = cpu_to_le16(WLAN_EID_SUPP_RATES); in mwifiex_cmd_802_11_associate()445 rates_tlv->header.len = cpu_to_le16((u16) rates_size); in mwifiex_cmd_802_11_associate()446 memcpy(rates_tlv->rates, rates, rates_size); in mwifiex_cmd_802_11_associate()447 pos += sizeof(rates_tlv->header) + rates_size; in mwifiex_cmd_802_11_associate()
569 struct mwifiex_ie_types_rates_param_set *rates_tlv; in mwifiex_append_rate_tlv() local586 rates_tlv = (struct mwifiex_ie_types_rates_param_set *)tlv_pos; in mwifiex_append_rate_tlv()587 rates_tlv->header.type = cpu_to_le16(WLAN_EID_SUPP_RATES); in mwifiex_append_rate_tlv()588 rates_tlv->header.len = cpu_to_le16((u16) rates_size); in mwifiex_append_rate_tlv()589 memcpy(rates_tlv->rates, rates, rates_size); in mwifiex_append_rate_tlv()590 scan_cfg_out->tlv_buf_len += sizeof(rates_tlv->header) + rates_size; in mwifiex_append_rate_tlv()