Commit Graph

44 Commits

Author SHA1 Message Date
Shwetha G K
0e164ad61f qca-wifi: Modify rawsim_debug to support debug levels
Modify rawsim_debug command to support levels of rawmode
simulation. level 0: Disable logging 1:Header logging 2:full
packet logging. Also add encap and decap frame count support.

Change-Id: Ia24994ecaf14da1fa1c303b69278fad27c18c75e
2020-07-25 10:41:55 +05:30
Subrat Mishra
8c9a192cd4 qca-wifi: Enable ATF stats feature commands
Enable ATF stats fearure commands and remove get_atf_stats.
Get ATF Stats command will be added as IOCTL command to use in
wlanconfig.

Change-Id: Ib029abf5401d9002151bbaa9eef1c199df3daa0c
2020-07-23 03:28:59 -07:00
Shaakir Mohamed
a69fa6f81f qca-wifi: Add cfg80211tool cmd to enable oce version override
Add cfg80211tool cmd to set/get oce version override.

Change-Id: Ib53aabdf8e6404253cf225c2c30972409727c1a8
CRs-Fixed: 2726565
2020-07-20 13:46:19 -07:00
Kousikan Mohanraj
c148f14047 qca-wifi: Add enable_statsv3 command
Add enable_statsv3 command for cfg80211tool

Change-Id: Iad26132db00e6486586ab9820f88241794072c25
2020-07-09 12:54:36 +05:30
Subrat Mishra
1898a5b975 qca-wifi: Add ATF stats enable command
Add Airtime Fairness stats enable command with stats timeout command.

Change-Id: Id9bf0a5a94a171344f2606205a6c7a439353f039
2020-06-22 22:01:33 -07:00
Himanshu Batra
6a0b7ae928 qca-wifi: Correct cfg80211 display_me_info param type
Correct cfg80211 display_me_info param type from set to get

Change-Id: Ib8c2b98b31d2ed179a9791d54ecf482060883f32
CRs-Fixed: 2715344
2020-06-21 19:54:45 -07:00
Linux Build Service Account
cfa713ccf2 Merge "qca-wifi: Add cfg80211 cmd for rpt_max_phy feature" 2020-06-19 06:10:14 -07:00
Linux Build Service Account
f09b017ac0 Merge "qca-wifi: Correct the DCS command" 2020-06-18 23:11:58 -07:00
Abhiram Jogadenu
668283c69f qca-wifi: Correct the DCS command
DCS command was assigned wrong enum value.
'get_nominal_noisefloor' command has duplicate entry in the table.
Correct the enum value and remove the duplicate entry.

CRs-Fixed: 2708425
Change-Id: I27c85b26e261bbe6f201bc434bcb97b1b9c75fa4
2020-06-17 17:14:10 +05:30
Shreedhar Parande
5394db9ecd qca-wifi: Add cfg80211 cmd for rpt_max_phy feature
Add new commands to set and get the rpt_max_phy feature.
This is radio specific configuration.

Commands:
cfg80211tool wifiX rpt_max_phy 0/1 - To disable/enable feature.
cfg80211tool wifiX g_rpt_max_phy -  To get feature flag state.

Change-Id: I421e2af15a0415596fbddb552673efd3d3be2070
2020-06-17 04:09:19 -07:00
Abhiram Jogadenu
4b4b373956 qca-wifi: Correct entries in command table
Few entries have return type as s32 which is not compatible with
the optimization. So move them back to XML files

Change-Id: Ib14aba6a65d73b3fd430533d8cfbe8693f1ff249
2020-06-08 17:25:15 +05:30
Shikha Bakshi
ffbea7e091 qca-wifi: Updating get_whc_wds to appropriate vendor command list
1. get_whc_wds entry was mapped incorrectly in the structure.
This change corrects them.

Change-Id: I1653b9bfc00d7b37977687f2a4e0299395855a75
2020-06-03 15:48:36 +05:30
Linux Build Service Account
0dc3603f12 Merge "qca-wifi: Correct the entry for chainmask in table" 2020-05-27 08:09:51 -07:00
Abhiram Jogadenu
a5ef7e242f qca-wifi: Correct the entry for chainmask in table
dump_chmsk_tbl was incorrectly filled as a set command instead of
get command. Correct the entry in the table

Change-Id: Iffa4a3bad427617ce70099761054f4db4b8cd5dd
CRs-Fixed: 2694965
2020-05-26 20:07:22 +05:30
Shwetha G K
f83c0a4dcd qca-wifi: Include interface name in cfr dump file
Include interface name in cfr dump file.

Change-Id: I57f7d570ee3e58c7ebd3925c03005903868f3738
2020-05-22 17:25:02 +05:30
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