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()
336 rsn_ie_tlv->header.type = cpu_to_le16((u16) priv->wpa_ie[0]); in mwifiex_append_rsn_ie_wpa_wpa2()
337 rsn_ie_tlv->header.type = cpu_to_le16( in mwifiex_append_rsn_ie_wpa_wpa2()
338 le16_to_cpu(rsn_ie_tlv->header.type) & 0x00FF); in mwifiex_append_rsn_ie_wpa_wpa2()
339 rsn_ie_tlv->header.len = cpu_to_le16((u16) priv->wpa_ie[1]); in mwifiex_append_rsn_ie_wpa_wpa2()
340 rsn_ie_tlv->header.len = cpu_to_le16(le16_to_cpu(rsn_ie_tlv->header.len) in mwifiex_append_rsn_ie_wpa_wpa2()
342 if (le16_to_cpu(rsn_ie_tlv->header.len) <= (sizeof(priv->wpa_ie) - 2)) in mwifiex_append_rsn_ie_wpa_wpa2()
344 le16_to_cpu(rsn_ie_tlv->header.len)); in mwifiex_append_rsn_ie_wpa_wpa2()
348 rsn_ie_len = sizeof(rsn_ie_tlv->header) + in mwifiex_append_rsn_ie_wpa_wpa2()
349 le16_to_cpu(rsn_ie_tlv->header.len); in mwifiex_append_rsn_ie_wpa_wpa2()
422 ssid_tlv->header.type = cpu_to_le16(WLAN_EID_SSID); in mwifiex_cmd_802_11_associate()
423 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate()
425 le16_to_cpu(ssid_tlv->header.len)); in mwifiex_cmd_802_11_associate()
426 pos += sizeof(ssid_tlv->header) + le16_to_cpu(ssid_tlv->header.len); in mwifiex_cmd_802_11_associate()
429 phy_tlv->header.type = cpu_to_le16(WLAN_EID_DS_PARAMS); in mwifiex_cmd_802_11_associate()
430 phy_tlv->header.len = cpu_to_le16(sizeof(phy_tlv->fh_ds.ds_param_set)); in mwifiex_cmd_802_11_associate()
434 pos += sizeof(phy_tlv->header) + le16_to_cpu(phy_tlv->header.len); in mwifiex_cmd_802_11_associate()
437 ss_tlv->header.type = cpu_to_le16(WLAN_EID_CF_PARAMS); in mwifiex_cmd_802_11_associate()
438 ss_tlv->header.len = cpu_to_le16(sizeof(ss_tlv->cf_ibss.cf_param_set)); in mwifiex_cmd_802_11_associate()
439 pos += sizeof(ss_tlv->header) + le16_to_cpu(ss_tlv->header.len); 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()
455 pos += sizeof(rates_tlv->header) + rates_size; in mwifiex_cmd_802_11_associate()
461 auth_tlv->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_cmd_802_11_associate()
462 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate()
469 pos += sizeof(auth_tlv->header) + le16_to_cpu(auth_tlv->header.len); in mwifiex_cmd_802_11_associate()
482 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_associate()
483 chan_tlv->header.len = in mwifiex_cmd_802_11_associate()
498 pos += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_associate()
929 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_ad_hoc_start()
930 chan_tlv->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
956 pos += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_start()
959 sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_start()
978 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_802_11_ad_hoc_start()
979 ht_cap->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1001 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1002 ht_info->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1144 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_ad_hoc_join()
1145 chan_tlv->header.len = in mwifiex_cmd_802_11_ad_hoc_join()
1160 pos += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_join()
1162 cmd_append_size += sizeof(chan_tlv->header) + in mwifiex_cmd_802_11_ad_hoc_join()