qcacmn: Get wlan op mode from vdev for pktlog

To avoid using qcacld code in cmn, when getting
wlan op mode, using op mode info from vdev rather
adapter.

Change-Id: Ida5a7aa6c793e955122a4bbf3bf0fa1fa5cbf7a3
CRs-Fixed: 2412317
This commit is contained in:
Jingxiang Ge
2019-03-08 17:06:19 +08:00
committed by nshrivas
parent c5d48d06c6
commit 434105d7a5
2 changed files with 29 additions and 25 deletions

View File

@@ -681,8 +681,11 @@ typedef void (*ol_txrx_stats_callback)(void *ctxt,
/**
* ol_txrx_pktdump_cb - callback for packet dump feature
*/
typedef void (*ol_txrx_pktdump_cb)(qdf_nbuf_t netbuf, uint8_t status,
uint8_t vdev_id, uint8_t type);
typedef void (*ol_txrx_pktdump_cb)(ol_txrx_soc_handle soc,
struct cdp_vdev *vdev,
qdf_nbuf_t netbuf,
uint8_t status,
uint8_t type);
/**
* ol_txrx_ops - (pointers to) the functions used for tx and rx