Grafik Komit

22668 Melakukan

Penulis SHA1 Pesan Tanggal
Manikanta Pubbisetty
d60dfebd0b qcacld-3.0: enabled EXT GRP IRQs after power save exit
Currently in the WoW design of Moselle, EXT GRP IRQs are
enabled before sending SMP2P power save exit message is
sent to the FW. Because of this, any pending IRQs in the
GIC will immediately fire and could race with the SMP2P
power save exit logic. Any access to the registers done
before power save exit would result in system errors.
Enable the EXT GRP IRQs after sending power save exit
command will fix the problem.

Change-Id: I16f580279b5aa24861ab5111b9c13db3e38063f4
CRs-Fixed: 2925554
2021-04-20 09:40:52 -07:00
snandini
592d540d18 Release 5.2.0.230M
Release 5.2.0.230M

Change-Id: Id6be5f45d04b1b1d51943e146e83ab1835804803
CRs-Fixed: 774533
2021-04-20 03:32:15 -07:00
Tiger Yu
fee8629f3e qcacld-3.0: Add is_2g_iface support in WLAN IPA
With IPA TX two pipes support, TX rings for 2G and 5G traffic
are separated. As a result, WLAN needs to let IPA driver
know if the interface registered to IPA is 2G or 5G so that
IPA could differentiate and designate the interface for the
correct IPA TX pipe.

In this change, a new param is_2g_iface is added for the
event interface between protocol and IPA component. And
this new param is applicable only STA_CONNECT and
AP_CONNECT where wlan will register interface details
including is_2g_iface to IPA driver.

For two pipes implementation, is_2g_iface piggy-backs
session_id when passing it to CDP layer. And CDP layer
needs to decode session_id and is_2g_iface.

Change-Id: I5e02ec6969bb2f77d6b40e89d5a9451a7bb0be9d
CRs-Fixed: 2702704
2021-04-20 03:32:15 -07:00
snandini
e683e21ef2 Release 5.2.0.230L
Release 5.2.0.230L

Change-Id: I559f25a94a67040d92197423f839802827d23bed
CRs-Fixed: 774533
2021-04-20 01:32:06 -07:00
Abdul Muqtadeer Ahmed
de4bda2169 qcacld-3.0: Remove the NULL check for a pointer which will never be NULL
psoc_cfg is pointing to the address of a structure variable,
which will never be NULL.

To address this remove the NULL check.

Change-Id: I12f539ce2feace550c403ffc996fa315994470a7
CRs-Fixed: 2911862
2021-04-20 01:32:06 -07:00
snandini
614e92f4bb Release 5.2.0.230K
Release 5.2.0.230K

Change-Id: I13aca115b3263de5f01551fe89a75fed97bdc28b
CRs-Fixed: 774533
2021-04-19 23:31:10 -07:00
Utkarsh Bhatnagar
3f913a73f4 qcacld-3.0: Set ldpc for more than 20 Mhz TDLS link
If ldpc bit is not set in case AP width more than
20 Mhz, it may cause crash.
So, force set LDPC coding in such cases.

Also, force set LDPC if peer supports MCS 10 and 11.

Change-Id: I14bb4b56d0efb660ad19587b319badfac9083f21
CRs-Fixed: 2915086
2021-04-19 23:31:10 -07:00
Jianmin Zhu
1428d10b02 qcacld-3.0: Enable TX_AGGREGATION_SIZE for auto platforms
HST/Genoa/Rome support TX_AGGREGATION_SIZE, need enable it.

TX_AGGREGATION_SIZE is introduced in
change: I9e49ad5218f913f116cf4472f768f572740f14df .

Change-Id: I63fc729f3daf2b1757c5eb2fb839ed22ebce359a
CRs-Fixed: 2926281
2021-04-19 23:31:06 -07:00
snandini
37fe05c589 Release 5.2.0.230J
Release 5.2.0.230J

Change-Id: Ib8f7eb383e08650009821381b0bf48d301bb347e
CRs-Fixed: 774533
2021-04-19 13:32:16 -07:00
Arun Kumar Khandavalli
4a37a51d9f qcacld-3.0: update the hdd with the eht params
update hdd wiphy with the eht params.

Change-Id: I9d8415bda1cfe32d7fc97859b637170a59ba6178
CRs-Fixed: 2911910
2021-04-19 13:32:16 -07:00
bings
b9aa44c349 qcacld-3.0: make CONFIG_CNSS_UTILS as wlan driver build option
CONFIG_CNSS_UTILS is controlled in the msm kernel config, while it is
not in the customer kernel.

Since it is a wlan feature, make CONFIG_CNSS_UTILS as wlan driver build
option, so that driver can enable this feature dynamically when building
wlan driver.

Change-Id: Ib8232a67da33e4613524c67cead5b90014fd371d
CRs-Fixed: 2922303
2021-04-19 13:32:12 -07:00
bings
c9abaf71bb qcacld-3.0: Add wma layer 11BE api
Implement 11BE api in wma layer

Change-Id: I23c8fae9e27f972dadfe8a517954481de8f92de0
CRs-Fixed: 2912568
2021-04-19 13:32:07 -07:00
snandini
f79bb54802 Release 5.2.0.230I
Release 5.2.0.230I

Change-Id: Ic791e3e35a4c26c7b404ed4b53fe2796c705aa7c
CRs-Fixed: 774533
2021-04-19 09:35:57 -07:00
Bapiraju Alla
83da7ae1f1 qcacld-3.0: Increase latency detection timer timeout and threshold
Currently latency detection timer timeout and threshold values are
used as 2 and 1.9 seconds respectively. After going through few
issues, 2seconds found to be too aggressive and hence increasing
these values to 4 and 3.9 seconds respectively.

Change-Id: Ie9314b517a7a8e47460effc86e5b3fb939dcbb33
CRs-Fixed: 2921474
2021-04-19 09:35:57 -07:00
snandini
52dbd1cc99 Release 5.2.0.230H
Release 5.2.0.230H

Change-Id: Ie3addc5fbbd718db6de100ffd19be225802fe4d8
CRs-Fixed: 774533
2021-04-19 05:06:46 -07:00
Jianmin Zhu
f797a568e9 qcacld-3.0: Return 0 if rx aggregation missed
In QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION cmd parameters,
If attribute QCA_WLAN_VENDOR_ATTR_CONFIG_RX_MPDU_AGGREGATION is missed,
should return 0 instead of failed.

Change-Id: I5e570b9237768800e06d839814919d058a5e1d1f
CRs-Fixed: 2926104
2021-04-19 05:06:46 -07:00
snandini
17c4d6f4d0 Release 5.2.0.230G
Release 5.2.0.230G

Change-Id: I45f2b5c03e362974743d5e4480c0f07ad027af03
CRs-Fixed: 774533
2021-04-19 00:52:55 -07:00
Arun Kumar Khandavalli
ed63330aa9 qcacld-3.0: Define new 11be definitions
Add the required new definitions for 11BE.

Change-Id: I29bcca5d9622d98d7fd06f559269e5b5f3191bb0
CRs-Fixed: 2910604
2021-04-19 00:52:55 -07:00
Arun Kumar Khandavalli
65fb7ff5c2 qcacld-3.0: update the mac ctx with eht caps
update the mac ctx with eht caps.

Change-Id: If3e3b33662587336374bcd2a16b1d137a35b990d
CRs-Fixed: 2911899
2021-04-19 00:52:45 -07:00
Arun Kumar Khandavalli
40e2d02202 qcacld-3.0: update mlme caps for the EHT
update the mlme data structures with eht capabilities.

Change-Id: I3d6b450d673d07560086383a6e32f5602d59ae41
CRs-Fixed: 2911882
2021-04-19 00:52:39 -07:00
Arun Kumar Khandavalli
061fe45f3c qcacld-3.0: update the eht capabilities received from firmware
Update the wma structures with the eht capabilities received
from the firmware.

Change-Id: If571ab857e1f71b972655d9d48902b28e3974b1e
CRs-Fixed: 2911863
2021-04-19 00:52:34 -07:00
Abdul Muqtadeer Ahmed
5e3c6e4da0 qcacld-3.0: Add checks for the assoc req/res lengths
In some case assos req/res length can be less than their respective
fixed fields due to which they get assigned to negative value
but as they are unsigned variable these req/res lengths gets convert
to large positive values. So during page memory allocation for these
lengths, page memory allocation failure happens.

To address the above issue add checks for both assoc req/res lenghts
before calculating the value for them.

Change-Id: Iff404e72420b27bc2a467a25fe530f135ee97c91
CRs-Fixed: 2903644
2021-04-19 00:52:29 -07:00
snandini
9908dd8386 Release 5.2.0.230F
Release 5.2.0.230F

Change-Id: I2a7126507475ce0cf5386cee049e06c41746a89b
CRs-Fixed: 774533
2021-04-18 10:43:01 -07:00
Abhishek Ambure
f0cc4d0d06 qcacld-3.0: Update protected bit for mgmt action frames
Host checks RMF enable and robust action frame category, if both are
true then sets protected bit in mac header of management action frame.

Change-Id: I2d57c52b66ff7abd44dd02b73ad18f13fbdef009
CRs-Fixed: 2917058
2021-04-18 10:43:01 -07:00
Jeff Johnson
7d2bb43148 qcacld-3.0: Use makefile flag to select DLKM makefile
The kernel is transitioning from AndroidKernelModule.mk to
Build_external_kernelmodule.mk as the helper makefile for building
DLKMs. As the new makefile was introduced for the "taro" platform,
initially a platform check was introduced to determine which makefile
to include.  However this is not a scalable approach.

Recently the flag TARGET_USES_KERNEL_PLATFORM was added to the build
system, so update the logic such that when this flag is set to 'true'
we will use Build_external_kernelmodule.mk.

Change-Id: I2200b27753263b931cebdbff5445d50b1fc2b94f
CRs-Fixed: 2913254
2021-04-18 10:42:57 -07:00
snandini
dc91276973 Release 5.2.0.230E
Release 5.2.0.230E

Change-Id: Ia6eb62f8cfc3154d2b72297bb32dd1d9779f26f5
CRs-Fixed: 774533
2021-04-16 17:42:52 -07:00
Deeksha Gupta
e5f0ccb0f5 qcacld-3.0: Handle new reason code for TWT session
Firmware rejects TWT setup request due to roaming
in progress and channel switch with reason code
WMI_ADD_TWT_STATUS_ROAM_IN_PROGRESS,
WMI_ADD_TWT_STATUS_CHAN_SW_IN_PROGRESS.

Add support to handle TWT setup with new reason code.

Change-Id: I07dffc4a9ef10886c202f7c15300458018a7b7b6
CRs-Fixed: 2908380
2021-04-16 10:20:37 -07:00
snandini
2fb682786f Release 5.2.0.230D
Release 5.2.0.230D

Change-Id: I30c488ec7b183ac21c4c32dccf2dcfe836ce94b8
CRs-Fixed: 774533
2021-04-16 09:19:55 -07:00
bings
e4742ba697 qcacld-3.0: check 11be IE is configured or not from userspace
When starting SAP, If 11be IE is configured from userspace,
driver need check concurrency, update phymode as 11be and notify mlo mgr.

Change-Id: I22fdec5d978c91a8fc292af49462f045922254ae
CRs-Fixed: 2908938
2021-04-16 09:19:55 -07:00
snandini
d2a9541568 Release 5.2.0.230C
Release 5.2.0.230C

Change-Id: I8b06b1766c35ee2f0d92b48c8049f107875131e5
CRs-Fixed: 774533
2021-04-16 07:20:02 -07:00
sheenam monga
d672135750 qcacld-3.0: Release reference of in_dev after fetching ipv4 list
Currently, while fetching ipv4 list in_dev is get via
in_dev_get and ref count of in_dev is incremented but
after fetching ip list in_dev_put is not used. So,
ref count will not be zero and may lead to issue while
destorying in_dev.

Fix is to use in_dev_put to maintain ref count to free
in_dev at rmmod.

Change-Id: I20a73127bb41c807315dbcd18adc1fb4278aa6d3
CRs-Fixed: 2921256
2021-04-16 07:20:02 -07:00
snandini
818b142548 Release 5.2.0.230B
Release 5.2.0.230B

Change-Id: I313f3b85a52e6d01652513a2372ffd5e6fc7a580
CRs-Fixed: 774533
2021-04-15 22:52:19 -07:00
Bapiraju Alla
72752feac1 qcacld-3.0: Add lim APIs implementation to support 11be assoc
Currently, most of the EHT APIs are just defined. Add implementation
to handle association request and association response frames to
support 11be association.

Change-Id: Ic8d29d79b7e099ad81169bcfc22476e4223bd846
CRs-Fixed: 2908114
2021-04-15 22:52:19 -07:00
bings
9c55e8a7d9 qcacld-3.0: Add APIs to update 11be target capabilities
As part of 11be enhancements, firmware will send the 11be hardware
capabilities that are supported by the device. Add new HDD APIs to
store these 11be capabilities in the host driver.

Change-Id: Ib3baa41ea3d8ef2ce49b88e4b48d8bc29556cd66
CRs-Fixed: 2908045
2021-04-15 22:52:14 -07:00
Bapiraju Alla
8b9c2b1322 qcacld-3.0: Add support for 11be parameters configuration
As part of 11be enhancements in the driver, new configuration
parameters will be added. Define new APIs to support EHT
configuration parameters in the host driver.

Change-Id: Ic1890943a2f941e864d0df102e4954aac75d9f11
CRs-Fixed: 2908030
2021-04-15 22:52:08 -07:00
Bapiraju Alla
85ab46fde0 qcacld-3.0: Add support for EHT in management frames handling
Current driver implementation supports management frames handling
till 11ax. As part of 11be enhancements, new information elements
were added. To support 11be in host driver, update management
frames handling to support EHT information elements.

Change-Id: Id7064cbfe0b2c6a413be20c3ea64747a39312845
CRs-Fixed: 2907983
2021-04-15 22:52:04 -07:00
snandini
0939e544f3 Release 5.2.0.230A
Release 5.2.0.230A

Change-Id: I1d3a0f0d268d0f83e0ba608b244dc447b261c91f
CRs-Fixed: 774533
2021-04-15 19:50:42 -07:00
Aditya Kodukula
62b11a5b0c qcacld-3.0: Correct logical error in testing netlink attributes
In the function __wlan_hdd_cfg80211_set_wifi_test_config, if the
rf_test_mode is enabled in the 6GHz Security Test Mode vendor attribute
config, the if check returns the function without continuing to test the
next attribute. So to prevent this, correct the logical error.

Change-Id: Id42ead2416ce48b9203f8b4a085f80c7a33bad8e
CRs-Fixed: 2920598
2021-04-15 19:46:19 -07:00
snandini
5b6d52e875 Release 5.2.0.230
Release 5.2.0.230

Change-Id: If0cd2f7728a2a14cbc7a1d0aee878c58b40edcbb
CRs-Fixed: 774533
2021-04-15 17:45:53 -07:00
Aditya Kodukula
d915a3dd26 qcacld-3.0: Restore the ini parameter etsi13_srd_chan_in_master_mode
The commit Ic695e36e9b4fc9952cc405d1345b4a6a7d543dad, removed the
ini parameter etsi13_srd_chan_in_master_mode assuming that the
ini is obsolete and no longer being used. But, the ini is still
being used by the OEMs. So, revert the previous changes.

Change-Id: I6b2ba8b8e41ab96981b92e5ff4b2f610f92d7e43
CRs-Fixed: 2923688
2021-04-15 17:45:52 -07:00
snandini
cfbec79b78 Release 5.2.0.229Z
Release 5.2.0.229Z

Change-Id: I278b7fc4cc1dabb02f819b7775e0f605e50a1a53
CRs-Fixed: 774533
2021-04-15 09:29:22 -07:00
bings
162eed4f6f qcacld-3.0: Add eht_op and eht_cap of 11be for sme layer
Two new IE eht_op and eht_cap will be added for 11be.
Implement eht_op and eht_cap changes for sme layer.

Change-Id: If6d11e2cad2ff87ac82b07c7ecb9dd05ac53f0ee
CRs-Fixed: 2908058
2021-04-15 09:29:21 -07:00
snandini
e1569c87b8 Release 5.2.0.229Y
Release 5.2.0.229Y

Change-Id: Id22a5968f5f56f7e4e832a75f93ccdf2ffe30ea1
CRs-Fixed: 774533
2021-04-15 07:03:21 -07:00
bings
b9792c62d3 qcacld-3.0: Add 11BE phy mode in csr/sap layer
Implement 11BE phy mode in csr/sap layer

Change-Id: I7f35379b94dcb64dec0da463b95967125dc7fd14
CRs-Fixed: 2908011
2021-04-15 07:03:21 -07:00
snandini
da147eba76 Release 5.2.0.229X
Release 5.2.0.229X

Change-Id: I6fe9633cf3410773668b4887d69399869c51f783
CRs-Fixed: 774533
2021-04-15 04:58:49 -07:00
wadesong
aa459740c5 qcacld-3.0: Add support for rome and genoa
Add soft links to .qca6174 and .qcn7605 so the latest code
can be compiled with rome and genoa chipsets.

Change-Id: I364b38d7f285c2148f78a915616fcc602b3b47f7
CRs-Fixed: 2912418
2021-04-15 04:58:49 -07:00
snandini
9c4b0b655a Release 5.2.0.229W
Release 5.2.0.229W

Change-Id: I2afe4f869866151b4fb1cd0f9666e2f0c92012d3
CRs-Fixed: 774533
2021-04-15 02:56:11 -07:00
Srinivas Girigowda
997c8a07aa qcacld-3.0: Add support to reject TWT setup incase of concurrency
Add support to reject TWT setup request if received when the below
mentioned concurrency scenario exists.

STA + SAP: SCC or MCC: Reject TWT setup
STA + P2P: SCC or MCC: Reject TWT setup

Change-Id: I5c4c2bcc032276a0b83b7a46a44dbf7933cda29f
CRs-Fixed: 2923726
2021-04-15 02:56:11 -07:00
Vulupala Shashank Reddy
2ac9c7e39c qcacld-3.0: Fill timestamp for Mgmt tx packets for packet capture
Currently in packet capture mode for tx mgmt packets tsf_delta
filled in tsf timeestamp, which is incorrect.

So, fill tsf timestamp in Mgmt tx packets for packet capture.

Change-Id: I90da072ee6d7e0f7a9b6271086e163a71208b7f5
CRs-Fixed: 2916982
2021-04-15 02:56:06 -07:00
snandini
07e0fb8a78 Release 5.2.0.229V
Release 5.2.0.229V

Change-Id: I19ca36f69e610a61605a0c8421dd43879c259fb9
CRs-Fixed: 774533
2021-04-15 00:12:15 -07:00