Lines Matching refs:arvif

24 static int ath10k_wow_vif_cleanup(struct ath10k_vif *arvif)  in ath10k_wow_vif_cleanup()  argument
26 struct ath10k *ar = arvif->ar; in ath10k_wow_vif_cleanup()
30 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup()
33 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
39 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup()
42 i, arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
52 struct ath10k_vif *arvif; in ath10k_wow_cleanup() local
57 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_cleanup()
58 ret = ath10k_wow_vif_cleanup(arvif); in ath10k_wow_cleanup()
61 arvif->vdev_id, ret); in ath10k_wow_cleanup()
265 static int ath10k_vif_wow_set_wakeups(struct ath10k_vif *arvif, in ath10k_vif_wow_set_wakeups() argument
270 struct ath10k *ar = arvif->ar; in ath10k_vif_wow_set_wakeups()
275 switch (arvif->vdev_type) { in ath10k_vif_wow_set_wakeups()
309 ret = ath10k_wmi_pno_check(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups()
312 ath10k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath10k_vif_wow_set_wakeups()
353 ret = ath10k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups()
362 arvif->vdev_id, ret); in ath10k_vif_wow_set_wakeups()
373 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 1); in ath10k_vif_wow_set_wakeups()
376 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_vif_wow_set_wakeups()
387 struct ath10k_vif *arvif; in ath10k_wow_set_wakeups() local
392 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_set_wakeups()
393 ret = ath10k_vif_wow_set_wakeups(arvif, wowlan); in ath10k_wow_set_wakeups()
396 arvif->vdev_id, ret); in ath10k_wow_set_wakeups()
404 static int ath10k_vif_wow_clean_nlo(struct ath10k_vif *arvif) in ath10k_vif_wow_clean_nlo() argument
407 struct ath10k *ar = arvif->ar; in ath10k_vif_wow_clean_nlo()
409 switch (arvif->vdev_type) { in ath10k_vif_wow_clean_nlo()
420 ret = ath10k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath10k_vif_wow_clean_nlo()
432 struct ath10k_vif *arvif; in ath10k_wow_nlo_cleanup() local
437 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_nlo_cleanup()
438 ret = ath10k_vif_wow_clean_nlo(arvif); in ath10k_wow_nlo_cleanup()
441 arvif->vdev_id, ret); in ath10k_wow_nlo_cleanup()