Commit Graph

59 Commits

Author SHA1 Message Date
nwzhao
6c686ea7c5 qca-wifi: [component_dev]Add command to enable RNR selective add
Add command to enable RNR selective add
CRs-Fixed: 2752239

Change-Id: I6e679625c87c07371dbe3b096528f1153bc93feb
2020-08-27 02:10:59 -07:00
Srinivas Pitla
11382f444f qca-wifi: Dynamic Tx VDEV config
This change adds new commands for MBSS Tx VDEV config

Change-Id: If98680da498a06a7279d3dda7083632f3bb0dd3c
CRs-Fixed: 2760569
2020-08-26 14:10:55 -07:00
Ruben Columbus
0479f052dd qca-wifi: add fils stat variables to apstats
use vdev_cp_stats api to set values for fils stats
for later use.
create new macro for fils to use it in get_priv_int api.

Change-Id: Ia8ce7646c9cfd7904fe7826ca6d3d36aa2f4c14e
2020-08-24 12:28:26 -07:00
Ruben Columbus
272a0a20aa qca-wifi: add new variables for 5G/6G apstats
add new cs_ type variables to be used with vdev_cp_stats api.
apstats will use updated values and show them when getting called.

Change-Id: Ie90db9dc773c6624c912c62599be615042ebe1dd
2020-08-24 11:57:10 -07:00
Aditya Sathish
6f5a20fefe qca-wifi: Add support to configure ACS pre-CAC only selection
Add support to enable/disable pre-CAC only selection for the
ACS algorithm.

Add a OL_ATH_PARAM macro for controlling the mentioned
pre-CAC configuration.

CRs-Fixed: 2758597
Change-Id: I4b5db5e912fb4229b10abcf078065e2633e61fef
2020-08-19 21:23:41 -07:00
Anirban Sirkhell
16f17a6cb1 qca-wifi: Add commands to get max users for MU
Provide commands to retrieve the max users
per-PPDU for Uplink and Downlink MU transmissions

Change-Id: Ic26e0bb2fb082750c1d99fdcc9c742ecde76c7f6
2020-08-15 23:21:20 -07:00
Linux Build Service Account
f9d66ccb65 Merge "qca-wifi: Display new metrics in peerstats tool" 2020-08-14 21:07:15 -07:00
Rhythm Patwa
1c5cbefadc qca-wifi: Add cmd support for MBSSID control frame configuration
Add cmd support for MBSSID control frame configuration.

Change-Id: I3ebc8b226d9fb33d4eefb24102f0afe9d80c28ff
2020-08-13 02:17:17 -07:00
Rhythm Patwa
e1333ed1dd qca-wifi: Add Puncture Band command support
Add 'puncture_band' commmand support to configure the Punctured band
setting for AP. The command takes a bitmap argument, where each
bit corresponds to a 20MHz band. For instance for AP configured
for 80MHz BW the least 4 bits will be valid bits.

Change-Id: Ic3ce03776477c63af8c1d735a7eacd5aa19dd51f
CRs-fixed: 2749137
2020-08-13 02:15:33 -07:00
phadiman
d88a0fb009 qca-wifi: Display new metrics in peerstats tool
Display new metrics in peerstats tool

Tx Stats
1. num_ppdus
2. num_bytes
3. phy_rate_actual_su
4. phy_rate_actual_mu
5. ofdma_usage
6. mu_mimo_usage
7. bw_usage_avg
8. bw_usage_max
9. pkt_error_rate

Rx Stats
1. num_ppdus
2. num_bytes
3. phy_rate_actual_su
4. phy_rate_actual_mu
5. ofdma_usage
6. mu_mimo_usage
7. bw_usage_avg
8. bw_usage_max
9. pkt_error_rate

This tool runs as daemon and listens to netlink
events sent by driver

CRs-Fixed: 2740231
Change-Id: I3f967ac2beae61ed60f0262352b72fe2d9ec1e4d
2020-08-12 10:08:36 -07:00
Jhalak Naik
d6380797ea qca-wifi: Support to add get_call_map to get dump
Required for Instrumentation of code using cc_func() to find errors
and trace function calls.
This supports printing dump of functions that are called during
test case execution for CBT.

Change-Id: Idbf5e84deb8538dc85dadcbca9ad07bb57a67db9
2020-08-12 13:48:03 +05:30
Aditya Sathish
a0e771746c qca-wifi: Add support to set DCS wideband policy
Add support to set the DCS wideband policy through
cfg80211tool.

CRs-Fixed: 2750494
Change-Id: If6c8b5a32f9af6f41adb752b19a2a3d7b0221a65
2020-08-11 01:48:00 -07:00
Ramanathan Choodamani
7c51af3006 qca-wifi: Add cmd support to MSCS Procedures
Adds support to enable/disable Mirrored Streaming
Classification Service Procedure in vap level.

Change-Id: I2e27f0be294e1792ba9a6ad7a0354515c5ee6cc0
CRs-Fixed: 2687735
2020-08-06 11:04:39 -07:00
Vignesh Mohan
42c8cdafef qca-wifi: Introduce enums for DFS postNOL frequency and mode
Introduce enums for set DFS postNOL frequency and mode and add
the corresponding members in the set and get command structure.

Change-Id: I3e25ee3aaf0c165a2923667a3210f2cc8af0af4a
2020-08-05 16:16:20 +05:30
Hariharan Basuthkar
5173da1af5 qca-wifi: Add a command to enable additional triplets
The requirement is to provide a user configurable command to enable 6G
additional operating triplets within the Country IE.

The user can set the maximum bandwidth by applying the following
algorithm:

1) To enable only opclass 131, set the maximum bandwidth value as 20.
2) To enable upto opclass 132, set the maximum bandwidth value as 40.
3) To enable upto opclass 133, set the maximum bandwidth value as 80.
4) To enable upto opclass 134, set the maximum bandwidth value as 160.

The above requirement is configurable via a cfg80211tool
command:
cfg80211tool wifix enable_additional_triplets <max_bw value>

Command to fetch the max_bw set:
cfg80211tool wifix g_enable_additional_triplets.

Change-Id: I38d60afa5c6fd888b418eec29448bca661554659
CRs-Fixed: 2731637
2020-08-03 05:35:12 -07:00
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