Lines Matching refs:header

115 	tsf_tlv.header.type = cpu_to_le16(TLV_TYPE_TSFTIMESTAMP);  in mwifiex_cmd_append_tsf_tlv()
116 tsf_tlv.header.len = cpu_to_le16(2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
118 memcpy(*buffer, &tsf_tlv, sizeof(tsf_tlv.header)); in mwifiex_cmd_append_tsf_tlv()
119 *buffer += sizeof(tsf_tlv.header); in mwifiex_cmd_append_tsf_tlv()
135 return sizeof(tsf_tlv.header) + (2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
340 rsn_ie_tlv->header.type = cpu_to_le16((u16) priv->wpa_ie[0]); in mwifiex_append_rsn_ie_wpa_wpa2()
341 rsn_ie_tlv->header.type = cpu_to_le16( in mwifiex_append_rsn_ie_wpa_wpa2()
342 le16_to_cpu(rsn_ie_tlv->header.type) & 0x00FF); in mwifiex_append_rsn_ie_wpa_wpa2()
343 rsn_ie_tlv->header.len = cpu_to_le16((u16) priv->wpa_ie[1]); in mwifiex_append_rsn_ie_wpa_wpa2()
344 rsn_ie_tlv->header.len = cpu_to_le16(le16_to_cpu(rsn_ie_tlv->header.len) in mwifiex_append_rsn_ie_wpa_wpa2()
346 if (le16_to_cpu(rsn_ie_tlv->header.len) <= (sizeof(priv->wpa_ie) - 2)) in mwifiex_append_rsn_ie_wpa_wpa2()
348 le16_to_cpu(rsn_ie_tlv->header.len)); in mwifiex_append_rsn_ie_wpa_wpa2()
352 rsn_ie_len = sizeof(rsn_ie_tlv->header) + in mwifiex_append_rsn_ie_wpa_wpa2()
353 le16_to_cpu(rsn_ie_tlv->header.len); in mwifiex_append_rsn_ie_wpa_wpa2()
426 ssid_tlv->header.type = cpu_to_le16(WLAN_EID_SSID); in mwifiex_cmd_802_11_associate()
427 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate()
429 le16_to_cpu(ssid_tlv->header.len)); in mwifiex_cmd_802_11_associate()
430 pos += sizeof(ssid_tlv->header) + le16_to_cpu(ssid_tlv->header.len); in mwifiex_cmd_802_11_associate()
433 phy_tlv->header.type = cpu_to_le16(WLAN_EID_DS_PARAMS); in mwifiex_cmd_802_11_associate()
434 phy_tlv->header.len = cpu_to_le16(sizeof(phy_tlv->fh_ds.ds_param_set)); in mwifiex_cmd_802_11_associate()
438 pos += sizeof(phy_tlv->header) + le16_to_cpu(phy_tlv->header.len); in mwifiex_cmd_802_11_associate()
441 ss_tlv->header.type = cpu_to_le16(WLAN_EID_CF_PARAMS); in mwifiex_cmd_802_11_associate()
442 ss_tlv->header.len = cpu_to_le16(sizeof(ss_tlv->cf_ibss.cf_param_set)); in mwifiex_cmd_802_11_associate()
443 pos += sizeof(ss_tlv->header) + le16_to_cpu(ss_tlv->header.len); 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()
459 pos += sizeof(rates_tlv->header) + rates_size; in mwifiex_cmd_802_11_associate()
465 auth_tlv->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_cmd_802_11_associate()
466 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate()
473 pos += sizeof(auth_tlv->header) + le16_to_cpu(auth_tlv->header.len); in mwifiex_cmd_802_11_associate()
486 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_associate()
487 chan_tlv->header.len = in mwifiex_cmd_802_11_associate()
502 pos += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_associate()
976 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_ad_hoc_start()
977 chan_tlv->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1003 pos += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_start()
1006 sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_start()
1025 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_802_11_ad_hoc_start()
1026 ht_cap->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1048 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1049 ht_info->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1192 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_ad_hoc_join()
1193 chan_tlv->header.len = in mwifiex_cmd_802_11_ad_hoc_join()
1208 pos += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_join()
1210 cmd_append_size += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_join()