Revīziju grafs

70 Revīzijas

Autors SHA1 Ziņojums Datums
Pranita Solanke
afcd0f1289 qcacmn: Add Video/all TID Counters framework for both tx/rx
Add struct in cdp required to display VoW stats
for hawkeye and akronite

Change-Id: Ibd3a3b5e5933841cc28c9ce1b36d69615234720a
2018-08-31 04:01:24 -07:00
Pranita Solanke
f840754fbf qcacmn: Add support for last tx rate for multicast
Apstats display last tx rate for unicast as well as for multicast
hence we are adding support for last tx rate for multicast

Change-Id: I94cdcbb9c156ecaa4b7a5407a0f0c00dfa9786e9
2018-08-30 01:59:26 -07:00
Debasis Das
72521f8c0a qcacmn: Support channel utilization stats
Provide support for following channel utilization stats:
self_bss_util,obss_util,ap_rx_util,free_medium,
ap_tx_util,obss_rx_util,non_wifi_util

Change-Id: Ib1358988ae0b5794e70ba4348a78646e9d2a6cba
CRs-Fixed: 2298865
2018-08-28 13:09:48 -07:00
chenguo
4d877b8ea5 qcacmn: Delete duplicated rate info code in statistics printing
Using common function to replace the duplicated rate info code in
statistics of data path for TX, RX and peer info printing.

Change-Id: I80d296001b95d7a5ff11d7ce538e16f86e7e67e8
CRs-Fixed: 2291395
2018-08-22 14:54:53 -07:00
y
db24745af8 qcacmn: PPDU changes for DP Componentization
PPDU rate related change moved to data path layer

Change-Id: Id362da61336fb439e394437636af53c0c2c10988
2018-08-10 18:11:36 -07:00
Ruchi, Agrawal
c3e68bc67d qcacmn: desc na change
Part of base changes, move due to dependency on
other changes.

Change-Id: I7d640d2976c4c2c2c156a5223683dc4b28559577
CRs-Fixed: 2283286
2018-07-27 14:25:16 -07:00
Amir Patel
0291157bef qcacmn: Add new members for DP componentization
To consolidate the stats spread over across UMAC, OL_IF
layer and process at respective datapaths depending
on platforms.

Change-Id: I87d02c767a309e7aeef88a124567259debc1bba5
CRs-Fixed: 2283286
2018-07-27 14:25:11 -07:00
Pavankumar Nandeshwar
720e1983ff qcacmn: Add a per-radio command to fetch radio activity factor
This change Adds a per-radio command to calculate and fetch
radio activity factor from the driver.

Change-Id: I209a4d93889925b63969d36877127e2a72de25fe
CRs-Fixed: 2266783
2018-07-27 14:25:09 -07:00
Priyadarshnee S
973bc0affa qcacmn: Add support for twice antenna gain param
Existing antenna gain command does not take odd antenna gain value that is
gains are not supported in steps of 0.5db. antenna_gain_half_db pdev
param provides this support. Added WMI and CDP changes to configure/read
this data.
CRs-Fixed: 2024854
Change-Id: I47da9eed74a1a0180cefb4c3f47bc4340da1bdfd
2018-07-26 03:22:01 -07:00
Vinay Adella
0f72e11a1f qcacmn: Add Params for Continuous Background Scan(CBS)
OL_ATH_PARAM_CBS - Command to enable/disable CBS
OL_ATH_PARAM_DCS_SIM - Command to simulate DCS interferences
OL_ATH_PARAM_CBS_DWELL_SPLIT_TIME - Command to configure
Dwell Split time
OL_ATH_PARAM_CBS_DWELL_REST_TIME - Command to configure
Dwell Rest time
OL_ATH_PARAM_CBS_WAIT_TIME - Command to configure CBS wait time.
OL_ATH_PARAM_CBS_CSA - Command to enable channel switch with CBS.

Change-Id: If1c45c7caa53da7f05e56f23c74cf1b982ea8f48
CRs-Fixed: 2134748
2018-07-19 04:29:28 -07:00
Subrat Mishra
ab28071e57 qcacmn: Add OL param for estimated airtime calculation
Introduce OL param to configure estimated airtime metrics.
Periodicity, airtime, ppdu duration and block ACK window.

Change-Id: Id3d538928f9140fabfaaa6f042fcff6b9df4bef0
CRs-Fixed: 2261469
2018-07-06 04:45:21 -07:00
Sathish Kumar
07734b957b qcacmn: Add OL param for DBR ring status dump
Direct Buffer Rx module has an API to print the status of the rings
per module per pdev. Introduce OL param to support this through
CLI.

Change-Id: Iebbd2c314e72dc0753cdcb581f17d93d3c71a5db
CR-Fixed: 2263968
2018-07-06 01:46:08 -07:00
Shreedhar Parande
ced1918365 qcacmn: Commands related to PreCAC auto channel switch support
Added commands for setting intermediate channel and
getting precac channel state.

CRs-fixed: 2272085
Change-Id: I735f70008abdbe60ce2c167e7c0fe9227572b96c
2018-07-04 13:05:10 -07:00
Krishna Rao
df66989cb2 qcacmn: Add config enumeration for P1 ping failure smart log
Add _ol_ath_param_t configuration enumeration entry for P1 ping
failure smart logging.

CRs-Fixed: 2267807
Change-Id: Iaa7df4b2e69aa252f537ef1362fe80843b82a216
2018-06-28 16:38:32 -07:00
Naga
5233ffe848 qcacmn: Enhance cp_stats component
Add implementation to remove unused stats from pdev, vdev
peer cp_stats structure, reorder ol_ath_radiostats and
add inline macro for phy_err

Change-Id: Id91f11526c03bf14dfc285a1c87b24c8e5e00b02
CRs-Fixed: 2262329
2018-06-22 02:58:56 -07:00
c_cgodav
862541432b qcacmn: Add api for dumping the CE discriptors
API for dumping the CE descriptors copies all descriptors for
the given Copy engine id and also copies the SKB packet pointed
by the descriptors till smart_log_skb_sz bytes.

Change-Id: I511bda77319944c1ec2377f716087956ce0637ac
CRs-Fixed: 2008290
2018-06-21 05:22:22 -07:00
c_cgodav
b69942b3c9 qcacmn: CE Debug Enhancements WMI interface
Add WMI interface for the smart logging feature.

Change-Id: Ife3784020d1b9458c2b09b6a2f31f55aab5f57ec
CRs-Fixed: 2001507
2018-06-21 05:22:17 -07:00
c_cgodav
f2a954e493 qcacmn: Add command to set ACS noise floor threshold value
Add iwpriv command for setting the ACS noise floor threshold value

Change-Id: Ia3eca81243ff7aa03e7d42a0af23e06c7fdc1d1d
2018-06-05 04:07:29 -07:00
Vignesh U
21a96f9644 qcacmn: Add pdev param for host dfs confirmation
Add pdev param to update host wait status timeout value.

Change-Id: I63fd6ebab1244eaabdf9445e48a04469ea681a36
CRs-Fixed: 2211883
2018-05-21 03:53:13 -07:00
Jeff Johnson
e71b8c4019 qcacmn: dp: Remove legacy markings
Per current guidance remove legacy markings.

Change-Id: Id6b2e4758232355b0c47bf8c2f1a0b2a1eacba05
CRs-Fixed: 2230684
2018-05-18 02:17:24 -07:00
Tallapragada Kalyan
51198fc4ee qcacmn: Add counters for IP, TCP/UDP checksum errors
Add counters for IP, TCP/UDP checksum errors reported by
hardware.

Change-Id: Iaeb9280bc1ad4a287eee409d92ad0c95dc9f2c77
2018-05-17 16:55:19 -07:00
Jeff Johnson
3f0dfd144a qcacmn: Fix typo "continous"
Replace typo "continous" with correct spelling "continuous".

Change-Id: If14e05ea8d30979c792e682c26da1e7ce33d7345
CRs-Fixed: 2238309
2018-05-17 00:47:36 -07:00
Jeff Johnson
ba9272370e qcacmn: Fix typo "coexistance"
Replace typo "coexistance" with correct spelling "coexistence".

Change-Id: I067eef3367e16c7e29e535ef7ccf4a5311173deb
CRs-Fixed: 2238309
2018-05-17 00:47:08 -07:00
Ruchi, Agrawal
2755048d7d qcacmn: Remove NAWDS Rx Drop Count length counter
Remove NAWDS Rx Drop Count as it is not required,
drop packets in rx where length is not
available.

Change-Id: Ib4b41eefe88410137c3845090783ee43adb9147c
CRs-Fixed: 2191474
2018-05-07 07:38:53 -07:00
narayan
8c93d70695 qcacmn: Implementation of some generic stats
cmn_dev changes to port FR43672 from 10.4 to 11.0.

Change-Id: Ic7ec9ac7875139fd5a2909738e1f0ff0d37a65a3
CRs-Fixed: 2153764
2018-05-02 01:19:43 -07:00
Vivek
2b109825ac qcacmn: Replace A_UINT with appropriate types
There are instances of use of older A_UINT/A_INT.
Replace all such instances with the qdf u_int*_t/int*_t.

Change-Id: I7ce29b03f29a0d1a0cf87cfd3c846f4694da4c2a
CR's-Fixed: 2210869
2018-03-26 04:58:12 -07:00
Nandha Kishore Easwaran
3053deedfa qcacmn: Avoid mcast check in qwrap isolation mode
Donot perform mcast echo check in case of qwrap isolation mode.
In qwrap isolation mode, packets from wired station reaches the wireless
station via the rootap. Thus we need to allow loopback packets in qwrap
isolation mode.
Also add a configuration to set isolation mode.

Change-Id: If4a63abd477596f6b48c6cf9b6e7e5bd84ec95c0
CRs-fixed: 2204033
2018-03-20 05:59:09 -07:00
Neil Zhao
0bd967d021 qcacmn: fix mon vap RX skb size issues
1) for raw mode, drop frames with invalid size
2) for non-raw mode, fixed issue that
frag list data_len's not properly calculated

The length issues will introduce kernel issues
during skb_linearize() at upper OS network stack layer.

Symptoms:
1)
WARNING: at net/core/skbuff.c:1782
PC is at skb_copy_bits+0x1b8/0x230

2)
kernel BU at net/core/skbuff.c:1615!
PC is at __pskb_pull_tail+0x70/0x2e4

CRs-fixed: 2188754

Change-Id: I848ec976cd922708ffd02d8272ea5a6f3bce2a00
2018-03-05 11:11:41 -08:00
Prathyusha Guduri
43bb056ed0 qcacmn: Add fw stats to cdp_pdev_stats
Add htt tx and rx structs from HTT to cdp_pdev_stats.
These Fw tx and rx stats are obtained through HTT events.
athstats application uses cdp_pdev_stats that contains host stats
and fw stats.

Change-Id: Ia063f406bdc6d32a684c4026b8425ecc96faa3db
CRs-Fixed: 2190793
2018-02-27 23:33:48 -08:00
Jeevan Kukkalli
d819e98465 qcacmn: Parameter API related changes
Added flag to enable/disable parameter api feature on
a particular radio

Change-Id: I9f814d477a1ed24cadb957fe79585b0c89e88ff7
CRs-Fixed: 2180230
2018-02-26 22:47:07 -08:00
Venkata Sharath Chandra Manchala
65812e69c8 qcacmn: Fix for Tx completions counter not being updated in txrx_stats
Tx completion success counters are not being updated correctly.
Accumulate successful completions in tx_success variable.

Change-Id: I290e581e93e03ad23e349c9df7834174d6d3a787
CRs-Fixed: 2191599
2018-02-26 21:44:54 -08:00
Chaithanya Garrepalli
20d7142933 qcacmn: Removed WDS rx stats from host peer stats
Removed WDS rx stats from host peer stats as this
is not supported in HAWKEYE

Change-Id: Id12be043b584a659ecbec46b6c2efb161d4248d3
CRs-Fixed: 2186376
2018-02-21 18:20:57 -08:00
Shiva Krishna Pittala
91f2654d56 qcacmn: Provide a configuration to enable/disable CCK Tx
Firmware will use this configuration to enable/disable the
CCK transmission. By default, the CCK Tx is enabled.

CRs-Fixed: 2191524
Change-Id: I165c3ea10ea3734fc81e7d25fe8ad676afd1b2c1
2018-02-21 17:12:42 -08:00
Soumya Bhat
0d6245c0ac qcacmn: PPDU stats debug enhancement
1. Assert if length received from FW is not equal to
   the expected length
2. Count the number of PPDU stats received by host and
   print in "iwpriv athX txrx_stats 260"
3. Optimize the PPDU stats tag mask sent to FW for
   enhanced stats enabling

Change-Id: I60019de93bb3914955a03546504efc820c960746
CRs-Fixed: 2170704
2018-02-12 07:34:57 -08:00
Prathyusha Guduri
184b640cbd qcacmn: Move cdp_stats to cdp_txrx_stats_struct.h
To expose cdp_pdev_stats to athstats, move cdp_stats from
cdp_txrx_cmn_struct.h to cdp_txrx_stats_struct.h and include
cdp_txrx_stats_struct.h wherever needed

Change-Id: I0e86527d47f5c6056a3bfbf5e8151594879427f3
CRs-Fixed: 2183725
2018-02-09 01:51:30 -08:00
Anirban Sirkhell
f31b24105b qcacmn: set txpow for frame and subframe
command:-
1. "iwpriv athx s_txpow param1 param2"
2. "iwpriv athx g_txpow param1"

param1 = frame_type<<8+frame_subtype param2 is power_value
if subtype == 0xff means set all subtype of that frame type

Change-Id: I8c68e1ca6a5829a3f0cf01b2c32c3332e1010243
CRs-Fixed: 2175241
2018-02-06 09:43:50 -08:00
Rohan Dutta
0d702b7524 qcacmn: Add lithium_cycle_cnt stats in apstats
Add tx/rx frame count, cycle count, phy err count, rx clear count,
chan_tx_power, chan_nf stats to apstats

Change-Id: Ia4153380a15a16bef96792040d4fc1c46969fff5
2018-01-22 21:24:27 -08:00
Debasis Das
da18becba6 qcacmn: Support for wifi performance metric
Support added for the following:
1. The counters for Rx offer, Tx Offer, MgmtTXFail.
2. Block mgmt frame from a particular mac address.
3. Display NSS for associated clients.

Change-Id: Ic0f6ea8f7b94f998f6a9d2d3e1adc3a71c79056b
2018-01-16 04:27:56 -08:00
Om Prakash Tripathi
3e166ff7e4 qcacmn: Add support for wide band scan
Add support for 40 MHz or wider channel bandwidth scan

Change-Id: I72f3cf42e6dc957ef56842d0c333c62169cb6d68
CRs-Fixed: 2139415
2017-11-10 17:41:00 -08:00
Anirban Sirkhell
428a19b594 qcacmn: Add pdev param to set firmware to use lower chains for tx
Add new pdev param with which firmware can be set to use
a lower number of chains without doing a reset. In response
to this firmware's ratecontrol will select only rates
which can be sent using a lower number of chains, and set
the h/w tx descpriptor's chain select to whatever value
has been configured using this command.

CRs-Fixed: 2123206
Change-Id: Ice713393958c2c2acedba0fe2e9354f3fe3bee75
2017-11-09 07:46:56 -08:00
c_cgodav
bd9ecaee84 qcacmn: Add enum for ACS Ranking iwpriv
Added iwpriv ENUM for ACS Ranking feature enable/disable

Change-Id: I7a7289f458adacb7890bfbdbdaf5528c4016a7c0
2017-11-04 06:09:05 -07:00
Edayilliam Jayadev
a9919d6e12 qcacmn: Changes to wext interface for external acs
Private ioctls for external acs operation like
set icm active, get channel load info, clear chan load info,
get nominal noise floor were transported and
handled by spectral module. We seperate this ioctls
from spectral by adding new IWPRIVs(get_icm_active,
set_icm_active, get_nominal_nf, clear_chan_info)and
moving their handlers out of spectral.

CRs-Fixed: 2126313
Change-Id: I8c6b56b85d566f5bc7f6217f6fbc99fa23171cdd
2017-10-30 01:39:07 -07:00
Sathish Kumar
b432fc0ef7 qcacmn: Add support for configuring ACK timeout pdev param
Add support in host to configure ACK timeout pdev param through
WMI interface

Change-Id: Ifc43cd146fbbf6ef818268acf69789b38b28e384
CRs-Fixed: 2042639
2017-10-12 14:21:53 -07:00
Gurumoorthi Gnanasambandhan
1b5ceb75a2 qcacmn: Initialize pdev_id for PDEV STATS request and event
Initialize pdev_id for PDEV stats request and response event.
Add param to set pdev stats request timer.

Change-Id: I11f648070cd39f026129d1cf3aa13bf296d25e6e
2017-10-06 02:36:28 -07:00
Soumya Bhat
3eec5f3273 qcacmn: WMI support for EXT NSS Signaling
Add required WMI commands to communicate support of
EXT NSS Signaling between host and FW. Also, if
EXT NSS Signaling is supported the use new WMI to
communicate the required information between host and FW.

Change-Id: If3e1ef11a55f8fbdffddb3b10963878a6a2ca415
CRs-Fixed: 2089043
2017-08-29 20:58:30 -07:00
Neil Zhao
cc51c79fb6 qcacmn: FR 42103 drop mgmt if rx RSSI's below set threshold
Management frames with RX RSSI lower than
user set value will be dropped.

CNSS-CODE-SCAN:: QUICLOST-196308:: Completed

Change-Id: I9af967703182513cb9a51ee96c0954b7d27eaacb
2017-07-11 23:48:05 -07:00
Yun Park
2bea1c5170 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_stats_struct.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_stats_struct.h

Change-Id: Ie651fcc26eac71349779fcfa5316a6c469c22853
CRs-Fixed: 2061338
2017-06-18 14:01:01 -07:00
Om Prakash Tripathi
0be8df7f5f qcacmn: Add stats for mnagement tx frames
Add counter stats for number of management frames sent via
wmi and number of completions received.

Change-Id: Id5e72858b1e258b089b170a6d15ba395782645cc
CRs-Fixed: 2060117
2017-06-15 21:55:12 -07:00
Venkateswara Swamy Bandaru
bd3fc8eaf9 qcacmn: Add SR LOAD variance iwpiv support
Added OL_ATH_PARAM_ACS_SRLOADVAR in ol_ath_param_t Pdev configuration
parameter.

Change-Id: I59580f0500f7691af5188cdefece022f1abdbec9
CRs-Fixed: 2036205
2017-04-25 03:20:50 -07:00
Srinivas Pitla
f7aec735b4 qcacmn: Add param to ol params to dump objects of object manager
New iwpriv command has added to dump pending/active objects of
object manager

Change-Id: Ifff3bbb2dd2e168243a263a138c294fb1ed679fd
CRs-Fixed: 2022458
2017-04-20 10:51:27 -07:00