Lines Matching defs:time_cmd

613 	struct iwl_time_event_cmd time_cmd = {};
639 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD);
640 time_cmd.id_and_color =
642 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC);
644 time_cmd.apply_time = cpu_to_le32(0);
646 time_cmd.max_frags = TE_V2_FRAG_NONE;
647 time_cmd.max_delay = cpu_to_le32(max_delay);
649 time_cmd.interval = cpu_to_le32(1);
650 time_cmd.duration = cpu_to_le32(duration);
651 time_cmd.repeat = 1;
652 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START |
657 iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd);
671 if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) {
832 struct iwl_time_event_cmd time_cmd = {};
840 time_cmd.id = cpu_to_le32(uid);
841 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE);
842 time_cmd.id_and_color =
845 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id));
847 sizeof(time_cmd), &time_cmd);
1103 struct iwl_time_event_cmd time_cmd = {};
1117 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD);
1118 time_cmd.id_and_color =
1123 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_NORMAL);
1126 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_MGMT_TX);
1133 time_cmd.apply_time = cpu_to_le32(0);
1134 time_cmd.interval = cpu_to_le32(1);
1142 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS);
1143 time_cmd.max_delay = cpu_to_le32(MSEC_TO_TU(duration/2));
1144 time_cmd.duration = cpu_to_le32(MSEC_TO_TU(duration));
1145 time_cmd.repeat = 1;
1146 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START |
1150 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd);
1305 struct iwl_time_event_cmd time_cmd = {};
1329 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD);
1330 time_cmd.id_and_color =
1332 time_cmd.id = cpu_to_le32(TE_CHANNEL_SWITCH_PERIOD);
1333 time_cmd.apply_time = cpu_to_le32(apply_time);
1334 time_cmd.max_frags = TE_V2_FRAG_NONE;
1335 time_cmd.duration = cpu_to_le32(duration);
1336 time_cmd.repeat = 1;
1337 time_cmd.interval = cpu_to_le32(1);
1338 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START |
1341 time_cmd.policy |= cpu_to_le16(TE_V2_START_IMMEDIATELY);
1343 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd);