Commit graph

21,754 commits

Author SHA1 Message Date
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
snandini
69af63115a Release 2.0.8.12F
Release 2.0.8.12F

Change-Id: I99f50249f58ff6f6ceee01265ee0a0b1b362ca9e
CRs-Fixed: 774533
2021-03-07 23:17:04 -08:00
hqu
934f810d33 qcacld-3.0: Remove old rso path code [PART 4]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for hdd/sme/lim related files.

Change-Id: I9bb470cb2af0cc940f9c5dd70942eac0cdd83eb5
CRs-Fixed: 2809268
2021-03-07 23:17:04 -08:00
hqu
c9021ddd46 qcacld-3.0: Remove old rso path code [PART 3]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for csr related files.

Change-Id: I6527630951ca1c291e027e7ecdb3f9bf4b0a72b3
CRs-Fixed: 2808325
2021-03-07 23:16:58 -08:00
snandini
d40fa54cc8 Release 2.0.8.12E
Release 2.0.8.12E

Change-Id: I2d8762e25b83f7117ac26b86dd62569c33e20eef
CRs-Fixed: 774533
2021-03-06 23:41:33 -08:00
Bapiraju Alla
7ad9b94a09 qcacld-3.0: Don't create vdev sync for pre CAC adapter again
Currently, for every pre CAC request a new vdev sync is getting created
and it will be destroyed only when SAP is stopped. So, there is a possible
memory leak if a valid pre CAC request is issued second time without SAP
stop.

To avoid this, don't create vdev sync for pre CAC request if pre CAC
adapter already exist.

Change-Id: If3f65648645b6801a1504a2d184dbc6928ff4771
CRs-Fixed: 2891360
2021-03-06 23:41:33 -08:00
snandini
adca116282 Release 2.0.8.12D
Release 2.0.8.12D

Change-Id: Ief7c0bfa1be86d4e743c4966f70375d1f25230c7
CRs-Fixed: 774533
2021-03-05 19:32:12 -08:00
Lincoln Tran
0d24bce1ac qcacld-3.0: Move regulatory event initializtion
Currently, the regulatory update event is created in
hdd_regulatory_init. In some cases, the country can be set before this
function, causing a crash. Move the event creation to before the country
setting logic.

Change-Id: I344d0de71f1983b3da7b47b816d6bbb0e402cbe8
CRs-fixed: 2891434
2021-03-05 19:32:11 -08:00
snandini
903070976f Release 2.0.8.12C
Release 2.0.8.12C

Change-Id: If771f5391a75a1adb4471c59111dbb149b7a817e
CRs-Fixed: 774533
2021-03-05 17:11:45 -08:00
Srinivas Girigowda
5d3a483424 qcacld-3.0: Fix possible NULL pointer dereference in hdd_twt_configure
Fix possible NULL pointer dereference in hdd_twt_configure.

Change-Id: If7e38923e3d5af0f99be0c7260df6437c4a021ac
CRs-Fixed: 2891438
2021-03-05 17:11:45 -08:00
Srinivas Girigowda
1fcd7befb1 qcacld-3.0: Add support for not in range and IE validation status code
Add support for TWT AP params not in range and IE validation failed
status code.

Change-Id: I939db5388c4e7aac86484b319638a57baf83171e
CRs-Fixed: 2888847
2021-03-05 17:11:41 -08:00
Madhvapathi Sriram
6cded05958 qcacld-3.0: twt_responder support advertisement in assoc resp
TWT responder support should be announced, if enabled, in the
Extended capabilities IE.

Change-Id: I1355a9ddf2fe0361cb542b4c49b754d8f8a158fc
CRs-Fixed: 2884862
2021-03-05 17:11:36 -08:00
snandini
8641cb2daa Release 2.0.8.12B
Release 2.0.8.12B

Change-Id: I9fb5efbb8abc5967b52dd670bc98edb99846eb30
CRs-Fixed: 774533
2021-03-05 00:02:29 -08:00
Deeksha Gupta
511055399f qcacld-3.0: Set command_in_progress before post the msg to WMA
Currently, in TWT after posting the msg via sme to WMA
using scheduler thread. Based on the success or failure
driver set the command_in_progress so that subsequent
commands can be rejected till the current command is completed.
There is a chance, context might be broken because of this,
command_in_progress is not set.
Set the command_in_progress before posting
the msg and if there is an error then again set the
command_in_progress as NONE.

Change-Id: If9dc4bd346178d49d5d940ecf8ae008969cb1e73
CRs-Fixed: 2886135
2021-03-05 00:02:29 -08:00
snandini
380dff8477 Release 2.0.8.12A
Release 2.0.8.12A

Change-Id: Ifd948cb15a8cedb10393ff78e31cc8f95c13c084
CRs-Fixed: 774533
2021-03-04 18:28:50 -08:00
Srinivas Girigowda
4e5778acd9 qcacld-3.0: Fix memory leak in TWT add dialog event handler error cases
Fix memory leak issues in TWT add dialog event handler error cases
before returning from the function.

CRs-Fixed: 2890261
Change-Id: Ia367084a3919be9275e1b5e327f79a1d43df3803
2021-03-04 18:28:50 -08:00
snandini
ddf92ee3a4 Release 2.0.8.12
Release 2.0.8.12

Change-Id: I0d9a377a2dc9e03263d6f99d4a19df548cb2c8a6
CRs-Fixed: 774533
2021-03-04 11:32:05 -08:00
Huashan Qu
10e5a62cf6 qcacld-3.0: Remove old rso path code [PART 1]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for file wma_scan_roam.c.

Change-Id: Ib50d49c566d9aaf124f2eecebe4b652dcbb3b5df
CRs-Fixed: 2807015
2021-03-04 11:32:05 -08:00
snandini
a4a81d97b2 Release 2.0.8.11Z
Release 2.0.8.11Z

Change-Id: Iaf4d2aa82107649506e3e644bb1f1045febd5fe9
CRs-Fixed: 774533
2021-03-04 09:23:11 -08:00
Huashan Qu
f386197c9f qcacld-3.0: Enable RSO ROAM_OFFLOAD_V1 path for all configs
Enable roam scan offload ROAM_OFFLOAD_V1 path for all configs.

Change-Id: Id3386c2f391f98fb67734fdd17919782d0240f18
CRs-Fixed: 2798357
2021-03-04 09:23:11 -08:00
snandini
f22d7227eb Release 2.0.8.11Y
Release 2.0.8.11Y

Change-Id: I6734b26a3664364a13c5c085569059e9523bd359
CRs-Fixed: 774533
2021-03-03 19:16:12 -08:00
Dundi Raviteja
093247e47e qcacld-3.0: Reduce stack frame size in lim_send_tdls_dis_req_frame
Reduce stack frame size of lim_send_tdls_dis_req_frame()
by allocating dynamic memory to tDot11fTDLSDisReq.

Change-Id: Iac065fbfeecd978dc212e84cfe686fea77a10ed5
CRs-Fixed: 2847109
2021-03-03 19:16:12 -08:00
snandini
209b6bcb44 Release 2.0.8.11X
Release 2.0.8.11X

Change-Id: I5b73ee29eb1ce331ec336c9b882dc9eb241c2a97
CRs-Fixed: 774533
2021-03-03 10:05:36 -08:00
Bapiraju Alla
1440b36957 qcacld-3.0: Reduce console logging from tasklet
Currently, WoW wakeup host event is handled in tasklet context and
it is taking more than 800ms to execute. This is due to excessive
logging to the console from the tasklet. As a result of this, IRQs
are getting blocked during this tasklet execution.

To avoid this, add a sysfs entry to enable/disable console logging
from host wakeup event based on requirement.

Change-Id: If91a8bd5f783f358dabf9dcf46bf4c50d05d7909
CRs-Fixed: 2881972
2021-03-03 10:05:36 -08:00
snandini
dbfa8c1275 Release 2.0.8.11W
Release 2.0.8.11W

Change-Id: Id3fd76a3662176e2497125d033ddbf765c00d6c7
CRs-Fixed: 774533
2021-03-03 07:36:44 -08:00
Mohammed Siddiq
bda2c4be27 qcacld-3.0: Add pld api to get PCI reg dump on SSR
Add pld api to get PCI register dump on FW crash due
to PCI bus failure.

Change-Id: Ie30edbe2c60b0e71912667491c9fadbbe92373c4
2021-03-03 07:36:44 -08:00
snandini
feb91356af Release 2.0.8.11V
Release 2.0.8.11V

Change-Id: I734ef0985934117d1fdb4a065d874b6fdd615021
CRs-Fixed: 774533
2021-03-02 23:41:52 -08:00
Srinivas Girigowda
1f44d239af qcacld-3.0: Inform teardown all TWT sessions in P2P client mode
When SSR happens, Inform the user space about teardown all TWT sessions
in P2P client mode also.

Change-Id: I190529724519a2520dfa190fcb10cafc398745a5
CRs-Fixed: 2879404
2021-03-02 15:57:53 -08:00
Srinivas Girigowda
6a80c77084 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-03-02 15:57:50 -08:00
snandini
9147cf4a2e Release 2.0.8.11U
Release 2.0.8.11U

Change-Id: I9d08d6c13eefc367a2c616b2c83496be8e4ba68f
CRs-Fixed: 774533
2021-03-02 05:51:28 -08:00