Commit Graph

65 Commits

Author SHA1 Message Date
Alok Kumar
db0d42384f qcacmn: Add vendor event to update TCP parameters
Currently, TCP params are configured through cnss-daemon.

Add vendor event to configure TCP params through Wi-Fi HAL.

Change-Id: Ifb81b810f0fb830515fb4558d016778083323b5a
CRs-Fixed: 2348945
2018-11-14 01:10:55 -08:00
Kiran Kumar Lokere
7b5131b757 qcacmn: Add test config attribute for action frame tx in TB PPDU
Define new test config attribute to configure action frame
transmission in HE trigger based PPDU.

Change-Id: Iad53381ec75303ba0717292b1cff94e94cda3de5
CRs-Fixed: 2322602
2018-11-06 16:16:20 -08:00
Kiran Kumar Lokere
82ba870f2d qcacmn: Define test config attribute to configure HE SU PPDU Tx
Define new test config attribute to configure HE single user
PPDU transmission.

Change-Id: I4539ead98f31d0f0c4dee0534f6a8f29b8bd86cc
CRs-Fixed: 2322595
2018-11-06 16:16:17 -08:00
Kiran Kumar Lokere
fd7bd58138 qcacmn: Define test config for HE OM control config
Add a new wifi test config QCA vendor attribute to configure
HE operating mode control field bandwidth and number of
spatial streams.

Change-Id: Ibe70d28329353e48c7bb323ab367c63be9706038
CRs-Fixed: 2320749
2018-11-06 16:16:14 -08:00
Varun Reddy Yeturu
49149e898b qcacmn: QCA vendor command support for TWT test configuration
Define new QCA vendor specific test config attributes to configure TWT.

Change-Id: I6386fba6aa794a6e3ecd50e6672810d7738876ef
CRs-Fixed: 2320867
2018-09-28 01:21:32 -07:00
Kiran Kumar Lokere
7ba00f3455 qcacmn: Define new test config attribute for HE OM control
Define new test config attribute to configure the support
for receiving the MPDU with operating mode control field.

Change-Id: I8f4885ebc705e2d6acfa0c97bdcd6b2bb4baaaca
CRs-Fixed: 2305757
2018-09-11 12:03:00 -07:00
Kiran Kumar Lokere
cb0c0a1d8b qcacmn: Define new config attribute for MU EDCA param override
Define new wifi test config attribute to override the MU EDCA
params with defaults in the driver.

Change-Id: Ic12e322a82a558a5b01e13d6d5e288eb6933c1cc
CRs-Fixed: 2290381
2018-08-10 20:45:29 -07:00
Kiran Kumar Lokere
8b60f1e6c0 qcacmn: Define new wifi test config for HE MAC padding duration
Add new wifi test config for HE trigger frame MAC padding duration.

Change-Id: I77c5cc5c0998111a08d8e805b8c15610e79920d3
CRs-Fixed: 2273827
2018-07-17 21:26:23 -07:00
Kiran Kumar Lokere
0c66f3ef10 qcacmn: Define new test config for HE MU EDCA params
Add new wifi test configs for HE MU EDCA parameters

Change-Id: I1818d7d5ca106b1d5d22188e484fe630a757a67e
CRs-Fixed: 2273817
2018-07-11 18:45:59 -07:00
Kiran Kumar Lokere
9c0d0e0422 qcacmn: Define new test config for Tx beamformee NSTS
Add new wifi test config for Tx beamformee NSTS configuration

Change-Id: I60244985934c042a0b8178ace3a856de66bcaf61
CRs-Fixed: 2269068
2018-07-06 16:34:28 -07:00
Kabilan Kannan
762ad5db89 qcacmn: Add SAR V2 support
Add changes to support SAR V2 power limits

Change-Id: Ife7af8db51a45660bc27d1e5b857e38f4dd40935
CRs-Fixed: 2217069
2018-06-29 13:31:50 -07:00
Ashish Kumar Dhanotiya
6f00d693a9 qcacmn: Vendor command support to enable/disable GTX
Add vendor command support to enable or disable GTX.
Currently there is no vendor attribute to enable/disable
GTX from vendor command. Add vendor attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_GTX support through
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION vendor command
and with new wmi command WMI_VDEV_PARAM_GTX_ENABLE.

Change-Id: I8a740f9209ffd5f6438c3cfdd830ee2a76d0aa52
CRs-Fixed: 2261322
2018-06-21 01:58:58 -07:00
Nachiket Kukade
b29adc4a4f qcacmn: Implement the commands that cover APF 3.0 requirements
Android Packet Filter 3.0 requires the framework to be able to
read and write into the APF work memory in the Firmware. It
also requires to be able to enable or disable the interpreter.
New WMI commands are defined for read/write/enable/disable
operations.

Complete the implementation of these new commands.

Change-Id: I852d61eb213d9ae530e8a71069144ef35816f5b8
CRs-Fixed: 2184971
2018-06-20 12:53:13 -07:00
Nachiket Kukade
a52b8182da qcacmn: Rename legacy definitions containing BPF to APF
In implementation of Android Packet Filter, functions, variables,
definitions are named after BPF, which stands for Berkely Packet
Filter. The term was more appropriate for Link Layer packet
filters implemented in the Linux kernel, known as Linux Socket
Filters.

The term BPF is obsolete now, so rename it with the
appropriate acronym, APF.

Change-Id: I606afc747cddedb524a41cd8e5998400f04e69f6
CRs-Fixed: 2191531
2018-06-18 16:33:52 -07:00
Kiran Kumar Lokere
76da7996ae qcacmn: Add support to send regulatory sync event
Add support to send regulatory rules info in regulatory sync
event to user space for self managed regulatory when regulatory
info is updated.

Change-Id: Iac8704598fd181e47cb023405dfe592c4c93f51b
CRs-Fixed: 2242701
2018-06-13 21:00:54 -07:00
Kiran Kumar Lokere
993a384744 qcacmn: Define test config attribute to configure Tx beamformee
Add new wifi test config command attribute to configure Tx
beamformee support.

Change-Id: Iddf91920c8424cb5f5681f2cc5f98d667ec1f6f4
CRs-Fixed: 2244889
2018-05-21 06:06:14 -07:00
Naveen Rawat
46f13624dd qcacmn: Update qca_vendor with NAN attributes for TCP/IP info
Update qca_vendor with NAN attributes for TCP/IP info for IPv6
address transport port and transport protocol.

Change-Id: I2176cede68347c92b6f4ddddadfa56b9591ff8fa
CRs-Fixed: 2244176
2018-05-20 23:25:53 -07:00
Jeff Johnson
24d440bccb qcacmn: os_if: Fix misspellings in qca_vendor.h
Address the following issues in qca_vendor.h:
CHECK: 'Minumum' may be misspelled - perhaps 'Minimum'?
CHECK: 'staion' may be misspelled - perhaps 'station'?

Change-Id: Ifbeec8544ffefa45b9b211c888e65b418695ad38
CRs-Fixed: 2241579
2018-05-19 19:40:33 -07:00
Jeff Johnson
3d70ae460b qcacmn: os_if: Remove legacy markings
Per current guidance remove legacy markings.

Change-Id: I0d9c1ff59217a115770baea9edd17c57a10a3bc2
CRs-Fixed: 2230684
2018-05-18 02:17:33 -07:00
Jeff Johnson
3a1832e598 qcacmn: Fix typo "capabilites"
Replace typo "capabilites" with correct spelling "capabilities"

Change-Id: I8efa1d974ecabb1466bdf27ec305fd9960da0616
CRs-Fixed: 2238309
2018-05-17 00:46:46 -07:00
Naveen Rawat
6b44ef3460 qcacmn: Use NDP vendor attribute from qca_vendor.h
Update qca_vendor.h with latest NDP vendor attribute definitions
and use those definitions in NAN component.

Change-Id: I43f0457690b1c4027adcd0abe4ef2ac2a8f9b068
CRs-Fixed: 2239047
2018-05-14 16:50:48 -07:00
Edayilliam Jayadev
0a04a141c2 qcacmn: Add spectral hardware generation attribute
Add spectral hardware generation attribute to
QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CAP_INFO vendor command.

CRs-Fixed: 2225740
Change-Id: I81a2780319ea7b9c5a895dc3e41ad6730b8dd9bc
2018-05-14 11:39:27 -07:00
Kiran Kumar Lokere
cbb21ca115 qcacmn: Add wifi test config attribute for HE LTF config
Add wifi test config attribute to configure HE LTF.

Change-Id: Id7e8919a983d47e661b71c032c99fed69e010323
CRs-Fixed: 2221172
2018-04-13 09:30:39 -07:00
Poddar, Siddarth
697449805e qcacmn: Add new attibutes to NUD vendor subcommand
Add new attributes to vendor subcmd
QCA_NL80211_VENDOR_SUBCMD_NUD_STATS_SET.
This carry the requisite information to
start / stop the connectivity stats collection.

CRs-Fixed: 2168412
Change-Id: Ie8a60754780433f40ed4d103b737c5e8d4e59c28
2018-03-07 03:55:48 -08:00
Yeshwanth Sriram Guntuka
64de344cd7 qcacmn: Add vendor command to get HW mode info
Add vendor command that provides the current
information of WLAN hardware MAC and its
associated WLAN netdev interfaces.

Change-Id: I70ffbdf44ddc45fe606d0ad6e69f1b284cffc6fe
CRs-Fixed: 2194757
2018-03-06 19:11:48 -08:00
Kiran Kumar Lokere
42398afc08 qcacmn: Add vendor attribute to configure addba and noack
Add vendor wifi test config command attribute to send
addba request with user configuration and to set the
no ack policy.

Change-Id: I2afd62478961a774d16becba49889e855ecf7415
CRs-Fixed: 2196977
2018-03-05 21:43:58 -08:00
Kiran Kumar Lokere
2a450cc1c3 qcacmn: Add vendor attribute to configure WEP/TKIP in HE
Add vendor wifi test config command attribue to force
WEP/TKIP in HE mode.

Change-Id: Iaa00b296b7bcadf355eeddfa837f82a68d1c7b35
CRs-Fixed: 2196977
2018-03-05 21:43:55 -08:00
Venkateswara Swamy Bandaru
ce6b9444a4 qcacmn: Add command and attributes for MSDU queue depth threshold
Add QCA vendor command and attributes for vendor specific command to
set MSDU queue depth threshold in target per peer per tid. This command
contains mac addrees, tid, update mask and threshold value.

Change-Id: Ie119ff5aa333bcffcec0850464982dec59fb6a07
CRs-Fixed: 2162455
2018-02-23 06:05:58 -08:00
Kiran Kumar Lokere
ddf7f8840a qcacmn: Add new vendor sub command for wifi test configuration
Define new vendor sub command for configuring the device with
wifi test configuration. Add new test config attributes for this
sub command that are used to configure the device for testbed
configuration.

Change-Id: Ic866d54ba528525c94bcc7b4a5a8cf9c5c1408d0
CRs-Fixed: 2186214
2018-02-10 09:12:43 -08:00
Srinivas Girigowda
ce25ca3027 qcacmn: Add packet fate and driver dump enums
Add packet fate and driver dump enums.

Change-Id: Id27730c014536fb419574ba1270bc50654fea258
CRs-Fixed: 2176675
2018-01-26 00:34:28 -08:00
Abhishek Singh
d4212c2c9e qcacmn: Add vendor attribute to enable RSNIE test mode
Adds support for vendor attribute to enable RSNIE test mode. Once test
mode is set the driver will use the RSN IE's as-is from the connect
request. Exclusively used for the scenarios where the device is used as
a cert test bed and not recommended for production.

Change-Id: I5ae9856fe9fb0785a625cadd9a1fed1752bcb08a
CRs-Fixed: 2164530
2018-01-13 01:28:21 -08:00
Jeff Johnson
f2f8dea00b qcacmn: Define a QCA vendor command to retrieve SAR Power limits
Implement a command to retrieve the current SAR power limits.

Change-Id: I599b96b7efd26ca109ebdddfe1f064c649af5c95
CRs-Fixed: 2161445
2018-01-12 01:53:48 -08:00
Krishna Rao
fcb834f3bc qcacmn: Add QCA vendor command and attributes for RROP
Add QCA vendor command and attributes for vendor specific
Representative RF Operating Parameter (RROP) information. This
information is intended for optional use by external ACS. It provides
guidance values for some RF parameters that are used by the system
during operation, so that external ACS can utilize these to compare
between channels, bands, etc.

CRs-Fixed: 2152786
Change-Id: I911a96ad860331ab7af718c166806ffc7d1c5052
2017-12-19 05:45:32 -08:00
Paul Zhang
d6d1635ec8 qcacmn: Implement interface to set WLM level
WLAN Latency module (WLM) is added by fw to gain latency
because of schedule out of service like power saving,
scanning, roaming etc. per the level set by framework.

Change-Id: I6b8775e5f492b6f287d60d39610a544114185a23
CRs-Fixed: 2152290
2017-12-11 22:08:28 -08:00
Chaithanya Garrepalli
30927c532c qcacmn: changes for httstats application
Added a cdp call back to indicates HTT stats response
to ol layer

Change-Id: I90024469a7877419508c230358fdebe4c1525ee7
CRs-Fixed: 2133000
2017-12-08 00:21:23 -08:00
Adil Saeed Musthafa
65dabe448c qcacmn: Add WMI_UNIT_TEST_EVENTID extraction code
Add corresponding host side extraction for WMI_UNIT_TEST_EVENTID

CRs-Fixed: 2073983
Change-Id: Id8455f58d1ba1accdee7095b211abf9a25c7538c
2017-11-30 17:39:10 -08:00
Ashish Kumar Dhanotiya
1872489c4c qcacmn: Fill correct mode information for deleted sta
80211 mode information is not getting filled correctly,
fill correct 802.11 mode information.

Change-Id: I7013db95c5010bdaac1f84209534f63d6c7f5719
CRs-Fixed: 2142110
2017-11-30 05:27:51 -08:00
Vignesh Viswanathan
3c11bdd460 qcacmn: ADD Vendor Command to enable/disable FILS
Define new Vendor Command to enable/disable FILS.

Change-Id: I4c1a95312a28b184c36854fc2639fb2b431ff99c
CRs-Fixed: 2134802
2017-11-12 11:26:54 -08:00
Edayilliam Jayadev
20edcbb5e0 qcacmn: Add QCA vendor commands for spectral scan
Add following vendor commands and their vendor attributes for
spectral scan.

 1) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CONFIG
        Get current values of spectral parameters.
 2) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_DIAG_STATS
        Get stats for spectral scan debug.
 3) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CAP_INFO
        Get the spectral hardware capability.
 4) QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_STATUS
        Get the current status of spectral scan.

CRs-Fixed: 2126313
Change-Id: Id1e9b030f85de166696835fadd36d7856a89625d
2017-11-09 22:08:05 -08:00
Poddar, Siddarth
0a1742186a qcacmn: Add vendor attribute to set/get wifi configuration
Add vendor attribute for data used by
VENDOR_SUBCMD_SET_WIFI_CONFIGURATION and
VENDOR_SUBCMD_GET_WIFI_CONFIGURATION subcommands.

Change-Id: If64da28c040868d5b42af202c647251db1a684c0
CRs-Fixed: 2137081
2017-11-06 19:21:26 -08:00
Vignesh Viswanathan
051ef2e644 qcacmn: Support FILS roaming
Add cmn support for the following:
- Update ERP info in RSO Start
- Update HLP info in a new command WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID
- Set/Delete PMK cache info with WMI_PDEV_UPDATE_PMK_CACHE_CMDID
- Process FILS TLV in Roam Synch Indication and update the FILS info
  [seq number,PMK, KEK, realm] to Supplicant.

Change-Id: I239bf5d6c4455d39181e335dbf73bcade16aee8e
CRs-Fixed: 2089128
2017-10-18 18:28:54 -07:00
Sandeep Puligilla
4296edb2c9 qcacmn: vendor support to block scans
Add vendor command support to block all the
scans triggered from host.

Change-Id: Id225ebade05f6cba11382b0dd8f67e9d1ee006e4
CRs-Fixed: 2080146
2017-10-17 11:48:44 -07:00
Mukul Sharma
9b53a47e39 qcacmn: Add AUTH STATUS and RETAIN CONNECTION attribute
Add QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_STATUS /
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RETAIN_CONNECTION attribute in vendor
QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH_INDEX subcmd.

Change-Id: I1a96a240c314c1c4199b2fac38ebbaa4f667b28d
CRs-Fixed: 2045932
2017-10-13 09:48:13 -07:00
Anurag Chouhan
6e56986cae qcacmn: Introduce QCA_NL80211_VENDOR_SUBCMD_HANG
Event indicating to the user space that the driver has detected an
internal failure. The driver is expected to recover from such a failure
automatically, e.g., by resetting the device.
This event carries the information indicating the reason that triggered
this detection.

Change-Id: Ia13e6f102e5e18ec4864ed258728369d51a77ff4
CRs-fixed: 2120886
2017-10-06 07:58:02 -07:00
Krishna Rao
ddd81ae024 qcacmn: Add 11ax channel property flags for use with external ACS
Add 11ax channel property flags for use with external ACS. Use the
remaining available bits in qca_wlan_vendor_channel_prop_flags for the
first few 11ax flags. Then add qca_wlan_vendor_channel_prop_flags_2 as
a continuation of qca_wlan_vendor_channel_prop_flags and add the
remaining 11ax flags there. qca_wlan_vendor_channel_prop_flags_ext is
not used since it is currently not intended for holding such
information.  Rather it is meant for holding additional control
information related to features such as DFS, CSA, etc.

CRs-Fixed: 2115743
Change-Id: I5294f9a8649f79f7012cd790119be773b40f049d
2017-10-04 14:36:03 -07:00
Nachiket Kukade
6e3ecc0cb4 qcacmn: New vendor sub-cmd id to change BmissFinalBcnt dynamically
To support the CLD implementation to change BmissFinalBcnt dynamically
(Change-Id: Ie3c3895d48248d349400e755f07edc807e335b44), add new vendor
sub-command id QCA_WLAN_VENDOR_ATTR_CONFIG_TOTAL_BMISS_CNT as 52.

Change-Id: I8df8faab1b49d8fc30a1b775d5f5fec5139ca25d
CRs-Fixed: 2084255
2017-09-27 19:23:53 -07:00
Ganesh Kondabattini
727c4b3880 qcacmn: Add support for QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS
Add support for handling vendor sub command
QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS and its attributes.

CRs-Fixed: 2100587
Change-Id: I8734deb4eb2e2481329131d47b747d266463350a
2017-09-25 13:21:41 -07:00
Anurag Chouhan
d40d1d1df4 qcacmn: Add wmi interface command to support debug stats
Add wmi interface command to support set/get NUD debug stats.

Change-Id: I2c5e9e2f6b0bb2e7b7b0a6404e939b33bffa3f18
CRs-Fixed: 2011463
2017-09-21 16:41:48 -07:00
Mukul Sharma
7d978533ad qcacmn: Define a QCA vendor attribute to update the listen interval
This commit defines an attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_LISTEN_INTERVAL which allows the currently
used listen interval to be updated using
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION. This update applies
only during the association and is done without updating the AP about
the change.

Change-Id: Ie7b2016c1d3d06c7fcb5099b53e3fc0a159cc246
CRs-Fixed: 2048443
2017-09-07 02:01:45 -07:00
Ashish Kumar Dhanotiya
cc0b0dae42 qcacmn: Add an attribute to represent PNO/EPNO Request ID
This request ID was wrongly referred from the REQUEST_ID in
enum qca_wlan_vendor_attr_gscan_config_params which is mapped to
QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_LIST_PARAM_NUM in PNO Config.
Hence define a different attribute to represent the request ID
for the PNO Config.

CRs-Fixed: 2095917
Change-Id: I76289468fe926f5bd157c4d37b45bbf5a0ebdfb7
2017-09-07 01:21:20 -07:00