Peer wlanstats context was accessed directly
without any protection, if peer was deleted
there was no way to know if PPDU cookie holds
correct wlanstats ctx
Hence to protect the peer wlanstats ctx access
it using CDP API using stats context protection
CRs-Fixed: 2740231
Change-Id: I9b07970c691099f3c9b0175d550508b50db9ac8a
Currently there is only a provision to enable
and disable RDK stats with enable_rdk_stats
INI configuration
Since there are new set of statistic metrics added
as part of RDK stats, add version information into
CFG INI configuration such as
0. For disabling stats (By default)
1. For enabling peer rate stats only
2. For enabling peer link metrics only
3. For enabling both statistics
This is done to avoid unncessary CPU consumption
and memory consumption for each peer, depending on
the requirement the version can be enabled
CRs-Fixed: 2740231
Change-Id: I1cfd8c75dd4f3236a5b07263573fd5ddbe1dc1c3
Adding new metrics to existing RDK Plume statistics
PHY Metrics Tx
1. phy_rate_actual_su - Single User Rate
2. phy_rate_actual_mu - Multi User Rate
3. ofdma_usage - OFDMA Usage count
4. mu_mimo_usage - MU MIMO Usage count
5. bw_usage_avg - Average BW
6. bw_usage_max - Max BW Ratio to total PPDUs
7. pkt_error_rate(mpdu) - MPDU packet error rate
8. num_ppdus - Number of PPDUs
9. num_bytes - Number of PPDU bytes
PHY Metrics Rx
1. phy_rate_actual_su - Single User Rate
2. phy_rate_actual_mu - Multi User Rate
3. ofdma_usage - OFDMA Usage count
4. mu_mimo_usage - MU MIMO Usage count
5. bw_usage_avg - Average BW
6. bw_usage_max - Max BW Ratio to total PPDUs
7. pkt_error_rate(mpdu) - MPDU packet error rate
8. num_ppdus - Number of PPDUs
9. num_bytes - Number of PPDU bytes
RSSI
1. su_rssi - Single user Rx RSSI
2. ack_rssi - ACK RSSI
CRs-Fixed: 2740231
Change-Id: Ie62157195d87f61640aa7bc65b2f02f629ff195d
Equivalent changes in component dev data path APIs
implementation for changes in cmn_ops interface APIs.
Change-Id: I1d9c43607bfa699dded771fe9aea87f4ec5a70b9
Define cache module code required for RDK-B statistics :
a. Objects to maintain tx and rx rate related statistics
b. Interface objects to be use by dp while pushing stats to module
c. Northbound interaction specific IOCTL structures/enums
d. WDI handlers for southbound interaction from dp to stats module.
CRs-Fixed: 2407888
Change-Id: I50b1461bc415e957d224bb1ec56e5e94cd833c27