Searched refs:rates_tlv (Results 1 – 2 of 2) sorted by relevance
395 struct mwifiex_ie_types_rates_param_set *rates_tlv; in mwifiex_cmd_802_11_associate() local455 rates_tlv = (struct mwifiex_ie_types_rates_param_set *) pos; in mwifiex_cmd_802_11_associate()456 rates_tlv->header.type = cpu_to_le16(WLAN_EID_SUPP_RATES); in mwifiex_cmd_802_11_associate()457 rates_tlv->header.len = cpu_to_le16((u16) rates_size); in mwifiex_cmd_802_11_associate()458 memcpy(rates_tlv->rates, rates, rates_size); in mwifiex_cmd_802_11_associate()459 pos += sizeof(rates_tlv->header) + rates_size; in mwifiex_cmd_802_11_associate()
581 struct mwifiex_ie_types_rates_param_set *rates_tlv; in mwifiex_append_rate_tlv() local598 rates_tlv = (struct mwifiex_ie_types_rates_param_set *)tlv_pos; in mwifiex_append_rate_tlv()599 rates_tlv->header.type = cpu_to_le16(WLAN_EID_SUPP_RATES); in mwifiex_append_rate_tlv()600 rates_tlv->header.len = cpu_to_le16((u16) rates_size); in mwifiex_append_rate_tlv()601 memcpy(rates_tlv->rates, rates, rates_size); in mwifiex_append_rate_tlv()602 scan_cfg_out->tlv_buf_len += sizeof(rates_tlv->header) + rates_size; in mwifiex_append_rate_tlv()