Lines Matching refs:time_cmd
658 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_protect_session() local
684 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_protect_session()
685 time_cmd.id_and_color = in iwl_mvm_protect_session()
687 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC); in iwl_mvm_protect_session()
689 time_cmd.apply_time = cpu_to_le32(0); in iwl_mvm_protect_session()
691 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_protect_session()
692 time_cmd.max_delay = cpu_to_le32(max_delay); in iwl_mvm_protect_session()
694 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_protect_session()
695 time_cmd.duration = cpu_to_le32(duration); in iwl_mvm_protect_session()
696 time_cmd.repeat = 1; in iwl_mvm_protect_session()
697 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_protect_session()
702 iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_protect_session()
716 if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) { in iwl_mvm_protect_session()
903 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_remove_time_event() local
911 time_cmd.id = cpu_to_le32(uid); in iwl_mvm_remove_time_event()
912 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE); in iwl_mvm_remove_time_event()
913 time_cmd.id_and_color = in iwl_mvm_remove_time_event()
916 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id)); in iwl_mvm_remove_time_event()
918 sizeof(time_cmd), &time_cmd); in iwl_mvm_remove_time_event()
1191 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_start_p2p_roc() local
1205 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_start_p2p_roc()
1206 time_cmd.id_and_color = in iwl_mvm_start_p2p_roc()
1211 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_NORMAL); in iwl_mvm_start_p2p_roc()
1214 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_MGMT_TX); in iwl_mvm_start_p2p_roc()
1221 time_cmd.apply_time = cpu_to_le32(0); in iwl_mvm_start_p2p_roc()
1222 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_start_p2p_roc()
1230 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS); in iwl_mvm_start_p2p_roc()
1231 time_cmd.max_delay = cpu_to_le32(MSEC_TO_TU(duration/2)); in iwl_mvm_start_p2p_roc()
1232 time_cmd.duration = cpu_to_le32(MSEC_TO_TU(duration)); in iwl_mvm_start_p2p_roc()
1233 time_cmd.repeat = 1; in iwl_mvm_start_p2p_roc()
1234 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_start_p2p_roc()
1238 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_start_p2p_roc()
1374 struct iwl_time_event_cmd time_cmd = {}; in iwl_mvm_schedule_csa_period() local
1398 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in iwl_mvm_schedule_csa_period()
1399 time_cmd.id_and_color = in iwl_mvm_schedule_csa_period()
1401 time_cmd.id = cpu_to_le32(TE_CHANNEL_SWITCH_PERIOD); in iwl_mvm_schedule_csa_period()
1402 time_cmd.apply_time = cpu_to_le32(apply_time); in iwl_mvm_schedule_csa_period()
1403 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_schedule_csa_period()
1404 time_cmd.duration = cpu_to_le32(duration); in iwl_mvm_schedule_csa_period()
1405 time_cmd.repeat = 1; in iwl_mvm_schedule_csa_period()
1406 time_cmd.interval = cpu_to_le32(1); in iwl_mvm_schedule_csa_period()
1407 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | in iwl_mvm_schedule_csa_period()
1410 time_cmd.policy |= cpu_to_le16(TE_V2_START_IMMEDIATELY); in iwl_mvm_schedule_csa_period()
1412 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); in iwl_mvm_schedule_csa_period()