qcacmn: fix monitor packets radiotap channel incorrect issue

The channel number is always 0 from HAL RX PPDU TLV, then monitor
mode frames radiotap channel frequency is always 2407, get the
correct channel number that we saved when set monitor channel.

Change-Id: Ib927fe9aca3a4c1f98845fe37c9b1d37d1d6cf5a
CRs-Fixed: 2471161
This commit is contained in:
Jinwei Chen
2019-06-12 22:31:27 +08:00
committed by nshrivas
parent 4600ab56ad
commit e1ffcf089e
5 changed files with 48 additions and 1 deletions

View File

@@ -720,6 +720,9 @@ struct cdp_mon_ops {
/* HK advance monitor filter support */
QDF_STATUS (*txrx_set_advance_monitor_filter)
(struct cdp_pdev *pdev, struct cdp_monitor_filter *filter_val);
void (*txrx_monitor_record_channel)
(struct cdp_pdev *, int val);
};
struct cdp_host_stats_ops {