Commit Graph

22003 Commits

Author SHA1 Message Date
snandini
d7709a85d3 Release 5.2.0.220V
Release 5.2.0.220V

Change-Id: If19fd4e33ba67b3e3e7c10ea2f87b17af2388951
CRs-Fixed: 774533
2021-02-01 13:15:37 -08:00
Liangwei Dong
055acc35f7 qcacld-3.0: Fix SAP 160Mhz radar event miss issue
When SAP operated in channel 36 with 160Mhz, the primary channel
36 is non-dfs and existing checking dfs will drop the radar event
if the radar detected on channel 52. Change policy mgr API to
check the dfs flags instead of primary channel state.

Change-Id: Ie2f242182b8df30e5d1875e278c5ebffa2e7cafd
CRs-Fixed: 2865173
2021-02-01 13:15:37 -08:00
Rajasekaran Kalidoss
e7fec8850c qcacld-3.0: Multiply wake_interval mantissa by TU
The QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_MANTISSA attribute
should be specified in multiples of TU. Correct the logic to
multiply it by 1024 to get wake interval mantissa in microseconds.

Change-Id: I2c6eb3ca5541b97cffbe0de44351571839fa00e6
CRs-Fixed: 2862107
2021-02-01 13:15:33 -08:00
Dundi Raviteja
5a29bd4a88 qcacld-3.0: Reduce stack frame size in sme_qos_create_tspec_ricie
Reduce stack frame size of sme_qos_create_tspec_ricie()
by allocating dynamic memory to tDot11fIERICDataDesc.

Change-Id: I5f9f9915b81e3c74b762946eaa846872f74910ef
CRs-Fixed: 2864951
2021-02-01 13:15:29 -08:00
snandini
3737b4d89d Release 5.2.0.220U
Release 5.2.0.220U

Change-Id: I68fb87d6041a5165d05fc76cd2a286858d7964fe
CRs-Fixed: 774533
2021-02-01 09:59:20 -08:00
Dundi Raviteja
eb2dc5ceca qcacld-3.0: Reduce stack frame size while clearing mc filter
Reduce stack frame size of target_if_pmo_clear_multiple_mc_filter_req()
by allocating dynamic memory to struct pmo_mcast_filter_params.

Change-Id: I0078ef0c84b33de209551dccd91aff70699eca80
CRs-Fixed: 2864938
2021-02-01 09:59:20 -08:00
Rajasekaran Kalidoss
58cc8f9bcd qcacld-3.0: Check if TWT session exists for get and clear stats
Check if a TWT session has been created for the dialog_id given
in get and clear stats command request. Reject it in driver if
session doesn't exist.

Change-Id: Ie9a761128e3a0188c4ece9a7bac58268a2ebb88f
CRs-Fixed: 2864284
2021-02-01 09:59:16 -08:00
Dundi Raviteja
537baf822a qcacld-3.0: Reduce stack frame size while setting multiple mc filter
Reduce stack frame size of target_if_pmo_set_multiple_mc_filter_req()
by allocating dynamic memory to struct pmo_mcast_filter_params.

Change-Id: Ib1ffb61aae30eda42340856a04cbbbf5a8162935
CRs-Fixed: 2864893
2021-02-01 09:59:12 -08:00
snandini
5448f7716a Release 5.2.0.220T
Release 5.2.0.220T

Change-Id: I4c21932720e79b130944b980a370cddf7a331dd7
CRs-Fixed: 774533
2021-02-01 07:52:31 -08:00
Dundi Raviteja
21b49b36be qcacld-3.0: Reduce stack frame size while registering action frame
Reduce stack frame size of pmo_register_action_frame_patterns()
by allocating dynamic memory to struct pmo_action_wakeup_set_params.

Change-Id: I4beed12c18c4e213c76e35c7762e59fc7d2ab957
CRs-Fixed: 2865021
2021-02-01 07:52:31 -08:00
Dundi Raviteja
070737954f qcacld-3.0: Reduce stack frame size in pmo_clear_action_frame_patterns
Reduce stack frame size of pmo_clear_action_frame_patterns()
by allocating dynamic memory to struct pmo_action_wakeup_set_params.

Change-Id: If430813658aabe5459bb0c3b16f9477b1fca9ed9
CRs-Fixed: 2865035
2021-02-01 07:52:27 -08:00
snandini
55690ce21e Release 5.2.0.220S
Release 5.2.0.220S

Change-Id: Ic964fb9645103d22ea726cb4d2a265c9d7d927c1
CRs-Fixed: 774533
2021-01-31 06:51:14 -08:00
Pragaspathi Thilagaraj
7503f44942 qcacld-3.0: Fix AEAD decryption failure with FILS PMF connection
AEAD decryption failure happens when AP sends association
rejection frame as part of the PMF SA query procedure. AP
doesn't include FILS Session IE, but STA tries to AEAD decrypt
the frame starting from the FILS session IE and drops the
association rejection frame due to AEAD decryption frame.
So association failure timeout kicks in and proper reason
code is not indicated to userspace due to which automatic
connection retry to the AP doesn't happen.

Skip AEAD decryption if status code is not success in the
association response frame and proceed to parse the frame.

Change-Id: I9dcc85afb896717cfd20102c219b58e0e982f340
CRs-Fixed: 2797416
2021-01-30 08:02:55 -08:00
snandini
055e4561ec Release 5.2.0.220R
Release 5.2.0.220R

Change-Id: I3e3189217f54ec48c25fd7ccb093f1276fe488d4
CRs-Fixed: 774533
2021-01-30 04:53:35 -08:00
Naman Padhiar
a594cd59dc qcacld-3.0: Collect return value of pld_ipci_smmu_get_domain
Return value of pld_ipci_smmu_get_domain is not collected and
return to caller. Properly collect return value of
pld_ipci_smmu_get_domain.

Change-Id: Ia09f5eba950cb2631f4696fc927c32f49821b9ff
2021-01-30 04:53:35 -08:00
snandini
549c9ef198 Release 5.2.0.220Q
Release 5.2.0.220Q

Change-Id: Ia4b4a495e21817420d650d296a330be88d9b5cc7
CRs-Fixed: 774533
2021-01-29 20:57:07 -08:00
Abdul Muqtadeer Ahmed
fdd65fd9ea qcacld-3.0: Add a new ini param to enable PCI gen switch
Add a new ini param to enable/disable PCI gen switch

Change-Id: Ie8c61dbfb9834aac96a95eb935521e1bc4b3b835
CRs-Fixed: 2865861
2021-01-29 20:57:06 -08:00
Lincoln Tran
4abfac4f6b qcacld-3.0: Rate limit logs related to SAP chan select
When selecting channel for SAP to operate on, it searches,
calculates, and sorts the channels. Each of these steps produces a lot
of prints, so rate limit them to prevent a time out.

Change-Id: If78c7a4f840bf9353f42dd544134ee690637d22e
CRs-fixed: 2865639
2021-01-29 20:57:02 -08:00
snandini
2609e8e14f Release 5.2.0.220P
Release 5.2.0.220P

Change-Id: I0dabe2df3bf6043d022f63c7a4de15f78b13ef7b
CRs-Fixed: 774533
2021-01-29 18:52:40 -08:00
Ashish Kumar Dhanotiya
cf5817a8bf qcacld-3.0: check net dev ref leak before removing adapter from list
Currently driver checks net dev ref leak for adapter, once it
removes adapter from the list which is not the correct way as
in some cases it is possible that one thread loops through the
the adapter list and uses one of the adapter and the other thread
deletes the adapter from the list, since the adapter is deleted
from the list, it's next and previous pointers will point to
itself which will lead first thread to fall into infinite loop.

To address above issue check net dev ref leak before removing
adapter from the adapter list so that it will make sure that
no other thread is holding the referene of this adapter.

Change-Id: I819458e9de8f016898e24bf3bb376acb657e8187
CRs-Fixed: 2854000
2021-01-29 18:52:40 -08:00
snandini
54afc70b76 Release 5.2.0.220O
Release 5.2.0.220O

Change-Id: Ibe04498dbade698da65a337fcd4561fbbbc9ec8a
CRs-Fixed: 774533
2021-01-29 16:48:47 -08:00
sheenam monga
1c7977d211 qcacld-3.0: Remove usage of wlan_reg_get_channel_state
Use wlan_reg_get_channel_state_for_freq to get channel state
instead of wlan_reg_get_channel_state.

Change-Id: I0ab0465458801747cc97bf03b3aee4ec255beb57
CRs-Fixed: 2859852
2021-01-29 16:48:46 -08:00
snandini
527f04dd09 Release 5.2.0.220N
Release 5.2.0.220N

Change-Id: I78cf75718b63622b7be7b7d18ce788d4e5a77c42
CRs-Fixed: 774533
2021-01-29 12:40:34 -08:00
Balaji Pothunoori
e64a36609f qcacld-3.0: addba request reject for peer ap
Add user controlled rx addba request reject for peer AP based
on ini configuration.

Change-Id: I80a4b78c1af77f5bfa68be3163f9e9a78cc64245
CRs-fixed: 2835511
2021-01-29 12:40:34 -08:00
snandini
f33de00449 Release 5.2.0.220M
Release 5.2.0.220M

Change-Id: Iec1d19894f16d1afc579c2389677fcda0916062e
CRs-Fixed: 774533
2021-01-28 13:47:42 -08:00
gaurank kathpalia
c13a047628 qcacld-3.0: Fix FILS auth failure in connection manager
Fix FILS auth failure in connection manager.

Change-Id: I727d374a820375110723a081cd3a27828e92ba66
CRs-Fixed: 2865370
2021-01-28 13:47:42 -08:00
gaurank kathpalia
ca5b8c897c qcacld-3.0: Add diag events for disconnect and connect complete
Add diag events for disconnect and connect complete for connection
manager.

Change-Id: I71cd968dd14e26cab9178c5bab892520b8d8af8c
CRs-Fixed: 2864507
2021-01-28 13:47:37 -08:00
snandini
6683dbb655 Release 5.2.0.220L
Release 5.2.0.220L

Change-Id: Iebe9f34c6de88df978ba56cfbf83e3e3fae51d1c
CRs-Fixed: 774533
2021-01-28 08:52:20 -08:00
sheenam monga
0ee2a690d1 qcacld-3.0: Add correct last_auth_type in connect info
Currently for some valid auth type string "UNKNOWN"
is added in connection info because of missing of
mapping of some auth types.

Fix is to handle mapping of missing auth type.

Change-Id: I534d063caa85241b5f35b8f2931753d85447de2c
CRs-Fixed: 2865084
2021-01-28 08:52:20 -08:00
Dundi Raviteja
ae8dfd9726 qcacld-3.0: Reduce stack frame size in sme_qos_request_reassoc
Reduce stack frame size of sme_qos_request_reassoc()
by removing the local variable usage connected_profile.

Change-Id: I8b093b0b4214099a5061e253f17b3ac7d5d206e5
CRs-Fixed: 2856593
2021-01-28 08:52:15 -08:00
Utkarsh Bhatnagar
c0acad4bc6 qcacld-3.0: Add debug prints in SA query response
Add debug print to log the details sent in OCV frame
in SA query Response.
Also, remove additional line to print mac address of
peer.

Change-Id: Ia2114b69579d118b0ccc4fe9798caf2f855c895f
CRs-Fixed: 2860085
2021-01-28 08:52:10 -08:00
snandini
59346b290d Release 5.2.0.220K
Release 5.2.0.220K

Change-Id: I78224e424fb8f52ca35f38bd43aa6e991dec7e06
CRs-Fixed: 774533
2021-01-28 04:17:58 -08:00
Alan Chen
b52dadc0b5 qcacld-3.0: Split SAP and GO modes ini
Rename existing INI to enable_bus_suspend_in_sap_mode and define a
new enable_bus_suspend_in_go_mode. Also define new APIs
wma_is_vdev_in_sap_mode and wma_is_vdev_in_go_mode.

Change-Id: If38c4db7b3d1f7323df45d9a7d80a02a44e7ca41
CRs-Fixed: 2864596
2021-01-28 04:17:57 -08:00
snandini
de3787f386 Release 5.2.0.220J
Release 5.2.0.220J

Change-Id: I07f4b9fc1080d4422616fc372ff5db0ed8a64216
CRs-Fixed: 774533
2021-01-27 23:55:18 -08:00
Alan Chen
beb98ec261 qcacld-3.0: Define a new wakelock for WPS probe request wakeup
Define a new wakelock for WPS probe request wakeup.

Change-Id: Idd39664dc70db4dd15594f77846b74c36049659c
CRs-Fixed: 2863611
2021-01-27 23:55:18 -08:00
Alan Chen
67371d089e qcacld-3.0: Add a log for generic wake up reason
Add a log for generic wake up reason.

Change-Id: I83c3d89d334e3688529ff908e072ca681d0ad579
CRs-Fixed: 2863479
2021-01-27 23:55:14 -08:00
snandini
231d27d1ca Release 5.2.0.220I
Release 5.2.0.220I

Change-Id: I275616fbe4164ab5d4fa5b3e570f5059e4b7b1b8
CRs-Fixed: 774533
2021-01-27 21:50:52 -08:00
Yu Wang
d91ac3bd8e qcacld-3.0: increase the max supported number of MAC ACL
Extend type of the variables for the number of MAC addresses
in ACL, from 255(uint8_t) to 65535(uint16_t).
With this change, it can support up to 65535 MAC addresses in
theory, after modifying the MACRO 'MAX_ACL_MAC_ADDRESS'.

Change-Id: I32288e46ea4590ebaaa143b2cdca7cefd14997c4
CRs-Fixed: 2856707
2021-01-27 21:50:52 -08:00
Gururaj Pandurangi
8553c2b4d2 qcacld-3.0: Add TPE IE to beacon frame structure
Add TPE IE to beacon frame struct tDot11fBeacon.

Change-Id: Ibc6bf166ee2830cc253bde3788569f5a49225458
CRs-Fixed: 2864125
2021-01-27 21:50:48 -08:00
snandini
41028db94f Release 5.2.0.220H
Release 5.2.0.220H

Change-Id: If1aac62c5f2f2e3fd864e917c24ac248f877aaec
CRs-Fixed: 774533
2021-01-27 17:11:26 -08:00
Abhishek Ambure
467050ebbd qcacld-3.0: Save hlp info in mlme priv
Host moves hlp info from csr session to mlme priv object. Modules need
hlp info now use hlp info from mlme priv object

Change-Id: Ieffa749635239f72337af685707acccfd666a58a
CRs-Fixed: 2862315
2021-01-27 17:11:25 -08:00
snandini
4afda23e63 Release 5.2.0.220G
Release 5.2.0.220G

Change-Id: I35644f4c507fccabba527b619b6e570bff55aab8
CRs-Fixed: 774533
2021-01-27 12:56:25 -08:00
gaurank kathpalia
2eb497d7a3 qcacld-3.0: Fix fils connection and add debug
Fix fils connection and add debug.

Change-Id: I388d96290f4450c33270c37054fde8060f599f40
CRs-Fixed: 2864257
2021-01-27 12:56:24 -08:00
snandini
cfcebcd1af Release 5.2.0.220F
Release 5.2.0.220F

Change-Id: Ib5d96e437726aac63286a0f46d530d903308059a
CRs-Fixed: 774533
2021-01-27 10:50:03 -08:00
Ashish Kumar Dhanotiya
500b5daf3f qcacld-3.0: Send connect info diag event for connection manager also
Currently connection manager code flow does not send connect info
diag event, to achieve this update csr connect info api in such a
way that connectoin manager code flow can also use it to send
connect info diag event.
Also update the function csr_get_sta_cxn_info to get the required
information from vdev instead of roam profile.

Change-Id: Ib9bb3f06052416f6edb168767dbe2a4c80fae765
CRs-Fixed: 2862244
2021-01-27 10:50:03 -08:00
snandini
dfc7112702 Release 5.2.0.220E
Release 5.2.0.220E

Change-Id: Iac9c540ee68f4fc4c065f114b4da7fd782897b33
CRs-Fixed: 774533
2021-01-27 06:10:51 -08:00
Bapiraju Alla
346fc2e70f qcacld-3.0: Don't unregister vdev sync after pre CAC success
Currently , pre CAC adapter will be closed during SAP interface down.
But pre_cac vdev sync is being unregistered after pre CAC success.
Because of this, pre CAC adapter close will fail and the same pre CAC
adapter context will be retained for subsequent SAP start. As a result
pre CAC request may fail after SAP restart.

To address this, don't unregister vdev sync after pre CAC success.

Change-Id: I2d5969274de290bd86cd510ed2a3ff4e095042b0
CRs-Fixed: 2861298
2021-01-27 06:10:51 -08:00
snandini
8c09389ea0 Release 5.2.0.220D
Release 5.2.0.220D

Change-Id: I8a1b22cbe3b3024a4a1542acc8a9426b928cbfa9
CRs-Fixed: 774533
2021-01-26 22:31:42 -08:00
Utkarsh Bhatnagar
f100fb9de7 qcacld-3.0: Don't use Auto API to get Op class from freq
Use wlan_reg_freq_width_to_chan_op_class() instead of
wlan_reg_freq_width_to_chan_op_class_auto() to convert freq
to Operating class.
As the auto API forces the non-6Ghz channel to use the channel
map class. With auto API, in case of 6Ghz band, only those classes
specified in global operating class can be used

For OCV validation , always use global opclass as mandated by spec

Change-Id: I8ae776199f3b886f3c9cec83070294fca2135b50
CRs-Fixed: 2848638
2021-01-26 22:31:42 -08:00
snandini
cbb04c6242 Release 5.2.0.220C
Release 5.2.0.220C

Change-Id: Iefee2b770fc9d12dd4f1c1b252626b99ee1d7744
CRs-Fixed: 774533
2021-01-26 19:55:19 -08:00