Commit graph

22085 Commits

Autor SHA1 Nachricht Datum
Jeff Johnson
ab72992beb qcacld-3.0: Kbuild: Cleanup TXRX3.0_OBJS logic
Currently TXRX3.0_OBJS are added to the OBJS aggregation only when
CONFIG_WLAN_FEATURE_DP_RX_THREADS is enabled. However only one of the
object files, dp_rx_thread.o, should be controlled by that feature.

Update the logic to conditionally add dp_rx_thread.o to TXRX3.0_OBJS,
to encapsulate all TXRX3.0_OBJS assignments within CONFIG_LITHIUM,
and unconditionally add TXRX3.0_OBJS to OBJS.

Change-Id: I6ceeafeab43a960277a1870daff5566288199ada
CRs-Fixed: 2867843
2021-02-08 22:57:11 -08:00
Jeff Johnson
02b0129806 qcacld-3.0: Kbuild: Refactor ol_txrx_event.o rule
There are currently two different places where ol_txrx_event.o is
added to the final target object list. As part of ongoing Makefile
cleanup consolidate these to a single location.

Change-Id: Id342ae771830f5fd4d65c6c5523c36f1e50bc941
CRs-Fixed: 2867841
2021-02-08 22:57:07 -08:00
snandini
22e78905af Release 5.2.0.222
Release 5.2.0.222

Change-Id: Ibd2c7b7eb297323322ef9ffa1f8e5f3a33183cc2
CRs-Fixed: 774533
2021-02-08 12:56:41 -08:00
Karthik Kantamneni
795d9dfab2 qcacld-3.0: Cleanup FISA debug macro
FISA debug macro is leading to unnecessary additional functional calls,
to avoid this cleaning up macro and pointing to nop when disabled.

Change-Id: I21ebd64f61e2c31736d55e2d17f588dbddbc15c7
CRs-Fixed: 2869361
2021-02-08 12:56:41 -08:00
snandini
8dcc37bedc Release 5.2.0.221Z
Release 5.2.0.221Z

Change-Id: I986b56bc14df513357d7f459e48f315f5c7ba272
CRs-Fixed: 774533
2021-02-08 08:50:15 -08:00
Karthik Kantamneni
24bd39e7fc qcacld-3.0: Fix array out of bound access during fisa flush
Fisa flow entry napi id is initialized to invalid value,
which will cause out of bound access during fisa flush by vdev id.

Fix this by validating array index before access.

Change-Id: Ic7b1b1448194b75777f9dc392043275235caa7f7
CRs-Fixed: 2873033
2021-02-08 08:50:15 -08:00
snandini
9874c352c8 Release 5.2.0.221Y
Release 5.2.0.221Y

Change-Id: I2b0c6c2bc5d6ea543cf8cd6381b96570ba26c0b3
CRs-Fixed: 774533
2021-02-08 04:18:40 -08:00
wadesong
5c90d3b56e qcacld-3.0: Enable skb accounting
1) Enable skb accounting for rm/gno/hst on auto platforms.
2) Remove an unused ini item name.

Change-Id: I19f8b70a409bb6485eea08fdbdf3a8e34839bf59
CRs-Fixed: 2872544
2021-02-08 04:18:39 -08:00
snandini
2d2f37a17e Release 5.2.0.221X
Release 5.2.0.221X

Change-Id: Ic5d93662f77eca427b5d19ca4bcebd686349ac7d
CRs-Fixed: 774533
2021-02-08 02:06:35 -08:00
Dundi Raviteja
cefa874fb8 qcacld-3.0: Reduce stack frame size in wlan_update_bss_with_fils_data
Reduce stack frame size of wlan_update_bss_with_fils_data()
by allocating dynamic memory to fils indication.

Change-Id: I799100558b4192f4be2eaa1fb4f9508a2cb73e66
CRs-Fixed: 2868544
2021-02-08 02:06:35 -08:00
snandini
5d4c63f7a4 Release 5.2.0.221W
Release 5.2.0.221W

Change-Id: Id159ee0611389ff9974b8285a78d6869114f8a97
CRs-Fixed: 774533
2021-02-07 20:40:53 -08:00
Liangwei Dong
460b428c6b qcacld-3.0: Add PSC & VLP 6GHz chan to mandatory list
According to new requirement, when SAP manadatory channel list
enabled (gWlanMccToSccSwitchMode = 4,
gEnableSAPManadatoryChanList=1), the SAP will only be started on
PSC and VLP channels on 6Ghz band. Add all 6GHz PSC & VLP channels
to SAP mandatory list.

Change-Id: I00514c0af9c1cc07460120c928ced652aa2e8d4e
CRs-Fixed: 2870590
2021-02-07 20:40:53 -08:00
snandini
7bf7ccbde6 Release 5.2.0.221V
Release 5.2.0.221V

Change-Id: Ifb940b0adf489fe2a0fb71ab37de27f80378b5e9
CRs-Fixed: 774533
2021-02-06 22:18:41 -08:00
Dundi Raviteja
e420cbf610 qcacld-3.0: Reduce stack frame size in pmo_core_cache_ns_in_vdev_priv
Reduce stack frame size of pmo_core_cache_ns_in_vdev_priv()
by allocating dynamic memory to struct pmo_ns_offload_params.

Change-Id: I23a2bbcbc2b64c40513511479b1c8aeb9e7898d6
CRs-Fixed: 2868424
2021-02-06 22:18:41 -08:00
snandini
71712fc2ae Release 5.2.0.221U
Release 5.2.0.221U

Change-Id: Iec92fba010252d901de3205ff211bfd8eb3c0d68
CRs-Fixed: 774533
2021-02-06 12:46:56 -08:00
Dundi Raviteja
3b0a146c82 qcacld-3.0: Reduce stack frame size while extracting pdev stats
Reduce stack frame size of target_if_cp_stats_extract_pdev_stats()
by allocating dynamic memory to wmi_host_pdev_stats.

Change-Id: I83a73f2973b54fbc28399c106ea52a0b6c1988f3
CRs-Fixed: 2868500
2021-02-06 12:46:55 -08:00
Dundi Raviteja
0fddfca79a qcacld-3.0: Reduce stack frame size while converting probe req frame
Reduce stack frame size of sir_convert_probe_req_frame2_struct()
by allocating dynamic memory to tDot11fProbeRequest.

Change-Id: I999905fd8acd4d8d1b12fb4617096fd442b079da
CRs-Fixed: 2868533
2021-02-06 12:46:51 -08:00
snandini
39539e8d1e Release 5.2.0.221T
Release 5.2.0.221T

Change-Id: I51b3bb844af2d60a4df213e68e17e18a1068998a
CRs-Fixed: 774533
2021-02-06 10:42:46 -08:00
Dundi Raviteja
38f98292e3 qcacld-3.0: Reduce stack frame size while extracting vdev stats
Reduce stack frame size of
target_if_cp_stats_extract_vdev_summary_stats()
by allocating dynamic memory to wmi_host_vdev_stats.

Change-Id: I3922f2b61bcde5d5aa90e71f55a884075742147b
CRs-Fixed: 2868487
2021-02-06 10:42:46 -08:00
Dundi Raviteja
f814c5b5f5 qcacld-3.0: Reduce stack frame size while handling mc_cp_stats
Reduce stack frame size of target_if_mc_cp_stats_stats_event_handler()
by allocating dynamic memory to struct stats_event.

Change-Id: Ieaf99efece75080fe7ff6cf2cf70858ca5f8740f
CRs-Fixed: 2868456
2021-02-06 10:42:41 -08:00
snandini
b6875549ea Release 5.2.0.221S
Release 5.2.0.221S

Change-Id: I52c670f4e2b358182a2bad2e03e2b99eff917974
CRs-Fixed: 774533
2021-02-05 19:53:30 -08:00
Aditya Kodukula
a9f651f6ba qcacld-3.0: Rename the flag QCA_WIFI_NAPIER_EMULATION
To make it generic, rename the flag QCA_WIFI_NAPIER_EMULATION
as QCA_WIFI_EMULATION.

Change-Id: I8e654262a38a7a701a5a34e2bbd5394c8985c65a
CRs-Fixed: 2871313
2021-02-05 12:43:51 -08:00
snandini
b3ae6d59cc Release 5.2.0.221R
Release 5.2.0.221R

Change-Id: I42f42e78989f417a2474b1b5f24d9eb22d143c6d
CRs-Fixed: 774533
2021-02-05 12:05:49 -08:00
Pragaspathi Thilagaraj
b870f29782 qcacld-3.0: Allow TWT events to wake up wlan host
Currently when TWT commands are sent to firmware, the host driver
doesn't acquire wake lock. So the wlan can got to wow mode before
receiving the TWT command response and the response will get
dropped since host is in wow mode.

To avoid this make the TWT events as wakeable so firmware can
wake up host if host is suspended.

Change-Id: I2750049f9173de564e24114731d3fdd8ec8d6d86
CRs-Fixed: 2869865
2021-02-05 12:05:49 -08:00
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