Lines Matching refs:mon_vdev

380 dp_scan_spcl_vap_stats_attach(struct dp_mon_vdev *mon_vdev)  in dp_scan_spcl_vap_stats_attach()  argument
382 mon_vdev->scan_spcl_vap_stats = in dp_scan_spcl_vap_stats_attach()
385 if (!mon_vdev->scan_spcl_vap_stats) { in dp_scan_spcl_vap_stats_attach()
400 dp_scan_spcl_vap_stats_detach(struct dp_mon_vdev *mon_vdev) in dp_scan_spcl_vap_stats_detach() argument
402 if (mon_vdev->scan_spcl_vap_stats) { in dp_scan_spcl_vap_stats_detach()
403 qdf_mem_free(mon_vdev->scan_spcl_vap_stats); in dp_scan_spcl_vap_stats_detach()
404 mon_vdev->scan_spcl_vap_stats = NULL; in dp_scan_spcl_vap_stats_detach()
417 struct dp_mon_vdev *mon_vdev; in dp_reset_scan_spcl_vap_stats() local
424 mon_vdev = vdev->monitor_vdev; in dp_reset_scan_spcl_vap_stats()
425 if (!mon_vdev || !mon_vdev->scan_spcl_vap_stats) in dp_reset_scan_spcl_vap_stats()
428 qdf_mem_zero(mon_vdev->scan_spcl_vap_stats, in dp_reset_scan_spcl_vap_stats()
444 struct dp_mon_vdev *mon_vdev = NULL; in dp_get_scan_spcl_vap_stats() local
455 mon_vdev = vdev->monitor_vdev; in dp_get_scan_spcl_vap_stats()
456 if (!mon_vdev || !mon_vdev->scan_spcl_vap_stats) { in dp_get_scan_spcl_vap_stats()
461 qdf_mem_copy(stats, mon_vdev->scan_spcl_vap_stats, in dp_get_scan_spcl_vap_stats()
474 dp_scan_spcl_vap_stats_attach(struct dp_mon_vdev *mon_vdev) in dp_scan_spcl_vap_stats_attach() argument
480 dp_scan_spcl_vap_stats_detach(struct dp_mon_vdev *mon_vdev) in dp_scan_spcl_vap_stats_detach() argument
6186 struct dp_mon_vdev *mon_vdev; in dp_mon_vdev_attach() local
6189 mon_vdev = (struct dp_mon_vdev *)qdf_mem_malloc(sizeof(*mon_vdev)); in dp_mon_vdev_attach()
6190 if (!mon_vdev) { in dp_mon_vdev_attach()
6197 dp_scan_spcl_vap_stats_attach(mon_vdev); in dp_mon_vdev_attach()
6199 vdev->monitor_vdev = mon_vdev; in dp_mon_vdev_attach()
6206 struct dp_mon_vdev *mon_vdev = vdev->monitor_vdev; in dp_mon_vdev_detach() local
6213 if (!mon_vdev) in dp_mon_vdev_detach()
6217 dp_scan_spcl_vap_stats_detach(mon_vdev); in dp_mon_vdev_detach()
6219 qdf_mem_free(mon_vdev); in dp_mon_vdev_detach()