Home
last modified time | relevance | path

Searched refs:mon_ctx (Results 1 – 6 of 6) sorted by relevance

/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
H A Dwlan_pkt_capture_mon_thread.c42 if (cb_ctx->mon_cb(cb_ctx->mon_ctx, msdu) != QDF_STATUS_SUCCESS) { in pkt_capture_mon()
48 void pkt_capture_free_mon_pkt_freeq(struct pkt_capture_mon_context *mon_ctx) in pkt_capture_free_mon_pkt_freeq() argument
52 spin_lock_bh(&mon_ctx->mon_pkt_freeq_lock); in pkt_capture_free_mon_pkt_freeq()
53 while (!list_empty(&mon_ctx->mon_pkt_freeq)) { in pkt_capture_free_mon_pkt_freeq()
54 pkt = list_entry((&mon_ctx->mon_pkt_freeq)->next, in pkt_capture_free_mon_pkt_freeq()
57 spin_unlock_bh(&mon_ctx->mon_pkt_freeq_lock); in pkt_capture_free_mon_pkt_freeq()
59 spin_lock_bh(&mon_ctx->mon_pkt_freeq_lock); in pkt_capture_free_mon_pkt_freeq()
61 spin_unlock_bh(&mon_ctx->mon_pkt_freeq_lock); in pkt_capture_free_mon_pkt_freeq()
74 pkt_capture_alloc_mon_pkt_freeq(struct pkt_capture_mon_context *mon_ctx) in pkt_capture_alloc_mon_pkt_freeq() argument
84 spin_lock_bh(&mon_ctx->mon_pkt_freeq_lock); in pkt_capture_alloc_mon_pkt_freeq()
[all …]
H A Dwlan_pkt_capture_main.c729 vdev_priv->cb_ctx->mon_ctx = context; in pkt_capture_register_callbacks()
759 &vdev_priv->mon_ctx->mon_event_flag); in pkt_capture_register_callbacks()
780 vdev_priv->cb_ctx->mon_ctx = NULL; in pkt_capture_register_callbacks()
817 &vdev_priv->mon_ctx->mon_event_flag); in pkt_capture_deregister_callbacks()
819 &vdev_priv->mon_ctx->mon_event_flag); in pkt_capture_deregister_callbacks()
820 reinit_completion(&vdev_priv->mon_ctx->mon_register_event); in pkt_capture_deregister_callbacks()
821 wake_up_interruptible(&vdev_priv->mon_ctx->mon_wait_queue); in pkt_capture_deregister_callbacks()
827 wait_for_completion(&vdev_priv->mon_ctx->mon_register_event); in pkt_capture_deregister_callbacks()
828 pkt_capture_drop_monpkt(vdev_priv->mon_ctx); in pkt_capture_deregister_callbacks()
840 vdev_priv->cb_ctx->mon_ctx = NULL; in pkt_capture_deregister_callbacks()
[all …]
H A Dwlan_pkt_capture_data_txrx.c908 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_rx_data_cb()
1036 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_rx_data_cb()
1153 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_tx_data_cb()
1352 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_tx_data_cb()
H A Dwlan_pkt_capture_mgmt_txrx.c98 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_mgmtpkt_cb()
/wlan-driver/qcacld-3.0/components/pkt_capture/core/inc/
H A Dwlan_pkt_capture_mon_thread.h158 void pkt_capture_drop_monpkt(struct pkt_capture_mon_context *mon_ctx);
188 void pkt_capture_close_mon_thread(struct pkt_capture_mon_context *mon_ctx);
199 pkt_capture_open_mon_thread(struct pkt_capture_mon_context *mon_ctx);
211 pkt_capture_alloc_mon_thread(struct pkt_capture_mon_context *mon_ctx);
234 void pkt_capture_free_mon_pkt_freeq(struct pkt_capture_mon_context *mon_ctx);
H A Dwlan_pkt_capture_priv.h52 void *mon_ctx; member
73 struct pkt_capture_mon_context *mon_ctx; member