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()
354 ret = ath10k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups()
363 arvif->vdev_id, ret); in ath10k_vif_wow_set_wakeups()
374 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 1); in ath10k_vif_wow_set_wakeups()
377 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_vif_wow_set_wakeups()
388 struct ath10k_vif *arvif; in ath10k_wow_set_wakeups() local
393 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_set_wakeups()
394 ret = ath10k_vif_wow_set_wakeups(arvif, wowlan); in ath10k_wow_set_wakeups()
397 arvif->vdev_id, ret); in ath10k_wow_set_wakeups()
405 static int ath10k_vif_wow_clean_nlo(struct ath10k_vif *arvif) in ath10k_vif_wow_clean_nlo() argument
408 struct ath10k *ar = arvif->ar; in ath10k_vif_wow_clean_nlo()
410 switch (arvif->vdev_type) { in ath10k_vif_wow_clean_nlo()
421 ret = ath10k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath10k_vif_wow_clean_nlo()
433 struct ath10k_vif *arvif; in ath10k_wow_nlo_cleanup() local
438 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_nlo_cleanup()
439 ret = ath10k_vif_wow_clean_nlo(arvif); in ath10k_wow_nlo_cleanup()
442 arvif->vdev_id, ret); in ath10k_wow_nlo_cleanup()