Lines Matching refs:cpu_to_le16
57 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info()
58 ht_cap->extended_ht_cap_info = cpu_to_le16(ht_ext_cap); in mwifiex_fill_cap_info()
151 add_ba_rsp->ssn = cpu_to_le16((le16_to_cpu(add_ba_rsp->ssn)) in mwifiex_ret_11n_addba_req()
209 cmd->command = cpu_to_le16(HostCmd_CMD_RECONFIGURE_TX_BUFF); in mwifiex_cmd_recfg_tx_buf()
211 cpu_to_le16(sizeof(struct host_cmd_ds_txbuf_cfg) + S_DS_GEN); in mwifiex_cmd_recfg_tx_buf()
212 tx_buf->action = cpu_to_le16(action); in mwifiex_cmd_recfg_tx_buf()
217 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf()
243 cmd->command = cpu_to_le16(HostCmd_CMD_AMSDU_AGGR_CTRL); in mwifiex_cmd_amsdu_aggr_ctrl()
244 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_amsdu_aggr_ctrl) in mwifiex_cmd_amsdu_aggr_ctrl()
246 amsdu_ctrl->action = cpu_to_le16(action); in mwifiex_cmd_amsdu_aggr_ctrl()
249 amsdu_ctrl->enable = cpu_to_le16(aa_ctrl->enable); in mwifiex_cmd_amsdu_aggr_ctrl()
274 cmd->command = cpu_to_le16(HostCmd_CMD_11N_CFG); in mwifiex_cmd_11n_cfg()
275 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_11n_cfg) + S_DS_GEN); in mwifiex_cmd_11n_cfg()
276 htcfg->action = cpu_to_le16(cmd_action); in mwifiex_cmd_11n_cfg()
277 htcfg->ht_tx_cap = cpu_to_le16(txcfg->tx_htcap); in mwifiex_cmd_11n_cfg()
278 htcfg->ht_tx_info = cpu_to_le16(txcfg->tx_htinfo); in mwifiex_cmd_11n_cfg()
281 htcfg->misc_config = cpu_to_le16(txcfg->misc_config); in mwifiex_cmd_11n_cfg()
322 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
324 cpu_to_le16(sizeof(struct ieee80211_ht_cap)); in mwifiex_cmd_append_11n_tlv()
345 cpu_to_le16 in mwifiex_cmd_append_11n_tlv()
348 cpu_to_le16(~IEEE80211_HT_CAP_SGI_40); in mwifiex_cmd_append_11n_tlv()
354 cpu_to_le16 in mwifiex_cmd_append_11n_tlv()
357 cpu_to_le16(~IEEE80211_HT_CAP_SGI_40); in mwifiex_cmd_append_11n_tlv()
373 cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_append_11n_tlv()
375 cpu_to_le16( in mwifiex_cmd_append_11n_tlv()
396 chan_list->header.type = cpu_to_le16(TLV_TYPE_CHANLIST); in mwifiex_cmd_append_11n_tlv()
398 cpu_to_le16(sizeof(struct mwifiex_chan_scan_param_set)); in mwifiex_cmd_append_11n_tlv()
422 bss_co_2040->header.type = cpu_to_le16(WLAN_EID_BSS_COEX_2040); in mwifiex_cmd_append_11n_tlv()
424 cpu_to_le16(sizeof(bss_co_2040->bss_co_2040)); in mwifiex_cmd_append_11n_tlv()
440 ext_cap->header.type = cpu_to_le16(WLAN_EID_EXT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
441 ext_cap->header.len = cpu_to_le16(hdr->len); in mwifiex_cmd_append_11n_tlv()
619 add_ba_req.block_ack_param_set = cpu_to_le16(block_ack_param_set); in mwifiex_send_addba()
620 add_ba_req.block_ack_tmo = cpu_to_le16((u16)priv->add_ba_param.timeout); in mwifiex_send_addba()
656 delba.del_ba_param_set = cpu_to_le16(del_ba_param_set); in mwifiex_send_delba()