Commit Graph

23389 Commits

Author SHA1 Message Date
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
Madan Koyyalamudi
6581f11295 Release 5.2.0.240I
Release 5.2.0.240I

Change-Id: I2ad9164dfbc87c2346da5463c91fbf3003552ee4
CRs-Fixed: 774533
2021-07-14 10:32:43 -07:00
Prateek Patil
17480cf50e qcacld-3.0: Enable FISA compilation for WHUNT
Enable FISA compilation for WHUNT for QCA6490

Change-Id: I042aa1f7300014fee5946fd00c3205f607ee04ce
2021-07-14 10:32:42 -07:00
Utkarsh Bhatnagar
1f0cb49790 qcacld-3.0: Remove unused params from struct sap_config
Remove unused params from struct sap_config.

Change-Id: I1c7045d8ac32d848cc07c5ae3b70b96cf65a934a
CRs-Fixed: 2989769
2021-07-14 10:32:38 -07:00
Madan Koyyalamudi
5a88a9fe87 Release 5.2.0.240H
Release 5.2.0.240H

Change-Id: Idae4e15aed9fce9e466d784dfac4c64b91d4ac3c
CRs-Fixed: 774533
2021-07-14 07:25:23 -07:00
Utkarsh Bhatnagar
7f9ad91112 qcacld-3.0: Move sme_ft_api to connection manager ucfg api
Move sme_ft_api to connection manager ucfg apis.

Change-Id: If710be0d8a4a9d45d37f588389e40f66c62c7487
CRs-Fixed: 2990112
2021-07-14 07:25:23 -07:00
Madan Koyyalamudi
d8cb4f5401 Release 5.2.0.240G
Release 5.2.0.240G

Change-Id: Ia847be919d555987dcde24546238122f41a59cdb
CRs-Fixed: 774533
2021-07-14 04:22:44 -07:00
Deeksha Gupta
13bd6e5752 qcacld-3.0: Add support for twt get_status with dialog_id 0
Currently, if there is no twt session present as part
of the twt get_status query with dialog_id = 0, host
returns failure.

Add support to include the session state, wake_duartion
and wake_interval for TWT get_status command with dialog_id = 0.

Change-Id: Ie59310dc07c9954da96cee6568de856be8f67652
CRs-Fixed: 2989788
2021-07-14 04:22:43 -07:00
Madan Koyyalamudi
cbe61bc574 Release 5.2.0.240F
Release 5.2.0.240F

Change-Id: I15f29d0c1b0386724d6a7355de07ac236ad2854b
CRs-Fixed: 774533
2021-07-14 02:05:03 -07:00
Surabhi Vishnoi
60cebbb9e9 qcacld-3.0: Fill correct 802.11hdr in rx data pkts in pkt capture mode
All msdu's which are received in single mpdu will have same 802.11
header. Hardware fills header of only first msdu. So copy the
first msdu's header to all msdu's which are received in single
msdu in packet capture mode.

Change-Id: I1c9fd55e571eda77be0ab0863e03cd61b848b842
CRs-Fixed: 2968770
2021-07-14 02:05:02 -07:00
Madan Koyyalamudi
2f0a9fb515 Release 5.2.0.240E
Release 5.2.0.240E

Change-Id: Ie3964d0c52c843cf8ecf0609708865037e6d05b4
CRs-Fixed: 774533
2021-07-13 04:11:48 -07:00
Abhishek Singh
2a28a53ee0 qcacld-3.0: Remove unused functions and structures from CSR
Remove unused functions and structures from CSR.

Change-Id: I0441a74423294cdbe11a906700147fd5cbaad75b
CRs-Fixed: 2989123
2021-07-13 04:11:48 -07:00
Pragaspathi Thilagaraj
2a34774b65 qcacld-3.0: Update fils erp sequence number after roaming
Fils info is stored per vdev. In RSO scan mode command, in FILS
TLV, the next ERP sequence number to be used in the next FILS
connection is sent to firmware and is filled from the vdev fils
info. But after roam sych event is received, the erp sequence
number is not updated in the vdev fils info, causing FILS roaming
failure.

Update the fils erp sequence number to vdev fils info after
roaming.

Change-Id: Ibc624d9c4b0fc535c430881d3033169b002c8419
CRs-Fixed: 2988113
2021-07-13 04:11:43 -07:00
Madan Koyyalamudi
fad1d15983 Release 5.2.0.240D
Release 5.2.0.240D

Change-Id: Icc1f1e68d86a604de2f799cb6ba94f3d2222a8b8
CRs-Fixed: 774533
2021-07-12 21:20:34 -07:00
Jianmin Zhu
d7866af8ae qcacld-3.0: enable DP pending memory flushing
Enable DP pending memory flushing by macro WLAN_DP_PENDING_MEM_FLUSH.

DP references of the peer will be removed once we receive PEER
unmap message from the firmware. If the firmware has failed to
send the peer unmap message (due to an assert in FW), then the
peer entries will remain the inactive peer list and will trigger
a explicit QDF_BUG() during driver unload.
Force clean the inactive peer/vdev list during driver unload in such
cases.

Change-Id: I2565cd4f1a4afea8536bcca86147d6fa028be554
CRs-Fixed: 2988733
2021-07-12 21:20:34 -07:00
Madan Koyyalamudi
b69172e14d Release 5.2.0.240C
Release 5.2.0.240C

Change-Id: I0c1ca9b446298daa96b194fafb62323b660279c7
CRs-Fixed: 774533
2021-07-12 19:12:01 -07:00
Amruta Kulkarni
0c30cb8f04 qcacld-3.0: Roam sync frame event Wma cleanup
Wma to target_if migration for ROAM SYNC FRAME EVENT

Change-Id: I2a56dadf7f45a13a577bdf49bc9514ab2e6dee29
CRs-Fixed: 2968404
2021-07-12 19:12:01 -07:00
Madan Koyyalamudi
e2171a078f Release 5.2.0.240B
Release 5.2.0.240B

Change-Id: Ie88c514070e177347d632d5f406f19c2ac6cedc4
CRs-Fixed: 774533
2021-07-12 14:20:19 -07:00
Surabhi Vishnoi
0d47f72dee qcacld-3.0: Fill Coding and STBC in HE data of radiotap header
Fill the Coding info and STBC in HE data field of radiotap
header for TX data packets in packet capture mode.

Change-Id: I173ce1846259ee9e94587e360256161f8147df08
CRs-Fixed: 2984436
2021-07-12 14:20:18 -07:00
Madan Koyyalamudi
b1fda46da6 Release 5.2.0.240A
Release 5.2.0.240A

Change-Id: Id9b2ee9cf4c5bc5fe2748690ebf0251321d86b04
CRs-Fixed: 774533
2021-07-12 12:09:41 -07:00
Abhishek Singh
bac97712b7 qcacld-3.0: Cleanup crypto params from roam profile struct
Cleanup crypto params from roam profile struct.

Change-Id: Ib3acb7f2ee669ba05da7011a56a54487d5100033
CRs-Fixed: 2988892
2021-07-12 12:09:40 -07:00
Lin Bai
35b7e626aa qcacld-3.0: Enhance conc-info del/restore for 3-SAP concurrency
When all vdevs in same mode(like SAP here),
MAX_NUMBER_OF_CONC_CONNECTIONS vdevs deleted but failed
to be restored as count sanity.

Vdev count of MAX_NUMBER_OF_CONC_CONNECTIONS is also valid,
and should be restored.

Change-Id: I2ef6c9a5b1ef96098e14b6a57ad8006d806309b0
CRs-Fixed: 2988669
2021-07-12 12:09:36 -07:00
Madan Koyyalamudi
8fce157126 Release 5.2.0.240
Release 5.2.0.240

Change-Id: I301d23300b05cb0d034845689eabe98853ffd8ee
CRs-Fixed: 774533
2021-07-12 10:02:24 -07:00
Bapiraju Alla
656d05a411 qcacld-3.0: Add generation and parsing support for RNR IE
Add dot11f frame generation and parsing support for
reduced neighbour report IE.

Change-Id: Iae0fe895818c0992d3a03023b85d1598eb72db18
CRs-Fixed: 2970944
2021-07-12 10:02:24 -07:00
Madan Koyyalamudi
974e5b42d5 Release 5.2.0.239Z
Release 5.2.0.239Z

Change-Id: I13fd4db474401927bc1aad7f0d722e728f249114
CRs-Fixed: 774533
2021-07-12 07:45:41 -07:00
Utkarsh Bhatnagar
3f9add4ec4 qcacld-3.0: Handle A-EDCA based on STA-SAP concurrency
Handle A-EDCA based on STA-SAP concurrency. Also, update
RTS profile based on the concurrency such that:
1) For STA and SAP concurrency, send STA's AP EDCA
   params to fw. Also, for SAP or P2P Go, update the
   value in Broadcast EDCA params as well so that it
   should be broadcasted to other stations connected
   to that BSS. Also, update the RTS profile value to
   0x11. It will let FW disable SIFS bursting and send
   RTS for every frame.
2) For standalone STA (can even happen after SAP/P2P Go
   disconnects), if the parameters are updated, reset
   them to original parameters and send them to FW.
   Also, update the RTS profile value to the value
   it was set before.
3) For standalone SAP (can even happen after STA
   disconnects), if the parameters are updated, reset
   them to original parameters and send them to FW and
   reset the  Broadcast EDCA params as well so that it
   should be broadcasted to other stations connected
   to that BSS Also, update the RTS profile value to
   which it was set before.

Change-Id: Idb2b04b1b0bddb51cea9c5665847d04817a90aca
CRs-Fixed: 2949484
2021-07-12 07:45:40 -07:00
Ashish Kumar Dhanotiya
55ab069325 qcacld-3.0: Move dump in progress feature to separate file
With this change introduce featurization for dump in progress
and move implementation related to this feature to new files.

Change-Id: I4614aecde57a9c5ffec765f3afaa943c58956132
CRs-Fixed: 2979226
2021-07-12 07:45:34 -07:00
Ashish Kumar Dhanotiya
076d5ae582 qcacld-3.0: Add synchronizatoin for flush log completion
Currently there is no synchronization for flush log completion
between fw and userspace. When host driver receives command to
flush logs, it sends the command to fw and releases the control
of the userspace thread, it does not wait for the flush log
completion event from the fw and because of which user space
does not know when the host and fw completes the log flush.

To address above issue add a logic to wait for fw event of
flush log completion before host returns control to userspace.

Change-Id: I04fa0aead146d2b7b8627e4101c6dcd99d3947e9
CRs-Fixed: 2983375
2021-07-12 07:45:28 -07:00