mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "qcacmn: Add full monitor attach/detach API"
This commit is contained in:
commit
e1b2780845
1 changed files with 6 additions and 0 deletions
|
|
@ -1227,6 +1227,9 @@ dp_rx_pdev_mon_buf_desc_pool_init(struct dp_pdev *pdev, uint32_t mac_id)
|
|||
|
||||
pdev->mon_last_buf_cookie = DP_RX_DESC_COOKIE_MAX + 1;
|
||||
qdf_spinlock_create(&pdev->mon_lock);
|
||||
|
||||
/* Attach full monitor mode resources */
|
||||
dp_full_mon_attach(pdev);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1258,6 +1261,9 @@ dp_rx_pdev_mon_buf_desc_pool_deinit(struct dp_pdev *pdev, uint32_t mac_id)
|
|||
|
||||
dp_rx_desc_pool_deinit(soc, rx_desc_pool);
|
||||
qdf_spinlock_destroy(&pdev->mon_lock);
|
||||
|
||||
/* Detach full monitor mode resources */
|
||||
dp_full_mon_detach(pdev);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue