Commit-Graf

22028 Incheckningar

Upphovsman SHA1 Meddelande Datum
Karthik Kantamneni
d2e215785c qcacld-3.0: Initialize pld_soc_info to default values
Some of the members in pld_soc_info structure is not assigned by
platform API's. To avoid uninitialized value access by calling
function initialize pld_soc_info to default value.

Change-Id: I4b6816bf72ebb518b1b8af529763c2f8a8edb38d
CRs-Fixed: 2858219
2021-02-03 01:50:04 -08:00
Liangwei Dong
0a675201fd qcacld-3.0: Init thermal throttle level when psoc open
Initialize thermal throttle level to "full perf" when psoc
open.

Change-Id: If28eb7320e34cea6ee22e83218e84723a960d8f0
CRs-Fixed: 2866198
2021-02-03 01:50:00 -08:00
snandini
82f52b380e Release 5.2.0.221D
Release 5.2.0.221D

Change-Id: Ia1a921cb9f89f7fac8bdef359e337b9c6078ab94
CRs-Fixed: 774533
2021-02-02 23:12:07 -08:00
Bapiraju Alla
c1ad30d540 qcacld-3.0: Make net_dev_hold_ref_count as atomic
Currently the reference count variable used to detect the net device
reference leaks is not atomic. Because of this, the reference count
updation may not be reliable in multi thread scenario.

To address this, make the net_dev_hold_ref_count increment and
decrement as atomic.

Change-Id: Ifa87177164e87880d0c6d71fb40ca03a3919519e
CRs-Fixed: 2868029
2021-02-02 23:12:06 -08:00
snandini
367b0aa4dc Release 5.2.0.221C
Release 5.2.0.221C

Change-Id: Ieb87993280ae7bd6eb61630f047633b3578ca92f
CRs-Fixed: 774533
2021-02-02 21:05:15 -08:00
Kiran Kumar Lokere
cb94b90521 qcacld-3.0: Add support for BSS max idle period feature
Add support to parse the BSS max idle period IE and configure
the idle period to FW if it is present in assoc response frame.

Change-Id: I144f2b1789775461a5df702dee72d0f73b9023cf
CRs-Fixed: 2788542
2021-02-02 21:05:15 -08:00
snandini
3fcb754d3c Release 5.2.0.221B
Release 5.2.0.221B

Change-Id: Id810ef0012a050cf999415691478e666a7a2a2dc
CRs-Fixed: 774533
2021-02-02 19:02:38 -08:00
Qun Zhang
c07607873c qcacld-3.0: Update deficient_desc when the TX pool is replenished
It's needed to update deficient_desc count when the deficient pools
are replenished, otherwise, when there are multiple interfaces and
do intetfaces on/off stress test, it's possible some interfaces will
run out of system tx pool descriptors when do ol_tx_flow_pool_resize,
and other interface can't get any available tx descriptors.

Change-Id: I07ded6c7f39637f6f2734edac5add8fef7bb8cf3
CRs-Fixed: 2857659
2021-02-02 19:02:38 -08:00
Amar Singhal
cdfcd096e4 qcacld-3.0: modify populate_dot11f_country for 6 ghz
For SAP, country IE takes different input for 6ghz channels.
for 6 ghz, we need to add operating class triplet also. So, before
the sub-band triplet, operating class triplet needs to be added.

Change-Id: I43d37d0f23276dbe7fed35d8c2251d9e15b16fa9
CRs-fixed: 2862999
2021-02-02 19:02:32 -08:00
snandini
a27b90da44 Release 5.2.0.221A
Release 5.2.0.221A

Change-Id: Ibf5f0dd25cd2e4eeac4849d81a2802df0f5f515b
CRs-Fixed: 774533
2021-02-02 15:17:37 -08:00
gaurank kathpalia
2fb03473aa qcacld-3.0: Use is wps/osen from the connect req/rsp
Use is wps/osen from the connect req/rsp, instead of parsing
the assoc ie and deciding the value.

Change-Id: I628c8aab22d1e842219b8d38fd025299d91cc68f
CRs-Fixed: 2868657
2021-02-02 15:17:37 -08:00
Pragaspathi Thilagaraj
ec67e85fc5 qcacld-3.0: Reset the stored TWT dialog ID on TWT setup failure
Driver doesn't clear the stored dialog id for TWT session when
TWT setup returns failure. This causes subsequent TWT sessions
to fail.

Reset the TWT session state and clear the dialog id for the
failed TWT setup to allow the next TWT setup commands.

Change-Id: I2f0ccb7a07ef49011b01d7336389d6ce56315fe9
CRs-Fixed: 2865240
2021-02-02 15:17:32 -08:00
Abhishek Ambure
42e4f11fdd qcacld-3.0: Update RSO state on drv cmd for roam state
User uses SETROAMMODE command to enable/disable Legacy Fast Roaming.
Host processes SETROAMMODE and sets ini config value as per user
request and doesn't update RSO state in driver and doesn't update
RSO state change to FW. Due to this, runtime LFR config doesn't
take effect in FW and host RSO state machine.
Hence update RSO state in host and FW while processing SETROAMMODE
command.

Change-Id: I73d865468e5538566f1e0d0240d77916eb445440
CRs-Fixed: 2867697
2021-02-02 15:17:28 -08:00
snandini
74bbddad41 Release 5.2.0.221
Release 5.2.0.221

Change-Id: I691bd59eb4dc8cb4f20b1fcb4e594ad8d29a573e
CRs-Fixed: 774533
2021-02-02 13:08:14 -08:00
Vevek Venkatesan
7ddad6e2cb qcacld-3.0: decouple bw monitor from WDI3_STATS_UPDATE
Decouple BW monitor from WDI3_STATS_UPDATE and add as a
separate feature flag WDI3_STATS_BW_MONITOR.

Change-Id: I77fb5658d995daceaada6a7d64f669da706ead9c
CRs-Fixed: 2868582
2021-02-02 13:08:13 -08:00
snandini
e12be3323f Release 5.2.0.220Z
Release 5.2.0.220Z

Change-Id: I08cd8f8b245456c00bdc3aa3dce910ecd6cc9207
CRs-Fixed: 774533
2021-02-02 07:49:24 -08:00
Tiger Yu
0cfdc3456f qcacld-3.0: Enable the multiple pages for rx desc pool for auto prjs
Enable the RX_DESC_MULTI_PAGE_ALLOC for qca6390_defconfig to enable the
memory allocation of RX descriptors using multiple pages instead of large
contiguous memory to fix potential memory allocation failure when system
is in the heavy memory fragmentation.

Change-Id: I611850374dce62f8c326b16f95cc162fec32c5e3
CRs-Fixed: 2852534
2021-02-02 07:49:23 -08:00
snandini
252dfaf173 Release 5.2.0.220Y
Release 5.2.0.220Y

Change-Id: I005582a5ee1df566e191b33f04979d75b2ebfb87
CRs-Fixed: 774533
2021-02-01 20:59:13 -08:00
Kiran Kumar Lokere
1836f51a18 qcacld-3.0: Update the session he cap if channel is changed
Update the session he capabilities when SAP switches to new
channel and if new channel band or channel width is different from
current session channel info.

Change-Id: I1a91864eb6f26189c37b2dc715e6b6d7fb950458
CRs-Fixed: 2863366
2021-02-01 20:59:13 -08:00
snandini
7331a93f7d Release 5.2.0.220X
Release 5.2.0.220X

Change-Id: Ia9b9e40a0b9ff0a00582f7d21ff6b83570b9fa53
CRs-Fixed: 774533
2021-02-01 17:33:32 -08:00
Rajeev Kumar
b4bce577f2 qcacld-3.0: Set target config with default sap and go d3 config
Host needs to send down sap and go client connected mode d3 wow
feature support and hence save the default config which will be
send later down to FW via WMI INIT CMD.

Change-Id: I71ff3155e30ea03c63045473ad256dc14026f5fd
CRs-Fixed: 2866617
2021-02-01 17:33:32 -08:00
snandini
dcf48ab5b8 Release 5.2.0.220W
Release 5.2.0.220W

Change-Id: Ief9dd95cbafeb3f5509b053b13fe5d546a0a8ee3
CRs-Fixed: 774533
2021-02-01 15:30:03 -08:00
Rajasekaran Kalidoss
ae43f49618 qcacld-3.0: send get status wake interval in multiples of TU
The current get params logic sends wake_interval_us
without converting to multiples of TU. Correct it to
send the get status wake interval in multiples of TU to the
userspace

Change-Id: Ib583581287f9440e438ef3296ea48ef1148ae083
CRs-Fixed: 2862651
2021-02-01 15:30:03 -08:00
gaurank kathpalia
c29ed658d3 qcacld-3.0: Add supported channels, 11r, ESE etc. to LIM
Add csr join req params in LIM and fill them
accordingly.

Change-Id: Iea26867168b4e211a42e501c2aa36bebec1808e6
CRs-Fixed: 2867376
2021-02-01 15:29:58 -08:00
Arun Kumar Khandavalli
8e2438d561 qcacld-3.0: Release sme global lock in the error condition
with recent commit 203218df88 
("qcacld-3.0: Set sme power stats response cb and context to NULL")  
fix in the error condition the sme global lock is not getting released 
resulting in the mc thread being struck.

Release the sme global lock in the error condition.

Change-Id: I6235a632c6b74c48374d4584eb727bf9ffe296a8
CRs-Fixed: 2867358
2021-02-01 15:29:54 -08:00
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