Lines Matching refs:cpu_to_le16
116 return cpu_to_le16(rx_chain); in iwl_mvm_scan_rx_chain()
664 cpu_to_le16(channels[i]->hw_value); in iwl_mvm_lmac_scan_cfg_channels()
665 channel_cfg[i].iter_count = cpu_to_le16(1); in iwl_mvm_lmac_scan_cfg_channels()
729 frame->frame_control = cpu_to_le16(IEEE80211_STYPE_PROBE_REQ); in iwl_mvm_build_unified_scan_probe()
739 preq->mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_unified_scan_probe()
746 preq->band_data[0].offset = cpu_to_le16(pos - preq->buf); in iwl_mvm_build_unified_scan_probe()
747 preq->band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_unified_scan_probe()
752 preq->band_data[1].offset = cpu_to_le16(pos - preq->buf); in iwl_mvm_build_unified_scan_probe()
753 preq->band_data[1].len = cpu_to_le16(ies->len[IEEE80211_BAND_5GHZ]); in iwl_mvm_build_unified_scan_probe()
757 preq->common_data.offset = cpu_to_le16(pos - preq->buf); in iwl_mvm_build_unified_scan_probe()
758 preq->common_data.len = cpu_to_le16(ies->common_ie_len); in iwl_mvm_build_unified_scan_probe()
855 cpu_to_le16(IWL_SCAN_CHANNEL_FLAG_EBS | in iwl_mvm_unified_scan_lmac()
859 cpu_to_le16(IWL_DENSE_EBS_SCAN_RATIO); in iwl_mvm_unified_scan_lmac()
861 cpu_to_le16(IWL_SCAN_CHANNEL_FLAG_EBS | in iwl_mvm_unified_scan_lmac()
865 cpu_to_le16(IWL_SPARSE_EBS_SCAN_RATIO); in iwl_mvm_unified_scan_lmac()
967 cmd->schedule[0].delay = cpu_to_le16(req->interval / MSEC_PER_SEC); in iwl_mvm_unified_sched_scan_lmac()
971 cmd->schedule[1].delay = cpu_to_le16(req->interval / MSEC_PER_SEC); in iwl_mvm_unified_sched_scan_lmac()
978 cpu_to_le16(IWL_SCAN_CHANNEL_FLAG_EBS | in iwl_mvm_unified_sched_scan_lmac()
982 cpu_to_le16(IWL_DENSE_EBS_SCAN_RATIO); in iwl_mvm_unified_sched_scan_lmac()
984 cpu_to_le16(IWL_SCAN_CHANNEL_FLAG_EBS | in iwl_mvm_unified_sched_scan_lmac()
988 cpu_to_le16(IWL_SPARSE_EBS_SCAN_RATIO); in iwl_mvm_unified_sched_scan_lmac()
1108 scan_config->hdr.size = cpu_to_le16(data_size); in iwl_mvm_config_scan()
1225 cmd->hdr.size = cpu_to_le16(iwl_mvm_scan_size(mvm) - in iwl_mvm_build_generic_umac_scan_cmd()
1450 cpu_to_le16(req->interval / MSEC_PER_SEC); in iwl_mvm_sched_scan_umac()
1456 sec_part->delay = cpu_to_le16(U16_MAX); in iwl_mvm_sched_scan_umac()
1458 sec_part->delay = cpu_to_le16(req->delay); in iwl_mvm_sched_scan_umac()
1554 .hdr.size = cpu_to_le16(sizeof(struct iwl_umac_scan_abort) - in iwl_umac_scan_abort_one()