Commit Graph

27 次程式碼提交

作者 SHA1 備註 提交日期
nobelj
f467ad38f1 qca-wifi: rnr stats APSTATS
add and leverage stats for 6G to be used in apstats.
radio level stats are added for rnr count, active,
created vap, SoC status and cfg80211tool command is added
to display rnr cache.

Change-Id: I882c6349283c5a8295fe8933aee221f9a923e7f8
2020-08-31 14:50:41 -07:00
phadiman
24f86413a4 qca-wifi: Access wlanstats context using CDP API
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
2020-08-13 07:24:20 -07:00
phadiman
c16f1049e2 qca-wifi: Add versions for RDK Plume Stats
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
2020-08-13 04:37:46 -07:00
phadiman
8ad7491fdd qca-wifi: FR 61891 Per Client Link Quality Metrics
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
2020-08-12 09:54:08 -07:00
Ruben Columbus
3c96878216 qca-wifi: adding chan frequency to rx mpdu info
previously frequency was acquired by channel only.
adding chan frequency as a new param for the structure rx mpdu info
is now used to hold the frquency value from tlv in rx path.

Change-Id: Iba70af9de82dcd0c9c3b074eb857b6c9433f6767
2020-02-25 15:04:40 -08:00
Pavankumar Nandeshwar
5ccd5a8727 qca-wifi: umac-dp decoupling changes in ctrl_ops for datapath
Modify datapath APIs to make sure they do not need
to receive dp handles from umac interface.

Change-Id: I0979795a6356a29394daa2719dfbd36cdde3d0e2
2020-01-16 12:59:04 +05:30
Pavankumar Nandeshwar
0759dd94d5 qca-wifi: cmn_ops changes for umac-dp decoupling
Equivalent changes in component dev data path APIs
implementation for changes in cmn_ops interface APIs.

Change-Id: I1d9c43607bfa699dded771fe9aea87f4ec5a70b9
2019-12-24 23:51:09 -08:00
Kai Chen
e60794edf5 qca-wifi: Add stats on OFDMA and MU-MIMO packet
Change variable name from ofdma to mu_ul since
both OFDMA and MU-MIMO is suppoted in same way.

Change-Id: Ie72088e162fcb54914f76b3ad002a672305299ae
2019-11-26 10:43:33 -08:00
Kai Chen
5c41ed2a44 qca-wifi: Enable peer filtering for enhanced RX capture.
Enable peer filtering for enhanced RX capture mode

Change-Id: Icaf8ba680a9b77cf9c07003f0ce18798c9b62d8f
2019-08-30 11:12:15 -07:00
Amir Patel
8c9bc8c685 qca-wifi: Add support for msdu, bytes and retries
Add support for msdu, bytes and retries for RDK stats

Change-Id: Ifb20833cfc77bef8f4c14b9c04930d26a64d5b63
CRs-Fixed: 2509049
2019-08-14 15:14:30 +05:30
Linux Build Service Account
603df432f8 Merge "qca-wifi: Add support for OFDMA UL per user info" 2019-07-25 01:06:44 -07:00
Kai Chen
4e7be2911c qca-wifi: Add support for OFDMA UL per user info
Add support for OFDMA UL per user info such as
nss, mcs, ofdma RU start and ofdma RU size for
RX enhanced capture mode.

Change-Id: I5dce2d5ee9fcabc8a782eaf2919a943d4e7921c4
2019-07-16 13:57:12 -07:00
Chaitanya Kiran Godavarthi
6d13ce0f35 qca-wifi: Add stats mcs, nss and bw
Add encoding macros for mcs nss and bw stats

Change-Id: Icc1b238380be8d8d5596e3c7117696c0b0b4cbeb
2019-07-11 01:52:46 -07:00
Linux Build Service Account
68ba7c9fdc Merge "qca-wifi: Add rssi_chain support for peer rate stats" 2019-06-13 02:36:23 -07:00
Linux Build Service Account
7ca2a2fdee Merge "qca-wifi: Protocol tag support in lite rx monitor" 2019-05-30 20:35:42 -07:00
Linux Build Service Account
8ad1950ec3 Merge "qca-wifi: Remove unused peer mgmt stats" 2019-05-24 01:36:10 -07:00
Karunakar Dasineni
6169bd6e2a qca-wifi: Protocol tag support in lite rx monitor
Add protocol tagging support in lite rx monitor mode.

Change-Id: If95f43cade89d2a980dd6868f40fe7f5413bf019
CRs-Fixed: 2448531
2019-05-23 19:41:24 -07:00
Amir Patel
bd3e9bb9b3 qca-wifi: Add rssi_chain support for peer rate stats
Add rssi_chain support for peer rate stats

CRs-Fixed: 2445933
Change-Id: I98a0bb6e17cfc5ef22a36a1fe632b4dbe2c0d02a
2019-05-22 14:54:05 +05:30
Kai Chen
1cc9fe7b53 component_dev: Fix memleak issue on Rx enhanced capture
Fix memleak on Rx enhanced capture mode. Adding frag list on the
cloned buffer causing the memory leak. Allocate a MPDU control
block. The MPDU header(128 bytes) and mdsu headers(128 bytes)
link list is attached to MPDU control block frag list. The MPDU
control block is sent to osif layer to send to network stack.

Change-Id: If6c81b9d1027dfbb12277574fe9598f6fb8c5eca
2019-05-21 17:50:21 -07:00
Santosh Anbu
cf2e9f8ddc qca-wifi: Remove unused peer mgmt stats
Peer delete request and response stats has been moved to per vap
stats.

Change-Id: I9f46ead931d4b9f13166db9510394993575516d9
CRs-Fixed: 2455845
2019-05-20 14:17:19 +05:30
Pranita Solanke
6d9b087650 qca-wifi: Move WIN specific code out of cmndev
Move WIN specific structures and features(WDS/AST/ME)
out of common code inside component dev

Change-Id: I9a9696fa891d3f5dac1a86813fc53af18d7be3a6
2019-05-13 13:33:45 +05:30
Linux Build Service Account
eddae4e5d3 Merge "component_dev: Populate mpdu info for enhanced monitor mode" 2019-04-29 18:34:24 -07:00
Kai Chen
2c19e70392 component_dev: Populate mpdu info for enhanced monitor mode
Modify poplate mpdu info code for enhanced monitor mode

Change-Id: I2541532c8f4f240cc7093f2413a901dd67195684
CRs-Fixed: 2442973
2019-04-26 14:04:36 -07:00
Linux Build Service Account
b1f91ce68c Merge "qca-wifi: Move WIN ENH RX capture feature out of cmndev" 2019-04-19 12:35:22 -07:00
Kai Chen
b6ff0eaa75 qca-wifi: Move WIN ENH RX capture feature out of cmndev
Move WIN ENH RX caputre feature out of common dev to
component dev

Change-Id: I642ef98e2a93a395351d48a927186f419ba7f341
2019-04-16 16:29:44 -07:00
Amir Patel
c87166665a qca-wifi: Fix zero rate index issue in peer rate stats
Rate index zero (representing 11 Mbps in ratetable) was ignored in current
stats implementation. Added code changes to include zero rate index

Some formatting is done in peerstats app to avoid exceeding 80 chars

CRs-Fixed: 2424176
Change-Id: I9d6938cc840ee3db3639b3608b429a97832c3168
2019-04-15 05:07:45 -07:00
Amir Patel
ea587c9d8b qca-wifi: Add RDK statistics cache module code
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
2019-03-14 13:57:30 +05:30