Commit graph

22513 Commits

Autor SHA1 Nachricht Datum
snandini
230d9be5a6 Release 5.2.0.228G
Release 5.2.0.228G

Change-Id: I162e10956985ed84fec20fb03403928e1eb53e45
CRs-Fixed: 774533
2021-03-31 17:11:55 -07:00
sheenam monga
f8314f95bc qcacld-3.0: Add ini to support different versions of IGMP
Add bit mask ini support to decide IGMP version

Change-Id: I2676f9adb83c421c28a1d19efb8fe13a64f34de9
CRs-Fixed: 2907553
2021-03-31 17:11:55 -07:00
snandini
57dfe04891 Release 5.2.0.228F
Release 5.2.0.228F

Change-Id: I7dc8b78c3205e6920b7f15c55075925870afef78
CRs-Fixed: 774533
2021-03-31 14:14:31 -07:00
Lincoln Tran
71708059d8 qcacld-3.0: Expand the regulatory update critical section
Currently, host exits the regulatory update critical section as soon
as hdd_regulatory_dyn_cbk finishes. However, there is some work that
is scheduled to send the updated scan channel list to FW, which needs
to go inside the critical section as well. Move the logic to exit the
critical section after host sends the channel list.

Change-Id: I01f82232bdd4d4b3403f46dee5278fc74d50b05a
CRs-fixed: 2905643
2021-03-31 14:14:31 -07:00
snandini
256010de20 Release 5.2.0.228E
Release 5.2.0.228E

Change-Id: I0f2266aa69ed55c215212314c0573d95f594b8fc
CRs-Fixed: 774533
2021-03-31 06:04:49 -07:00
Aditya Kodukula
d4cad42cac qcacld-3.0: Remove INI parameter etsi13_srd_chan_in_master_mode
As part of WiFi ini clean-up FR, the ini parameter
etsi13_srd_chan_in_master_mode, is identified as an obsolete. Hence,
it can be deprecated and use its default value for the config
CFG_ETSI_SRD_CHAN_IN_MASTER_MODE.

Change-Id: Ic695e36e9b4fc9952cc405d1345b4a6a7d543dad
CRs-Fixed: 2896031
2021-03-31 06:04:48 -07:00
Srinivas Girigowda
f9a7c76549 qcacld-3.0: TWT: Return proper error code
Return proper error code.

Change-Id: I6aab99d9954516306404f39b21c8382f04751f94
CRs-Fixed: 2910910
2021-03-31 06:04:42 -07:00
snandini
c5ff787081 Release 5.2.0.228D
Release 5.2.0.228D

Change-Id: I73dabbe1bd3ba36e5e08f528076667b046d5f1ca
CRs-Fixed: 774533
2021-03-31 03:11:25 -07:00
abhinav kumar
ca8d71c421 qcacld-3.0: Configure proper default scan mode while roaming
Currently, host configures scan mode as ROAM_TRIGGER_SCAN_MODE_PARTIAL
instead of ROAM_TRIGGER_SCAN_MODE_NONE via
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID command for below roam
reasons:
WMI_ROAM_TRIGGER_REASON_BSS_LOAD
WMI_ROAM_TRIGGER_REASON_BTM
WMI_ROAM_TRIGGER_REASON_LOW_RSSI
WMI_ROAM_TRIGGER_REASON_BMISS
WMI_ROAM_TRIGGER_REASON_PER
WMI_ROAM_TRIGGER_REASON_PMK_TIMEOUT

Fix is to send proper by-default scan mode while roaming.

Change-Id: I60999c1c0f1068417aed54bcb49d16cfaed135d5
CRs-Fixed: 2907413
2021-03-31 03:11:25 -07:00
Manikanta Pubbisetty
1e1ff6bc94 qcacld-3.0: add pld API for disable_irq()
When the SRNG IRQs are disabled during suspend, it is
required to disable the interrupts and wait for interrupts
that are pending to complete. Adding a pld/pfrm API to disable
irq synchronously.

CRs-Fixed: 2908685
Change-Id: Ia1f17d54cbe08e8dc101c0ecc2ddee9275712659
2021-03-31 03:11:19 -07:00
snandini
91ad5d2e01 Release 5.2.0.228C
Release 5.2.0.228C

Change-Id: I4241c6d53c60ae9ca47e8eab75b7615edf23c849
CRs-Fixed: 774533
2021-03-31 01:03:48 -07:00
Yeshwanth Sriram Guntuka
43a40f83b0 qcacld-3.0: Set system suspend/resume state in hif ctx
Set system state in hif ctx to suspend or resume on
system suspend and resume respectively.

Change-Id: If1904a4fe5c861deed1b35071be10cb8cc8d6407
CRs-Fixed: 2899520
2021-03-31 01:03:47 -07:00
Will Huang
95580961d5 qcacld-3.0: Enable LPSS for SDX65
Enable LPSS flag on SDX65 platform to make suspend/resume possible to
work in some special scenario like STA/SAP interface idle exist.

Change-Id: I703401d27d3437d0006ad560c00154b0dc589091
CRs-Fixed: 2873228
2021-03-31 01:03:43 -07:00
snandini
3ce5ddc09a Release 5.2.0.228B
Release 5.2.0.228B

Change-Id: Iff0a023132c34eace9fd15283835a06cfd059b96
CRs-Fixed: 774533
2021-03-30 22:55:04 -07:00
Zhaoyang Liu
a10fe2f01d qcacld-3.0: populate country information based on band
For sap mode, beacon frame has country IE, but country info
fields have all bands channels information. Using band based
chanel list to populate country IE information.

Change-Id: I0be084b9b539d453e5386c6a25dd2d9daa5de21c
CRs-Fixed: 2819683
2021-03-30 22:55:03 -07:00
Amruta Kulkarni
07ff785c3e qcacld-3.0: Fix param passed to sme_qos_csr_event and cm_remove_cmd
Fix to pass assoc_info instead of address of assoc_info
to sme_qos_csr_event_ind() and cm_remove_cmd()

Change-Id: I9f6c12870954c42f2b1e6250e7547c45a593cae8
CRs-Fixed: 2911027
2021-03-30 22:54:57 -07:00
snandini
49bd6c125b Release 5.2.0.228A
Release 5.2.0.228A

Change-Id: I226d573ef2527e83ffdf8247b76d31ffc0d15927
CRs-Fixed: 774533
2021-03-30 12:50:35 -07:00
Kiran Kumar Lokere
5d87920a01 qcacld-3.0: Support to prevent data and mgmt response Tx
BSS max idle testbed test requires to prevent the data and
manamenet response frame Tx with user configuration.
Add support to prevent data Tx and drop Rx mgmt frames so that
response frames is not sent.

Change-Id: I01f08fd8f30dc4b1b80801434918b976abb09e3c
CRs-Fixed: 2817703
2021-03-30 12:50:35 -07:00
snandini
4f50cfe002 Release 5.2.0.228
Release 5.2.0.228

Change-Id: Ia5125f750ca5642a512513efaa0ea813a9d59a15
CRs-Fixed: 774533
2021-03-30 04:41:31 -07:00
Yu Wang
71abae6a8e qcacld-3.0: protect the reject ap list with mutex lock
Any operation on the reject ap list should be protected
by the mutex lock, otherwise, race condition may happen
and result in list corruption.

Change-Id: Iefe0594a62563d800e85f8f6ebd747ab46c19fcf
CRs-Fixed: 2901576
2021-03-30 04:41:31 -07:00
snandini
b5c7a15d36 Release 5.2.0.227Z
Release 5.2.0.227Z

Change-Id: Ic059d003fabceb27a8c992338781fa11d2e420d1
CRs-Fixed: 774533
2021-03-29 17:47:13 -07:00
Aditya Kodukula
38bc15e6c7 qcacld-3.0: Remove INI parameter ImplicitQosIsEnabled
As part of WiFi ini clean-up FR, the ini parameter ImplicitQosIsEnabled,
is identified as an obselete parameter and hence it can be deprecated.

Change-Id: Id2ea893ec714150d6144aead2dc3c2b5967d805b
CRs-Fixed: 2896059
2021-03-29 17:47:13 -07:00
Aditya Kodukula
edfbff8b2a qcacld-3.0: Remove INI parameter gEnableLPRx
As part of WiFi ini clean-up FR, the ini parameter gEnableLPRx,
is identified as it is no longer used. Hence it can be deprecated,
and all instances of the config CFG_LPRx is removed.

Change-Id: I77f8f6839534c9a79cb3c7414582a5f31b87c561
CRs-Fixed: 2896027
2021-03-29 17:47:08 -07:00
snandini
eaa35f8ed8 Release 5.2.0.227Y
Release 5.2.0.227Y

Change-Id: I3b772e94202b43268dee885e16048029228ca0cc
CRs-Fixed: 774533
2021-03-29 14:39:23 -07:00
Jeff Johnson
a07ad750b0 qcacld-3.0: Use static symbolic links for multi-ko support
The current multi-ko support is achieved by creating, during the
actual build process, target-specific .<chip> symbolic links beneath
the qcacld-3.0 folder. Unfortunately this mechanism violates the
requirements of the Hermetic Build feature which requires that the
source directory not be modified during the build process.

To satisfy this requirement remove the dynamic creation of symbolic
links from Android.mk, and instead staticially instantiate all of the
required symbolic links in the git project.

Change-Id: I7d75bb6a82fd27d8925d53529b4252b782457bc8
CRs-Fixed: 2896976
2021-03-29 14:39:23 -07:00
snandini
ab8ce75013 Release 5.2.0.227X
Release 5.2.0.227X

Change-Id: I72b4371d5623e8ebc3ac3d0199c27efd3de4244f
CRs-Fixed: 774533
2021-03-29 03:41:32 -07:00
Kuichu Ni
a3fcc82440 qcacld-3.0: Add compilation flag of CONFIG_AR6320_SUPPORT
In Kernel 5.4/4.19, CNSS2 will check if the current enumerated
device id matches with the device id in pld_pcie_id_table[]
by calling cnss_wlan_register_driver(). When using ROME, the
enumerated id is 0x3e, but it is not defined in pld_pcie_id_table
if CONFIG_AR6320_SUPPORT is not set. To avoid this issue, add
compilation flag for CONFIG_AR6320_SUPPORT, then set it in your
qcacld build env for ROME chip.

Change-Id: I7b0fee679923402c43487299e31696d847552335
CRs-Fixed: 2906988
2021-03-29 03:41:32 -07:00
snandini
6f2881ac64 Release 5.2.0.227W
Release 5.2.0.227W

Change-Id: I30954fed213d847ab943085b43543218e5b3f17e
CRs-Fixed: 774533
2021-03-29 01:42:45 -07:00
Yu Tian
3056195afa qcacld-3.0: Enhance CPU usage for IPA exception PATH
Disabling DP trace feature in perf build.
Remove RX MCBC stats to release more CPU.

Change-Id: I71310d341e637f3fd97101d6068ca2efe1f4aae6
CRs-Fixed: 2889899
2021-03-29 01:42:45 -07:00
snandini
4081afe458 Release 5.2.0.227V
Release 5.2.0.227V

Change-Id: I55fc3ac7506adbab490bd8e74ba389603f4d9031
CRs-Fixed: 774533
2021-03-28 23:36:47 -07:00
Aditya Kodukula
7beff561cc qcacld-3.0: Remove INI parameter gDataInactivityTimeout
As part of WiFi ini clean-up FR, the ini parameter
gDataInactivityTimeout, is identified as it is no longer used
and hence it can be deprecated.

Change-Id: Ic01ba8934058cf2fb3bec042f11b01ea70ef7a3f
CRs-Fixed: 2896042
2021-03-28 23:36:47 -07:00
snandini
510df3afaf Release 5.2.0.227U
Release 5.2.0.227U

Change-Id: Icda1ea217b0829e7028febfaf56456d85117d485
CRs-Fixed: 774533
2021-03-26 21:30:03 -07:00
Jeff Johnson
216957b430 qcacld-3.0: Decouple state control file from module name
wlan_hdd_state_ctrl_param_create() creates a control file that is
used to synchronize the wlan driver with the Wi-Fi HAL in
userspace.

Currently the driver creates the file at the path /dev/<module>.

The WIFI_DRIVER_STATE_CTRL_PARAM configuration item defines the path
that the Wi-Fi HAL uses, and this is /dev/wlan.

So when the driver is built with a module name of "wlan" the file is
created at the expected path. However when the driver is built with a
different name, as is done when TARGET_MULTI_WLAN is enabled, the file
is not created at the expected path.

Therefore change the driver to always create the file at the path
specified in the WIFI_DRIVER_STATE_CTRL_PARAM configuration item.

In addition do not even enable the functionality if the
WIFI_DRIVER_STATE_CTRL_PARAM configuration item is not set
(i.e. on non-Android platforms).

Change-Id: I8a7f0a9b22e3f49d02f896150bd452f80af9c022
CRs-Fixed: 2905381
2021-03-26 21:30:02 -07:00
snandini
3d396799fc Release 5.2.0.227T
Release 5.2.0.227T

Change-Id: I66fe8df09be181f19e3f819e201fb88307c5219c
CRs-Fixed: 774533
2021-03-26 16:32:37 -07:00
Liangwei Dong
1b0efa221e qcacld-3.0: set sap qdf_event event after channel switch
Some SAP channel switch requestor will wait for channel switch
completion. Set sap qdf_event after sap hdd callback recevies
eSAP_CHANNEL_CHANGE_RESP.

Change-Id: I15e0733ac2bef6af55e02ff18f94cc2c86eb9811
CRs-Fixed: 2905918
2021-03-26 16:32:37 -07:00
snandini
7e963b120c Release 5.2.0.227S
Release 5.2.0.227S

Change-Id: I685105c0531af9c95d19eb72caee8d97b08d9055
CRs-Fixed: 774533
2021-03-25 22:23:16 -07:00
Amruta Kulkarni
6c678097a0 qcacld-3.0: Support roam ho fail and roam invoke fail ind in CM
Add change to support roam ho fail and roam invoke fail
indication in connection manager.

Change-Id: I8e4fed2ca4b9c6e95da86b0c37e39da8f2bc4953
CRs-Fixed: 2906319
2021-03-25 22:23:16 -07:00
snandini
5232f7993c Release 5.2.0.227R
Release 5.2.0.227R

Change-Id: Iaef5130a7aa40072674f5dcf9a29dd89ac0f3e8f
CRs-Fixed: 774533
2021-03-25 20:20:02 -07:00
Utkarsh Bhatnagar
106e4937db qcacld-3.0: Fix TDLS teardown issue
TDLS teardown happens in high throughput
scenario as rx pkt count increment API
"tdls_update_rx_pkt_cnt" is not called
if hdd_is_current_high_throughput API
returns TRUE. The reason for this is due
to high cpu cycles consumed by
tdls_update_rx_pkt_cnt API.

As part of fix optimize tdls_update_rx_pkt_cnt,
tdls_update_tx_pkt_cnt API's for high
throughput scenario. In high throughput
scenario mostly the use-case is to increment
the pkt counter so move that logic to
the top of the API's.

Change-Id: I4eb0da3571c45b5ee91e051e251158af15f73973
CRs-Fixed: 2888746
2021-03-25 20:20:02 -07:00
snandini
eddb4dab60 Release 5.2.0.227Q
Release 5.2.0.227Q

Change-Id: Iae87e4735255e47d4aaa18ba05e1488acba2bdaa
CRs-Fixed: 774533
2021-03-25 18:20:28 -07:00
Utkarsh Bhatnagar
00b694406f qcacld-3.0: Fix TDLS ax throughput issue
When TDLS connection is made in 160 MHZ
for 11ax staions, the MCS rates for the
same aren't updated correctly.
Also, MCS rate can change in case the
connection between both stations is made
with AP operating in NSS 1x1, as there is
a check in lim_populate_he_mcs_set which
will disable MCS rates corresponding to
nss > 1x1.

To fix this, copy 160 MHZ mcs from the
staion parameters which gets updated in
change station. Also, use nss parameter
which is passed by lim_populate_he_mcs_set()
in the check which was used to disable mcs
rates corresponding to nss > 1x1. Thus,
peer station nss will be used to
determine whether to disable or not.

Change-Id: I23079aed3795202e6ae32583a220c1ed3227c1dd
CRs-Fixed: 2904540
2021-03-25 18:20:27 -07:00
snandini
c0e3bb418a Release 5.2.0.227P
Release 5.2.0.227P

Change-Id: Ifa4641617e4a0f801aaacf8816b58e4ffd697642
CRs-Fixed: 774533
2021-03-25 16:21:54 -07:00
Deeksha Gupta
e47702f7b9 qcacld-3.0: Iterate till nth adapter in hdd_adapter_iterate()
Currently,there is an issue in hdd_adapter_iterator(), as it
is iterate till (n-1)th adapter. Due to this, in STA+STA+P2P
scenario, driver allows wlan0 scan when P2P connection in
progress as hdd_is_connection_in_progress() only check for
STA mode and miss the P2P mode.

Iterate till nth adapter as a fix.

Change-Id: Ia6e49b3a8372634756e89032ee9d599583160479
CRs-Fixed: 2907307
2021-03-25 16:21:54 -07:00
snandini
0a8340a1cb Release 5.2.0.227O
Release 5.2.0.227O

Change-Id: Ide46cc2feaa5926061d79167b3aeac40415195d6
CRs-Fixed: 774533
2021-03-25 14:20:48 -07:00
Pragaspathi Thilagaraj
d45646e38b qcacld-3.0: Populate the missing extended capabilities in SET IE
In Extended capabilities sent in assoc request, TWT capabilities
are included so 10 octets are present, but in set ie command,
only 9 octets are included.
Also the Beamformee STS <= 80Mhz capability is not populated
per band based on firmware advertised capability in the
set per band ie command, so there is mismatch in this field in
initial association and roaming.

Populate the missing bytes in IE sent via set ie command to
firmware, also update the beamformee sts capability per band.

Change-Id: I2d191cedface935970ed4f974c09c3b4c5acd477
CRs-Fixed: 2891017
2021-03-25 14:20:47 -07:00
snandini
276535f551 Release 5.2.0.227N
Release 5.2.0.227N

Change-Id: I6d223029f95a11f2a7e9010b74ad0b76d0e55403
CRs-Fixed: 774533
2021-03-25 09:43:55 -07:00
gaurank kathpalia
b8c690744f qcacld-3.0: Change the cm ext init function to pass ext ptr
Change the cm ext init function to pass ext ptr.

Change-Id: I6c40bb54b96b94bec66d161ae924cd723720357d
CRs-Fixed: 2907938
2021-03-25 09:43:54 -07:00
snandini
cfef42366e Release 5.2.0.227M
Release 5.2.0.227M

Change-Id: I4ed14fabe145a0fc6d35024563a2401efa4a85f9
CRs-Fixed: 774533
2021-03-25 07:38:46 -07:00
Will Huang
5af5135ebb qcacld-3.0: Enable LFR2.0 roaming for sdxlemur
Although sdxlemur attach HSP, but LFR3.0 is disabled and LFR2.0 enabled
in target, so add exception in default configure file.

Change-Id: Idabbe317fc0fcc194138beb7444d812cd60455a8
CRs-Fixed: 2854249
2021-03-25 07:38:45 -07:00
snandini
f82d67dd3c Release 5.2.0.227L
Release 5.2.0.227L

Change-Id: I5aac085ab381419cc79e69981ce0b5a3fb9facbf
CRs-Fixed: 774533
2021-03-24 21:02:10 -07:00