Commit Graph

29 Commits

Author SHA1 Message Date
Linux Build Service Account
a69813a789 Merge "qca-wifi: Multi-Link Repeater Functionality" 2020-05-14 11:09:17 -07:00
Linux Build Service Account
f6e54e17fb Merge "qca-wifi: Correct entires in vendor command list" 2020-05-13 10:39:59 -07:00
Subhranil Choudhury
f34bab46e4 qca-wifi: Multi-Link Repeater Functionality
This change implements the multi-link WiFi repeater functionality
using the Linux bridge Layer 2 forwarding table.

Change-Id: Ifa862a139f618f6bffde5613fd8d8d2e08d4f106
2020-05-13 18:54:48 +05:30
Shaakir Mohamed
5fbb744f99 qca-wifi: Add support to override RSNX IE
Adds cfg80211tool param command definitions
to override RSNX IE

Change-Id: I7cb8a7d1e891d10461c38b9025c02528bebb1d6b
CRs-Fixed: 2668443
2020-05-12 11:02:28 -07:00
Abhiram Jogadenu
46f94057b2 qca-wifi: Correct entires in vendor command list
Few entries were populated incorrectly in the struture.
This change corrects them.

Change-Id: I70e54514760f73dbc8ce86cf5e3cff8b6ad0ea0b
2020-05-12 18:41:50 +05:30
Shaakir Mohamed
5ee3424049 qca-wifi: Add support to OCE related config params
Adds support to OCE related config params to set
tx power,subnet id and ee report element.

Change-Id: I3909cdb032440bfdd7ae8b3024c2e3139d826551
CRs-Fixed: 2658248
2020-05-11 07:07:26 -07:00
Rathees kumar Chinannan
34f026196d qca-wifi: Command to set/get next freq for radar
command to set next frequency for radar:
cfg80211tool wifix setNxtRadarFreq <freq_value>

command to get next frequency for radar:
cfg80211tool wifix getNxtRadarFreq

Before every radar detection, user has to set this frequency
or else AP will choose existing way to select channel.
This command is applicable for both RootAP and Repeater.

Change-Id: I12063dadeb28c5b3792bfd4b30c859de8e6eb2f2
CRs-Fixed: 2679009
2020-05-07 12:22:20 +05:30
Manoj Ekbote
e89ceec318 qca-wifi: Add commands to control Non-inheritance feature
In MBSS IE feature, non-tx VAPs can inherit parameters from tx VAP unless
a non-inheritance IE is added to the VAP's profile. Currently, only
security parameters can be added to this IE. Add commands to control this
feature.
If it's 1, security IEs from tx VAP are not inherited and non-inheritance
IE is added.
If it's 0, security can be inherited. In EMA case, Tx VAP security can't be
inherited if it's WPA/WPS. Only WPA2/WPA3 can be inherited.

Change-Id: Idb8df981371bd6c23afa0f3bb655668d0e094438
2020-05-06 11:46:23 -07:00
Linux Build Service Account
64517f0719 Merge "qca-wifi: Add command to get CFR Capture Status" 2020-05-04 19:10:57 -07:00
Shiva Krishna Pittala
38debad496 qca-wifi: Remove Spatial Reuse commands from Wi-Fi params
There is a new vendor sub command added for configuring Spatial reuse.
All spatial reuse commands will be added under that vendor sub command.
Hence, remove the existing Spatial reuse commands from Wi-Fi params.

CRs-Fixed: 2631806
Change-Id: I13c218d7809c220b52d16dadaa8f628546afe0b4
2020-05-04 11:30:38 +05:30
Adil Saeed Musthafa
7fc354cba9 qca-wifi: Add command to get CFR Capture Status
Add command enum to get CFR capture status

CRs-Fixed: 2650814
Change-Id: I1a6546eff604556f2720c69222d83d1f35f2e437
2020-05-01 14:38:35 -07:00
Abhiram Jogadenu
c7e2ced126 qca-wifi: Add compile flag header for vendor commands
Import compile flags for vendor command commands.

Change-Id: I674adaeda79e432ff93df980af5c7f5e18cd65f6
2020-04-29 13:59:26 +05:30
Abhiram Jogadenu
214f48ac44 qca-wifi: Move command enums to new file
External applications require header files that are shared between
driver and application. So moving command enums and set/get
vendor command structures to a separate file.

Change-Id: I1171ae12f5ab8522253bde93fd15d41456f717f8
2020-04-27 08:15:33 -07:00
Padma Raghunathan
f1ac9b965c qca-wifi: CFR: Change streamfs directory path
Streamfs implementation is moved to cmn_dev since both WIN/MCL
need it for CFR. In QAL layer, parent directory was NULL,
whereas in qdf layer, parent directory is "qdf".

This change modifies the streamfs directory path used by CFR
userspace app.

Change-Id: I5d235dab66344e3baa8d9fac7ad2f12e2b9f13ea
2020-04-01 09:10:37 +05:30
Debasis Das
19657036e1 qca-wifi: Fix compilation warning in peerstats
Fix compilation warning:
 format '%u' expects argument of type 'unsigned int',
 but argument 2 has type 'long unsigned int' [-Wformat=]

Change-Id: I59b616b946ad9548379e7350b346c7688fbcf37c
2020-03-08 08:45:21 -07:00
Debasis Das
ca1e6f5577 qca-wifi: peerstats Fix -Wformat compiler warnings
Fix -Wformat compiler warnings:
1. format '%lx' expects argument of type 'long unsigned int',
   but argument has type 'uint64_t {aka long long unsigned int}'.
2. format '%lu' expects argument of type 'long unsigned int',
   but argument has type 'unsigned int'.

Change-Id: Ie9e4c6b244802df7da8be89db7f497e51fb43c9c
2020-02-20 23:02:52 -08:00
Linux Build Service Account
3bc0b63914 Merge "qca-wifi: Add Application support for tx msdu, bytes, retries" 2019-08-20 11:11:28 -07:00
Amir Patel
312cdd3f49 qca-wifi: Add Application support for tx msdu, bytes, retries
Add Application support for tx msdu, bytes, retries for
RDK stats

Change-Id: Ifb335065cc1b3d4aa9a6a2b74b9a88cc6aafd816
CRs-Fixed: 2509069
2019-08-14 02:50:27 -07:00
Amir Patel
56cf95a5a5 qca-wifi: Get Rix from 64-bit encoded value
Get Rix from 64-bit encoded value from
Rix, MCS, NSS, Preamble

Change-Id: I1794313166e740cf77240f4ab28a9772ce820099
CRs-Fixed: 2499069
2019-08-14 09:54:38 +05:30
velagapudi suresh
c8fc5d961f qca-wifi: Kale ToT compilation Fixes
Modified some of print formats to required print format identifiers.

Change-Id: I15191c534572cd50ab5e961c622fad1fe4b6726f
2019-07-11 11:29:07 +05:30
Aakanksha Doda
65b54add36 qca-wifi: Fix compilation warnings
Fix incompatible pointer types

Change-Id: Ib607ac495b23b8743671fe5b03654b43ad8a2061
2019-07-01 14:45:10 +05:30
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
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
Viyom Mittal
6fdadfaf1d qca-wifi: Remove compilation warnings in peerstats application
Remove unused variables and correct formatting issues.

Change-Id: Ifb6a905a74f533f9f3bac5dafe113590183688fe
2019-03-20 14:06:36 +05:30
Pranita Solanke
6d20eef9a2 qca-wifi: Remove compilation errors in peerstats application
Use WLANSTATS_CACHE_SIZE macro instead of WLANSTATS_MAX_NODE

Change-Id: I99bd8973e183cdac06c1a0a3eed6eea5e70f4599
2019-03-16 18:10:32 +05:30
Amir Patel
ad7152d001 qca-wifi: Add peerstats application
Add peerstats application to display peer rate stats
of following types:
a. Tx rate stats
b. Rx rate stats
c. Tx sojourn stats

CRs-Fixed: 2397918
Change-Id: Icf319b7eb4a73c8421341390132de6b3b2de1494
2019-03-14 16:34:15 +05:30
narayan
57cc49dfbe qca-wifi: Fix per peer config cfr stop command
Fix cfr stop wmi command and some other fixes checking for
sanity, error handling.

Change-Id: I9f0939fee2301f85e6e7b3338fd26e84676d7d6d
CRs-Fixed: 2407354
2019-03-04 00:21:34 +05:30
narayan
70480abe44 qca-wifi: CFR feature Component Support
Add CFR component support for legacy chipsets including
the implementation of stream filesystem interfacing

Change-Id: Id92a4592425e901cc86061ae5eccefc5438efd45
CRs-Fixed: 2397716
2019-02-21 22:28:24 -08:00
Vikram Kandukuri
0314441503 qca-wifi: Add CFR capture test application
Add CFR capture test application with streamfs APIs.
This is test application to read CFR dump from driver

Change-Id: I6925646678d1e87ecef2fb5405e992246a6d4eb4
CRs-Fixed: 2372061
2019-01-15 23:43:29 -08:00