Searched refs:time_cmd (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | time-event.c | 571 struct iwl_time_event_cmd time_cmd = {}; iwl_mvm_protect_session() local 597 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); iwl_mvm_protect_session() 598 time_cmd.id_and_color = iwl_mvm_protect_session() 600 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC); iwl_mvm_protect_session() 602 time_cmd.apply_time = iwl_mvm_protect_session() 605 time_cmd.max_frags = TE_V2_FRAG_NONE; iwl_mvm_protect_session() 606 time_cmd.max_delay = cpu_to_le32(max_delay); iwl_mvm_protect_session() 608 time_cmd.interval = cpu_to_le32(1); iwl_mvm_protect_session() 609 time_cmd.duration = cpu_to_le32(duration); iwl_mvm_protect_session() 610 time_cmd.repeat = 1; iwl_mvm_protect_session() 611 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | iwl_mvm_protect_session() 616 iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); iwl_mvm_protect_session() 630 if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) { iwl_mvm_protect_session() 713 struct iwl_time_event_cmd time_cmd = {}; iwl_mvm_remove_time_event() local 721 time_cmd.id = cpu_to_le32(uid); iwl_mvm_remove_time_event() 722 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_REMOVE); iwl_mvm_remove_time_event() 723 time_cmd.id_and_color = iwl_mvm_remove_time_event() 726 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id)); iwl_mvm_remove_time_event() 728 sizeof(time_cmd), &time_cmd); iwl_mvm_remove_time_event() 748 struct iwl_time_event_cmd time_cmd = {}; iwl_mvm_start_p2p_roc() local 762 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); iwl_mvm_start_p2p_roc() 763 time_cmd.id_and_color = iwl_mvm_start_p2p_roc() 768 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_NORMAL); iwl_mvm_start_p2p_roc() 771 time_cmd.id = cpu_to_le32(IWL_MVM_ROC_TE_TYPE_MGMT_TX); iwl_mvm_start_p2p_roc() 778 time_cmd.apply_time = cpu_to_le32(0); iwl_mvm_start_p2p_roc() 779 time_cmd.interval = cpu_to_le32(1); iwl_mvm_start_p2p_roc() 787 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS); iwl_mvm_start_p2p_roc() 788 time_cmd.max_delay = cpu_to_le32(MSEC_TO_TU(duration/2)); iwl_mvm_start_p2p_roc() 789 time_cmd.duration = cpu_to_le32(MSEC_TO_TU(duration)); iwl_mvm_start_p2p_roc() 790 time_cmd.repeat = 1; iwl_mvm_start_p2p_roc() 791 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | iwl_mvm_start_p2p_roc() 795 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); iwl_mvm_start_p2p_roc() 858 struct iwl_time_event_cmd time_cmd = {}; iwl_mvm_schedule_csa_period() local 867 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); iwl_mvm_schedule_csa_period() 868 time_cmd.id_and_color = iwl_mvm_schedule_csa_period() 870 time_cmd.id = cpu_to_le32(TE_CHANNEL_SWITCH_PERIOD); iwl_mvm_schedule_csa_period() 871 time_cmd.apply_time = cpu_to_le32(apply_time); iwl_mvm_schedule_csa_period() 872 time_cmd.max_frags = TE_V2_FRAG_NONE; iwl_mvm_schedule_csa_period() 873 time_cmd.duration = cpu_to_le32(duration); iwl_mvm_schedule_csa_period() 874 time_cmd.repeat = 1; iwl_mvm_schedule_csa_period() 875 time_cmd.interval = cpu_to_le32(1); iwl_mvm_schedule_csa_period() 876 time_cmd.policy = cpu_to_le16(TE_V2_NOTIF_HOST_EVENT_START | iwl_mvm_schedule_csa_period() 879 return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); iwl_mvm_schedule_csa_period()
|
Completed in 77 milliseconds