Lines Matching refs:cpu_to_le16

69 	ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap);  in mwifiex_fill_cap_info()
70 ht_cap->extended_ht_cap_info = cpu_to_le16(ht_ext_cap); in mwifiex_fill_cap_info()
163 add_ba_rsp->ssn = cpu_to_le16((le16_to_cpu(add_ba_rsp->ssn)) in mwifiex_ret_11n_addba_req()
221 cmd->command = cpu_to_le16(HostCmd_CMD_RECONFIGURE_TX_BUFF); in mwifiex_cmd_recfg_tx_buf()
223 cpu_to_le16(sizeof(struct host_cmd_ds_txbuf_cfg) + S_DS_GEN); in mwifiex_cmd_recfg_tx_buf()
224 tx_buf->action = cpu_to_le16(action); in mwifiex_cmd_recfg_tx_buf()
229 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf()
255 cmd->command = cpu_to_le16(HostCmd_CMD_AMSDU_AGGR_CTRL); in mwifiex_cmd_amsdu_aggr_ctrl()
256 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_amsdu_aggr_ctrl) in mwifiex_cmd_amsdu_aggr_ctrl()
258 amsdu_ctrl->action = cpu_to_le16(action); in mwifiex_cmd_amsdu_aggr_ctrl()
261 amsdu_ctrl->enable = cpu_to_le16(aa_ctrl->enable); in mwifiex_cmd_amsdu_aggr_ctrl()
286 cmd->command = cpu_to_le16(HostCmd_CMD_11N_CFG); in mwifiex_cmd_11n_cfg()
287 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_11n_cfg) + S_DS_GEN); in mwifiex_cmd_11n_cfg()
288 htcfg->action = cpu_to_le16(cmd_action); in mwifiex_cmd_11n_cfg()
289 htcfg->ht_tx_cap = cpu_to_le16(txcfg->tx_htcap); in mwifiex_cmd_11n_cfg()
290 htcfg->ht_tx_info = cpu_to_le16(txcfg->tx_htinfo); in mwifiex_cmd_11n_cfg()
293 htcfg->misc_config = cpu_to_le16(txcfg->misc_config); in mwifiex_cmd_11n_cfg()
334 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
336 cpu_to_le16(sizeof(struct ieee80211_ht_cap)); in mwifiex_cmd_append_11n_tlv()
357 cpu_to_le16 in mwifiex_cmd_append_11n_tlv()
360 cpu_to_le16(~IEEE80211_HT_CAP_SGI_40); in mwifiex_cmd_append_11n_tlv()
366 cpu_to_le16 in mwifiex_cmd_append_11n_tlv()
369 cpu_to_le16(~IEEE80211_HT_CAP_SGI_40); in mwifiex_cmd_append_11n_tlv()
385 cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_append_11n_tlv()
387 cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
409 chan_list->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_append_11n_tlv()
410 chan_list->header.len = cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
434 bss_co_2040->header.type = cpu_to_le16(WLAN_EID_BSS_COEX_2040); in mwifiex_cmd_append_11n_tlv()
436 cpu_to_le16(sizeof(bss_co_2040->bss_co_2040)); in mwifiex_cmd_append_11n_tlv()
452 ext_cap->header.type = cpu_to_le16(WLAN_EID_EXT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
453 ext_cap->header.len = cpu_to_le16(hdr->len); in mwifiex_cmd_append_11n_tlv()
631 add_ba_req.block_ack_param_set = cpu_to_le16(block_ack_param_set); in mwifiex_send_addba()
632 add_ba_req.block_ack_tmo = cpu_to_le16((u16)priv->add_ba_param.timeout); in mwifiex_send_addba()
660 delba.del_ba_param_set = cpu_to_le16(tid << DELBA_TID_POS); in mwifiex_send_delba()