Commit graph

21,598 commits

Author SHA1 Message Date
snandini
bcf8edb00a Release 2.0.8.10W
Release 2.0.8.10W

Change-Id: I92e68e9d637b24792c9ead456f5aff926a292711
CRs-Fixed: 774533
2021-02-16 02:59:27 -08:00
Pragaspathi Thilagaraj
5c01610f57 qcacld-3.0: Add support for SAE single pmk validity
Currently when SAE single pmk lifetime expires, the userspace
issues disconnect. To avoid this, on reaching a threshold value
of the total pmk lifetime, the firmware will clear the single
PMK and initiate a roam scan to perform full SAE and derive
new pmk.

Add changes to:
1. Send the remaining single pmk timeout value in seconds to
firmware.
this is calculated as the diffence in pmk timeout configured by
userspace and the time passed after set_pmksa was done (which is
system timestamp between the set_pmksa timestamp and timestamp at
which RSO command is filled).
2. Add internal roam trigger for SPMK timeout trigger.
3. Set the roam score delta value as 0 for SPMK timeout roam
trigger.

Change-Id: I62c2ddbbfeb2811a4342d41f2bdaa8d988568bcc
CRs-Fixed: 2869665
2021-02-16 02:59:26 -08:00
snandini
2300d2c655 Release 2.0.8.10V
Release 2.0.8.10V

Change-Id: Id157b142804c28200425b1be1010629dac5cfc54
CRs-Fixed: 774533
2021-02-16 00:30:06 -08:00
Vulupala Shashank Reddy
9641d7366a 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-16 00:30:05 -08:00
Vulupala Shashank Reddy
fed5a4ae2e 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-16 00:30:01 -08:00
snandini
3f95a69cce Release 2.0.8.10U
Release 2.0.8.10U

Change-Id: Ie9875e485ed081f4a2bf70fcbfa55b73415fde71
CRs-Fixed: 774533
2021-02-15 11:26:24 -08:00
Jyoti Kumari
6e5292034c qcacld-3.0: STA SAP concurrency for non dbs HW mode
SAP stops working when it comes first and then sta connection
happens in non dbs HW mode

Allow SAP on non dbs HW even if the channel is safe or
lte-coex enabled.

Change-Id: I3e80b423ccb30fdb5e53a6d2aff961162b316e1c
CRs-Fixed: 2873957
2021-02-15 07:34:28 -08:00
snandini
d3ac06c003 Release 2.0.8.10T
Release 2.0.8.10T

Change-Id: I82983ad4997a9b35f0365641b485177306ae9f6c
CRs-Fixed: 774533
2021-02-13 13:26:42 -08:00
Karthik Kantamneni
19857b4f99 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-13 13:26:42 -08:00
snandini
e171609dd8 Release 2.0.8.10S
Release 2.0.8.10S

Change-Id: I80986d6d9cfe4db77ea8948707177010fd4829be
CRs-Fixed: 774533
2021-02-13 09:21:38 -08:00
Jyoti Kumari
96ab6f29d4 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-13 09:21:37 -08:00
Li Feng
5ff48a861d 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 16:52:44 -08:00
snandini
c5d062dc37 Release 2.0.8.10R
Release 2.0.8.10R

Change-Id: Ic69c590d1fcf667f67fd525a934858aae923d7cf
CRs-Fixed: 774533
2021-02-12 14:56:51 -08:00
Bapiraju Alla
d18589e4da qcacld-3.0: Fix fwol event handlers register/unregister sequence
Currently fwol event handler register/unregister are done during
psoc open and close. When cds_enable fails, wmi_handle will be
freed and it may cause use after free access during the unregister
of event handler.

To address this, Move register and unregister of fwol event handlers
to fwol psoc enable and disable.

Change-Id: Ia51953753d201f6ac05e3e6c1c8bc0598d7c563e
CRs-Fixed: 2874676
2021-02-12 14:56:51 -08:00
snandini
ef93e8e15b Release 2.0.8.10Q
Release 2.0.8.10Q

Change-Id: I40dfb63dd00781cc4c5ac46d5ba6fa1749bad45f
CRs-Fixed: 774533
2021-02-12 12:47:08 -08:00
Aditya Kodukula
9a50111208 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-12 12:47:08 -08:00
Rajeev Kumar
4ed9bb97d5 qcacld-3.0: Remove date and time from build tag
To improve build time performance remove date and time
embedding from wifi DLKM Kbuild config.

Change-Id: I465699005b0e5eee762f528a8d8f102c1987b18e
CRs-Fixed: 2855334
2021-02-12 12:47:04 -08:00
snandini
ecd2a2f9ff Release 2.0.8.10P
Release 2.0.8.10P

Change-Id: I994e36610b179a65215d633e7ee191096d626a82
CRs-Fixed: 774533
2021-02-11 02:20:30 -08:00
Dundi Raviteja
91cf2ec8b7 qcacld-3.0: Reduce stack frame size in lim_send_tdls_setup_rsp_frame
Reduce stack frame size of lim_send_tdls_setup_rsp_frame()
by allocating dynamic memory to tDot11fTDLSSetupRsp.

Change-Id: Ic826bacf9f5b4c23052550fa82b238949522eaa5
CRs-Fixed: 2844354
2021-02-11 02:20:30 -08:00
Dundi Raviteja
dd0fdb778d qcacld-3.0: Reduce stack frame size in processing link setup frame
Reduce stack frame size of lim_send_tdls_link_setup_cnf_frame()
by allocating dynamic memory to tDot11fTDLSSetupCnf.

Change-Id: I02269a4cee2fcd419d8ab7fdb9e6c8829510cd9f
CRs-Fixed: 2844358
2021-02-11 02:20:25 -08:00
Dundi Raviteja
1ff5d0a30e qcacld-3.0: Reduce stack frame size in lim_send_tdls_dis_rsp_frame
Reduce stack frame size of lim_send_tdls_dis_rsp_frame()
by allocating dynamic memory to tDot11fTDLSDisRsp.

Change-Id: Id30d96d33dd3beecf5bb48dc99194f73b759ae8a
CRs-Fixed: 2844352
2021-02-11 02:20:21 -08:00
Dundi Raviteja
ba29f815ca qcacld-3.0: Reduce stack frame size in lim_process_mlm_auth_req
stack frame size of lim_process_mlm_auth_req() is more than
the default limit of 1024 bytes, so reduce stack frame size
by allocating dynamic memory to tSirMacAuthFrameBody.

Change-Id: Ia3ae5bc8d65b39d60c52129170f22cf53fb96f61
CRs-Fixed: 2844341
2021-02-11 02:20:17 -08:00
snandini
2a393e4919 Release 2.0.8.10O
Release 2.0.8.10O

Change-Id: I8f85f6a5319d331c1144e9d893f0e3476670cbb4
CRs-Fixed: 774533
2021-02-10 23:52:43 -08:00
Karthik Kantamneni
0c7c251f6e 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 19:29:46 -08:00
snandini
488ff19efc Release 2.0.8.10N
Release 2.0.8.10N

Change-Id: Iaedbd79269471d79549a5449998b5f28b651241f
CRs-Fixed: 774533
2021-02-10 13:45:25 -08:00
Srinivas Dasari
7e7481e672 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-10 13:45:25 -08:00
Abhinav Kumar
0de6801d60 qcacld-3.0: Discard 5G candidates based on RSSI threshold
To discard 5G candidates based on RSSI threshold, Introduce
a new INI "min_rssi_for_2g_to_5g_roam" to configure the RSSI
for High RSSI Trigger.

Min: -120
Max: 0
Default: -70

Change-Id: If4545296ef1b53d18b8ae4abf12d450f5e690240
CRs-Fixed: 2789017
2021-02-10 13:45:21 -08:00
Yu Wang
9f58d36f67 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-10 13:45:16 -08:00
snandini
60f61be049 Release 2.0.8.10M
Release 2.0.8.10M

Change-Id: I5a113442c31ca7166d9b9f1fa93cbc5059c48108
CRs-Fixed: 774533
2021-02-10 11:33:24 -08:00
Karthik Kantamneni
83ec534263 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-10 05:44:39 -08:00
snandini
c14d0c30a2 Release 2.0.8.10L
Release 2.0.8.10L

Change-Id: I2cc6fae966fc924103a4dcc178fdeef90e963418
CRs-Fixed: 774533
2021-02-10 03:01:44 -08:00
Dundi Raviteja
74930c306d qcacld-3.0: Reduce stack frame size while processing auth frame
stack frame size of lim_process_auth_frame_no_session()
is more than the default limit of 1024 bytes, so reduce
stack frame size by allocating dynamic memory to
tSirMacAuthFrameBody.

Change-Id: I37bd23e1d5814950d9c1912a40058666e3de264f
CRs-Fixed: 2844332
2021-02-10 03:01:44 -08:00
Paul Zhang
d9530115c9 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 19:06:01 -08:00
snandini
9554a26cc5 Release 2.0.8.10K
Release 2.0.8.10K

Change-Id: Id67a6e3c04b0580a3992e85201558c8b2f24b0e0
CRs-Fixed: 774533
2021-02-09 11:42:16 -08:00
Bapiraju Alla
f9257d37fb qcacld-3.0: Print station info in the driver
Currently, driver doesn't print STA info before passing it to the
kernel. This is making difficult to debug the STA disconnection
issues.

To address this, print sta info before giving to the kernel.

Change-Id: I8346bc489bfa3ca88b307fcb8d5cd4691ca8fe0d
CRs-Fixed: 2791922
2021-02-09 11:42:16 -08:00
snandini
346cd6712b Release 2.0.8.10J
Release 2.0.8.10J

Change-Id: Ic800ab433e5e2531f2715d1a21c2f0d4a208f203
CRs-Fixed: 774533
2021-02-08 15:58:10 -08:00
Karthik Kantamneni
414155666a 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 15:58:10 -08:00
snandini
37a3780879 Release 2.0.8.10I
Release 2.0.8.10I

Change-Id: I87a1275ca36043aac915a11eceecc6b9486c1014
CRs-Fixed: 774533
2021-02-08 12:22:11 -08:00
Liangwei Dong
c2ebd38cb5 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-08 12:22:11 -08:00
snandini
3fe2b7ad76 Release 2.0.8.10H
Release 2.0.8.10H

Change-Id: I07945ec6bfc385fa52adfeca5b5744a7de45b3ba
CRs-Fixed: 774533
2021-02-07 23:31:38 -08:00
Abhishek Ambure
e11cb83e40 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-07 23:31:38 -08:00
snandini
ef662c68c6 Release 2.0.8.10G
Release 2.0.8.10G

Change-Id: I713f5569e277728b6b1fb5f964f71597ce4c7d5c
CRs-Fixed: 774533
2021-02-07 21:17:32 -08:00
Jingxiang Ge
b3b4c350b5 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-08 09:45:21 +08:00
snandini
bccd8e0a19 Release 2.0.8.10F
Release 2.0.8.10F

Change-Id: I2e1e38e2cf57ab5b5214d0d8b6d5154a47f75360
CRs-Fixed: 774533
2021-02-06 02:11:50 -08:00
Pragaspathi Thilagaraj
0f24555d0c 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-06 02:11:50 -08:00
snandini
f8aa96ee20 Release 2.0.8.10E
Release 2.0.8.10E

Change-Id: Ieba89b53c57aa2db714f18b6ff3710ccf46505bd
CRs-Fixed: 774533
2021-02-05 20:37:16 -08:00
Rajeev Kumar
a545367d20 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 20:37:16 -08:00
snandini
db7d4f9cb1 Release 2.0.8.10D
Release 2.0.8.10D

Change-Id: Ie4c8fdaa4a8b6aa338bb5005de3df04c37a1864c
CRs-Fixed: 774533
2021-02-05 14:03:15 -08:00
sandhu
80b3077490 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 10:00:19 -08:00
snandini
0e597336ba Release 2.0.8.10C
Release 2.0.8.10C

Change-Id: I992d2578735095b1b1f4c51ec3ce94e8084a1ea5
CRs-Fixed: 774533
2021-02-04 22:36:55 -08:00