Lines Matching defs:time_cmd

660 	struct iwl_time_event_cmd time_cmd = {};
686 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD);
687 time_cmd.id_and_color =
689 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC);
691 time_cmd.apply_time = cpu_to_le32(0);
693 time_cmd.max_frags = TE_V2_FRAG_NONE;
694 time_cmd.max_delay = cpu_to_le32(max_delay);
696 time_cmd.interval = cpu_to_le32(1);
697 time_cmd.duration = cpu_to_le32(duration);
698 time_cmd.repeat = 1;
699 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START |
704 iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd);
718 if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) {
905 struct iwl_time_event_cmd time_cmd = {};
913 time_cmd.id = cpu_to_le32(uid);
914 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE);
915 time_cmd.id_and_color =
918 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id));
920 sizeof(time_cmd), &time_cmd);
1193 struct iwl_time_event_cmd time_cmd = {};
1207 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD);
1208 time_cmd.id_and_color =
1213 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_NORMAL);
1216 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_MGMT_TX);
1223 time_cmd.apply_time = cpu_to_le32(0);
1224 time_cmd.interval = cpu_to_le32(1);
1232 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS);
1233 time_cmd.max_delay = cpu_to_le32(MSEC_TO_TU(duration/2));
1234 time_cmd.duration = cpu_to_le32(MSEC_TO_TU(duration));
1235 time_cmd.repeat = 1;
1236 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START |
1240 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd);
1376 struct iwl_time_event_cmd time_cmd = {};
1400 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD);
1401 time_cmd.id_and_color =
1403 time_cmd.id = cpu_to_le32(TE_CHANNEL_SWITCH_PERIOD);
1404 time_cmd.apply_time = cpu_to_le32(apply_time);
1405 time_cmd.max_frags = TE_V2_FRAG_NONE;
1406 time_cmd.duration = cpu_to_le32(duration);
1407 time_cmd.repeat = 1;
1408 time_cmd.interval = cpu_to_le32(1);
1409 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START |
1412 time_cmd.policy |= cpu_to_le16(TE_V2_START_IMMEDIATELY);
1414 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd);