Commit Graph

8584 Commits

Author SHA1 Message Date
snandini
cbcd9c4696 Release 5.2.0.194Q
Release 5.2.0.194Q

Change-Id: I3f83c807fd911aac74681c5af605a8486e767151
CRs-Fixed: 774533
2020-07-20 17:15:39 -07:00
snandini
9462782f9b Release 5.2.0.194P
Release 5.2.0.194P

Change-Id: I96b354c96a3db5e727dee82226d74d94f25a9ffd
CRs-Fixed: 774533
2020-07-20 07:52:24 -07:00
snandini
1d8047fe1d Release 5.2.0.194O
Release 5.2.0.194O

Change-Id: Ic18da589e613bb4cf4b00d130af102c14dfe0773
CRs-Fixed: 774533
2020-07-20 04:46:45 -07:00
snandini
498137d553 Release 5.2.0.194N
Release 5.2.0.194N

Change-Id: I17ac8ac10ba83328e1ed45695cec53ef6323da86
CRs-Fixed: 774533
2020-07-19 06:22:36 -07:00
snandini
67ed9e240b Release 5.2.0.194M
Release 5.2.0.194M

Change-Id: I953b7c5e65b60995bdf6fc66689a0a5b66cad4aa
CRs-Fixed: 774533
2020-07-18 22:30:26 -07:00
snandini
5ae41b1834 Release 5.2.0.194L
Release 5.2.0.194L

Change-Id: I49f0baff1aaa4761a6a6610e680925be6d793260
CRs-Fixed: 774533
2020-07-18 18:13:46 -07:00
Pragaspathi Thilagaraj
1e50d68658 qcacld-3.0: Fix null pointer dereference of lim_join_req
In lim_populate_peer_rate_set(), bss description is obtained by
dereferencing the bss descriptor from session->lim_join_req.
But in LFR-3.0 roaming case, the lim_join_req will be NULL, since
roaming is south bound operation and there is no csr join request
message after roam. So this results in NULL pointer dereference
of bss_description in lim_populate_peer_rate_set() while
handling LFR-3.0 roam synch indication event.

Pass the correct bss descriptor from caller to ensure that valid
bss descriptor is passed to the lim_populate_peer_rate_set() api.

Change-Id: I3af915d5753c7aa054dc6d8766e51fd62c8314bb
CRs-Fixed: 2733807
2020-07-18 18:13:36 -07:00
snandini
dfdc94e135 Release 5.2.0.194K
Release 5.2.0.194K

Change-Id: If832bd9c5493e3c3123900106ceb1066a565d7ad
CRs-Fixed: 774533
2020-07-17 23:59:47 -07:00
snandini
572290af40 Release 5.2.0.194J
Release 5.2.0.194J

Change-Id: If2729e9ebbb898a0fc20ae6b80a4c0afcd6efd11
CRs-Fixed: 774533
2020-07-17 21:25:40 -07:00
snandini
99b810a814 Release 5.2.0.194I
Release 5.2.0.194I

Change-Id: Iee36a54230d294efe63b6a9d6b8d93d014559760
CRs-Fixed: 774533
2020-07-17 17:23:16 -07:00
Pragaspathi Thilagaraj
3cceff7853 qcacld-3.0: Strip additional 3 bytes allocated for auth wrapped data
When FILS erp keys are not available, EAP initiate packet will not
be sent to the AP so FILS authentication wrapped data IE is not
required, but the driver is adding extra 3 bytes for wrapped data
even if wrapped data is not included. This will cause issues with
the FILS AP.

Don't allocate bytes for wrapped data if ERP keys are not available.

Change-Id: I9bd8033048829eeaf63ce123129e64f2685df04f
CRs-Fixed: 2732852
2020-07-17 17:23:11 -07:00
snandini
5d28544193 Release 5.2.0.194H
Release 5.2.0.194H

Change-Id: I9c8f15c882a2fe818b6d9800ad74ac113871f16f
CRs-Fixed: 774533
2020-07-17 04:03:45 -07:00
snandini
8b2879d115 Release 5.2.0.194G
Release 5.2.0.194G

Change-Id: I4cf85a491dec85388f8c9ea7f29c0efbe85a43f1
CRs-Fixed: 774533
2020-07-16 23:46:12 -07:00
snandini
c9f082cc99 Release 5.2.0.194F
Release 5.2.0.194F

Change-Id: I720a2f18360ecb0df54dbeb9c3016543efa59164
CRs-Fixed: 774533
2020-07-16 20:05:12 -07:00
Abhinav Kumar
c871ecddbd qcacld-3.0: Send roam triggers from vendor cmd to firmware
Userspace can configure different roam control params as
defined in qca_vendor_attr_roam_control through the roam subcmd
QCA_NL80211_VENDOR_SUBCMD_ROAM and the below attributes:
QCA_ATTR_ROAM_CONTROL_SCAN_FREQ_SCHEME
QCA_ATTR_ROAM_CONTROL_CONNECTED_RSSI_THRESHOLD
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD
QCA_ATTR_ROAM_CONTROL_USER_REASON

Send value of above attribute to fw through command
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID for trigger
reason WMI_ROAM_TRIGGER_REASON_BTM_WTC.

Change-Id: I17502eebab56652192164144b7ebdadb32033117
CRs-Fixed: 2729119
2020-07-16 20:05:12 -07:00
snandini
9a80ee261b Release 5.2.0.194E
Release 5.2.0.194E

Change-Id: I4cbf297aa10d20c26a8b318539a275ab6c27a534
CRs-Fixed: 774533
2020-07-16 12:02:45 -07:00
Subrat Dash
cf2e868763 qcacld-3.0: Avoid resetting EDCA parameters to default values
The EDCA parameters in SAP mode are reset to default values
defined in EDCA config strings when the first station connects
the BSS and again when the last station leaves the BSS. it
overrides the EDCA parameters values configured from the hostapd.

Add a check to avoid resetting EDCA parameters when SAP is not
operating with ANI profile.

Change-Id: Iecf21b4c35192e98ea9e96b50c0ba0d6d5382a40
CRs-Fixed: 2725446
2020-07-16 12:02:41 -07:00
Abhishek Ambure
d4bf5ac73b qcacld-3.0: Cleanup sae auth timer for romaing scenarios
Host sends SAE auth retry frames if the response/ack for the previous
SAE auth is not received. In roam scenarios like roam abort, HO fail
host don't need to send SAE auth again.
Hence cleanup sae auth timer for roaming scenarios.

Change-Id: I617a61fdb4ce7b6afa66415ebc33a2ce23e3821b
CRs-Fixed: 2730888
2020-07-16 12:02:34 -07:00
snandini
6760b0beb8 Release 5.2.0.194D
Release 5.2.0.194D

Change-Id: I4e1dc638878c797ce1cc42ffaab4d1e8bd9a42d7
CRs-Fixed: 774533
2020-07-16 02:05:27 -07:00
Abhishek Ambure
48d4b5c4c6 qcacld-3.0: Don't free assoc rsp fail timer on rsp status TRY_AGAIN_LATER
For WPA3 SAE, host runs pmf comeback timer to retry assoc request. Host
retires assoc request once if assoc response has response status as
TRY_AGAIN_LATER after 1 seconds.
Problem scenario:
Host sends assoc request to which AP respond with assoc response status
TRY_AGAIN_LATER, deactivates assoc response failure timer and retransmit
assoc request after 1 second. After 1 second host retransmit assoc req
and marks this is "retried" assoc request. If to the retried assoc
request host gets assoc response with reason status TRY_AGAIN_LATER,
host deactivates assoc failure timer and drops the assoc response.
Thus association does not complete and even association timer doesn't
trigger.
Fix:
deactivate assoc failure timer after checking the assoc response status
is not TRY_AGAIN_LATER and deactivate pmf comeback timer on assoc failure
timer gets trigger.

Change-Id: I7fc89063efec3c4a5b0521e9ff8301d6ea64683e
CRs-Fixed: 2730194
2020-07-16 02:05:23 -07:00
snandini
2f9f745dcc Release 5.2.0.194C
Release 5.2.0.194C

Change-Id: Ifff89813714490c161fab8e3f42caa391d1b8387
CRs-Fixed: 774533
2020-07-15 07:55:09 -07:00
snandini
5ad4347e1d Release 5.2.0.194B
Release 5.2.0.194B

Change-Id: I199d98cd0dfde1d34b4874e7856852b9ec2bd1c2
CRs-Fixed: 774533
2020-07-15 05:52:05 -07:00
snandini
0e0de6f9f5 Release 5.2.0.194A
Release 5.2.0.194A

Change-Id: I860722bd651c074faceb0593432172dc3793dbf0
CRs-Fixed: 774533
2020-07-15 01:46:31 -07:00
snandini
ae90b01281 Release 5.2.0.194
Release 5.2.0.194

Change-Id: I5b70273ca7d6e76b86f51058a8e1427d956467df
CRs-Fixed: 774533
2020-07-14 22:45:22 -07:00
nshrivas
bc353f1629 Release 5.2.0.193Z
Release 5.2.0.193Z

Change-Id: I4496af311597b2a08f9a74fdc9ac1c693cda82a8
CRs-Fixed: 774533
2020-07-14 04:26:26 -07:00
nshrivas
c3f5399b50 Release 5.2.0.193Y
Release 5.2.0.193Y

Change-Id: Ic0cc2b339676f6d921f18c623593d27634455ce4
CRs-Fixed: 774533
2020-07-14 02:02:27 -07:00
Gururaj Pandurangi
77ba18197c qcacld-3.0: Validate bssDescription before using it
Validate bssDescription before dereferencing it.

Change-Id: I89f8c07ad2e38e59dd2a002ce95cfac88232ccc9
CRs-Fixed: 2729263
2020-07-14 02:01:43 -07:00
nshrivas
13d45f4e2a Release 5.2.0.193X
Release 5.2.0.193X

Change-Id: I945a4c72680f69ecef6cbb65daa641a3b2647c1b
CRs-Fixed: 774533
2020-07-13 23:39:24 -07:00
nshrivas
53d271c41d Release 5.2.0.193W
Release 5.2.0.193W

Change-Id: I38700cd21d8c7b8b2941bf92a94b74f43a91c25e
CRs-Fixed: 774533
2020-07-12 10:10:21 -07:00
Abhishek Ambure
fbdde4785a qcacld-3.0: Add ini to enable sae auth/assoc retry
Introduce new INI sae_connect_retries to decide auth (initial connect
and roam auth) and connect retry for sae. MAX reties is capped to 2
and max for roam auth is 1.
Default is 0x49 i.e. 1 retry each.

Bits       Retry Type
BIT[0:2]   AUTH retries
BIT[3:5]   Connection reties
BIT[6:8]   ROAM AUTH retries

Change-Id: Idae86a7bdb32244c7f3a140b8591418b8238758a
CRs-Fixed: 2728458
2020-07-12 10:10:20 -07:00
nshrivas
0c45a04554 Release 5.2.0.193V
Release 5.2.0.193V

Change-Id: I52afeae9319d3867df59dc10ef77e7579ff4cefc
CRs-Fixed: 774533
2020-07-12 07:31:23 -07:00
nshrivas
f9a9536cfd Release 5.2.0.193U
Release 5.2.0.193U

Change-Id: I83572c4f2a35aa817d52a7af069ffafabd61451a
CRs-Fixed: 774533
2020-07-12 05:17:18 -07:00
nshrivas
5e82bbc32c Release 5.2.0.193T
Release 5.2.0.193T

Change-Id: I8f96c2323309d2942bbbf10e402981630c8b8d95
CRs-Fixed: 774533
2020-07-11 22:39:34 -07:00
nshrivas
63028f5fd7 Release 5.2.0.193S
Release 5.2.0.193S

Change-Id: I163a507748f094f0f45799e87e5c7e6acea0748f
CRs-Fixed: 774533
2020-07-11 20:32:22 -07:00
nshrivas
64664352f2 Release 5.2.0.193R
Release 5.2.0.193R

Change-Id: Iea291b46f09a8e7ab52316360246978ca43e0f41
CRs-Fixed: 774533
2020-07-11 11:37:20 -07:00
nshrivas
0ebe9a3553 Release 5.2.0.193Q
Release 5.2.0.193Q

Change-Id: I4a720dfc5569bd76e0ad56cc2ac88543ce4ca622
CRs-Fixed: 774533
2020-07-10 21:55:45 -07:00
nshrivas
683995bb10 Release 5.2.0.193P
Release 5.2.0.193P

Change-Id: Ic4deb468a6dd775b511f38c087f41022af68fcff
CRs-Fixed: 774533
2020-07-10 13:42:21 -07:00
Pragaspathi Thilagaraj
eb128b5dfe qcacld-3.0: Add roam offload state machine changes
Add changes to handle transition to the 2 new states:
1. Roaming in progress: Switch to this state when roam
start notification is received from firmware.
2. Roam Synch in progress: Switch to this from RSO
STARTED state if roam synch indication event is received
from firmware. Change to this state is also allowed in
RSO STOPPED state if supplicant disabled roaming on that
vdev - to allow roam invoke to be processed.

Also query the state machine to get the roaming status instead
of using discrete flags at various layers. Clean the redundant
roaming in progress, roam synch related flags.

Change-Id: Ide20a30d9d8c20a96d8bba70367b51b8643cae09
CRs-Fixed: 2725443
2020-07-10 13:42:21 -07:00
nshrivas
45d1a5e075 Release 5.2.0.193O
Release 5.2.0.193O

Change-Id: Ic672bda0883d7ed6f36614f54d8093b82ccf14a8
CRs-Fixed: 774533
2020-07-10 07:45:38 -07:00
Abhishek Ambure
7c07f228f6 qcacld-3.0: Add support of pmf comeback timer for SAE assoc retry
If STA DUT receives assoc response with assoc response status as
eSIR_MAC_TRY_AGAIN_LATER, host starts a pmf comeback timer to
send assoc request again on pmf comeback timer timeout.

Change-Id: Ifb28e44af86daef90db7146572cdfae26dfcaa20
CRs-Fixed: 2728459
2020-07-10 07:45:32 -07:00
nshrivas
91903a81ba Release 5.2.0.193N
Release 5.2.0.193N

Change-Id: I6f22c0cae4f2311ba74201ab76f66b7362dd47d4
CRs-Fixed: 774533
2020-07-10 05:38:45 -07:00
nshrivas
9fb1c5b7eb Release 5.2.0.193M
Release 5.2.0.193M

Change-Id: I4e3d1f6f7cddba1b485e450cadafe5de300c408f
CRs-Fixed: 774533
2020-07-09 21:39:34 -07:00
nshrivas
7c2fc778ef Release 5.2.0.193L
Release 5.2.0.193L

Change-Id: Ib4c2bfadcb87290e46f26f25656079f78274c71b
CRs-Fixed: 774533
2020-07-09 15:54:18 -07:00
nshrivas
c7790a8cb1 Release 5.2.0.193K
Release 5.2.0.193K

Change-Id: I7f700b33d5f1dbcd159689bcae1dcb8e277524f4
CRs-Fixed: 774533
2020-07-09 13:43:27 -07:00
nshrivas
b45dbd221c Release 5.2.0.193J
Release 5.2.0.193J

Change-Id: I95fa77fd90788f1d1f4f50746b427d85e2b190c6
CRs-Fixed: 774533
2020-07-09 11:32:55 -07:00
nshrivas
5f3b41fac1 Release 5.2.0.193I
Release 5.2.0.193I

Change-Id: I3ce589cef648729065bfd4e1e4661bc59db114fe
CRs-Fixed: 774533
2020-07-09 09:23:58 -07:00
sheenam monga
f288ea9a49 qcacld-3.0: Don't select dot11mode based on band only
Currently, if fw doesn't send phy mode after roaming host itself
calculates phy mode based on band only. Host doesn't consider self
dot11 mode and returns dot11 mode based on 2g band or any other band.
Which may cause different phy modes in fw and host.

Fix: Calculate dot11 based on self dot11 mode, return dot11 mode based
on band only if self dot11 mode is not valid.

Change-Id: Ifa320e3bb8a2ae8cffc59c73501c0643dc3b65af
CRs-Fixed: 2725841
2020-07-09 09:23:58 -07:00
Yu Tian
adb7ee6bc0 qcacld-3.0: use sync method in SAP delete peers
when CSA happens, peer delete will not call
SAP de-register flow, of which may lead adapter
sta_info struct dirty. When STA interface is assigned
new peer_id, it has possibility to conflict with
dirty sta_id in adapter sta_info list. So change to
sync peer delete and notify umac to clean sta_info.

Change-Id: I1703b2b45837e0b4c0814e5c95ae7f86b510e1fc
CRs-Fixed: 2713147
2020-07-09 09:23:49 -07:00
nshrivas
37726f0f50 Release 5.2.0.193H
Release 5.2.0.193H

Change-Id: I12304f8cbf808959d83f25b184459cd25048637f
CRs-Fixed: 774533
2020-07-09 07:23:50 -07:00
nshrivas
da030b4d68 Release 5.2.0.193G
Release 5.2.0.193G

Change-Id: If62108466182828e96bcecd265a812921b2cc958
CRs-Fixed: 774533
2020-07-09 03:03:43 -07:00