Graf commitů

23323 Commity

Autor SHA1 Zpráva Datum
Madan Koyyalamudi
2402e3691b Release 5.2.0.239Q
Release 5.2.0.239Q

Change-Id: I3c1f9cf6d84513af9f3cac43bf1e9448b501033b
CRs-Fixed: 774533
2021-07-07 20:56:18 -07:00
Utkarsh Bhatnagar
14d8df169d qcacld-3.0: Donot access invalid wiphy band
In wlan_hdd_get_wiphy_channel(), Donot access
60 Ghz which are not part of wiphy.

Change-Id: Ie8249bdcc7c4fb66744a9b16f2c194e9ab60dd1b
CRs-Fixed: 2984046
2021-07-07 20:56:18 -07:00
Madan Koyyalamudi
7f334730a5 Release 5.2.0.239P
Release 5.2.0.239P

Change-Id: Id517a8dd68361e706f383ff100612f7df2f5ce60
CRs-Fixed: 774533
2021-07-07 09:11:22 -07:00
Jia Ding
f58c9d0001 qcacld-3.0: Prevent possible use-after-free of ipa_obj
wlan_ipa_uc_loaded_uc_cb is an API that is registered to IPA driver.
Therefore when IPA uC is ready, IPA driver is likely to invoke this CB
into our driver. If it is invoked after a WLAN idle shutdown, ipa_obj
use-after-free will happen because ipa_obj is destroyed as part of
shutdown.

g_ipa_is_ready flag is cleared after ipa_obj is destroyed. Therefore
fix is to add a ipa_cb_is_ready check in wlan_ipa_uc_loaded_uc_cb to
ensure ipa_obj is allocated and not freed.

Change-Id: Id422c0780ab864936d9bc812a6078ea4c20ef2af
CRs-Fixed: 2975057
2021-07-07 09:11:22 -07:00
Liangwei Dong
a97eee4294 qcacld-3.0: Use target BW 80Mhz for Pre CAC on 5G
At present the pre CAC is done based on original SAP's BW,
but usually the original SAP is on 2G and BW <= 40Mhz. The
requirement from user is to have higher BW on 5G. Hence, select
higher BW supported by SAP phymode to do pre CAC and move 2G
SAP to 5G pre CAC channel when pre CAC done successfully.
Also set the default MAX bw pre CAC to 80Mhz based on current user
request.

Change-Id: I3115da8eb649238da50b223c2587db96125ec813
CRs-Fixed: 2984084
2021-07-07 09:11:18 -07:00
Madan Koyyalamudi
574dcaeaa3 Release 5.2.0.239O
Release 5.2.0.239O

Change-Id: I5e87a036fa6b5d81a4b37521c5f4ad3043074854
CRs-Fixed: 774533
2021-07-07 06:41:32 -07:00
Vulupala Shashank Reddy
9c1a9d9fa9 qcacld-3.0: Fix 6GHz channel freq for rx mgmt in packet capture
Fill freq received from FW directly.

Change-Id: I8a0470e6b22f8c9176586825691af160c6540348
CRs-Fixed: 2966863
2021-07-07 06:41:32 -07:00
Alan Chen
62341748f0 qcacld-3.0: Add new ini item enable_dynamic_pcie_gen_speed_switch
Add new ini item enable_dynamic_pcie_gen_speed_switch for enabling
dynamic PCIe gen speed change.

Change-Id: I7dde4e40e56bf894c7edd0805d09425444648e6b
CRs-Fixed: 2977079
2021-07-07 06:41:27 -07:00
Madan Koyyalamudi
083a4d0039 Release 5.2.0.239N
Release 5.2.0.239N

Change-Id: Ife26534f77403befe217a23ff7e3cfcbab7d3d3d
CRs-Fixed: 774533
2021-07-06 17:33:26 -07:00
Vevek Venkatesan
516ad4f689 Revert "qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support"
This reverts the change to do the memset of SW2TCL desc consumed by
HW to zero.

Change-Id: Ie56207cf483643f6e294df23f5445ca853a75d51
CRs-Fixed: 2984818
2021-07-06 17:33:26 -07:00
Bapiraju Alla
660d463b88 qcacld-3.0: Add partner links information in join request
Add partner links information in join request to proceed for ML
connection in best links selected in ML scoring.

Change-Id: I463264d9c78f3ab061d54a3245b15174d0940910
CRs-Fixed: 2961881
2021-07-06 17:33:21 -07:00
Madan Koyyalamudi
09e426ebe0 Release 5.2.0.239M
Release 5.2.0.239M

Change-Id: I4207a752f3cbf389c3cfd850112433203ee9e9a8
CRs-Fixed: 774533
2021-07-06 15:20:35 -07:00
Utkarsh Bhatnagar
670079e829 qcacld-3.0: update phymode and width correctly for sap
In sap_goto_starting(), update phymode and channel width
correctly incase there is mismatch between phymode
and operating channel frequency.
For instance, in case when operating frequency is in
5 Ghz band, phymode 11g is incorrect and should be
changed to 11a. Also, if phymode is 11a for 2.4 ghz
band, it should be changed to 11g.

Also, if phymode is of legacy type such as 11a or 11g,
channel width should be restricted to 20 Mhz.
In case of 11n, channel width should be restricted to
40 Mhz, if it is more than that.

Also, update the width from vdev as if not updated
there can be a case where there are different bw
in vdev and sap context.

Change-Id: I3df06c0f5bb0f4eb5ffc77317efbeaa88d998427
CRs-Fixed: 2976056
2021-07-06 15:20:35 -07:00
Utkarsh Bhatnagar
8a5ed473ea qcacld-3.0: Change EDCA ini from CFG_STRING to CFG_INI_STRING
Change ini type of all ini related to  edca_ani, edca_wme,
edca_etsi. Also, use cfg_get instead of cfg_default for
fetching these.

Change-Id: Iba252f81d236c5b217e1d86c6511bbc52c2900b7
CRs-Fixed: 2952537
2021-07-06 15:20:30 -07:00
Madan Koyyalamudi
8bcb42510a Release 5.2.0.239L
Release 5.2.0.239L

Change-Id: I806f982afc33b12bbeee04ef7ac36a09ee5c8596
CRs-Fixed: 774533
2021-07-06 11:54:55 -07:00
Amruta Kulkarni
91d1caea96 qcacld-3.0: Populate and parse MLO IE for STA
- Convert mlo assoc response from frame to structure for partner link
- Populate mlo ie for assoc request

Change-Id: I0a362c65131a1dd9526a5fb24c5816ab03e061b2
CRs-Fixed: 2973939
2021-07-06 11:54:55 -07:00
Madan Koyyalamudi
869f4e5498 Release 5.2.0.239K
Release 5.2.0.239K

Change-Id: I566894db185eef61cd57ce5d2bcc7bb6bbbc2b51
CRs-Fixed: 774533
2021-07-06 06:53:29 -07:00
Zhaoyang Liu
2f774b0ab7 qcacld-3.0: add feature flags in qca6390 default config
As hardware based on CONFIG_LITHIUM feature flags enable/disable in Kbuild
file were removed in commit "f06df4c", use CONFIG_<FEATURE_FLAG> from
qca6390_defconfig file to enable DP feature flags.

Change-Id: I8051fc789c70766bb4519c345e04c278864e2f1b
CRs-Fixed: 2984207
2021-07-06 06:53:29 -07:00
Madan Koyyalamudi
32c0e561e1 Release 5.2.0.239J
Release 5.2.0.239J

Change-Id: I03b62487383a48153ac90290173524ac2ea15f2d
CRs-Fixed: 774533
2021-07-06 04:38:33 -07:00
wadesong
7d409b24f2 qcacld-3.0: Enable FW_LOG_PARSING for Genoa
Enable flag FW_LOG_PARSING for Genoa so cmd like dl_loglevel
can be sent to firmware.

Change-Id: I6fcecb6198907e56c94e5d8211ac0ea0ecadb7fc
CRs-Fixed: 2983102
2021-07-06 04:38:32 -07:00
Madan Koyyalamudi
ae3c0a4dfb Release 5.2.0.239I
Release 5.2.0.239I

Change-Id: I967f0a98b19be596d3e45e40cbcb02aa0629c67d
CRs-Fixed: 774533
2021-07-06 02:15:58 -07:00
Deeksha Gupta
4ffb37d015 qcacld-3.0: update the BW correctly for SAP channel_switch
In wlansap_get_csa_chanwidth_from_phymode(), update the
channel width correctly incase when SAP starts on 2.4GHz
and channel switch happens on 5GHz channel with BW 80 MHz.
Currently host modify the BW according to the original BW
20MHz is incorrect, it should be changed to 80MHz.

Update the BW correctly, it should not be limited to orig BW.

Change-Id: I9baf89d89eeb6407c7cda931b332bced38cc2154
CRs-Fixed: 2974565
2021-07-06 02:15:57 -07:00
bings
5478a21533 qcacld-3.0: mlo sap bss start for hdd layer
Implement mlo sap bss start for hdd layer.

Change-Id: Id2fc9c735573262d5502e1538851c9554c919a21
CRs-Fixed: 2973191
2021-07-06 02:15:53 -07:00
Srinivas Dasari
c65ead975b qcacld-3.0: Let IOT APs recover by avoiding back to back DELBA
Station sends the BA and upgrades to the next possible BA window
size upon receiving all frames successfully from the current
window. Some IOT APs go out of sync from BA window size of the
station when AP fails to receive the BA sent from station. AP
transmits the frames again with previous window sequence number
and won't be ack'ed by station hardware as BA window has already
moved ahead. So, station deletes the upgraded BA and tries
to fallback.

Ideally, AP is supposed to consider the fact that "the previous
window transmission was successful when station upgrades to next
window size". But some APs take little longer time to
recover/upgrade to next window size. Don't delete the BA
immediately and have some tolerance(3 seconds) as the previous
negotiated BA just got deleted.

Change-Id: I6b277223f02dac521316cec20bd5d958785cc2e9
CRs-Fixed: 2970714
2021-07-06 02:15:48 -07:00
Vevek Venkatesan
14d84bf050 qcacld-3.0: add DP reason code support for send_delba
Add DP reason code support for sending DELBA request,
so protocol layer can make decisions for special cases.

Change-Id: I4eeba3513820a98a15682190e40a06ce178d9441
CRs-Fixed: 2983544
2021-07-06 02:15:43 -07:00
Madan Koyyalamudi
d10a61094e Release 5.2.0.239H
Release 5.2.0.239H

Change-Id: Ic31abbee369adb9d937ec4f1faa8c803b267082b
CRs-Fixed: 774533
2021-07-05 03:20:17 -07:00
Vevek Venkatesan
f2e5ea6182 qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support
Enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support for moselle
targets.

Change-Id: I1ef8927c2af040cda67dab9347679f64a55493ac
CRs-Fixed: 2983561
2021-07-05 03:20:17 -07:00
Madan Koyyalamudi
f1b538654d Release 5.2.0.239G
Release 5.2.0.239G

Change-Id: I1f20953b8537e0c47a8a263873635b083f8f4da1
CRs-Fixed: 774533
2021-07-02 19:02:04 -07:00
Yu Wang
3c0cf58dc4 qcacld-3.0: Add support for AWGN interference mitigation
Register callback function with dcs component to trigger
channel switch when AWGN interference is detected.

Change-Id: Ifb928b4d2b242eba3bd800207117b7c84a4531d6
CRs-Fixed: 2960240
2021-07-02 19:02:03 -07:00
Madan Koyyalamudi
a5454a8771 Release 5.2.0.239F
Release 5.2.0.239F

Change-Id: I693d136ea7589e1ce4aa70c9b6058a6a62f95afc
CRs-Fixed: 774533
2021-07-02 13:53:56 -07:00
Abhishek Singh
cd8f5cc201 qcacld-3.0: Trigger SSR if pe session already exist for vdev
Trigger SSR if pe session already exist for vdev, i.e vdev is
not in init state during connect req.

Also Add SSR if roam command timeout.

Change-Id: I83be76215f5c4daca2429a2528f825baabed92e3
CRs-Fixed: 2982362
2021-07-02 13:53:55 -07:00
Madan Koyyalamudi
b237115eef Release 5.2.0.239E
Release 5.2.0.239E

Change-Id: Id04baa94b0dd13a91ec4420dab0e00acf4330257
CRs-Fixed: 774533
2021-07-02 07:24:42 -07:00
Pragaspathi Thilagaraj
70e6c4fc40 qcacld-3.0: Add support to send set IE request in cnx manager
With connection manager enabled, the send IE request is
not sent after connection.

Add support to send set IE request after connection is
successful in connection manger.

Change-Id: I2f30eb67ba295e0ca416ccb40e12a376e0d7a47e
CRs-Fixed: 2976734
2021-07-02 07:24:42 -07:00
Madan Koyyalamudi
2a277192ee Release 5.2.0.239D
Release 5.2.0.239D

Change-Id: I00c47d0ee1712272af20b56000d4a440142707e8
CRs-Fixed: 774533
2021-07-02 05:02:36 -07:00
Li Feng
3d05280c82 qcacld-3.0: Avoid fw crash in some wow case on third party
Due to the limitation on third party platform, add ini to take
special care of the below wow case to avoid fw crash.
The sap/p2p_go shall kick out all the connected sta/p2p_gc and
then go to suspend if d0wow/d3wow is not supported.
Although there is wakelock try to prevent suspend after tdls link
setup, it won't take effect because auto sleep mechanism is not
supported on some third party platform, so teardown tdls link
by force before suspend.

Change-Id: I14bfe32f04cfc34d4f55a09820e42e65a1d9f925
CRs-Fixed: 2935295
2021-07-02 05:02:36 -07:00
Madan Koyyalamudi
35db828ff1 Release 5.2.0.239C
Release 5.2.0.239C

Change-Id: I42ebd87fe6d12d2895235dd1bea835f3609f128c
CRs-Fixed: 774533
2021-07-02 00:33:42 -07:00
Abhishek Singh
2b47c7272d qcacld-3.0: Rename CSR/SME function to represent SAP/NDI start/stop
CSR/SME use connect/disconnect API as these were common between
STA/SAP/NDI, but as connection manager removed the STA related code
from SME/CSR, rename the functions to represent NDI/SAP start/stop.

Change-Id: I7875e163f1976627e521308813ad3e1ed279a906
CRs-Fixed: 2981040
2021-07-02 00:33:42 -07:00
Madan Koyyalamudi
443ae5d53f Release 5.2.0.239B
Release 5.2.0.239B

Change-Id: I31a7a4c83ed286069a934c4e967395cb75419709
CRs-Fixed: 774533
2021-07-01 19:52:50 -07:00
Arun Kumar Khandavalli
d95e93def5 qcacld-3.0: update the new pld event for smmu fault
There is a time involved between the smmu fault initiated
and the eventual system panic. In this time there is a
possibility of the nbuf history being overwritten losing
the information on the nbuf which might has actually caused
the SMMU fault.

Set the ssmu state and dont track the nbuf's when the smmu
fault is detected

Change-Id: Ia9f422861cbb7bde1b498d8a88967616be99bb6e
CRs-Fixed: 2960063
2021-07-01 19:52:50 -07:00
Madan Koyyalamudi
d8dacb01fa Release 5.2.0.239A
Release 5.2.0.239A

Change-Id: I6ef6c146e2848decd0b8aa242188529cfc6083d4
CRs-Fixed: 774533
2021-07-01 13:44:17 -07:00
Huashan Qu
883f3f308c qcacld-3.0: Fix KW issues in ipa files
Fix KW issues in ipa files, add ipa_obj null check before use.

Change-Id: Ie6f69fda7d50b8ece9917db43a838e0f3852393f
CRs-Fixed: 2979119
2021-07-01 13:44:16 -07:00
Madan Koyyalamudi
39a4cdd247 Release 5.2.0.239
Release 5.2.0.239

Change-Id: I68d92a8f5e25b5168d7eb9c66a24ab6f8221a69c
CRs-Fixed: 774533
2021-07-01 11:23:12 -07:00
Jia Ding
b98114c954 qcacld-3.0: Enable to parse user configured edca params
Currently only default values of local edca params are used for
WME and ETSI profiles. Therefore expose them as INI config options
so that driver is able to parse user configured edca params used
locally by SAP.

Change-Id: I81759570160a67e26f68501576d71a5fd3568cd7
CRs-Fixed: 2976143
2021-07-01 11:23:12 -07:00
Abhishek Singh
99707d6ae9 qcacld-3.0: Initiate WLAN_VDEV_SM_EV_START only in init state
Initiate WLAN_VDEV_SM_EV_START for connect only in INIT state
as if its not in init state the VDEV SM is not cleaned up, which
needs to be debugged.

Sending WLAN_VDEV_SM_EV_START can cause pe session leak if the
event is handled by VDEV SM and return success. This can eventually
lead to all the pe session in used state.

Change-Id: I8245a7985bb08b04008b4f833f9474947c1bf57b
CRs-Fixed: 2982070
2021-07-01 11:23:07 -07:00
Madan Koyyalamudi
2a6ce25bf3 Release 5.2.0.238Z
Release 5.2.0.238Z

Change-Id: Ie4a05cbc3932cc09fd55f521e4e97dbfa9b46f13
CRs-Fixed: 774533
2021-07-01 04:24:12 -07:00
Li Feng
4548644d92 qcacld-3.0: Set moddtim dynamically in the li offload mode
Extend hdd_config_modulated_dtim() to configure moddtim
dynamically in the both non li offload and li offload mode.

Change-Id: I8669ec618d4aa9cd87c4c234972ca500c98119b6
CRs-Fixed: 2970090
2021-07-01 04:24:12 -07:00
Yu Wang
e7df98e50e qcacld-3.0: Enable DCS for QCA6490
Enable CONFIG_DCS for QCA6490 in default_defconfig.

Change-Id: I45726ff0032e72939efde6a73051796c788f9ff6
CRs-Fixed: 2976853
2021-07-01 04:24:03 -07:00
Abhishek Singh
a651b893b9 qcacld-3.0: Remove unused params of struct csr_roam_info
Remove unused params of struct csr_roam_info.

Change-Id: I90aeafc9618ca9569769b7d708d4b552c5ef93ae
CRs-Fixed: 2981156
2021-07-01 04:23:56 -07:00
Madan Koyyalamudi
4e57076cf5 Release 5.2.0.238Y
Release 5.2.0.238Y

Change-Id: I2169da19e087de5929dc1bf9fb2aee15dece461f
CRs-Fixed: 774533
2021-07-01 02:04:03 -07:00
sheenam monga
9742335f49 qcacld-3.0: keep pmo_enable_igmp_offload inside igmp feature flag
Currently ucfg_pmo_enable_igmp_offload is conditionally compiled
with feature flag WLAN_FEATURE_BIG_DATA_STATS which may introduce
compilation issue when WLAN_FEATURE_BIG_DATA_STATS is disabled
but WLAN_FEATURE_IGMP_OFFLOAD is enabled.

Fix is to use WLAN_FEATURE_IGMP_OFFLOAD feature flag for
pmo_enable_igmp_offload.

Change-Id: I647ad960f5c0abc14449f0af9430f867ddcdf1e3
CRs-Fixed: 2981344
2021-07-01 02:04:03 -07:00