Commit Graph

22142 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
f7ee883a96 qcacld-3.0: get wake duration from stored session params
Retrieve the stored TWT wake duration for a session for
to send it as part of get twt statistics response.

Change-Id: If3c23d05331d5dfb43f74f5380e81eaf2799d2e7
CRs-Fixed: 2859812
2021-02-12 16:51:31 -08:00
snandini
a88521baf1 Release 5.2.0.222S
Release 5.2.0.222S

Change-Id: I6e587736f7a87512884a8a4b81c9e38e375194a5
CRs-Fixed: 774533
2021-02-12 14:40:00 -08:00
gaurank kathpalia
5c1b42944d qcacld-3.0: Fix compilation issue in connection manager
Fix compilation issue in connection manager.

Change-Id: Ib46a0b45facf0552723d1ab9400444b7fdb7a08e
CRs-fixed: 2876303
2021-02-12 14:40:00 -08:00
Vevek Venkatesan
d478e8a285 qcacld-3.0: enable HAL_DELAYED_REG_WRITE_V2 and LOCK_LESS_ACCESS
Enable FEATURE_HAL_DELAYED_REG_WRITE_V2 support for Tx rings
register writes and QCA_OL_DP_SRNG_LOCK_LESS_ACCESS support
for Rx rings register writes, for moselle platforms.

Change-Id: I6b2469d22a37a097fa721269d311c0076c3b89a0
CRs-Fixed: 2873528
2021-02-12 05:02:58 -08:00
snandini
10b241f2d3 Release 5.2.0.222R
Release 5.2.0.222R

Change-Id: Ic16ecc0ce72cfd7a4f7f25f732cad77bd8fcb810
CRs-Fixed: 774533
2021-02-12 04:04:45 -08:00
Li Feng
e7cf0887d1 qcacld-3.0: Log page fault info to console
Log page fault info to console for easy observation on third party
platform because the customer usually don't run cnss_diag_lite to
capture cnss logs.

Change-Id: I56a155844837792f08692703d28326fe9543c977
CRs-Fixed: 2870335
2021-02-12 04:04:44 -08:00
snandini
001224c76a Release 5.2.0.222Q
Release 5.2.0.222Q

Change-Id: Ib4c19294780ce2def5967fb036b0de7af2f5e107
CRs-Fixed: 774533
2021-02-11 09:28:48 -08:00
Jyoti Kumari
2cec5921c2 qcacld-3.0: Fix integer underflow in assoc response frame
In func aead_decrypt_assoc_rsp(), it calls
find_ie_data_after_fils_session_ie() to find IE pointer after
FILS session IE from the frame payload.
There is possibility of integer underflow if frame payload length is
less than FIXED_PARAM_OFFSET_ASSOC_RSP which may increase value
of buf_len variable in find_ie_data_after_fils_session_ie() and
cause OOB during parsing process.

Validate frame payload length with FIXED_PARAM_OFFSET_ASSOC_RSP,
if it is less then return failure.

Change-Id: I78fbcfeaa1058fcf2a6fe47cd5c26390b54974af
CRs-Fixed: 2859024
2021-02-11 09:28:48 -08:00
snandini
c91a75779c Release 5.2.0.222P
Release 5.2.0.222P

Change-Id: I2313bf8a16054e31368994779a5319b92adaa295
CRs-Fixed: 774533
2021-02-10 20:27:18 -08:00
Lincoln Tran
a95e5bf201 qcacld-3.0: Process country and TPE IE
Validate and process the country IE from the beacon frame.
Validate and process the TPE IE. Store the tx power values in the
vdev_mlme struct for future processing.

Change-Id: I57acca2257a263225d9bafb0f94e195a99224a60
CRs-fixed: 2841732
2021-02-10 20:27:17 -08:00
Gururaj Pandurangi
4387c79bb5 qcacld-3.0: Add TPC calculation logic to obtain max tx power
Add new lim api to calculate an array of tx power values. Include
hw limit from Fw and TPE values from IE along with existing
params to determine TPC power.
The new struct reg_tpc_obj in vdev_mlme object will contain max
tx power, center frequencies, number of power levels,
PSD power check, EIRP power, AP power type for 6G and TPE
power values and will be sent to FW via new WMI cmd
WMI_VDEV_SET_TPC_POWER_CMDID.

Change-Id: I80a2454c2ef0dbc3b1d69e8b233b1a56567ec1a1
CRs-Fixed: 2841873
2021-02-10 20:27:13 -08:00
Gururaj Pandurangi
2fe00c3d6c qcacld-3.0: Handle AP power type in he_ops IE for 6GHz
Parse reg_info subfield present in he_ops IE from beacon on
6GHz channels to obtain AP's power type for STA.
In case of SAP, get the AP power type from SAP decision
engine and populate it in dot11f API.

Change-Id: Iec317ea35936e7a5c2372d1188fe5940afb0c28d
CRs-Fixed: 2869367
2021-02-10 20:27:09 -08:00
snandini
d91321ef0f Release 5.2.0.222O
Release 5.2.0.222O

Change-Id: I43471684dccae9cf640c985c3b3cfa5df1e026e5
CRs-Fixed: 774533
2021-02-10 18:20:38 -08:00
Aditya Kodukula
f91c461da5 qcacld-3.0: Add flags to the BUILD_TAG
Pass a new flag to the Kbuild and add a compile flag
to enable the BUILD_TAG information.

Change-Id: Ic9bc331b64e7cbf627f5f99758f4d556328cda10
CRs-Fixed: 2865654
2021-02-10 18:20:38 -08:00
snandini
f933fd28ce Release 5.2.0.222N
Release 5.2.0.222N

Change-Id: Idecef994774b7b6874882d472215ed22912a58d1
CRs-Fixed: 774533
2021-02-10 12:31:37 -08:00
Karthik Kantamneni
7983966ef5 qcacld-3.0: Add RX refill thread infra to replenish RX buffers
Add Rx refill thread infrastructure to replenish RX buffer pool

Change-Id: I2553e0e35d251cf72e741321a2389f741f1bb485
CRs-Fixed: 2869355
2021-02-10 12:31:37 -08:00
snandini
3cda3eae7b Release 5.2.0.222M
Release 5.2.0.222M

Change-Id: I355f58245aee44e0bfab114cfbad56c7d4ff7a54
CRs-Fixed: 774533
2021-02-10 10:11:25 -08:00
Abhishek Ambure
780908d5be qcacld-3.0: Move wait for key timer to mlme priv vdev
Move wait for key timer logic to mlme priv vdev. Thus host handles
wait for key per vdev.

Change-Id: Idfc7e7e17ec631a0a364c75b1bac992f1a4d1872
CRs-Fixed: 2870707
2021-02-10 10:11:25 -08:00
Jia Ding
df4ba9438a qcacld-3.0: Rate limit error logs for lim_defer_msg
Rate limit error logs for lim_defer_msg to avoid potential
excessive logging.

Change-Id: Icfe55b113b62d95b8259899b03602386e2127e5e
CRs-Fixed: 2867156
2021-02-10 10:11:19 -08:00
snandini
8d21edf6f9 Release 5.2.0.222L
Release 5.2.0.222L

Change-Id: I817dfba3c352e8fb17b48d21e6cf59ca159f35b3
CRs-Fixed: 774533
2021-02-10 06:52:17 -08:00
Srinivas Girigowda
9183d027a7 qcacld-3.0: Inform teardown all TWT sessions when SSR happens
When SSR happens, Inform the user space about teardown all TWT sessions.

Change-Id: I2bb321bacac02291bbea1f22e231669d911c53e7
CRs-Fixed: 2870599
2021-02-10 06:52:16 -08:00
snandini
de28d37fdc Release 5.2.0.222K
Release 5.2.0.222K

Change-Id: Ic60394a687b68f9ced304498c294c7d31ad1cec6
CRs-Fixed: 774533
2021-02-10 01:30:01 -08:00
Alan Chen
b3fd226bca qcacld-3.0: Log Wifi off using pr_info
Log Wifi off using pr_info to know when Wifi is getting turned off.

Change-Id: Ie6654bfec13e4df5936208a8db95e51630036c36
CRs-Fixed: 2874796
2021-02-10 01:30:01 -08:00
snandini
2b051e1ebc Release 5.2.0.222J
Release 5.2.0.222J

Change-Id: I23501b06cd62dfa5512668ed75d040641c2a6c1f
CRs-Fixed: 774533
2021-02-09 23:07:10 -08:00
Yu Wang
028a1d9bd2 qcacld-3.0: clear obsolete keys before connect start
Freeing keys in scheduler thread may cause race condition,
to avoid that, clear the obsolete keys before starting a
new connection in wpa_supplicant context.

Change-Id: Ibeecadb117bca8f88ce5dc052bcebe92423ace22
CRs-Fixed: 2872831
2021-02-09 23:07:09 -08:00
Srinivas Dasari
2380a0c4cc Revert "qcacld-3.0: Wait for sme_soc_set_dual_mac_config to get complete"
This reverts change:I9408713fcf828d24688ecc45290d8c90a8d54c22
as it's not needed anymore as the actual issue(commands waiting
in active queue for response when the vdev is deleted) is fixed
with change:Ie31936132a389685ff4ff55b43ccbb4102e65830.

This wait-for-response causes a delay of around 200ms in
vdev_create as it's a blocking call.
As vdev_create happens after finding the peer device in case of
p2p, overall connection is delayed and connection time has
increased from 350ms to 600ms. This effects the
uses cases like WFD where applications have strict timing
constraints after finding the device.

Change-Id: I45c223a8d157892d8ec64b04f68cfbf39d732833
CRs-Fixed: 2870774
2021-02-09 23:07:04 -08:00
snandini
547c02bb69 Release 5.2.0.222I
Release 5.2.0.222I

Change-Id: I4c5985e6ddacff6e55a373e38a7bb2e38393060f
CRs-Fixed: 774533
2021-02-09 17:46:51 -08:00
Paul Zhang
c6fa8a06b6 qcacld-3.0: set the default wlm level
Per Change-Id: Ifac93fb869553d0f9eb553d5c41da43c8b014ad8, it
saves the latency level and reconfig it to fw after vdev
creates. But if user is doing WiFi OFF/ON, it expects the
default wlm level to set to fw.

Change-Id: I329ad90e09a39d461c52c614d9b7a5e23d9540dd
CRs-Fixed: 2873595
2021-02-09 17:46:50 -08:00
snandini
4b365b34f6 Release 5.2.0.222H
Release 5.2.0.222H

Change-Id: Iedec054ff95ca08579381185f1540abd4c4348df
CRs-Fixed: 774533
2021-02-09 15:35:15 -08:00
Abhishek Singh
818d551527 qcacld-3.0: memzero connect params in wlan_hdd_cm_connect
memzero connect params in wlan_hdd_cm_connect to avoid
Uninitialized values.

Change-Id: I5a8078db59dda55035c834380042c4e48fca5663
CRs-Fixed: 2874344
2021-02-09 15:35:15 -08:00
snandini
ee60447333 Release 5.2.0.222G
Release 5.2.0.222G

Change-Id: I023cf795ce4881bafc470408d405109835349e57
CRs-Fixed: 774533
2021-02-09 13:02:16 -08:00
Jeff Johnson
fc4dedb7b9 qcacld-3.0: Kbuild: Relocate qdf_lro.o rule
Currently the qdf_lro.o rule is not located with the other QDF_OBJS
rules, so relocate it so that all of the QDF rules are contiguous.

Change-Id: Ia4d6e133901af900d5f63208e14ac24501ac005e
CRs-Fixed: 2868050
2021-02-09 13:02:15 -08:00
Jeff Johnson
33a1bb0eb7 qcacld-3.0: Kbuild: Relocate Direct Buffer RX definitions
Currently the definitions of the Direct Buffer RX component are
defined in the middle of the WMA component definitions. Relocate these
definitions so that the WMA definitions are contiguous.

Change-Id: I3f83b70a18131a84cb262840103e705862498bc4
CRs-Fixed: 2868049
2021-02-09 13:02:12 -08:00
Jeff Johnson
0f585d216f qcacld-3.0: Kbuild: Cleanup HTT_OBJS logic
Currently HTT_OBJS are added to OBJS when CONFIG_LITHIUM is not
enabled.  An upcoming change requires that assignments to OBJS be
unconditional, so relocate the condition to wrap the assignment of
HTT_OBJS.

Change-Id: Ifdce8f5ab6b4597156341620ae101ee8be2b4afd
CRs-Fixed: 2868008
2021-02-09 13:02:08 -08:00
Jeff Johnson
34130a958f qcacld-3.0: Kbuild: Cleanup HAL_OBJS logic
Currently HAL_OBJS are added to OBJS when CONFIG_LITHIUM is enabled.
An upcoming change requires that assignments to OBJS be
unconditional. Fortunately the assignment of .o files to HAL_OBJS is
already conditional upon CONFIG_LITHIUM so remove the condition from
the assignment to OBJS.

Change-Id: I0dd7ca874561ff6c6cd8ccfdae1775f6dcb9bf12
CRs-Fixed: 2868007
2021-02-09 13:02:04 -08:00
snandini
2c0be6954b Release 5.2.0.222F
Release 5.2.0.222F

Change-Id: Ifa02cc006b991005c4ec71c4238ad666aaab26e2
CRs-Fixed: 774533
2021-02-09 10:44:21 -08:00
Jeff Johnson
88b2a47d79 qcacld-3.0: Kbuild: Cleanup FWLOG_OBJS logic
Currently FWLOG_OBJS are added to OBJS when
CONFIG_FEATURE_FW_LOG_PARSING is enabled.  An upcoming change requires
that assignments to OBJS be unconditional, so relocate the condition
to wrap the assignment of FWLOG_OBJS.

Change-Id: I6b09d9dfa2553943d3bb4370dc1977106a14a7d5
CRs-Fixed: 2868006
2021-02-09 10:44:21 -08:00
Jeff Johnson
682bab0982 qcacld-3.0: Kbuild: Cleanup EPPING_OBJS logic
Currently EPPING_OBJS are added to OBJS when CONFIG_FEATURE_EPPING is
enabled.  An upcoming change requires that assignments to OBJS be
unconditional, so relocate the condition to wrap the assignment of
EPPING_OBJS.

Change-Id: I69f9b1b707c9475a393f89f2297e90e4ee8d1e5e
CRs-Fixed: 2868005
2021-02-09 10:44:16 -08:00
snandini
0af2983113 Release 5.2.0.222E
Release 5.2.0.222E

Change-Id: If69e00a3a51f647ebf99fc192c70a72eb19cb04b
CRs-Fixed: 774533
2021-02-09 07:46:24 -08:00
Jeff Johnson
b437ed67e4 qcacld-3.0: Kbuild: Cleanup DFS_OBJS logic
Currently DFS_OBJS are added to OBJS when
CONFIG_WLAN_DFS_MASTER_ENABLE is enabled.  An upcoming change requires
that assignments to OBJS be unconditional, so relocate the condition
to wrap the assignment of DFS_OBJS.

Change-Id: I0c04087feb76c7fbbaa4231f1c36a83624e54482
CRs-Fixed: 2868004
2021-02-09 07:46:24 -08:00
snandini
ae818bffca Release 5.2.0.222D
Release 5.2.0.222D

Change-Id: Id12623540bd86d2a5dec023bb83940648e32515e
CRs-Fixed: 774533
2021-02-09 05:37:03 -08:00
Jeff Johnson
6b35401675 qcacld-3.0: Kbuild: Cleanup FWOL_OBJS logic
Currently FWOL_OBJS are added to OBJS when CONFIG_WLAN_FW_OFFLOAD is
enabled.  An upcoming change requires that assignments to OBJS be
unconditional, so relocate the condition to wrap the assignment of
FWOL_OBJS.

Change-Id: I103628406108b0ca1d8290f61e379c796a63bce5
CRs-Fixed: 2868003
2021-02-09 05:37:03 -08:00
Jeff Johnson
2b0c93ff71 qcacld-3.0: Kbuild: Cleanup OCB_OBJS logic
Currently OCB_OBJS are added to OBJS when CONFIG_WLAN_FEATURE_DSRC is
enabled.  An upcoming change requires that assignments to OBJS be
unconditional. Fortunately the assignment of .o files to OCB_OBJS is
already conditional upon CONFIG_WLAN_FEATURE_DSRC so remove the
condition from the assignment to OBJS.

Change-Id: I011aa37270b8024d2f558bdb18aac2a02e3c1026
CRs-Fixed: 2868002
2021-02-09 05:36:59 -08:00
Jeff Johnson
7a8e172b6a qcacld-3.0: Kbuild: Cleanup IPA_OBJS logic
Currently IPA_OBJS are added to OBJS when CONFIG_IPA_OFFLOAD is
enabled.  An upcoming change requires that assignments to OBJS be
unconditional. Fortunately the assignment of .o files to IPA_OBJS is
already conditional upon CONFIG_IPA_OFFLOAD so remove the condition
from the assignment to OBJS.

Change-Id: I16217146d44b790298e47516c28e1ce6445ffed6
CRs-Fixed: 2868001
2021-02-09 05:36:54 -08:00
Jeff Johnson
6d2317be05 qcacld-3.0: Kbuild: Cleanup PKTLOG_OBJS logic
Currently PKTLOG_OBJS are added to OBJS when CONFIG_REMOVE_PKT_LOG is
not enabled.  An upcoming change requires that assignments to OBJS be
unconditional, so relocate the condition to wrap the assignment of
PKTLOG_OBJS.

Change-Id: I34b9bea3186e5bda12e7ce0d8a1327383170b6c1
CRs-Fixed: 2868000
2021-02-09 05:36:50 -08:00
snandini
b7d53d4cbd Release 5.2.0.222C
Release 5.2.0.222C

Change-Id: I125c48a47717d1fa6766cb6ce4de09baf643f1b3
CRs-Fixed: 774533
2021-02-09 03:29:39 -08:00
Jeff Johnson
59ea3a0289 qcacld-3.0: Kbuild: Cleanup HOST_DIAG_LOG_OBJS logic
Currently HOST_DIAG_LOG_OBJS are added to OBJS when BUILD_DIAG_VERSION
is enabled.  An upcoming change requires that assignments to OBJS be
unconditional, so relocate the condition to wrap the assignment of
HOST_DIAG_LOG_OBJS.

Change-Id: Icdf6898b848f682d9617537394651f533ba81553
CRs-Fixed: 2867999
2021-02-09 03:29:38 -08:00
Jeff Johnson
e142b34639 qcacld-3.0: Kbuild: Cleanup DISA_OBJS logic
Currently DISA_OBJS are added to OBJS when CONFIG_WLAN_FEATURE_DISA is
enabled. An upcoming change requires that assignments to OBJS be
unconditional. Fortunately the assignment of .o files to DISA_OBJS is
already conditional upon CONFIG_WLAN_FEATURE_DISA so remove the
condition from the assignment to OBJS.

Change-Id: I2130b8efe12e5366b40856704d62d000a4e474f4
CRs-Fixed: 2867998
2021-02-09 03:29:33 -08:00
Jeff Johnson
2f8fb00a4b qcacld-3.0: Kbuild: Cleanup ACTION_OUI_OBJS logic
Currently ACTION_OUI_OBJS are added to OBJS when
CONFIG_WLAN_FEATURE_ACTION_OUI is enabled. An upcoming change requires
that assignments to OBJS be unconditional. Fortunately the assignment
of .o files to ACTION_OUI_OBJS is already conditional upon
CONFIG_WLAN_FEATURE_ACTION_OUI so remove the condition from the
assignment to OBJS.

Change-Id: Icf1c4f061286e3ae88344b380deff4bf135143e1
CRs-Fixed: 2867997
2021-02-09 03:29:28 -08:00
snandini
7de41f7298 Release 5.2.0.222B
Release 5.2.0.222B

Change-Id: I1c41a5c5f319f9ca546072896950a60d0b25e17a
CRs-Fixed: 774533
2021-02-09 01:11:54 -08:00