Lines Matching refs:cpu_to_le32

629 		cmd->protection_flags |= cpu_to_le32(ht_flag);  in iwl_mvm_mac_ctxt_set_ht_flags()
634 cmd->protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_mac_ctxt_set_ht_flags()
657 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_mac_ctxt_cmd_common()
659 cmd->action = cpu_to_le32(action); in iwl_mvm_mac_ctxt_cmd_common()
664 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common()
666 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common()
669 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common()
672 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common()
675 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common()
678 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common()
684 cmd->tsf_id = cpu_to_le32(mvmvif->tsf_id); in iwl_mvm_mac_ctxt_cmd_common()
700 cmd->cck_rates = cpu_to_le32((u32)cck_ack_rates); in iwl_mvm_mac_ctxt_cmd_common()
701 cmd->ofdm_rates = cpu_to_le32((u32)ofdm_ack_rates); in iwl_mvm_mac_ctxt_cmd_common()
704 cpu_to_le32(vif->bss_conf.use_short_preamble ? in iwl_mvm_mac_ctxt_cmd_common()
707 cpu_to_le32(vif->bss_conf.use_short_slot ? in iwl_mvm_mac_ctxt_cmd_common()
729 cmd->qos_flags |= cpu_to_le32(MAC_QOS_FLG_UPDATE_EDCA); in iwl_mvm_mac_ctxt_cmd_common()
732 cmd->protection_flags |= cpu_to_le32(MAC_PROT_FLG_TGG_PROTECT); in iwl_mvm_mac_ctxt_cmd_common()
738 cmd->qos_flags |= cpu_to_le32(MAC_QOS_FLG_TGN); in iwl_mvm_mac_ctxt_cmd_common()
742 cmd->filter_flags = cpu_to_le32(MAC_FILTER_ACCEPT_GRP); in iwl_mvm_mac_ctxt_cmd_common()
773 cmd.p2p_sta.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_sta()
808 cpu_to_le32(vif->bss_conf.sync_device_ts + dtim_offs); in iwl_mvm_mac_ctxt_cmd_sta()
815 ctxt_sta->is_assoc = cpu_to_le32(1); in iwl_mvm_mac_ctxt_cmd_sta()
817 ctxt_sta->is_assoc = cpu_to_le32(0); in iwl_mvm_mac_ctxt_cmd_sta()
822 cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_BEACON); in iwl_mvm_mac_ctxt_cmd_sta()
825 ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_sta()
827 cpu_to_le32(iwl_mvm_reciprocal(vif->bss_conf.beacon_int)); in iwl_mvm_mac_ctxt_cmd_sta()
828 ctxt_sta->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_sta()
831 cpu_to_le32(iwl_mvm_reciprocal(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_sta()
834 ctxt_sta->listen_interval = cpu_to_le32(mvm->hw->conf.listen_interval); in iwl_mvm_mac_ctxt_cmd_sta()
835 ctxt_sta->assoc_id = cpu_to_le32(vif->bss_conf.aid); in iwl_mvm_mac_ctxt_cmd_sta()
850 cmd.filter_flags = cpu_to_le32(MAC_FILTER_IN_PROMISC | in iwl_mvm_mac_ctxt_cmd_listener()
871 cmd.filter_flags = cpu_to_le32(MAC_FILTER_IN_BEACON | in iwl_mvm_mac_ctxt_cmd_ibss()
875 cmd.ibss.bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_ibss()
877 cpu_to_le32(iwl_mvm_reciprocal(vif->bss_conf.beacon_int)); in iwl_mvm_mac_ctxt_cmd_ibss()
880 cmd.ibss.beacon_template = cpu_to_le32(mvmvif->id); in iwl_mvm_mac_ctxt_cmd_ibss()
910 cmd.protection_flags |= cpu_to_le32(MAC_PROT_FLG_TGG_PROTECT); in iwl_mvm_mac_ctxt_cmd_p2p_device()
913 cmd.filter_flags = cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST); in iwl_mvm_mac_ctxt_cmd_p2p_device()
927 cmd.p2p_dev.is_disc_extended = cpu_to_le32(data.go_active ? 1 : 0); in iwl_mvm_mac_ctxt_cmd_p2p_device()
949 beacon_cmd->tim_idx = cpu_to_le32(tim_idx); in iwl_mvm_mac_ctxt_set_tim()
950 beacon_cmd->tim_size = cpu_to_le32((u32)beacon[tim_idx+1]); in iwl_mvm_mac_ctxt_set_tim()
977 beacon_cmd.template_id = cpu_to_le32((u32)mvmvif->id); in iwl_mvm_mac_ctxt_send_beacon()
983 beacon_cmd.tx.life_time = cpu_to_le32(TX_CMD_LIFE_TIME_INFINITE); in iwl_mvm_mac_ctxt_send_beacon()
988 beacon_cmd.tx.tx_flags = cpu_to_le32(tx_flags); in iwl_mvm_mac_ctxt_send_beacon()
995 cpu_to_le32(BIT(mvm->mgmt_last_antenna_idx) << in iwl_mvm_mac_ctxt_send_beacon()
1002 beacon_cmd.tx.rate_n_flags |= cpu_to_le32(RATE_MCS_CCK_MSK); in iwl_mvm_mac_ctxt_send_beacon()
1005 cpu_to_le32(iwl_mvm_mac80211_idx_to_hwrate(rate)); in iwl_mvm_mac_ctxt_send_beacon()
1082 ctxt_ap->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1084 cpu_to_le32(iwl_mvm_reciprocal(vif->bss_conf.beacon_int)); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1085 ctxt_ap->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_fill_ap()
1088 cpu_to_le32(iwl_mvm_reciprocal(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_fill_ap()
1091 ctxt_ap->mcast_qid = cpu_to_le32(vif->cab_queue); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1120 ctxt_ap->beacon_time = cpu_to_le32(mvmvif->ap_beacon_time); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1124 ctxt_ap->beacon_template = cpu_to_le32(mvmvif->id); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1142 cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST | in iwl_mvm_mac_ctxt_cmd_ap()
1168 cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST | in iwl_mvm_mac_ctxt_cmd_go()
1175 cmd.go.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1178 cpu_to_le32(!!(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1259 cmd.id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_mac_ctxt_remove()
1261 cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE); in iwl_mvm_mac_ctxt_remove()