te_data 3562 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_time_event_data *te_data = data; te_data 3578 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->uid = le32_to_cpu(resp->event_unique_id); te_data 3580 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->uid); te_data 3583 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c list_add_tail(&te_data->list, &mvm->aux_roc_te_list); te_data 3601 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_time_event_data *te_data = &mvmvif->hs_time_event_data; te_data 3664 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (WARN_ON(te_data->id == HOT_SPOT_CMD)) { te_data 3669 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->vif = vif; te_data 3670 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->duration = duration; te_data 3671 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->id = HOT_SPOT_CMD; te_data 3687 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rx_aux_roc, te_data); te_data 3706 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_te_clear_data(mvm, te_data); te_data 84 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data) te_data 88 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!te_data || !te_data->vif) te_data 91 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_del(&te_data->list); te_data 92 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->running = false; te_data 93 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid = 0; te_data 94 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->id = TE_MAX; te_data 95 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->vif = NULL; te_data 213 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, te_data 216 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif = te_data->vif; te_data 222 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c switch (te_data->vif->type) { te_data 234 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_csa_client_absent(mvm, te_data->vif); te_data 236 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c ieee80211_chswitch_done(te_data->vif, true); te_data 245 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_clear_data(mvm, te_data); te_data 250 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data) te_data 257 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c ieee80211_vif_to_wdev(te_data->vif), te_data 271 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (trig_te_id != te_data->id || te_data 278 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->id, te_data 293 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, te_data 302 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_check_trigger(mvm, notif, te_data); te_data 322 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (iwl_mvm_te_check_disconnect(mvm, te_data->vif, msg)) { te_data 323 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_clear_data(mvm, te_data); te_data 331 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c jiffies, te_data->end_jiffies); te_data 333 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c switch (te_data->vif->type) { te_data 344 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_check_disconnect(mvm, te_data->vif, te_data 351 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_clear_data(mvm, te_data); te_data 353 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->running = true; te_data 354 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->end_jiffies = TU_TO_EXP_TIME(te_data->duration); te_data 356 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->vif->type == NL80211_IFTYPE_P2P_DEVICE) { te_data 359 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c } else if (te_data->id == TE_CHANNEL_SWITCH_PERIOD) { te_data 360 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_handle_notify_csa(mvm, te_data, notif); te_data 373 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, *tmp; te_data 376 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_for_each_entry_safe(te_data, tmp, &mvm->aux_roc_te_list, list) { te_data 377 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (le32_to_cpu(notif->unique_id) == te_data->uid) { te_data 385 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_check_trigger(mvm, notif, te_data); te_data 397 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_del(&te_data->list); /* remove from list */ te_data 398 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->running = false; te_data 399 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->vif = NULL; te_data 400 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid = 0; te_data 401 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->id = TE_MAX; te_data 404 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->running = true; te_data 424 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, *tmp; te_data 435 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_for_each_entry_safe(te_data, tmp, &mvm->time_event_list, list) { te_data 436 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (le32_to_cpu(notif->unique_id) == te_data->uid) te_data 437 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_handle_notif(mvm, te_data, notif); te_data 448 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data = data; te_data 463 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (le32_to_cpu(resp->unique_id) != te_data->uid) te_data 467 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid); te_data 480 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data = data; te_data 495 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (WARN_ON_ONCE(le32_to_cpu(resp->id) != te_data->id)) te_data 498 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid = le32_to_cpu(resp->unique_id); te_data 500 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid); te_data 506 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, te_data 519 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (WARN_ON(te_data->id != TE_MAX)) { te_data 523 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->vif = vif; te_data 524 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->duration = le32_to_cpu(te_cmd->duration); te_data 525 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->id = le32_to_cpu(te_cmd->id); te_data 526 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_add_tail(&te_data->list, &mvm->time_event_list); te_data 541 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_time_event_response, te_data); te_data 559 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_clear_data(mvm, te_data); te_data 571 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data = &mvmvif->time_event_data; te_data 578 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->running && te_data 579 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c time_after(te_data->end_jiffies, TU_TO_EXP_TIME(min_duration))) { te_data 581 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c jiffies_to_msecs(te_data->end_jiffies - jiffies)); te_data 585 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->running) { te_data 587 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid, te_data 588 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c jiffies_to_msecs(te_data->end_jiffies - jiffies)); te_data 618 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); te_data 629 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_notif, te_data); te_data 632 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) { te_data 642 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, te_data 654 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c *uid = te_data->uid; te_data 655 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c id = te_data->id; te_data 660 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_clear_data(mvm, te_data); te_data 684 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data) te_data 692 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!__iwl_mvm_remove_time_event(mvm, te_data, &uid)) te_data 715 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data) te_data 721 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!__iwl_mvm_remove_time_event(mvm, te_data, &uid)) te_data 741 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data = &mvmvif->time_event_data; te_data 747 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c id = te_data->id; te_data 757 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_remove_time_event(mvm, mvmvif, te_data); te_data 764 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data = &mvmvif->time_event_data; te_data 768 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->running) { te_data 806 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); te_data 811 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data; te_data 824 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_for_each_entry(te_data, &mvm->time_event_list, list) { te_data 825 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->vif->type == NL80211_IFTYPE_P2P_DEVICE) te_data 832 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data = list_first_entry_or_null(&mvm->aux_roc_te_list, te_data 837 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c return te_data; te_data 842 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data; te_data 845 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data = iwl_mvm_get_roc_te(mvm); te_data 846 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data) te_data 847 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c __iwl_mvm_remove_time_event(mvm, te_data, &uid); te_data 853 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data; te_data 855 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data = iwl_mvm_get_roc_te(mvm); te_data 856 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!te_data) { te_data 861 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c mvmvif = iwl_mvm_vif_from_mac80211(te_data->vif); te_data 863 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->vif->type == NL80211_IFTYPE_P2P_DEVICE) { te_data 864 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_remove_time_event(mvm, mvmvif, te_data); te_data 867 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_remove_aux_roc_te(mvm, mvmvif, te_data); te_data 878 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data = &mvmvif->time_event_data; te_data 883 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->running) { te_data 887 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c id = te_data->id; te_data 900 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_remove_time_event(mvm, mvmvif, te_data); te_data 917 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); te_data 200 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h struct iwl_mvm_time_event_data *te_data); te_data 211 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h struct iwl_mvm_time_event_data *te_data); te_data 237 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h iwl_mvm_te_scheduled(struct iwl_mvm_time_event_data *te_data) te_data 239 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h if (!te_data) te_data 242 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h return !!te_data->uid;