Commit Graph

34 Commits

Author SHA1 Message Date
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
Vikram Kandukuri
d4aa277e8b qcacmn: Static and Dynamic chain mask selection
Host support for Static and Dynamic chain mask selection.
parse new TLVs from ext service ready,copy tables to
wlan_objmgr_soc object.

CRs-Fixed: 2016643.
Change-Id: Ia4735eb4c7774c381df01f56696e8c86fc6c56ab
2017-04-17 02:13:26 -07:00
Tallapragada Kalyan
fd1edcc084 qcacmn: Add support for radio-based packet steering
packets received on a particular radio are queued to
a user configured reo destination ring.

Change-Id: I080090f22b80fd8d8868df4145b82888e1111cea
CRs-Fixed: 2017081
2017-04-12 04:42:35 -07:00
c_cgodav
f151c38600 qcacmn: Changes to store stats in 64bit data type
Changed the data type to store stats to 64bit
from 32bit to support larger number for stats
counter

Change-Id: I25eca626623503663b6aa8436217413609e2a807
CRs-Fixed: 2024225
Acked-by: Chaithanya Garrepalli <cgarre@codeaurora.org>
2017-03-28 23:22:30 -07:00
Ishank Jain
1e7401cbc7 qcacmn: Add Host Lithium Stats
Add per peer stats
Add support to update APSTATS
Change QDF_TRACE to DP_TRACE for improved readablility

Change-Id: I4be2adf2a1d7f978eb2961a544435d525c97923d
CRs-Fixed: 1114641
2017-03-16 20:03:16 -07:00
Sathish Kumar
b2f5b6506d qcacmn: Add the iwpriv command parameter for runtime target dump
Change-Id: Ia923abc7681ddbc4344c0a689de59a6e78a3cdcb
Acked-off-by: yilinl <rlu@codeaurora.org>
CRs-Fixed: 1107807
2017-02-20 03:18:11 -08:00
Sathish Kumar
6d72606ecf qcacmn: Add wmi support for 4-wire coex configuration
This patch adds support of new WMI command WMI_COEX_VERSION_CFG_CMID
for 4-wire coex configuration in non_tlv_ops.

Change-Id: I63da2c7ae99c38d297f7f13a8086611263f7fc5b
Acked-by: Daniel Kim <kimdan@codeaurora.org>
CRs-Fixed: 1081065
2017-02-13 21:31:46 -08:00
Nandha Kishore Easwaran
b423f1f3f8 qcacmn: change name for ZeroCACDFS
The term "agile" is used by hardware for swift/fast channel change.
Use precac for the zeroCACDFS instead.

Change-Id: I35f4d61cc93b3542feb8b286cbdf3a4474df5a75
Crs-fixed: 1073945
2016-11-30 12:40:45 -08:00
Sathish Kumar
92c7904b41 qcacmn: Add wmi support for btcoex duty cycle command
A new iwpriv command has been added to configure the period
and wlan duration for a btcoex duty cycle.

As a part of this registring the wmi_service_btcoex_duty_cycle
for WMI_SERVICE_BTCOEX_DUTY_CYCLE.

Also send_btcoex_wlan_priority_cmd registrtaion for btcoex
duty cycle command in non_tlv_ops.

Change-Id: I7f3bfdfd9804566d6d0b7cce7025e99db57d0e23
Acked-by: Basamma Yakkanahalli <ybasamma@qti.qualcomm.com>
CRs-Fixed: 1064437
2016-11-30 12:40:43 -08:00
Nandha Kishore Easwaran
fd7832e906 qcacmn: Change CDP layer to include build flags
Making changes in cdp layer to include proper compilation
flags

Change-Id: I6d325386f2a6a2b01a900d0c525c7f30aa128e47
Crs-fixed: 1075597
2016-11-21 13:07:31 -08:00
Nandha Kishore Easwaran
2906ce1943 qcacmn: Remove unnecessary flags
Remove the unnecessary compilation flags from cmn_dev

Change-Id: I39cb16122d1db930f1c759e206daedf85eebf612
Crs-fixed: 1075597
2016-11-17 19:12:59 -08:00
Nandha Kishore Easwaran
e5444bc96d qcacmn: Add CDP_IF wrapper layer for data path
Added a new layer CDP_IF inside dp which is an intermediate
between the data path functions and the upper layers. All function
calls from outside the DP layer to the DP layer goes via the CDP_IF
layer

Change-Id: I76e671c85d2d02aa0a65a90b356840d3aeede52d
CRs-Fixed: 1075597
2016-11-17 19:12:58 -08:00
Nandha Kishore Easwaran
72c39f9723 qcacmn: Add iwprivs for AGILE DFS
Enable/disable agile mode.
Set pre-cac timeout.

Change-Id: Ib3a68b53938ad6f1fe5075be7ca4d591744b9a31
CRs-fixed: 1075392
2016-11-02 05:14:31 -07:00
Nandha Kishore Easwaran
92ee60bd8a qcacmn: IWPRIV support for preferred uplink
Add IWPRIV support for preferred uplink. Preferred uplink will
be the interface chosen by the user during creating a fast lane
using two radios.

Change-Id: Id9333f9f083b6a34e7998ca9b02be94c220ed6e8
CRs-fixed: 1069444
2016-10-24 22:56:35 -07:00
Nandha Kishore Easwaran
328e551692 qcacmn: Added iwpriv control for secoffset and wide band subelement IE
Summary: below iwpriv comamnds are added for wifiN interface:
iwpriv wifi0 sec_offsetie 0/1 --> 0: Disable, 1: Enable secondary offset IE
iwpriv wifi0 g_sec_offsetie  --> Get secondary offset IE configuration
iwpriv wifi0 wb_subelem 0/1 --> 0: Disable, 1: Enable wide band sub element
iwpriv wifi0 g_wb_subelem  --> Get wide band sub element configuration

Change-Id: Id4695ab1eb7ba1bccb800936d2f6d7bd0e8ad946
CRs-fixed: 1074098
2016-10-24 22:56:34 -07:00
Nandha Kishore Easwaran
c732aa6b69 qcacmn: Adding new ATH config params
Add new ATH config params for alwaysprimary and fastlane

Change-Id: I05b15ebaa440896e3f7fc03424f614a486c16f9c
CRs-fixed: 1066381
2016-10-24 22:56:32 -07:00
Nandha Kishore Easwaran
4b8148b9d1 qcacmn: Phase 1 DP changes
Move ol_txrx_get_en_stats_base to cmn_dev as part
of DP phase 1 changes

Change-Id: Icc05beb31d3bdcf0e6d7d5b0d2add888118d89e7
CRs-fixed: 1058170
2016-10-24 22:56:30 -07:00
Srinivas Pitla
b5d3912da0 qcacmn: Merging collard DP changes
1)In the current implementation, txrx fw stats are radio level stats.
	  In collard, txrx fw stats are enhaced to fetch VAP based Tx MU stats,
	  Tx sounding info and Tx Selfgen stats.
	2) Merging new ATH params configs

Change-Id: I817ec4fe08f0a4d0e69262441378b0f6c3418f7f
2016-10-20 12:17:20 -07:00
Dhanashri Atre
d11e25c3a7 qcacmn: Add new fields to radiostats and OL_PARAMS
Integrating ToT changes from WIN Bokchoy branch.
These changes have been added as part of Bokchoy FRs implementation

Change-Id: I0637e3ffcbc49ce05aac20baa2da2940dfa6d77c
CRs-Fixed:1031703
2016-06-30 12:50:41 -07:00
Dhanashri Atre
fd04653483 qcacmn: Fix compilation issue
Fix WIN compilation issue.

Change-Id: I1d8bb73776e974b3706e7c3576cb576d40b1e5b8
CRs-Fixed: 993414
2016-05-04 21:09:59 -07:00
Dhanashri Atre
fe5662c2b8 qcacmn: Data path converged internal APIs (Set 2)
Initial check-in of the data path converged APIs that
are currently only implemented by WIN.

Change-Id: I68bc403dc652b514bfcc27f1eac1e9c5ca27c8d8
CRs-Fixed: 993414
2016-04-01 16:24:39 -07:00