Lines Matching refs:time_cmd

587 	struct iwl_time_event_cmd time_cmd = {};  in iwl_mvm_protect_session()  local
613 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_protect_session()
614 time_cmd.id_and_color = in iwl_mvm_protect_session()
616 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC); in iwl_mvm_protect_session()
618 time_cmd.apply_time = cpu_to_le32(0); in iwl_mvm_protect_session()
620 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_protect_session()
621 time_cmd.max_delay = cpu_to_le32(max_delay); in iwl_mvm_protect_session()
623 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_protect_session()
624 time_cmd.duration = cpu_to_le32(duration); in iwl_mvm_protect_session()
625 time_cmd.repeat = 1; in iwl_mvm_protect_session()
626 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_protect_session()
631 iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_protect_session()
645 if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) { in iwl_mvm_protect_session()
776 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_remove_time_event() local
784 time_cmd.id = cpu_to_le32(uid); in iwl_mvm_remove_time_event()
785 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE); in iwl_mvm_remove_time_event()
786 time_cmd.id_and_color = in iwl_mvm_remove_time_event()
789 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id)); in iwl_mvm_remove_time_event()
791 sizeof(time_cmd), &time_cmd); in iwl_mvm_remove_time_event()
942 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_start_p2p_roc() local
956 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_start_p2p_roc()
957 time_cmd.id_and_color = in iwl_mvm_start_p2p_roc()
962 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_NORMAL); in iwl_mvm_start_p2p_roc()
965 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_MGMT_TX); in iwl_mvm_start_p2p_roc()
972 time_cmd.apply_time = cpu_to_le32(0); in iwl_mvm_start_p2p_roc()
973 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_start_p2p_roc()
981 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS); in iwl_mvm_start_p2p_roc()
982 time_cmd.max_delay = cpu_to_le32(MSEC_TO_TU(duration/2)); in iwl_mvm_start_p2p_roc()
983 time_cmd.duration = cpu_to_le32(MSEC_TO_TU(duration)); in iwl_mvm_start_p2p_roc()
984 time_cmd.repeat = 1; in iwl_mvm_start_p2p_roc()
985 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_start_p2p_roc()
989 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_start_p2p_roc()
1097 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_schedule_csa_period() local
1121 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_schedule_csa_period()
1122 time_cmd.id_and_color = in iwl_mvm_schedule_csa_period()
1124 time_cmd.id = cpu_to_le32(TE_CHANNEL_SWITCH_PERIOD); in iwl_mvm_schedule_csa_period()
1125 time_cmd.apply_time = cpu_to_le32(apply_time); in iwl_mvm_schedule_csa_period()
1126 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_schedule_csa_period()
1127 time_cmd.duration = cpu_to_le32(duration); in iwl_mvm_schedule_csa_period()
1128 time_cmd.repeat = 1; in iwl_mvm_schedule_csa_period()
1129 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_schedule_csa_period()
1130 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_schedule_csa_period()
1133 time_cmd.policy |= cpu_to_le16(TE_V2_START_IMMEDIATELY); in iwl_mvm_schedule_csa_period()
1135 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_schedule_csa_period()