Commit Graph

22607 Commits

Author SHA1 Message Date
snandini
1e88f3d40f Release 5.2.0.229R
Release 5.2.0.229R

Change-Id: I757dbadeec7464a3c549d37c1fdde52913c7a5c4
CRs-Fixed: 774533
2021-04-14 00:52:16 -07:00
Abhishek Ambure
61c1774ff7 qcacld-3.0: Forward all vendor specific action frames to supplicant
On reception of vendor specific action frames, host performs basic sanity
on vendor specific action frames fields and then forwards to supplicant.

Change-Id: Ib22b9a431411fff8128e461972b81b66688a0919
CRs-Fixed: 2897656
2021-04-14 00:52:16 -07:00
snandini
62712aeed1 Release 5.2.0.229Q
Release 5.2.0.229Q

Change-Id: Ic4670935239c53880ecb586f6237017bbf5dbae7
CRs-Fixed: 774533
2021-04-13 18:53:48 -07:00
Pragaspathi Thilagaraj
1a5d01bd93 qcacld-3.0: Set TWT wait for notify in concurrency TWT teardown
If firmware sends the TWT teardown due to concurrent session is
established, then the wait for notify flag is not set. So other
commands can be sent to firmware.

In case of TWT teardown due to concurrency, set the wait for
notify flag.

Change-Id: Ia1d5134e1c6d931f8c5ced1c011efb3489d343ad
CRs-Fixed: 2919799
2021-04-13 18:53:47 -07:00
Gururaj Pandurangi
900c3acdac qcacld-3.0: Remove all wlan_reg_chan_has_dfs_attribute instances
Use wlan_reg_chan_has_dfs_attribute_for_freq API to check DFS
attribute flag instead of unused wlan_reg_chan_has_dfs_attribute
API as part of regulatory clean-up effort.

Change-Id: I7ff75f56ebd641d500c365f756526b787986dcbe
CRs-Fixed: 2908159
2021-04-13 18:53:43 -07:00
snandini
cd50332b0f Release 5.2.0.229P
Release 5.2.0.229P

Change-Id: I4f680dded8c97b57c92c5335beed521a9a84d40c
CRs-Fixed: 774533
2021-04-13 14:50:40 -07:00
Jeff Johnson
8ccb229505 qcacld-3.0: Kbuild: Update WLAN_CFG_OVERRIDE handling
Currently Kbuild handles WLAN_CONFIG_OVERRIDE directives by writing
the overrides into a file and then including the file. This violates
one of the requirements of the Hermetic Build feature which forbids
modifying the source directory. This is also subject to a race
condition where multiple concurrent builds attempt to write to the
file in parallel, and one of the builds ends up consuming the
overrides from both builds.

To avoid these issues update the WLAN_CFG_OVERRIDE handling to no
longer use a file, but to instead just $(eval) the overrides.

Change-Id: Iac159228a82b0a8134e272ce63ed568050e8e6ae
CRs-Fixed: 2917351
2021-04-13 14:50:40 -07:00
snandini
25e31a23f4 Release 5.2.0.229O
Release 5.2.0.229O

Change-Id: Idf0c050337990fd9558ef15ceb261a72fb141d43
CRs-Fixed: 774533
2021-04-13 11:52:15 -07:00
Amruta Kulkarni
d32aa6c182 qcacld-3.0: Add ssid info during roam sync
During roam sync add ssid infoemation in connect response structure.

Change-Id: I00c03305ddbfcf03397ad5e27fa3d5e52acdbb90
CRs-Fixed: 2919735
2021-04-13 11:52:15 -07:00
snandini
22e5f6d755 Release 5.2.0.229N
Release 5.2.0.229N

Change-Id: Id1d7581c7a982dd0f0f7eb516f5313bb807258f9
CRs-Fixed: 774533
2021-04-13 03:39:43 -07:00
Srinivas Girigowda
1bc852f685 qcacld-3.0: Reject TWT setup if there exists another TWT session
Add support to reject the TWT setup request if there exists
another TWT session with different dialog id.

Change-Id: I59c0ba4279581bad14bec886d22c0ac65838ec17
CRs-Fixed: 2920494
2021-04-13 03:39:42 -07:00
Srinivas Girigowda
8703e09f92 qcacld-3.0: Enhance mlme_twt_is_command_in_progress() to return active_cmd
Currently, mlme_twt_is_command_in_progress() function checks if the given
command is in progress or not. For inputs like WLAN_TWT_ANY, if this function
returns true then from the current logs, its not known which
active command in progress.

Hence for better debugging, enhance this function to return active command.

Change-Id: Ibc5c5babb042408b0e8988fe229d344ed98bfff3
CRs-Fixed: 2920494
2021-04-13 03:39:37 -07:00
Bapiraju Alla
fb9aa31f27 qcacld-3.0: Define lim APIs to handle EHT information elements
As part of 11be enhancements, EHT operation and EHT capability
information elements were added. To support 11be in host driver,
define new APIs to handle these information elements in lim layer.

Change-Id: If615251cf874902263fe3c4faaf924fc9a3d9e23
CRs-Fixed: 2907952
2021-04-13 03:39:31 -07:00
Bapiraju Alla
8482de3f61 qcacld-3.0: Add support for EHT information elements
As part of 11be enhancements, new information elements were added to
advertise the EHT capabilities in management frames. current driver
implementation supports generation and parsing of information
elements only till 11ax. Update the driver implementation to support
generation and parsing of information elements corresponding to EHT.

Change-Id: I3fd4067dc830b9fb5d603ae119fbb7ec6cfebe4e
CRs-Fixed: 2906976
2021-04-13 03:39:25 -07:00
Yu Wang
fdc00052a7 qcacld-3.0: set msdu/mpdu aggr size for each vdev start
The global aggregation size is only set to firmware once
when vdev is created. And the size may be modified
dynamically for a specified AP during association, according
to the OUI based aggregation size configured by ini
'cfg_tx_iot_aggr'.

If global AMSDU size is 0, considering the case as below:
1. connect to AP-1 which is included in 'cfg_tx_iot_aggr',
   the AMSDU size will be set to the specifed value.
2. connect to AP-2 which is NOT in 'cfg_tx_iot_aggr',
   it doesn't reset the AMSDU size to 0, and firmware is
   still using the value set in step #1, it's wrong.

To fix this issue, set the global size for each vdev start,
as init values for each connection.

Change-Id: I790d580fc5762e6816e840ba5484b3cd758334df
CRs-Fixed: 2918046
2021-04-13 03:39:19 -07:00
snandini
8b8797c2ad Release 5.2.0.229M
Release 5.2.0.229M

Change-Id: I48aacd9f94f8152d9a38776ed00d7e365c5fed04
CRs-Fixed: 774533
2021-04-13 01:30:58 -07:00
Jeff Johnson
1098e249a8 qcacld-3.0: Enabled nested composites on supported GKI kernels
KERNEL_SUPPORTS_NESTED_COMPOSITES := y is used to enable nested
composite support. The nested composite support is available in some
MSM kernels, and is available in all GKI kernels beginning with
5.10.20, but unfortunately is not available in any upstream kernel.

When the feature is present in an MSM kernel, the flag is explicitly
set in the kernel sources.  When a GKI kernel is used, there isn't a
flag set in the sources. Therefore add logic to set the flag if we are
building with GKI kernel 5.10.20 or greater.

Change-Id: I13cd1a07915e9d187da22259cc61d9481e908e79
CRs-Fixed: 2914541
2021-04-13 01:30:58 -07:00
Jingxiang Ge
f1dac5f68e qcacld-3.0: check if runtime pm enabled in runtime_suspend
check if runtime pm enabled in wlan_hdd_runtime_resume
and wlan_hdd_runtime_suspend.

Change-Id: I107f953d19ea6078d8bb8a59d51dcac6736ff914
CRs-Fixed: 2920169
2021-04-13 01:30:37 -07:00
Abhishek Singh
aad0c30f20 qcacld-3.0: Update comments for temp change to enable connection mgr
Update comments for temp change done to enable connection mgr, as
CONFIG_CM_ENABLE will be removed once Connection manager
LFR2 changes are done.

Change-Id: I22bc1f3f9fe5a69206ac496e99a60beb87dc1e36
CRs-Fixed: 2921657
2021-04-13 01:30:33 -07:00
snandini
2ad3437271 Release 5.2.0.229L
Release 5.2.0.229L

Change-Id: Id074c2755cdd179bef29a164d9654759c89eb887
CRs-Fixed: 774533
2021-04-12 13:04:16 -07:00
Aditya Kodukula
b619f021fc qcacld-3.0: Remove INI parameter gReorderOffloadSupported
As part of WiFi ini clean-up FR, the ini gReorderOffloadSupported,
is identified as an obsolete parameter. Hence it is deprecated and
all instances of the config  CFG_DP_REORDER_OFFLOAD_SUPPORT is
replaced by default value of ini.

Change-Id: I738406fb740f414fb6ad70603dfc95b9bf137ac4
CRs-Fixed: 2916527
2021-04-12 13:04:16 -07:00
snandini
f22cbb2a15 Release 5.2.0.229K
Release 5.2.0.229K

Change-Id: I2d75a0534578528be3d27edeae09a4b4c87daff3
CRs-Fixed: 774533
2021-04-12 05:42:39 -07:00
Ashish Kumar Dhanotiya
f48276bf56 qcacld-3.0: Add 11BE wireless mode and NO11BE phybitmap
Extract the 11BE flags advertised by FW in WMI_SERVICE_READY_EXT2_EVENTID
and update the regulatory pdev wireless modes. The wireless mode is
currently represented as 'uint32_t' and all the 32 bits are exhausted.
To accommodate the new 11BE flags, change the data type of wireless_modes
from 'uint32_t' to 'uint64_t'.

Change-Id: I9c137fe4c3d6f28cf0b4e0dcb0ea5aae01b1749e
CRs-Fixed: 2906216
2021-04-12 05:42:39 -07:00
snandini
7484d8ee33 Release 5.2.0.229J
Release 5.2.0.229J

Change-Id: I1bb88ab635a79fbb02da8280e89756b00f48839d
CRs-Fixed: 774533
2021-04-10 22:52:22 -07:00
Jianmin Zhu
ac8d6a6ba2 qcacld-3.0: Disable TX_AGGREGATION_SIZE ini for HSP
HSP doesn't support TX_AGGREGATION_SIZE ini, need disable it to avoid
confusing.

Change-Id: I9e49ad5218f913f116cf4472f768f572740f14df
CRs-Fixed: 2918796
2021-04-10 22:52:22 -07:00
snandini
609dae80b8 Release 5.2.0.229I
Release 5.2.0.229I

Change-Id: I6a505c344baf44b1581fb0c38a65b3af8bd2882d
CRs-Fixed: 774533
2021-04-10 07:30:49 -07:00
Abhishek Singh
7ef6d77f40 qcacld-3.0: Update htSupportedChannelWidthSet on HT BW change
Currently if STA is connected to HT only AP and if BW change
due to OBSS scan the htSupportedChannelWidthSet is not updated
and thus TDLS peer which use htSupportedChannelWidthSet to get
BW may not consider the vdev BW for HT and thus peer's BW can
go beyond VDEV's BW.

Fix this by updating htSupportedChannelWidthSet on vdev restart
on HT BW change

Change-Id: I7253fd240206ec27eac3e2b1de8debf8705a8234
CRs-Fixed: 2920539
2021-04-10 07:30:49 -07:00
snandini
a58e6ea55a Release 5.2.0.229H
Release 5.2.0.229H

Change-Id: I55fa6ab3c0dd706bb450e3c08160ae141fd8fcfa
CRs-Fixed: 774533
2021-04-10 02:40:58 -07:00
Aditya Kodukula
639956920a qcacld-3.0: Fix memory leak in set_wifi_test_config vendor command
In the current implementation of the function
__wlan_hdd_cfg80211_set_wifi_test_config, if the status returned by
get_cfg API is not Success, it returns from the function without
freeing the allocated memory. This causes a potential memory leak.
To avoid this, free the allocated memory properly.

Change-Id: I5f9ac5f2edc49ebad662f18dbe09893f8bee6459
CRs-Fixed: 2918850
2021-04-10 02:40:58 -07:00
Vulupala Shashank Reddy
85bf09b858 qcacld-3.0: Refactor the code related to packet capture header
Refactor the code to replace htt tx data header with packet capture
header. So that we can add extra parameters in packet capture
header to send required data to packet capture callback function.

Change-Id: I863c63b925d1cd8ba5a8a7f0bc08ee3cd2acb96b
CRs-Fixed: 2916795
2021-04-10 02:40:53 -07:00
snandini
cc4e8cb18a Release 5.2.0.229G
Release 5.2.0.229G

Change-Id: I38f2d0e647d046be451274a0556407622747e189
CRs-Fixed: 774533
2021-04-09 23:44:53 -07:00
Kiran Kumar Lokere
8c21a47b8d qcacld-3.0: Add RSNXE IE in beacon addtional IE buffer
Add RSNXE IE to beacon additional buffer to include it in
beacon frames.

Change-Id: Ie27f35bfe7f4a1ad291aa081e23db3b3e4444a57
CRs-Fixed: 2919168
2021-04-09 23:44:52 -07:00
snandini
af4d748ed2 Release 5.2.0.229F
Release 5.2.0.229F

Change-Id: I16b456b798b02dd30ad173df084b34ad15bf6902
CRs-Fixed: 774533
2021-04-09 20:50:27 -07:00
Abhishek Singh
e948157697 qcacld-3.0: Fix the PMK sent for 11r
As part of I418be56d452389a9f7b8d48e28f793567e81767a due to copy
paste error in cm_roam_scan_offload_fill_lfr3_config the pmk was
copied to rso_11i_info instead of rso_11r_info.

Fix this by copying pmk to rso_11r_info.

Change-Id: If4d1ea23ab4b4c43db3fac78fbfd43ad74a7e1b4
CRs-Fixed: 2920206
2021-04-09 20:50:27 -07:00
snandini
5a36a9272e Release 5.2.0.229E
Release 5.2.0.229E

Change-Id: Ia2cab23927caddae662b27f8c05610cf7b1d8186
CRs-Fixed: 774533
2021-04-09 09:50:29 -07:00
Vulupala Shashank Reddy
a8d99b9c1b qcacld-3.0: Fix data rate in mgmt rx packets in packet capture mode
Currently the rate, ofdm and cck flags are filled to support only
legacy rates.To support other rates too, fill ofdm and cck flags
based on phymode and fill rate in terms of 500 Kbps in tx status.

Change-Id: I972919ebd2cbd19a1b55af0324e481fada7f12cd
CRs-Fixed: 2917079
2021-04-09 09:50:29 -07:00
snandini
b35183b4fb Release 5.2.0.229D
Release 5.2.0.229D

Change-Id: I6d0020e9d1bafa79555a7a1959cb4800625e7b53
CRs-Fixed: 774533
2021-04-09 07:33:24 -07:00
Amruta Kulkarni
810927615f qcacld-3.0: Enable CM feature
Enable connection manager feature flag on mainline.

Change-Id: Ice2d0ac61c770066510e666c1791500f1ce8f8ba
CRs-Fixed: 2913164
2021-04-09 07:33:23 -07:00
snandini
47662a1594 Release 5.2.0.229C
Release 5.2.0.229C

Change-Id: Id65bd138b93b101c07b6bc3c87f096d6d1a111ca
CRs-Fixed: 774533
2021-04-09 02:47:12 -07:00
Srinivas Girigowda
6879ad5d67 qcacld-3.0: Add support for TWT re-negotiation failure
1. If the TWT setup parameter re-negotiation results in failure,
   then host driver shall trigger TWT teardown for the
   existing TWT session.
2. Upon receiving the TWT teardown confirmation from the firmware,
   host driver shall cleanup TWT session, send teardown notification
   to the user space and ready for next TWT setup command.

Change-Id: I553ae7de8d900a3dc12d563b781f9fefa36f8a0b
CRs-Fixed: 2916548
2021-04-09 02:47:12 -07:00
snandini
3f77f352f6 Release 5.2.0.229B
Release 5.2.0.229B

Change-Id: I3f8dfe54eda9547efa9092e541503c5d3ffd2ee7
CRs-Fixed: 774533
2021-04-08 14:53:34 -07:00
Bapiraju Alla
97265d9bee qcacld-3.0: Don't enable HIF_DETECTION_LATENCY feature for all targets
The feature HIF_DETECTION_LATENCY_ENABLE is not applicable for all targets.
To avoid issues, enable this feature based on target.

Change-Id: Ia7bab02710ee2bbb9f487571ec98992ac338961f
CRs-Fixed: 2915968
2021-04-08 14:53:34 -07:00
snandini
4f3b4c6b7b Release 5.2.0.229A
Release 5.2.0.229A

Change-Id: I2b21bb31baea4792466d4ef0d0f1d42537c2a594
CRs-Fixed: 774533
2021-04-08 12:51:38 -07:00
Bapiraju Alla
8b956c4400 qcacld-3.0: Don't configure FW dbg log levels for every vdev create
Currently FW dbg log levels are configured for every vdev creation.
But this is pdev level configuration and doesn't required to configure
for every vdev. Because of this WMI commands are getting flooded.

To avoid this, configure FW debug log levels only for first vdev
creation.

Change-Id: Ie395c1a7b0756a08ad7948997531c6920d83ae0b
CRs-fixed: 2913901
2021-04-08 12:51:38 -07:00
Yeshwanth Sriram Guntuka
e038ee2882 qcacld-3.0: Ignore RTPM suspend on pending IPA tx comps
In STA+SAP mode, disable pipes is not done as part of either
last client disconnection or SAP down. In the scenario where
APPS suspend does not get triggered, IPA pipes are not disabled
and on runtime suspend, PCIe link is suspended which would result
in a NOC error if IPA HW accesses wlan registers.

Fix is to avoid runtime suspend if there are any pending IPA
tx completions.

Change-Id: I190da658d233cb5d6c85846312ddc7a251f9f9d5
CRs-Fixed: 2918334
2021-04-08 12:54:18 +05:30
snandini
0d75a653b1 Release 5.2.0.229
Release 5.2.0.229

Change-Id: I0c562651acb9a2d210520e8f2b5b0260fdc39bd6
CRs-Fixed: 774533
2021-04-07 21:52:00 -07:00
sheenam monga
2deb2fb93e qcacld-3.0: Add feature flag to support IGMP offload
Add Feature flag WLAN_FEATURE_IGMP_OFFLOAD to support
IGMP offload feature.

Change-Id: I3a58e66a4e323e03c6d32c02ac1b401f23eb9d3c
CRs-Fixed: 2916022
2021-04-07 21:52:00 -07:00
snandini
1c3ed1b678 Release 5.2.0.228Z
Release 5.2.0.228Z

Change-Id: I6fe2c506aea5ff134030c0c1c6158608da5a10c3
CRs-Fixed: 774533
2021-04-07 19:28:59 -07:00
Pragaspathi Thilagaraj
1d6fac590c qcacld-3.0: Clear TWT context on receiving roam synch indication
The userspace doesn't expect TWT teardown or notify events after
roaming. So to clear the driver internal TWT context, for old
peer, call the mlme_init_twt_context() on roam synch complete.

Change-Id: If1e4fe2d79561885052caf8d5231d1c943f10c96
CRs-Fixed: 2912872
2021-04-07 19:28:59 -07:00
snandini
5d5383a95b Release 5.2.0.228Y
Release 5.2.0.228Y

Change-Id: I45715d9b080b548df9784d6e2c176f4675dc061a
CRs-Fixed: 774533
2021-04-07 01:21:54 -07:00