Lines Matching refs:cpu_to_le16
61 ie_header.type = cpu_to_le16(TLV_TYPE_PASSTHROUGH); in mwifiex_cmd_append_generic_ie()
62 ie_header.len = cpu_to_le16(priv->gen_ie_buf_len); in mwifiex_cmd_append_generic_ie()
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()
256 ie_header.type = cpu_to_le16(TLV_TYPE_PASSTHROUGH); in mwifiex_cmd_append_wps_ie()
257 ie_header.len = cpu_to_le16(priv->wps_ie_len); in mwifiex_cmd_append_wps_ie()
303 ie_header.type = cpu_to_le16(TLV_TYPE_WAPI_IE); in mwifiex_cmd_append_wapi_ie()
304 ie_header.len = cpu_to_le16(priv->wapi_ie_len); in mwifiex_cmd_append_wapi_ie()
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()
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()
406 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_ASSOCIATE); in mwifiex_cmd_802_11_associate()
416 assoc->listen_interval = cpu_to_le16(priv->listen_interval); in mwifiex_cmd_802_11_associate()
418 assoc->beacon_period = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_associate()
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()
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()
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()
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()
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()
468 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate()
471 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in mwifiex_cmd_802_11_associate()
486 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_associate()
488 cpu_to_le16(sizeof(struct mwifiex_chan_scan_param_set)); in mwifiex_cmd_802_11_associate()
542 cmd->size = cpu_to_le16((u16) (pos - (u8 *) assoc) + S_DS_GEN); in mwifiex_cmd_802_11_associate()
554 assoc->cap_info_bitmap = cpu_to_le16(tmp_cap); in mwifiex_cmd_802_11_associate()
672 assoc_rsp->a_id = cpu_to_le16(aid); in mwifiex_ret_802_11_associate()
863 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_AD_HOC_START); in mwifiex_cmd_802_11_ad_hoc_start()
893 adhoc_start->beacon_period = cpu_to_le16(priv->beacon_period); in mwifiex_cmd_802_11_ad_hoc_start()
943 = cpu_to_le16(priv->atim_window); in mwifiex_cmd_802_11_ad_hoc_start()
996 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_ad_hoc_start()
998 cpu_to_le16(sizeof(struct mwifiex_chan_scan_param_set)); in mwifiex_cmd_802_11_ad_hoc_start()
1045 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_802_11_ad_hoc_start()
1047 cpu_to_le16(sizeof(struct ieee80211_ht_cap)); in mwifiex_cmd_802_11_ad_hoc_start()
1059 ht_cap->ht_cap.cap_info = cpu_to_le16(tmp_ht_cap); in mwifiex_cmd_802_11_ad_hoc_start()
1068 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1070 cpu_to_le16(sizeof(struct ieee80211_ht_operation)); in mwifiex_cmd_802_11_ad_hoc_start()
1080 cpu_to_le16(IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT); in mwifiex_cmd_802_11_ad_hoc_start()
1088 cpu_to_le16((u16)(sizeof(struct host_cmd_ds_802_11_ad_hoc_start) in mwifiex_cmd_802_11_ad_hoc_start()
1096 adhoc_start->cap_info_bitmap = cpu_to_le16(tmp_cap); in mwifiex_cmd_802_11_ad_hoc_start()
1152 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_AD_HOC_JOIN); in mwifiex_cmd_802_11_ad_hoc_join()
1157 = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_ad_hoc_join()
1212 chan_tlv->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_802_11_ad_hoc_join()
1214 cpu_to_le16(sizeof(struct mwifiex_chan_scan_param_set)); in mwifiex_cmd_802_11_ad_hoc_join()
1248 cmd->size = cpu_to_le16 in mwifiex_cmd_802_11_ad_hoc_join()
1252 adhoc_join->bss_descriptor.cap_info_bitmap = cpu_to_le16(tmp_cap); in mwifiex_cmd_802_11_ad_hoc_join()