qcacld-3.0: Request fw stats for monitor mode
Periodically request pdev stats from FW to receive channel noise floor information after monitor vdev has been brought up, based on the band currently being sniffed. Use the band information as a secondary parameter when sending periodic request to fw so a single noise floor value is sent to host. Pass this noise floor information to dp_pdev to be populated in radiotap header. Change-Id: I488e4985392cb646ffdee914359fa995dbeb025e CRs-Fixed: 2833458
This commit is contained in:

gecommit door
snandini

bovenliggende
281ed411b4
commit
6599516554
@@ -27,6 +27,22 @@
|
||||
#ifdef QCA_SUPPORT_CP_STATS
|
||||
#include "wlan_cp_stats_mc_defs.h"
|
||||
|
||||
#ifdef QCA_WIFI_QCA6490
|
||||
#define TGT_MAC_ID_24G 2
|
||||
#define TGT_MAC_ID_5G 1
|
||||
#else
|
||||
#define TGT_MAC_ID_24G 0
|
||||
#define TGT_MAC_ID_5G 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* target_if_mc_cp_get_mac_id(): API to get mac id
|
||||
* @vdev_mlme: vdev mlme pointer
|
||||
*
|
||||
* Return: mac id
|
||||
*/
|
||||
uint8_t target_if_mc_cp_get_mac_id(struct vdev_mlme_obj *vdev_mlme);
|
||||
|
||||
/**
|
||||
* tgt_mc_cp_stats_process_stats_event(): API to process stats event
|
||||
* @psoc: pointer to psoc object
|
||||
|
Verwijs in nieuw issue
Block a user