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()
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()
228 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf()
254 cmd->command = cpu_to_le16(HostCmd_CMD_AMSDU_AGGR_CTRL); in mwifiex_cmd_amsdu_aggr_ctrl()
255 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_amsdu_aggr_ctrl) in mwifiex_cmd_amsdu_aggr_ctrl()
257 amsdu_ctrl->action = cpu_to_le16(action); in mwifiex_cmd_amsdu_aggr_ctrl()
260 amsdu_ctrl->enable = cpu_to_le16(aa_ctrl->enable); in mwifiex_cmd_amsdu_aggr_ctrl()
285 cmd->command = cpu_to_le16(HostCmd_CMD_11N_CFG); in mwifiex_cmd_11n_cfg()
286 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_11n_cfg) + S_DS_GEN); in mwifiex_cmd_11n_cfg()
287 htcfg->action = cpu_to_le16(cmd_action); in mwifiex_cmd_11n_cfg()
288 htcfg->ht_tx_cap = cpu_to_le16(txcfg->tx_htcap); in mwifiex_cmd_11n_cfg()
289 htcfg->ht_tx_info = cpu_to_le16(txcfg->tx_htinfo); in mwifiex_cmd_11n_cfg()
292 htcfg->misc_config = cpu_to_le16(txcfg->misc_config); in mwifiex_cmd_11n_cfg()
333 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
335 cpu_to_le16(sizeof(struct ieee80211_ht_cap)); in mwifiex_cmd_append_11n_tlv()
352 cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_append_11n_tlv()
354 cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
376 chan_list->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_append_11n_tlv()
377 chan_list->header.len = cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
401 bss_co_2040->header.type = cpu_to_le16(WLAN_EID_BSS_COEX_2040); in mwifiex_cmd_append_11n_tlv()
403 cpu_to_le16(sizeof(bss_co_2040->bss_co_2040)); in mwifiex_cmd_append_11n_tlv()
419 ext_cap->header.type = cpu_to_le16(WLAN_EID_EXT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
420 ext_cap->header.len = cpu_to_le16(hdr->len); in mwifiex_cmd_append_11n_tlv()
597 add_ba_req.block_ack_param_set = cpu_to_le16(block_ack_param_set); in mwifiex_send_addba()
598 add_ba_req.block_ack_tmo = cpu_to_le16((u16)priv->add_ba_param.timeout); in mwifiex_send_addba()
626 delba.del_ba_param_set = cpu_to_le16(tid << DELBA_TID_POS); in mwifiex_send_delba()