Gráfico de commits

22372 Commits

Autor SHA1 Mensagem Data
Pragaspathi Thilagaraj
58581e5b19 qcacld-3.0: Fix sending vdev start again during LFR-2.0 roaming
Currently peer create response support is added for connect path
but in LFR-2.0 case also peer create response received is
processed and lim_post_join_set_link_state_callback() is called
leading to sending vdev start again.
Call the API to fill peer create wma request only for initial
connection.

Change-Id: I24140efd5541f7ed4aa3cef9efebf5a729846902
CRs-Fixed: 2856636
2021-03-15 02:49:09 -07:00
Pragaspathi Thilagaraj
d6b2eea730 qcacld-3.0: Enhance the broadcast twt capabilities population logic
Currently multiple ini is available for setting the broadcast
TWT requestor and responder configuration.
Deprecate "bcast_twt" legacy ini and also don't consider
legacy service capability WMI_SERVICE_BROADCAST_TWT.
So below is the service capability values combination
advertised by firmware:
new fw:
bcast_req bcast_resp legacy
    0        0         0       -> disable bcast
    0        1         0
    1        0         0
    1        1         1

old fw:
   0         0         1   -> enable TWT

Also change the default value of "twt_bcast_req_resp_config" ini
to 1.

Change-Id: Ic9af296b0efffc8f76f647b5830183867e0adf57
CRs-Fixed: 2873360
2021-03-15 02:49:03 -07:00
snandini
85be939de0 Release 5.2.0.225X
Release 5.2.0.225X

Change-Id: Iff8ab6d4b770b9ddaa7f01f39307f5abb558cdca
CRs-Fixed: 774533
2021-03-14 19:00:18 -07:00
Manikanta Pubbisetty
46dc98965e qcacld-3.0: disable EXT grp irqs and drain TXRX during suspend
Any update to the SRNG TP/HP when the device is in low power
state would result in system errors. While in D3 WoW mode,
disable EXT grp irqs and drain TXRX before sending enter
power save mode to the FW. This will ensure that no interrupts
are received while in WoW mode and as a result there wont be any
HP/TP updates.

Change-Id: Ic1fb7fdd45096b458abf5d243fa652c3da878dc0
CRs-Fixed: 2890568
2021-03-14 08:42:48 +05:30
snandini
3f33e4f027 Release 5.2.0.225W
Release 5.2.0.225W

Change-Id: I0a9ccfebfbf79d20b5bf8c45ca6a0e28d97d359b
CRs-Fixed: 774533
2021-03-13 00:49:53 -08:00
Alan Chen
eafa002519 qcacld-3.0: Add bitmap for BLOCKACK and ADDBA_REQ
Add bitmap for BLOCKACK and ADDBA_REQ.

Change-Id: I5a6bd762bc55bc82934cf260014f55c464340c4f
CRs-Fixed: 2898545
2021-03-13 00:49:53 -08:00
snandini
76ee63ad72 Release 5.2.0.225V
Release 5.2.0.225V

Change-Id: I418f3478b52577ad013a98d0cc0287e198586e00
CRs-Fixed: 774533
2021-03-12 22:54:32 -08:00
Kiran Kumar Lokere
311367de65 qcacld-3.0: Add support to configure ER SU for mgmt tx
Add support to configure the HE ER SU for management frame tx
and configuration support to use RU 242 tone for data Tx.

Change-Id: I068c1e7b6808d430d5468bab7ee04e24d5461afd
CRs-Fixed: 2816797
2021-03-12 22:54:31 -08:00
snandini
3694500bcb Release 5.2.0.225U
Release 5.2.0.225U

Change-Id: I544f50d0ef74d3e420da2b495d9da0a19ffec7d2
CRs-Fixed: 774533
2021-03-11 16:11:23 -08:00
Amruta Kulkarni
604d76d660 qcacld-3.0: Send roam score delta and min rssi params
When "wmi_service_configure_roam_trigger_param_support" service
bit is set populate roam score delta and min rssi parameters
and send via WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID.

Change-Id: I3c7fc56a95c28c43992763be3351d91d9fd44041
CRs-Fixed: 2890148
2021-03-11 16:11:23 -08:00
snandini
7112b6b7be Release 5.2.0.225T
Release 5.2.0.225T

Change-Id: I58d26348f07e4f3b15e892c6969ead86e15bbefc
CRs-Fixed: 774533
2021-03-11 14:07:25 -08:00
Deeksha Gupta
452fcde4e1 qcacld-3.0: Send twt_setup mantissa in TU to firmware
Currently, host sends mantissa in us for
QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_MANTISSA attribute.

Add changes to send wake interval mantissa in TU to firmware
and expectation from usersapce is to set the 1024 in the
exponent to derive the correct wake interval.

Change-Id: I53520369492961207496970fe78189bec6f75ad7
CRs-Fixed: 2897500
2021-03-11 14:07:25 -08:00
snandini
0f9b2b5708 Release 5.2.0.225S
Release 5.2.0.225S

Change-Id: I1337241b875096a968287e0451219f8106883b52
CRs-Fixed: 774533
2021-03-11 11:58:51 -08:00
Utkarsh Bhatnagar
97e7a5f87a qcacld-3.0: Rate limit the logging
Incase peer sends multiple Association
Request or multiple Association Request,
there can be crash due to excessive
logging.
So, rate limit the logging.
Also, this is also valid in case peer
sends multiple Disassociation or
Deauthentication request.

Change-Id: Iec4f70e8154ca0001f6d752f65449bb1d7bce5da
CRs-Fixed: 2891926
2021-03-11 11:58:51 -08:00
Vevek Venkatesan
a2f248c0ce qcacld-3.0: change pld_ipci_smmu_unmap support only for IPCI type
Currently pld_ipci_smmu_unmap suppot has been added for IPCI,
PCIE_FW_SIM and SNOC_FW_SIM type cases as an error, moving this
unmap support only for type IPCI.

Change-Id: Ib9a60656920d1cc46e28dc269983b7da8dba7d42
CRs-Fixed: 2896804
2021-03-11 11:58:47 -08:00
Abdul Muqtadeer Ahmed
e751855624 qcacld-3.0: Add a new feature to support forced dtim
Add vendor command interface/feature through which the user
or vendor can set the dtim count as per their requirement.

Change-Id: I26010948c4ed7e3c49bfe0453119235d4f438c6f
CRs-Fixed: 2894349
2021-03-11 11:58:42 -08:00
snandini
f8ff7d2226 Release 5.2.0.225R
Release 5.2.0.225R

Change-Id: Ia036aa91b5476db7cd7b86fbc20b483892a9d70a
CRs-Fixed: 774533
2021-03-11 09:48:27 -08:00
Pragaspathi Thilagaraj
b4107b94ba qcacld-3.0: Update peer mac address to set NUDGE as active command
While parsing the nudge command, the peer mac address is not copied to
the params structure passed to sme. So while Nudge active command,
since peer mac address is NULL, the driver is not able to get the
peer object and set the Nudge active command fails.

Copy the peer mac address to set the active command to peer
object, so that when nudge command response is received, the
response is not dropped due to active command is not nudge.

Change-Id: I11b11b3187dff5a79d0f79106c21d60d04edc17b
CRs-Fixed: 2888903
2021-03-11 09:48:27 -08:00
Yeshwanth Sriram Guntuka
60d1518c2e qcacld-3.0: Reset the rx hw ext stats on connection
CNE queries stats via the ext stats vendor cmd. As
part of this, REO commands are enqueued to HW for
each tid to get mpdu_rx and mpdu_rx_missed counts.
In the scenario where the first ext stats request
post STA disconnection and re-connection times out,
the counts from the previous connection are reused.
The second ext stats request can successfully get
the new counts from HW in which case, there is a
possiblity for the mpdu_rx count sent in the second
stats response to be lower than the count sent in
the first stats response.

Fix is to reset the mpdu_rx and mpdu_rx_missed count
on STA connection.

Change-Id: I381f9b6b27d8d023b1932b7d8587df240c1ff4d0
CRs-Fixed: 2896791
2021-03-11 09:48:22 -08:00
sheenam monga
5397cd7b3a qcacld-3.0: Add support to extract big data params
Add wmi support to extract params from
WMI_VDEV_SEND_BIG_DATA_P2_EVENTID.

Change-Id: I728c9eb407084bff2a6c1baec44e8bb12b989124
CRs-Fixed: 2889875
2021-03-11 09:48:17 -08:00
sheenam monga
72c7917fa9 qcacld-3.0: Add support for big data stats
Add support of big data stats in the cpstats
component.

Change-Id: I3642035d9f25237c80b529da78c51bb1ccf0035a
CRs-Fixed: 2868949
2021-03-11 09:48:12 -08:00
snandini
41a02e5258 Release 5.2.0.225Q
Release 5.2.0.225Q

Change-Id: I175cc7f86fb8890416bf76c9742cf9e420d11119
CRs-Fixed: 774533
2021-03-11 00:54:46 -08:00
bings
6bc03e27ae qcacld-3.0: Drop assoc req if sap is not in WLAN_VDEV_SS_UP_ACTIVE
Assoc req can only be handled when the sap is in WLAN_VDEV_S_UP state
and WLAN_VDEV_SS_UP_ACTIVE substate.
Assoc req can't be handled in WLAN_VDEV_SS_MLO_SYNC_WAIT substate.

Change-Id: If7a7db06df04dfe54e1a7b9abefaba2372d40516
CRs-Fixed: 2866182
2021-03-11 00:54:46 -08:00
Deeksha Gupta
2a315a42ef qcacld-3.0: Update the P2P restart roc timer duration
In off channel P2P GO neg resp tx frame, supplicant sends
roc duration (suppose 100ms) to sends the frame and as
this is not sufficient to receive the GO confimation frame,
driver internally adds 500ms more duration. So, new roc
duration is 600ms (100+500). But currently, restart
of the roc timer happens with old roc duration instead
of newly calculated roc.

Send the extended roc timer duration in restart roc timer
to fix this.

Change-Id: I1238d69d1d8b03578d74ef6ad0895f11cfac0178
CRs-Fixed: 2890951
2021-03-11 00:54:41 -08:00
snandini
3e884c0fb8 Release 5.2.0.225P
Release 5.2.0.225P

Change-Id: I06743af8040aafa82ebd5cfcb93daaa8c6056bd4
CRs-Fixed: 774533
2021-03-10 21:14:23 -08:00
Amruta Kulkarni
6f628d4a5c qcacld-3.0: Remove wlan_reg_set_channel_params
Remove wlan_reg_set_channel_params in cld code

Change-Id: Iacfe58a3f1681a4fad37536fcf688cc21043f6e8
CRs-Fixed: 2883768
2021-03-10 21:14:22 -08:00
Vevek Venkatesan
9bbb1117ca qcacld-3.0: send eapol to network even if iface is not ready
Currently the first EAPOL pkt has been received before setup
IPA interface context for STA and getting dropped, so adding
changes to send the EAPOL pkt to network even if IPA iface
for STA is not ready.

Change-Id: I78e8c7ba82dabc73503fb75c39ac794c152303dd
CRs-Fixed: 2874358
2021-03-10 21:14:18 -08:00
snandini
3195aa939d Release 5.2.0.225O
Release 5.2.0.225O

Change-Id: I3e8d2be88261b6400bddb3f06c7cf7b5d5390d7d
CRs-Fixed: 774533
2021-03-10 19:12:16 -08:00
Utkarsh Bhatnagar
9f9dc3d5ee qcacld-3.0: Cleanup the tCsrRoamConnectedProfile params
Cleanup the tCsrRoamConnectedProfile params

Change-Id: I6c6f9a8888eebc320191c88020a8ec19cd32c998
CRs-Fixed: 2896190
2021-03-10 19:12:16 -08:00
snandini
3ad78b96e2 Release 5.2.0.225N
Release 5.2.0.225N

Change-Id: I4500d697ba06b465843789ad69aa8fc23e591dbf
CRs-Fixed: 774533
2021-03-10 16:34:16 -08:00
Jinwei Chen
20d8019747 qcacld-3.0: fix invalid net_dev accessing due to GRO flush timeout
scenario:
(1) KASAN is enabled and DP thread is slow to process and deliver
Rx packets to stack.
(2) vdev-2 do disconnection and flush Rx packets that belong to
vdev-2, but DP thread is busy with processing vdev-0 Rx pakcets
then no chance to do GRO flush for vdev-2, Rx flush timeout and
vdev-2 net_dev get freed, later when DP thread do GRO flush for
vdev-2 pakcets, invalid accessing to vdev-2 net_dev happened.

solution:
(1) increase Rx packets flush timeout from 1000 ms to 2000 ms.
(2) do extra GRO flush if timeout happened.

Change-Id: Iddc445d950eeb6cd2bd0b125bf87051e850abeb2
CRs-Fixed: 2894978
2021-03-10 16:34:16 -08:00
Gururaj Pandurangi
d0b1d5b5d6 qcacld-3.0: Remove all wlan_reg_get_chan_enum instances
Use wlan_reg_get_chan_enum_for_freq API to get chan enum instead
of the unused wlan_reg_get_chan_enum API as part of regulatory
cleanup effort.

Change-Id: I66b933fdafb97b4eb16c9f2bf4cb0ca4c1232762
CRs-Fixed: 2885858
2021-03-10 16:34:12 -08:00
snandini
be002b3fec Release 5.2.0.225M
Release 5.2.0.225M

Change-Id: Ib197b71bac0654c65ffce61c51366dfe36e75fd8
CRs-Fixed: 774533
2021-03-10 07:23:12 -08:00
Jingxiang Ge
f375f66fe5 qcacld-3.0: Always kick htc queue if suspend failure
Possible wmi cmd is queued in suspend, if no more
htc_try_send comes from credit response or new wmi
cmd, wmi cmd will pending.

Fix is always kick htc queue if suspend failure.

Change-Id: I05e0cd6983e1d27de5bf109c3ddf05e4bdc12fd8
CRs-Fixed: 2895808
2021-03-10 07:23:12 -08:00
Jeff Johnson
80dfe06a97 qcacld-3.0: Update multi-ko support for hermetic builds
The current multi-ko support is achieved by creating, during the
actual build process, target-specific .<chip> folders beneath the
qcacld-3.0 folder, and then populating those folders with a variety of
symbolic links. Unfortunately this mechanism violates the requirements
of the Hermetic Build feature which requires that the source directory
not be modified during the build process.

One solution to this problem is to actually add the target-specific
folders, along with the included symlinks, to the qcacld-3.0 git
project. But one maintenance issue with this approach is that these
folders of symlinks would require update when the qcacld-3.0 directory
structure changes.

An alternative solution is that instead of having each .<chip> file be
a folder of symlinks, let each .<chip> file be symbolic link. This
approach reduces the maintenance issue since you only need to add a
new .<chip> symbolic link when a new target is added; no changes are
required to the symbolic links when a new qcacld-3.0 folder is added.

As a precursor to transitioning to this alternate solution, update the
current build mechanism such that only .<chip> symbolic links are
created in the source directory, and update the remainder of the
multi-ko logic to align with the resulting change in pathnames.

A subsequent change can remove the dynamic symbolic link creation, and
instead add the symbolic links to the git project.

Change-Id: Ie3df49217ffec260085285b1ae25113c3a943e9b
CRs-Fixed: 2889020
2021-03-10 07:23:08 -08:00
snandini
e185ec0753 Release 5.2.0.225L
Release 5.2.0.225L

Change-Id: I3c57528ae49cf6feac24841e0123319dbdde20f2
CRs-Fixed: 774533
2021-03-10 05:23:06 -08:00
Jeff Johnson
e5d65fc87b qcacld-3.0: Use symbolic link to reference qca-wifi-host-cmn
A recurring issue is that, due to the large number of object files and
the long pathnames to those files, a build of the qca_cld3_wlan.ko may
fail with an E2BIG error. This can occur when a shell command created
by the build system exceeds the max size of a command that the shell
can handle. This usually occurs when linking all of the individual
object files into the final wlan.o.

Object files from the qcacld-3.0 project begin with:
<prefix>/vendor/qcom/opensource/wlan/qcacld-3.0

Object files from the qca-wifi-host-cmn project begin with:
<prefix>/vendor/qcom/opensource/wlan/qcacld-3.0/../qca-wifi-host-cmn

To shorten the qca-wifi-host-cmn paths add the following symbolic link:
qcacld-3.0/cmn => ../qca-wifi-host-cmn

With this in place object files from the qca-wifi-host-cmn project
will begin with:
<prefix>/vendor/qcom/opensource/wlan/qcacld-3.0/cmn

This will save 17 characters per qca-wifi-host-cmn object file.

Change-Id: I104afdc48e5335aa232bac988c4c652144cd4e58
CRs-Fixed: 2893361
2021-03-10 05:23:06 -08:00
Lincoln Tran
7164dae653 qcacld-3.0: Fix max TX pwr count in PSD case
The calculation to find the number of fields from the maximum transmit
power count is incorrect. Fix the calculation so the correct number of
values are sent to FW.

Change-Id: I274cc12df49f9eb619ef50aaef0ce1bd85e8d667
CRs-fixed: 2894809
2021-03-10 05:23:02 -08:00
abhinav kumar
900f714097 qcacld-3.0: BTM resp print is coming with all zeros
Host need to print BTM resp TLV info (wmi_roam_btm_response_info)
only when trigger reason is BTM or WTC_BTM. As for other roam
triggers this TLV contains zeros, so host should not print.

Change-Id: Ic76a1b88b9e641745420c372b275392e86d4ba35
CRs-Fixed: 2884639
2021-03-10 05:22:58 -08:00
Utkarsh Bhatnagar
b27a13ec2c qcacld-3.0: Set HE capable for tdls capability
Set HE capable for tdls capability. Add logging
for printing he caps for TDLS setup request,
TDLS setup response frame and tdls discovery
response.

Change-Id: I57968b6b5dfbe66271ae2ea2c1f1074d0a14b2f8
CRs-Fixed: 2888950
2021-03-10 05:22:54 -08:00
snandini
25b82ffc4a Release 5.2.0.225K
Release 5.2.0.225K

Change-Id: Ifd3b360660b685f83d3cf22e52720a1708a95a0b
CRs-Fixed: 774533
2021-03-09 23:21:14 -08:00
Yu Wang
2bb5bc1c45 qcacld-3.0: correct result code for unexpected MLM join request
When processing unexpected MLM join request in STA mode,
it won't create bss peer or trigger vdev start, just post
LIM_MLM_JOIN_CNF with result code eSIR_SME_RESOURCES_UNAVAILABLE;
when handling this connection failure, vdev stop will be sent but
WLAN_VDEV_SM_EV_STOP_RESP will be discarded due to SM is
in INIT state, which leads to PE session leak and unexpected
behaviors.
To fix it, change the result code to eSIR_SME_PEER_CREATE_FAILED,
then the pe_session will be deleted and no vdev stop will be
triggered when processing connection failure.

Change-Id: I7fd860e7ce07970eafcfb31cd9b54340048d69a4
CRs-Fixed: 2894292
2021-03-09 23:21:14 -08:00
Jyoti Kumari
b4bd50e631 qcacld-3.0: Change default value of ILP profile ini
Change default value of ILP profile ini to 2 which means max
power saving.

Change-Id: I63777b780eece065ce7c77ba455fadff223b9888
CRs-Fixed: 2895677
2021-03-09 23:21:09 -08:00
Wu Gao
abc929c793 qcacld-3.0: Remove unused variable and avoid compilation fail
This change removes unused variable "mac" in function -
sme_set_auto_shutdown_timer and avoid compilation fail.

Change-Id: I4a3ae1ea0deb62d6d43845330162dc8a24b8ab62
CRs-Fixed: 2890806
2021-03-09 23:21:05 -08:00
snandini
3939c1d3e7 Release 5.2.0.225J
Release 5.2.0.225J

Change-Id: I1dc53154f45967305584a1ab49f69fa3bdbf5c60
CRs-Fixed: 774533
2021-03-09 21:06:45 -08:00
Alan Chen
073531fc1e qcacld-3.0: Update default values of INI items
Update default values of INI items to most commonly used values
in WCNSS_qcom_cfg.ini file on commercial devices.

Change-Id: Ibf1e22406951855a4e726fb8105913a53d3c33ee
CRs-Fixed: 2874758
2021-03-09 21:06:45 -08:00
snandini
cf00d8ea5b Release 5.2.0.225I
Release 5.2.0.225I

Change-Id: Iedd6e04a1fa22822461f46de81bbd8fc26b83363
CRs-Fixed: 774533
2021-03-09 18:54:42 -08:00
Liangwei Dong
af2b4a01a1 qcacld-3.0: Enable thermal mgmt feature for AUTO
Enable CONFIG_FW_THERMAL_THROTTLE build flag for Genoa
on AUTO.

Change-Id: I1067f4c15464967016a1f15c16b40a94cb413476
CRs-Fixed: 2895429
2021-03-09 18:54:42 -08:00
Jeff Johnson
27b941b7b8 qcacld-3.0: Enable single-target SPF support
Currently the SPF support is triggered when there is more than one
target specified in TARGET_WLAN_CHIP. For taro we know we need
multi-target support in the future, but we only want to support a
single target during bringup. However we want all procedures
established during the bringup process to be applicable to the final
product. Therefore update the logic such that SPF support is triggered
whenever the TARGET_WLAN_CHIP is anything other than the default value
of 'wlan'.

Change-Id: I0a0671d2ebbdb85985bc57376b4acd2bd79a16ae
CRs-Fixed: 2890488
2021-03-09 18:54:37 -08:00
Utkarsh Bhatnagar
9131f1bc48 qcacld-3.0: Move prev ap info under connection manager macro
Move prev ap info and connected bss in connection manager
macro in csr session.

Change-Id: Ie2b8ecdbcf7134f93f908ba596c0398712da7ac8
CRs-Fixed: 2895259
2021-03-09 18:54:33 -08:00