Lines Matching refs:time_cmd

608 	struct iwl_time_event_cmd time_cmd = {};  in iwl_mvm_protect_session()  local
634 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_protect_session()
635 time_cmd.id_and_color = in iwl_mvm_protect_session()
637 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC); in iwl_mvm_protect_session()
639 time_cmd.apply_time = cpu_to_le32(0); in iwl_mvm_protect_session()
641 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_protect_session()
642 time_cmd.max_delay = cpu_to_le32(max_delay); in iwl_mvm_protect_session()
644 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_protect_session()
645 time_cmd.duration = cpu_to_le32(duration); in iwl_mvm_protect_session()
646 time_cmd.repeat = 1; in iwl_mvm_protect_session()
647 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_protect_session()
652 iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_protect_session()
666 if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) { in iwl_mvm_protect_session()
797 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_remove_time_event() local
805 time_cmd.id = cpu_to_le32(uid); in iwl_mvm_remove_time_event()
806 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE); in iwl_mvm_remove_time_event()
807 time_cmd.id_and_color = in iwl_mvm_remove_time_event()
810 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id)); in iwl_mvm_remove_time_event()
812 sizeof(time_cmd), &time_cmd); in iwl_mvm_remove_time_event()
963 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_start_p2p_roc() local
977 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_start_p2p_roc()
978 time_cmd.id_and_color = in iwl_mvm_start_p2p_roc()
983 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_NORMAL); in iwl_mvm_start_p2p_roc()
986 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_MGMT_TX); in iwl_mvm_start_p2p_roc()
993 time_cmd.apply_time = cpu_to_le32(0); in iwl_mvm_start_p2p_roc()
994 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_start_p2p_roc()
1002 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS); in iwl_mvm_start_p2p_roc()
1003 time_cmd.max_delay = cpu_to_le32(MSEC_TO_TU(duration/2)); in iwl_mvm_start_p2p_roc()
1004 time_cmd.duration = cpu_to_le32(MSEC_TO_TU(duration)); in iwl_mvm_start_p2p_roc()
1005 time_cmd.repeat = 1; in iwl_mvm_start_p2p_roc()
1006 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_start_p2p_roc()
1010 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_start_p2p_roc()
1118 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_schedule_csa_period() local
1142 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_schedule_csa_period()
1143 time_cmd.id_and_color = in iwl_mvm_schedule_csa_period()
1145 time_cmd.id = cpu_to_le32(TE_CHANNEL_SWITCH_PERIOD); in iwl_mvm_schedule_csa_period()
1146 time_cmd.apply_time = cpu_to_le32(apply_time); in iwl_mvm_schedule_csa_period()
1147 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_schedule_csa_period()
1148 time_cmd.duration = cpu_to_le32(duration); in iwl_mvm_schedule_csa_period()
1149 time_cmd.repeat = 1; in iwl_mvm_schedule_csa_period()
1150 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_schedule_csa_period()
1151 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_schedule_csa_period()
1154 time_cmd.policy |= cpu_to_le16(TE_V2_START_IMMEDIATELY); in iwl_mvm_schedule_csa_period()
1156 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_schedule_csa_period()