Commit Graph

22061 Commits

Author SHA1 Message Date
snandini
713c04bbc6 Release 5.2.0.221Q
Release 5.2.0.221Q

Change-Id: Ica194b7cc55c06e0f5d8f3cd85ca83663972867e
CRs-Fixed: 774533
2021-02-05 07:01:00 -08:00
Jingxiang Ge
beebd1c127 qcacld-3.0: check state for netdev_features_update_work
before deinit netdev_features_update_work, check if it
has been initialized.

Change-Id: Ib9ba1ed42f4616872ec6eb8a24c6c0d1e316e356
CRs-Fixed: 2871324
2021-02-05 07:01:00 -08:00
Vulupala Shashank Reddy
f8d388d249 qcacld-3.0: Add compilation flag of pkt capture mode for lithium
Add compilation flag of packet capture mode for lithium

Change-Id: I0a0cd43d3846761c18224c79068f2ec16179d735
CRs-Fixed: 2845616
2021-02-05 07:00:55 -08:00
snandini
173dc9fbb9 Release 5.2.0.221P
Release 5.2.0.221P

Change-Id: I43dd312b3c8c3eec20c869d2b160f1fb770b5c4f
CRs-Fixed: 774533
2021-02-05 02:50:23 -08:00
Lincoln Tran
e0db05e0fd qcacld-3.0: Add INI for TPE preference
When the TPE IE comes to driver, there could be information for both
local and regulatory. Add an INI for preference in the case that both
sets are present.

Change-Id: I4b37123569f422863fc805063974c65878a9baea
CRs-fixed: 2854774
2021-02-05 02:50:23 -08:00
Vulupala Shashank Reddy
c6fcb33313 qcacld-3.0: Refactor hardware name lithium with v2 for pkt capture mode
Refactor WLAN_FEATURE_PKT_CAPTURE_LITHIUM to WLAN_FEATURE_PKT_CAPTURE_V2
and refactor pkt_capture_get_pktcap_mode_lithium to
pkt_capture_get_pktcap_mode_v2 to remove hardware name from compilation
flag and function name.

Change-Id: Id12c60a47dee95a719cc39aa0803edc9582dda3b
CRs-Fixed: 2869808
2021-02-05 02:50:19 -08:00
Aditya Kodukula
f85e7950d7 qcacld-3.0: Increase the change interface wait timer value
Increase the default value of gInterfaceChangeWait timer from
10000 to 300000, when QCA_WIFI_NAPIER_EMULATION is enabled.

Change-Id: I8c3b7907fc2ccfcbbdb152e28a1364630c99555a
CRs-Fixed: 2871256
2021-02-05 02:50:15 -08:00
snandini
69de8139da Release 5.2.0.221O
Release 5.2.0.221O

Change-Id: Idd305a5c518b5d97c1ca09544525decc44629ff6
CRs-Fixed: 774533
2021-02-05 00:30:48 -08:00
Rajeev Kumar
2906b33aa3 qcacld-3.0: Add FW capability check for sap and go d3 wow
Add WMI service FW capability check before enabling D0 and D3
WoW for SAP and GO clients connected mode.

Change-Id: I878e4ee33807804e049bf1e8b8078d28fc1d4834
CRs-Fixed: 2869072
2021-02-05 00:30:48 -08:00
sandhu
6c5b2f62c0 qcacld-3.0: Initialize fisa flow entry napi id to other than zero value
Zero initialization of Napi id can cause napi id zero context to flush
flow that are uninitialized. Which may cause a race condition if some
other napi context is using the uninitialized fisa flow entry during the
flow learning phase.

Change-Id: Iedca4ee112efa29c70a632c4a365e95f71e8f506
CRs-Fixed: 2864633
2021-02-05 00:30:43 -08:00
snandini
87e3d1f4c0 Release 5.2.0.221N
Release 5.2.0.221N

Change-Id: Idd3171638de6c5a492b5f1bafd34fdad7f5e84e8
CRs-Fixed: 774533
2021-02-04 22:20:35 -08:00
Abhishek Ambure
4d70816032 qcacld-3.0: Set OEM 6Ghz support only if Reg domain supports 6Ghz
Host uses "oem_6g_support_disable" INI value to configure
oem_6g_support_disable of wifi pos priv psoc object. If the Reg
domain doesn't support 6Ghz band and INI "oem_6g_support_disable"
value is 0, then host enables support for 6Ghz. Thus OEM apps
supporting 6Ghz fails to get 6Ghz channel information from host.
Hence use reg domain 6Ghz support  and "oem_6g_support_disable"
INI value to update oem_6g_support_disable of wifi pos priv psoc
object.

Change-Id: Id5e5b6220f3ce880da3c40aa959887ebc6bbfa7c
CRs-Fixed: 2870971
2021-02-04 22:20:34 -08:00
gaurank kathpalia
636dcb384c qcacld-3.0: Avoid sme lock from connect/disconnect callback
Avoid sme lock from connect/disconnect callback as the callback
already takes connection manager or sme lock.

Change-Id: Ifd5499f6756be7208d350afaae6cf637e7d69349
CRs-Fixed: 2870854
2021-02-04 22:20:29 -08:00
snandini
1f8104f907 Release 5.2.0.221M
Release 5.2.0.221M

Change-Id: I7866374b136ef6f9978b14011a03392260755751
CRs-Fixed: 774533
2021-02-04 20:07:33 -08:00
gaurank kathpalia
54195d40bd qcacld-3.0: Avoid calling disconnect API while holding sme lock
Add RSO lock and use it to send RSO commands. Also
avoid calling the cm_disconnect API while holding
SME global lock to avoid race.

Change-Id: I588a56f4c96d137d3283b2dc57274de069ecb4ab
CRs-Fixed: 2870603
2021-02-04 20:07:33 -08:00
snandini
aae74c288d Release 5.2.0.221L
Release 5.2.0.221L

Change-Id: I0671565fc9adcf543822aa0aa781830d67a1d8c0
CRs-Fixed: 774533
2021-02-04 17:53:02 -08:00
Amar Singhal
d4ff2dde0f qcacld-3.0: Modify TPE information elements for 6ghz
Re-write TPE IE populating code. For 6ghz AP, there can be multiple
TPE IEs.The TPE IE can be of type PSD or non-psd.

Change-Id: I029d4826cbc73abb382d885260c355217b2cc6b4
CRs-Fixed: 2863009
2021-02-04 17:53:02 -08:00
snandini
2716d09c93 Release 5.2.0.221K
Release 5.2.0.221K

Change-Id: Ie02d9d21c1e01f37bb6b3c3f009850dfe7536d38
CRs-Fixed: 774533
2021-02-04 11:00:06 -08:00
Jingxiang Ge
c9059d5ea0 qcacld-3.0: Fix mcs12_13 wrong rate issue
issue step:
1 first connect with mcs_12_13 supported ap
2 switch to connect with non support mcs_12_13 ap

the linkspeed for 2nd ap will be wrong as it is leverage
1st ap's sta info in vdev_mlme_obj.

Fix is reinit mcs_12_13 in vdev_mlme_obj for each connection.
no matter if it is 11ax AP.
Change-Id: I7f6ceb2543be1df324f57183758872e6d807d8f9
CRs-Fixed: 2868617
2021-02-04 11:00:05 -08:00
snandini
e9a8278a98 Release 5.2.0.221J
Release 5.2.0.221J

Change-Id: Id29e8f7295a257868408f8b8fd852f5ad03ce559
CRs-Fixed: 774533
2021-02-04 06:43:33 -08:00
Liangwei Dong
34cdb77ca8 qcacld-3.0: Reject reassoc to AP that connected on other vdev
In Dual station case, reassociate to AP which is connected on other
vdev is not supported, and will get roam invoke failure from target.
Disallow the bssid reassocaite by checking the connected vdev.

Change-Id: I4533cf8b633cec9ddebff946248dbacf8eab169d
CRs-Fixed: 2868221
2021-02-04 06:43:33 -08:00
Liangwei Dong
785fe4abe2 qcacld-3.0: Do not update beacon before channel switch on STA
Kernel maintains bss with old channel, if inform beacon before
channel switching, kernel will create new bss. And kernel will
unlink the “new” bss when process channel switch event, that could
being used by other component. Driver can avoid “new” bss creation
by removing the wlan_hdd_cfg80211_update_bss_db call before
indication the channel switch to kernel.
The kernel bss updating will happen in following beacon rx from
ap.

Change-Id: I4f1405cd3c8533bafcbd2fc0a290864cddd1e634
CRs-Fixed: 2868341
2021-02-04 06:43:29 -08:00
snandini
12817e2528 Release 5.2.0.221I
Release 5.2.0.221I

Change-Id: Ia1c13f1401e69d0ef1d99606ccc8eaeba1981115
CRs-Fixed: 774533
2021-02-03 16:26:34 -08:00
Rajasekaran Kalidoss
efd1c80b74 qcacld-3.0: Release event buffer memory for twt get stats
Release event buffer memory used for TWT get stats request.

Change-Id: Ia76b5c7ac5c8cb0778c93307dfc0e91c29707344
CRs-Fixed: 2857937
2021-02-03 16:26:34 -08:00
snandini
10933e2e4c Release 5.2.0.221H
Release 5.2.0.221H

Change-Id: I8461a82fad750270dd7780c1be3b5d715d7bff94
CRs-Fixed: 774533
2021-02-03 09:43:41 -08:00
Pragaspathi Thilagaraj
d39fb48f53 qcacld-3.0: Don't delete TWT session if teardown fails
When TWT teardown is received, driver sets the twt setup done
flag to false and clears the TWT dialog id/state for the TWT
session irrespective of the teardown status sent by firmware.
This causes TWT session deletion even if ack is not received for
TWT teardown frame or internal error due to which TWT teardown
frame was not sent over air.

Don't clear the TWT sesson if teardown failure due to internal
error or no ack is received for TWT frame.

Change-Id: I7d5cf423c3cd0d4be9bb2ff0b238a3fa069783cf
CRs-Fixed: 2866195
2021-02-03 09:43:41 -08:00
snandini
ba1e0b27d9 Release 5.2.0.221G
Release 5.2.0.221G

Change-Id: I5cb7452c1973075d187aa195ccfe5f83d9ad3d2a
CRs-Fixed: 774533
2021-02-03 07:42:50 -08:00
Abdul Muqtadeer Ahmed
a164b1acd9 qcacld-3.0: Fix possible OOB read in wlan_hdd_get_sap_obss
A possible out-of-bound read can happen in the hdd function
wlan_hdd_get_sap_obss. To fix it, pass the proper length.

Change-Id: I698f71314e0e164cc729942294dcabb37d362245
CRs-Fixed: 2851927
2021-02-03 07:42:50 -08:00
snandini
61b5f98183 Release 5.2.0.221F
Release 5.2.0.221F

Change-Id: Id636146631cee8bef714f4d7973f54c344ab4ab0
CRs-Fixed: 774533
2021-02-03 05:41:27 -08:00
Karthik Kantamneni
2d3be81051 qcacld-3.0: Fix MIC verification in helium family
Currently MIC verification is not proper for fragmented packets,
fix MIC verification for helium family.

Change-Id: Iac95c579287bafedf6521b38f2c628fd08cca72d
CRs-Fixed: 2869483
2021-02-03 05:41:26 -08:00
Surabhi Vishnoi
2ef5608434 qcacld-3.0: Update the channel in tx_status for pkt capture mode
Update the channel info in the tx_status from policy manager for
packet capture mode.

Change-Id: Id237a0ee3d102b60c2cd9d47f2febb4538f29e2f
CRs-Fixed: 2869411
2021-02-03 05:41:20 -08:00
snandini
644d10312a Release 5.2.0.221E
Release 5.2.0.221E

Change-Id: Ib9d1bdfff87c50fd62375435ed84456c881d3677
CRs-Fixed: 774533
2021-02-03 01:50:08 -08:00
Kiran Kumar Lokere
657a090e6c qcacld-3.0: Fix the fixed rate disable cmd setting value
Correct the fixed rate disable setting parameter value.

Change-Id: I6d7130015053a7bebac99517f32520e324887f93
CRs-Fixed: 2868210
2021-02-03 01:50:08 -08:00
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