Commit Graph

23416 Commits

Author SHA1 Message Date
Madan Koyyalamudi
1b369c9582 Release 5.2.0.241C
Release 5.2.0.241C

Change-Id: Iadc3eb9a05bb0b141f049a3cd701a197f6d4ba87
CRs-Fixed: 774533
2021-07-20 16:35:37 -07:00
Yu Tian
91567ccfcd qcacld-3.0: use more accurate tx/rx packets statistics
Sometimes TX/RX pkt statistics workqueue may be delayed.
The workqueue interval value is pre-defined and is used
for bandwidth vote. If the interval is inaccurate, whole
pkts statistics are not accurate, bus bandwidth vote is
wrong also. This change is aimed to use absolute workqueue
time delay instead of pre-defined value to get accurate
packets per milliseconds result.

Change-Id: I2b730fc36d4b5c42742ed9107d9a7e1f95eb4988
CRs-Fixed: 2976857
2021-07-20 16:35:37 -07:00
Madan Koyyalamudi
5d4b873507 Release 5.2.0.241B
Release 5.2.0.241B

Change-Id: I460649234cad52e5875129d63bf15e30cf7d99f3
CRs-Fixed: 774533
2021-07-20 11:09:02 -07:00
Jyoti Kumari
2bf017fa32 qcacld-3.0: Send firmware internal error to userspace
Send error to userspace if ack status is not successful due to
firmware internal error

Change-Id: Id3fbbc2099fbdf597e4aebf6b532086c47a07943
CRs-Fixed: 2991060
2021-07-20 11:09:02 -07:00
Jyoti Kumari
f93a29459a qcacld-3.0: Add support for TWT ack event
In case if TWT command (i.e setup, terminate, pause, resume,
nudge) comes from userspace and if the firmware is in below mode
1. scan in progress
2. roam in progress
3. CSA is in progress
4. any other error
then the command needs to be rejected in userspace context

Synchronize the TWT commands so that whenever command goes from
driver to firmware, then driver will receive ack event first
followed by respective event (i.e add dialog, delete dialog,
pause, resume, nudge) with below condition
1. If driver receives the ack event as successful then driver
   waits for this ack event, respective event with status of the
   TWT action frame over the air is expected.
2. If driver receives the ack event as failure then it will
   reject the TWT command request in userspace context.

Change-Id: Ib68b89b74b5e44f28106884efd7412cee49f5bd8
CRs-Fixed: 2987978
2021-07-20 11:08:57 -07:00
Yeshwanth Sriram Guntuka
3ca620bc89 qcacld-3.0: Enable flag to skip MSI cfg for mon rings
Enable config flag to skip MSI configuration for
monitor status and destination rings in MISSION
mode.

Change-Id: If295a5afc6731bbec1ad7182590e0015f3a911ba
CRs-Fixed: 2992169
2021-07-20 11:08:52 -07:00
Madan Koyyalamudi
ca327e75f9 Release 5.2.0.241A
Release 5.2.0.241A

Change-Id: Ie2a8dcc6cef0de02f7db5cbd3426515f293f0126
CRs-Fixed: 774533
2021-07-20 08:28:18 -07:00
Arun Kumar Khandavalli
a019216f89 qcacld-3.0: Remove mac address field from the csr session
csr has a mac address field which is redundant, the same can be
retrieved from the vdev object.

Hence remove the mac address field from the csr and update the same
from the vdev object.

Change-Id: I948cf858ddb26795e236aa4099186e5d10f504a6
CRs-Fixed: 2990480
2021-07-20 08:28:18 -07:00
Jia Ding
fff94d1c79 qcacld-3.0: Handle uplink delay TSF commands
Uplink delay TSF commands include TSF auto report enable, disable and
TSF uplink delay get. Auto report enable, disable commands controls
if targets will report clock delta to host. Uplink delay get command
will return the calculated uplink delay value to user space.

Change-Id: Ib01379074ab5565a9480348dc84531024e766b5a
CRs-Fixed: 2958814
2021-07-20 08:28:13 -07:00
Madan Koyyalamudi
39d0010157 Release 5.2.0.241
Release 5.2.0.241

Change-Id: If8ac713b5b015d2c461ef7b34142e5086cee4d83
CRs-Fixed: 774533
2021-07-20 05:13:46 -07:00
bings
297d852d44 qcacld-3.0: mlo client association for mlo sap
Implement mlo client association for mlo sap

Change-Id: I29520b52268a407ba1591f075be66816ad084a9f
CRs-Fixed: 2973148
2021-07-20 05:13:45 -07:00
Li Feng
39ef2d2c6d qcacld-3.0: Add sanity check for bmiss configuration from vendor cmd
Add sanity check for bmiss configuration from vendor cmd:
the device mode shall be station mode,
the final beacon miss value can't exceed ini max setting,
vdev_id shall correspond to the interface from vendor cmd.

Change-Id: I7ecdd40f69a8317ccd5362adbcad1159b1792ab7
CRs-Fixed: 2990863
2021-07-20 05:13:41 -07:00
Madan Koyyalamudi
9bd27df198 Release 5.2.0.240Z
Release 5.2.0.240Z

Change-Id: I4b703771387fe63af39a064d18f2fa232bf6717f
CRs-Fixed: 774533
2021-07-20 00:05:00 -07:00
Jia Ding
c62dc1e8b1 qcacld-3.0: Configure TSF auto report to target
As part of uplink delay report feature, send WMI cmd to
enable and disable target automatically sending TSF report
to HOST on a per vdev basis.

Change-Id: I79ef5bff5b91aca311ef16d7207e9dd2fb7ae0f2
CRs-Fixed: 2991975
2021-07-20 00:05:00 -07:00
Madan Koyyalamudi
aec1d7e898 Release 5.2.0.240Y
Release 5.2.0.240Y

Change-Id: I0d074f416ee79b102a54f2536bcbb0a6fd6d1c1b
CRs-Fixed: 774533
2021-07-19 13:41:44 -07:00
abhinav kumar
bf75fb43f0 qcacld-3.0: Enable SAE roaming with same PMK INI by default
Enable SAE Roaming with same PMK feature INI
sae_single_pmk_feature_enabled by default.

Change-Id: I5be1b24fd77f5296574276af02b0098ac86d9730
CRs-Fixed: 2985116
2021-07-19 13:41:44 -07:00
Madan Koyyalamudi
0d5fa7b0d2 Release 5.2.0.240X
Release 5.2.0.240X

Change-Id: I660cee62eb2e5eb335b0f69af4ae54ce04bac147
CRs-Fixed: 774533
2021-07-19 08:15:44 -07:00
Utkarsh Bhatnagar
2ed83c128c qcacld-3.0: Add support for TDLS 11AX for 6Ghz band
Add support for TDLS 11AX for operations on 6Ghz
band.

Change-Id: I56e27f1e3560cd4374ba186f161bbc2ad945fe1d
CRs-Fixed: 2990682
2021-07-19 08:15:44 -07:00
Chaoli Zhou
6610d8c5dd qcacld-3.0: Support extended avoid frequency list updating
Add sub vendor command support for extended avoid frequency
list(QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT). It will
exclude the channels that application doesn't prefer and
update to regulatory component.

Change-Id: I5164a0b2c4769e9749ef0e8140bded3f530087d4
CRs-Fixed: 2974529
2021-07-19 08:15:39 -07:00
Utkarsh Bhatnagar
4f49019b64 qcacld-3.0: Add 6Ghz band HE capabilities for TDLS frames
Add 6Ghz band HE capabilities for TDLS setup request and
setup response frames.

Change-Id: I02e8da12acc6832ad39d7166961c1c6546c8ad49
CRs-Fixed: 2994066
2021-07-19 08:15:34 -07:00
Madan Koyyalamudi
5be613b722 Release 5.2.0.240W
Release 5.2.0.240W

Change-Id: I7215487147d4e8356920eaff44bed4de5a7337d0
CRs-Fixed: 774533
2021-07-19 05:38:37 -07:00
Liangwei Dong
d5706bfc60 qcacld-3.0: Add policy mgr conn list validation
Add policy mgr connection list validation such as duplication
entry error. Flush the drv log and pause the logging
if error happens so that the issue log can't be overwritten
in stress test.

Change-Id: I037863de0bc5ecb8118c5792b6d73c3e200dd5c6
CRs-Fixed: 2991983
2021-07-19 05:38:37 -07:00
Jyoti Kumari
dc06f47745 qcacld-3.0: Add TWT service bit capability support for ack event
Add TWT service bit capability support to check whether firmware
supports ack event or not. If firmware doesn't support ack event
then service bit capability will become 0 and  whenever the TWT
command comes, host will not wait for ack event and sends command
in a legacy way

This support is mainly added to handle new host and old firmware
combination.

Change-Id: I556d8edf0b505b774d756d6d904dd445418837bf
CRs-Fixed: 2987966
2021-07-19 05:38:31 -07:00
Madan Koyyalamudi
dc94733e35 Release 5.2.0.240V
Release 5.2.0.240V

Change-Id: I575ee60e1ed0acb44816f2a7d8d00c8d0c5978fe
CRs-Fixed: 774533
2021-07-19 03:21:22 -07:00
Huashan Qu
7bbf6d94c3 qcacld-3.0: report cca statistics per wdev
In AP+AP mode, only query the first AP cca statistics, the second AP
cca statistics also can be captured in console, it's wrong.

Fix is to report cca statistics per wdev.

Change-Id: I18a0ae6d2560782e681209ff56c9fb2370a1ace9
CRs-Fixed: 2871555
2021-07-19 03:21:22 -07:00
Madan Koyyalamudi
25d8edaccb Release 5.2.0.240U
Release 5.2.0.240U

Change-Id: Ifbbdb50d776c17b7fc5d96d5bf5a97b04851860d
CRs-Fixed: 774533
2021-07-17 08:23:07 -07:00
bings
9752736c53 qcacld-3.0: mlo sap stop
Implement mlo sap stop

Change-Id: I9cc5ecfd12ba8f0c85c44e7ba82ab57602511dca
CRs-Fixed: 2976426
2021-07-17 08:23:07 -07:00
Madan Koyyalamudi
e6de724e19 Release 5.2.0.240T
Release 5.2.0.240T

Change-Id: I6393714cfe404340567c7049f7531bff41704887
CRs-Fixed: 774533
2021-07-16 12:13:28 -07:00
Jia Ding
eb0b786e14 qcacld-3.0: Save mac_id and mac_id_valid in TSF report
To support uplink delay calculation, FW will report mac_id and
mac_id_valid in TSF report so as to differentiate from legacy
TSF report. Thus save mac_id and mac_id_valid fields in TSF
report so that host can differentiate the TSF report purposes.

Change-Id: If76fd49ff9693a7733389d184a84360c0564216e
CRs-Fixed: 2991959
2021-07-16 12:13:28 -07:00
Madan Koyyalamudi
a28309aff1 Release 5.2.0.240S
Release 5.2.0.240S

Change-Id: Ic513d0bfbd576025960d03fe5d75d21d6d9e8e0e
CRs-Fixed: 774533
2021-07-16 06:19:41 -07:00
bings
79beb418ec qcacld-3.0: Save assoc request frame in qdf_nbuf_t
Legacy mlme need notify assoc request frame to mlo mgr. It should
be sent to mlo mgr in qdf_nbuf_t.

Change-Id: I192503a00346498408971462d3b15cc98efa9919
CRs-Fixed: 2976150
2021-07-16 06:19:41 -07:00
Madan Koyyalamudi
b44c1df1b2 Release 5.2.0.240R
Release 5.2.0.240R

Change-Id: I614f69d58163f7d0ccc3501d3df13ead034ad835
CRs-Fixed: 774533
2021-07-16 03:54:58 -07:00
bings
ec8096ea07 qcacld-3.0: mlo sap bss start
mlo sap bss start implementation

Change-Id: I662c0b469dc5e4430ec7a819ec4ba954bccf5a25
CRs-Fixed: 2974664
2021-07-16 03:54:58 -07:00
bings
675c5796ac qcacld-3.0: Add MLO IE support for SAP
populate max channel switch time IE and RNR IE for MLO mode
convert MLO assoc request from frame to structure for partner link
populate MLO IE  for assoc response
populate MLO IE for beacon/non MLO probe response template

Change-Id: I85c921e55a5d219603b924e81940a25d42513593
CRs-Fixed: 2976596
2021-07-16 03:54:52 -07:00
Madan Koyyalamudi
d9835609f5 Release 5.2.0.240Q
Release 5.2.0.240Q

Change-Id: I8c611c2a715d597b4415775e03830a62f06c4d68
CRs-Fixed: 774533
2021-07-15 21:51:51 -07:00
Deeksha Gupta
0bd34d371a qcacld-3.0: Check NULL value of params
In hdd_sap_twt_get_session_params(), check NULL value of
params variable before it's used.

Change-Id: I47e57cbe98d7a0ee7015ab628d665037bf0b9853
CRs-Fixed: 2989510
2021-07-15 21:51:51 -07:00
Madan Koyyalamudi
c335cec387 Release 5.2.0.240P
Release 5.2.0.240P

Change-Id: I758fea27d1677ad31ee7968d7dbf6839183670dd
CRs-Fixed: 774533
2021-07-15 14:33:48 -07:00
Manjunathappa Prakash
790df9073a qcacld-3.0: Enable need idle functionality for 5.10 kernel
On 5.10 kernel need idle” functionality is moved from
<linux/sched.h> to walt (<Linux/sched/walt.h>), Replace
“PF_WAKE_UP_IDLE” checks with “IS_ENABLED(CONFIG_SCHED_WALT)”.

Change-Id: Icb89b0e6e9862ed5b82680379a1d2630c9b2b4d9
CRs-Fixed: 2970666
2021-07-15 14:33:48 -07:00
Madan Koyyalamudi
8ffd86533c Release 5.2.0.240O
Release 5.2.0.240O

Change-Id: I00ebe44ccba447d4deb75c18248e48f65956de68
CRs-Fixed: 774533
2021-07-15 04:13:04 -07:00
Deeksha Gupta
ed12a74d8c qcacld-3.0: Add support for FT over DS
Add support to enable the "FT over DS" via
QCA_WLAN_VENDOR_ATTR_CONFIG_FT_OVER_DS vendor config
command.

This configuration helps the firmware to support
“FT over DS” instead of “FT over Air”

Change-Id: I493bf15f83bc39135aaeefa9d8ef328f0fc0cda3
CRs-Fixed: 2968680
2021-07-15 04:13:04 -07:00
Madan Koyyalamudi
99829f54e2 Release 5.2.0.240N
Release 5.2.0.240N

Change-Id: Ic2f2ba5709fd21f7d4bfc9d4979f2ca8ff9a21bb
CRs-Fixed: 774533
2021-07-14 23:50:57 -07:00
Kiran Kumar Lokere
c675806a14 qcacld-3.0: Populate the supported rates IE data in session
Supported rates IE in session is populated from beacon IE data.
If beacon does not have the IE, set the basic supported rates
data in session as the this IE is mandatory for connection.

Change-Id: I179e986f89505f5f9385c664757a6643b2c762b1
CRs-Fixed: 2970000
2021-07-14 23:50:57 -07:00
Madan Koyyalamudi
dbb6fa4c03 Release 5.2.0.240M
Release 5.2.0.240M

Change-Id: Ibdeaa55a351af81f52a58f20ffc1f7e490a9d442
CRs-Fixed: 774533
2021-07-14 20:14:22 -07:00
Srikanth Marepalli
0ec902c074 qcacld-3.0: Invalid pmkid in the FT-EAP disconnection case
During FT-EAP roaming after session timeout if the FTIE received
in the EAPOL of full EAP is improper, the supplicant would
disconnect the AP with the reason FTIE mismatch.
During this disconnection supplicant flushes all the existing PMK
cache entries and eventually the framework would add these cache
entries again (apparently, the current entry would be with the
older PMK). On this addition to the driver, there is no connected
profile and thus no MDID is associated to this PMKSA entry(AP1-PMK1).
Further, on the fresh (Full EAP) connection to the AP2 with the
same MDID, a new cache entry gets added and thus MDID from the
connected profile gets associated with the PMKSA cache entry. At
this point of time, there are two PMKSA cache entries (AP1-PMK1
without MDID and AP2-PMK2 with MDID).
Adding further, if the incorrect PMK (without MDID / stale entry)
i.e. PMK1 is given to the firmware on the RSO command for the
specific BSSID (here AP1) during roam, further roams shall be
calculated with this PMK1 and result in to the invalid pmkid
issue.
Thus, avoid this situation by removing that stale PMKSA entry in
the driver and this entry can be deleted only when it is associated
with the MDID. Driver on the new pmksa addition shall check for the
matching pmksa cache entry with the MDID and delete the earlier ones.
To associate the MDID, this commit checks for the same from the scan
entry of the BSSID, if there is no connected profile for the same
(this happened when the framework has added the cache entry when in
the disconnected state).

Change-Id: If81d66059173dda8d7a2940ca10dc96ef16e125c
CRs-Fixed: 2972115
2021-07-14 20:14:22 -07:00
Madan Koyyalamudi
6cf44035f3 Release 5.2.0.240L
Release 5.2.0.240L

Change-Id: Ic63eb94881080c0c7029d78700c51f987c9c4fae
CRs-Fixed: 774533
2021-07-14 17:53:39 -07:00
Rajeev Kumar
d0ab865de3 qcacld-3.0: Add wakelock for max clients connected for sap d3 wow
Due to memory limitations, FW only allows SAP clients connected D3 wow
up to 8 clients. Hence, add a wakelock on host. Once the 9th client
joins, hold the wakelock. And release the wakelock when the 9th client
leaves.

Change-Id: I940ab50bfd216452248eed71c1fb02b625354f7b
CRs-Fixed: 2986286
2021-07-14 17:53:39 -07:00
Madan Koyyalamudi
7f12548fa7 Release 5.2.0.240K
Release 5.2.0.240K

Change-Id: I969f2c3a8bc2fdd8f9122ded812f796d4651d157
CRs-Fixed: 774533
2021-07-14 15:31:56 -07:00
Yue Ma
7cf969fb7d qcacld-3.0: Enable CONFIG_CNSS_WCN7850 in WCN7850 config file
Device specific flags should be enabled from Device specific config
file itself. They don't need to be passed from upper level Makefiles.

Change-Id: Ic05cebb225cf63a6163f64cc72c02f38d2d25231
CRs-fixed: 2944594
2021-07-14 15:31:55 -07:00
Madan Koyyalamudi
c5077eaca8 Release 5.2.0.240J
Release 5.2.0.240J

Change-Id: I1a50324191e5dba1afa64473b717615d812e47e1
CRs-Fixed: 774533
2021-07-14 13:12:10 -07:00
Chaoli Zhou
7d9c1bb12b qcacld-3.0: Trigger disconnection if width changed for STA
If the max bandwidth changed after channel information
to be updated, then need to disconnect for STA/P2P CLI.

Change-Id: Ied715c32d184e87972936d61bedc6ed2eeffc1ca
CRs-Fixed: 2985651
2021-07-14 13:12:10 -07:00