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()
165 add_ba_rsp->ssn = cpu_to_le16((le16_to_cpu(add_ba_rsp->ssn)) in mwifiex_ret_11n_addba_req()
223 cmd->command = cpu_to_le16(HostCmd_CMD_RECONFIGURE_TX_BUFF); in mwifiex_cmd_recfg_tx_buf()
225 cpu_to_le16(sizeof(struct host_cmd_ds_txbuf_cfg) + S_DS_GEN); in mwifiex_cmd_recfg_tx_buf()
226 tx_buf->action = cpu_to_le16(action); in mwifiex_cmd_recfg_tx_buf()
231 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf()
257 cmd->command = cpu_to_le16(HostCmd_CMD_AMSDU_AGGR_CTRL); in mwifiex_cmd_amsdu_aggr_ctrl()
258 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_amsdu_aggr_ctrl) in mwifiex_cmd_amsdu_aggr_ctrl()
260 amsdu_ctrl->action = cpu_to_le16(action); in mwifiex_cmd_amsdu_aggr_ctrl()
263 amsdu_ctrl->enable = cpu_to_le16(aa_ctrl->enable); in mwifiex_cmd_amsdu_aggr_ctrl()
288 cmd->command = cpu_to_le16(HostCmd_CMD_11N_CFG); in mwifiex_cmd_11n_cfg()
289 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_11n_cfg) + S_DS_GEN); in mwifiex_cmd_11n_cfg()
290 htcfg->action = cpu_to_le16(cmd_action); in mwifiex_cmd_11n_cfg()
291 htcfg->ht_tx_cap = cpu_to_le16(txcfg->tx_htcap); in mwifiex_cmd_11n_cfg()
292 htcfg->ht_tx_info = cpu_to_le16(txcfg->tx_htinfo); in mwifiex_cmd_11n_cfg()
295 htcfg->misc_config = cpu_to_le16(txcfg->misc_config); in mwifiex_cmd_11n_cfg()
336 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
338 cpu_to_le16(sizeof(struct ieee80211_ht_cap)); in mwifiex_cmd_append_11n_tlv()
355 cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_append_11n_tlv()
357 cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
379 chan_list->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_append_11n_tlv()
380 chan_list->header.len = cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
404 bss_co_2040->header.type = cpu_to_le16(WLAN_EID_BSS_COEX_2040); in mwifiex_cmd_append_11n_tlv()
406 cpu_to_le16(sizeof(bss_co_2040->bss_co_2040)); in mwifiex_cmd_append_11n_tlv()
422 ext_cap->header.type = cpu_to_le16(WLAN_EID_EXT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
423 ext_cap->header.len = cpu_to_le16(hdr->len); in mwifiex_cmd_append_11n_tlv()
604 add_ba_req.block_ack_param_set = cpu_to_le16(block_ack_param_set); in mwifiex_send_addba()
605 add_ba_req.block_ack_tmo = cpu_to_le16((u16)priv->add_ba_param.timeout); in mwifiex_send_addba()
633 delba.del_ba_param_set = cpu_to_le16(tid << DELBA_TID_POS); in mwifiex_send_delba()