qcacld-3.0: Record the channel number for pktcapture mode
For packet capture mode, record the channel number on which STA vdev is operating on. Change-Id: Id52536b5b238dc1e4fe4c612a651c6fe8ddc17d3 CRs-Fixed: 2627713
This commit is contained in:

committed by
nshrivas

부모
b43e1bc3ee
커밋
d493c152c9
@@ -237,6 +237,14 @@ void ucfg_pkt_capture_tx_completion_process(
|
||||
uint8_t tid, uint8_t status, bool pkt_format,
|
||||
uint8_t *bssid, htt_pdev_handle pdev);
|
||||
|
||||
/**
|
||||
* ucfg_pkt_capture_record_channel() - Update Channel Information
|
||||
* for packet capture mode
|
||||
* @vdev: pointer to vdev
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_pkt_capture_record_channel(struct wlan_objmgr_vdev *vdev);
|
||||
#else
|
||||
static inline
|
||||
QDF_STATUS ucfg_pkt_capture_init(void)
|
||||
@@ -353,5 +361,10 @@ ucfg_pkt_capture_tx_completion_process(
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
static inline void
|
||||
ucfg_pkt_capture_record_channel(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
}
|
||||
#endif /* WLAN_FEATURE_PKT_CAPTURE */
|
||||
#endif /* _WLAN_PKT_CAPTURE_UCFG_API_H_ */
|
||||
|
@@ -260,7 +260,7 @@ int ucfg_pkt_capture_enable_ops(struct wlan_objmgr_vdev *vdev)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
mode = ucfg_pkt_capture_get_mode(psoc);
|
||||
mode = pkt_capture_get_mode(psoc);
|
||||
ret = tx_ops->pkt_capture_send_mode(psoc,
|
||||
vdev->vdev_objmgr.vdev_id,
|
||||
mode);
|
||||
@@ -321,3 +321,8 @@ ucfg_pkt_capture_tx_completion_process(
|
||||
mon_buf_list, TXRX_PROCESS_TYPE_DATA_TX_COMPL,
|
||||
tid, status, pkt_format, bssid, pdev);
|
||||
}
|
||||
|
||||
void ucfg_pkt_capture_record_channel(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
pkt_capture_record_channel(vdev);
|
||||
}
|
||||
|
Reference in New Issue
Block a user