Commit graph

21,783 commits

Author SHA1 Message Date
snandini
dfd0d42436 Release 2.0.8.12Z
Release 2.0.8.12Z

Change-Id: I10a033c7488725cc72a5896dce4d5a43626ac5dd
CRs-Fixed: 774533
2021-03-16 12:45:13 -07:00
Pragaspathi Thilagaraj
c85d05d186 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-16 12:45:13 -07:00
Utkarsh Bhatnagar
d949a305be 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-16 12:45:08 -07:00
snandini
0830fe3071 Release 2.0.8.12Y
Release 2.0.8.12Y

Change-Id: I3db068818b97b5f3bdde28f6464964bb4ee725b0
CRs-Fixed: 774533
2021-03-16 03:24:15 -07:00
Deeksha Gupta
8a7779883e 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-16 03:24:15 -07:00
Vevek Venkatesan
8364c2ba88 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-16 03:24:10 -07:00
snandini
d2b7a34a1a Release 2.0.8.12X
Release 2.0.8.12X

Change-Id: I7add96436cf01813ff67a9aab9f400f848323362
CRs-Fixed: 774533
2021-03-15 15:13:07 -07:00
Amruta Kulkarni
abcbed0edf 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-15 15:13:06 -07:00
snandini
f5b90c84f4 Release 2.0.8.12W
Release 2.0.8.12W

Change-Id: I5244d6923094bda888b06b8a4608a698c0925450
CRs-Fixed: 774533
2021-03-15 03:28:38 -07:00
Utkarsh Bhatnagar
7479f2449d 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-15 03:28:38 -07:00
Jyoti Kumari
b13485ee65 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-15 03:28:33 -07:00
snandini
a615c36b2f Release 2.0.8.12V
Release 2.0.8.12V

Change-Id: Ib46adb3bc58d87bfec0ac503dd7a7dd2853c37bb
CRs-Fixed: 774533
2021-03-15 01:14:05 -07:00
Deeksha Gupta
12a7179b7d 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-15 01:14:04 -07:00
snandini
7c1b40f15a Release 2.0.8.12U
Release 2.0.8.12U

Change-Id: Ib50356071f0de315bdab2c351759e86d1e1f5d8f
CRs-Fixed: 774533
2021-03-14 23:03:54 -07:00
Manikanta Pubbisetty
7c825c9f31 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 23:03:54 -07:00
snandini
51d0f9d93f Release 2.0.8.12T
Release 2.0.8.12T

Change-Id: I465e700a270d83791770dbbde6c91d05bde195e8
CRs-Fixed: 774533
2021-03-14 13:19:20 -07:00
Pragaspathi Thilagaraj
6b50526805 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-13 22:41:58 -08:00
snandini
f963f924f9 Release 2.0.8.12S
Release 2.0.8.12S

Change-Id: I55a89dab24ecd1f3d5120ee08e0421476b3622a8
CRs-Fixed: 774533
2021-03-11 17:33:44 -08:00
Yeshwanth Sriram Guntuka
1af817b3d3 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 17:33:44 -08:00
snandini
23b82675a1 Release 2.0.8.12R
Release 2.0.8.12R

Change-Id: I771577a306251ba5f52e21ab6abc6b3cabdb9e11
CRs-Fixed: 774533
2021-03-11 04:12:16 -08:00
Nirav Shah
343367b83d qcacld-3.0: Allow twt get_params for SAP mode with dialog_id 255
Allow twt get_params command with dialog_id 255 to get all session
parameters in user space.

Change-Id: I1b5dbc742c65f2445681aebf1f69255eaf6e1954
CRs-Fixed: 2882925
2021-03-11 04:12:16 -08:00
snandini
e31a23bd1b Release 2.0.8.12Q
Release 2.0.8.12Q

Change-Id: Id5d5fbeb3c53324184af3614771b70fb7188da15
CRs-Fixed: 774533
2021-03-11 01:53:50 -08:00
Vevek Venkatesan
fa9830d660 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-11 01:53:50 -08:00
snandini
ffadb7d8c2 Release 2.0.8.12P
Release 2.0.8.12P

Change-Id: Ia31ff22313a74bfd94e4fe417885b907ccc8fd3e
CRs-Fixed: 774533
2021-03-10 23:41:12 -08:00
Jingxiang Ge
9d7864bb9c 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 23:41:12 -08:00
snandini
a2fe6c4761 Release 2.0.8.12O
Release 2.0.8.12O

Change-Id: I708dc63e2317738dccb758cbc4ffbf3bfc28b19f
CRs-Fixed: 774533
2021-03-10 21:34:14 -08:00
Jinwei Chen
3fc56ff0c8 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 18:16:50 -08:00
snandini
b7d4764b53 Release 2.0.8.12N
Release 2.0.8.12N

Change-Id: I2c02941f5652ec72a9ed27668783971f79935404
CRs-Fixed: 774533
2021-03-10 18:09:05 -08:00
Lincoln Tran
a90af11d6f 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 18:09:04 -08:00
Yu Wang
872317953e 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-10 18:08:59 -08:00
snandini
8f9d02a642 Release 2.0.8.12M
Release 2.0.8.12M

Change-Id: I6f18f5622dff85259ab672d2eed3e52451eda68d
CRs-Fixed: 774533
2021-03-10 05:49:56 -08:00
Huashan Qu
a11ab424e9 qcacld-3.0: Remove old rso path code [PART 6]
Macro ROAM_OFFLOAD_V1 is useless since new rso path code is
used, clean up all ROAM_OFFLOAD_V1 related code.

Change-Id: I0f6f2171a62b5c0cfb5333104be7eabc705dfef8
CRs-Fixed: 2812277
2021-03-10 05:49:56 -08:00
Utkarsh Bhatnagar
e8e4d97c7f qcacld-3.0: Reset RSN IE for every connect
Reset RSN IE for every Connect. This RSN IE
will be overwritten with RSN IE if present.

If we don't reset then connect will use PMF
capability in RSN IE from previous connection
and will expect Deauth frame to be protected
even if connection is open.

Change-Id: I626ceb831556d17cd185a050b28d8d7a19344e68
CRs-Fixed: 2890563
2021-03-10 05:49:52 -08:00
snandini
da6d8eff00 Release 2.0.8.12L
Release 2.0.8.12L

Change-Id: Id4e2df88b9cb4948f946d68ab7fae2dce445a86d
CRs-Fixed: 774533
2021-03-09 22:00:02 -08:00
Lin Bai
e416f4d256 qcacld-3.0: Ignore ndo_set_features failure from upper stack
Change I0e44cb1789516e1bcee619be3581d826f45f265b register
ndo_set_features API, and upper stack will invoke it during
driver loading phase, which is not expected.

Return success with debug level log printed if DSC check failure.

Change-Id: Iba35a6c3ed6394794c9be7332e0243d975ba37bd
CRs-Fixed: 2747343
2021-03-09 22:00:02 -08:00
snandini
40a5888d95 Release 2.0.8.12K
Release 2.0.8.12K

Change-Id: I38c856ab5ff23feed5a4e0da977225e7bf8f2bc7
CRs-Fixed: 774533
2021-03-09 19:52:00 -08:00
Lincoln Tran
74ae456ff0 qcacld-3.0: Fix regulatory update event
If set country fails, disable the flag stating the update is in
progress. Otherwise, all subsequent requests will end up waiting for the
full timeout period.

Change-Id: Id35f49b65d5b641d9a0093204dadecc1792ee529
CRs-fixed: 2892388
2021-03-09 19:51:59 -08:00
Huashan Qu
3cee8e98aa qcacld-3.0: Remove old rso path code [PART 5]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for cm/wmi roam related files.

Change-Id: Iec350f032c3e037204f560199d4a6e258ac02688
CRs-Fixed: 2810145
2021-03-09 19:51:55 -08:00
snandini
8fac93e8d3 Release 2.0.8.12J
Release 2.0.8.12J

Change-Id: I0bafe0b24bc52b482a13aae8e32559b963a64aae
CRs-Fixed: 774533
2021-03-09 11:24:24 -08:00
Vevek Venkatesan
ab34948135 qcacld-3.0: add PLD API to support SMMU-S1 unmap in moselle
Add PLD API to support SMMU-S1 unmap in moselle platforms.

Change-Id: Ief6b39f30b2f56b00ca0ec2ade42f599f32baa68
CRs-Fixed: 2883862
2021-03-09 11:24:24 -08:00
snandini
ea4f803fc4 Release 2.0.8.12I
Release 2.0.8.12I

Change-Id: I40e3df213e8be175a6c47c2b9766b2f68e362a7f
CRs-Fixed: 774533
2021-03-08 14:51:23 -08:00
Dundi Raviteja
e1b14d8b1a qcacld-3.0: Reduce stack frame size in lim_send_probe_req_mgmt_frame
Reduce stack frame size of lim_send_probe_req_mgmt_frame()
by allocating dynamic memory to tDot11fProbeRequest.

Change-Id: Ide3047df132514a1684ec3b3cc0bbd01712ecab3
CRs-Fixed: 2847119
2021-03-08 14:51:22 -08:00
snandini
ae7dfd2d9a Release 2.0.8.12H
Release 2.0.8.12H

Change-Id: Ic97b7c99035714471208c95c7ca77e47cc5aeabf
CRs-Fixed: 774533
2021-03-08 12:34:38 -08:00
Sachin Ahuja
8edf3678c3 qcacld-3.0: Start the psoc idle timer in cfg80211 resume
During system suspend, the psoc idle timer is stopped. So it may
happen that work was not scheduled and it got removed from the
workqueue. This will result into the module state as enabled after
system resume which will lead to extra power consumption.

So, to avoid this issue, start the psoc idle timer in the system
reume if all interfaces are down and module state is ENABLED.

CRs-Fixed: 2867472
Change-Id: I2151e825919b45727a279a2285293e578ce86ffa
2021-03-08 12:34:37 -08:00
Dundi Raviteja
7ba97fee58 qcacld-3.0: Reduce stack frame size in lim_verify_fils_params_assoc_rsp
Reduce stack frame size of lim_verify_fils_params_assoc_rsp()
by allocating dynamic memory to fils structures.

Change-Id: Ib24570d87468560f50ee1bcaad360e4729f404aa
CRs-Fixed: 2847120
2021-03-08 12:34:33 -08:00
Dundi Raviteja
b1a6117b62 qcacld-3.0: Reduce stack frame size in lim_send_assoc_rsp_mgmt_frame
Reduce stack frame size of lim_send_assoc_rsp_mgmt_frame()
by allocating dynamic memory to add_ie.

Change-Id: Iffd2eec7451bc84bba2d2542590fcc24dbd25df6
CRs-Fixed: 2847113
2021-03-08 12:34:28 -08:00
Dundi Raviteja
1cd1a44ad5 qcacld-3.0: Reduce stack frame size while processing setup req frame
Reduce stack frame size of lim_send_tdls_link_setup_req_frame()
by allocating dynamic memory to tDot11fTDLSSetupReq.

Change-Id: I7b31791483869b45713d808d82948bb730977efe
CRs-Fixed: 2847112
2021-03-08 12:34:23 -08:00
Bapiraju Alla
98ff0f1c80 qcacld-3.0: Remove INI support for UNIFIED_LL_GET_STA command over QMI
With WMI_SERVICE_UNIFIED_LL_GET_STA_OVER_QMI_SUPPORT FW service
capability, the INI parameter send_ll_and_get_station_stats_over_qmi
becomes obsolete. Remove corresponding code from host driver.

Change-Id: I3fe59c5401ea13e8c6f209d2302bc1ecde449227
CRs-Fixed: 2849302
2021-03-08 12:34:18 -08:00
snandini
ff0903d379 Release 2.0.8.12G
Release 2.0.8.12G

Change-Id: I545ee6027992f499756092c419a9f572af5ad772
CRs-Fixed: 774533
2021-03-08 01:29:12 -08:00
hqu
0c56508e41 qcacld-3.0: Remove old rso path code [PART 2]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for wma layer related files.

Change-Id: Ie4639a6f04877aa41046706118936560200162a6
CRs-Fixed: 2808064
2021-03-08 01:29:12 -08:00