qcacmn: Add stats in Spectral report processing path
Add the following stats. - Number of Spectral events received from the target - Number of consume_spectral_report() invocations - Number of fill_samp_msg() invocations - Number of SAMP messages that are ready to be sent to the user-space - Number of SAMP messages queued to the user-space Change-Id: I53fda4b309620043a77bc2bc87573941d7fb0bcb CRs-Fixed: 3156151
This commit is contained in:

committed by
Madan Koyyalamudi

parent
4759d79767
commit
aeb2ffde14
@@ -1259,6 +1259,7 @@ int get_supported_sscan_bw_pos(enum phy_ch_width sscan_bw);
|
||||
* @supported_bws: Supported sscan bandwidths for all sscan modes and
|
||||
* operating widths
|
||||
* @supported_sscan_bw_list: List of supported sscan widths for all sscan modes
|
||||
* @data_stats: stats in Spectral data path
|
||||
*/
|
||||
struct target_if_spectral {
|
||||
struct wlan_objmgr_pdev *pdev_obj;
|
||||
@@ -1392,6 +1393,7 @@ struct target_if_spectral {
|
||||
supported_bws[SPECTRAL_SCAN_MODE_MAX][CH_WIDTH_MAX];
|
||||
/* Whether a given sscan BW is supported on a given smode */
|
||||
bool supported_sscan_bw_list[SPECTRAL_SCAN_MODE_MAX][CH_WIDTH_MAX];
|
||||
struct spectral_data_stats data_stats;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user