Commit Graph

22499 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
Jianmin Zhu
a8863243de qcacld-3.0: Clean up wlan_reg_get_channel_reg_power
Clean up channel id api wlan_reg_get_channel_reg_power.

Change-Id: I2757383c182f84ed8e5089a9584f003d06ade28e
CRs-Fixed: 2905089
2021-03-24 21:02:09 -07:00
snandini
559a3b6b8e Release 5.2.0.227K
Release 5.2.0.227K

Change-Id: Ia9f5c19507e6db771fa4f0e0696adb9b2fbbe244
CRs-Fixed: 774533
2021-03-24 17:51:58 -07:00
Kiran Kumar Lokere
516228172b qcacld-3.0: Fix the no.of supported rate check
Supported rates and extended supported rates together checked
against max supported rates that is failing the processing.
Fix the value to check against the max rates.

Change-Id: I3a20c5ac496fbedda5b105d95a1af9a168a53864
CRs-Fixed: 2895899
2021-03-24 17:51:57 -07:00
snandini
573d822aaa Release 5.2.0.227J
Release 5.2.0.227J

Change-Id: Ie3585027ddc3820ef7838fe69fa33c64d258bdb4
CRs-Fixed: 774533
2021-03-24 15:00:48 -07:00
Pragaspathi Thilagaraj
a4ad8868b6 qcacld-3.0: Handle TWT teardown with new reason code
Firmware sends TWT teardown with status code
WMI_DEL_TWT_STATUS_CONCURRENT_SESSION when a concurrent connection
is established. Currently host driver drops this event as the
status code is not WMI_DEL_TWT_STATUS_ROAMING_INITIATED or
WMI_DEL_TWT_STATUS_PEER_INITIATED.

Add support to handle TWT teardown event with
WMI_DEL_TWT_STATUS_CONCURRENT_SESSION status code.

Change-Id: I408ba960924b4daa1ca4f8337d7e0d1ce52c5fd9
CRs-Fixed: 2899563
2021-03-24 15:00:48 -07:00
snandini
67e23122b5 Release 5.2.0.227I
Release 5.2.0.227I

Change-Id: Ia6f20c14c82a3bf54f2c1b4f807f2f2fbe73450b
CRs-Fixed: 774533
2021-03-24 12:04:15 -07:00
Deeksha Gupta
7cfc990823 qcacld-3.0: Remove radar event if dfs_channel_switch is disable
Currently, DUT is able to detect the radar event
causing channel switch even if disable dfs channel
switch ini is set. Due to this, there is a chance
of unwanted CSA.

Adding check for disable dfs channel switch ini before
detecting the radar. If gDisableDFSChSwitch = 0 then
detect the radar event else ignore the radar event.

Change-Id: I977d93e47ee35026662d55a8e292c8790ddc7d31
CRs-Fixed: 2905871
2021-03-24 12:04:15 -07:00
Liangwei Dong
576283f245 qcacld-3.0: Allow hw mode change for dbs 2x2 target
Previously, the hw mode changing is not allowed when SAP is CAC
state in old target which supports 1x1 dbs. The reason is
some action frame would be sent out when chainmask changes in
those target. But for 2x2 dbs target, chainmask is not changed
and hence not action frame will be sent out.
Allow the hw mode change for 2x2 dbs target when SAP is CAC.

Change-Id: I2d123a7f0065a562048584f56d5dd7640aaaf975
CRs-Fixed: 2892813
2021-03-24 12:04:10 -07:00
snandini
a734fe8642 Release 5.2.0.227H
Release 5.2.0.227H

Change-Id: Ifd1acd3eee039f124732022f4c99b89e6b727f48
CRs-Fixed: 774533
2021-03-24 09:47:51 -07:00
Karthik Kantamneni
ff20d99b98 qcacld-3.0: Use msleep instead of mdelay in cds_drop_rxpkt_by_staid
Currently mdelay is used which leads to busy wait blocking CPU from
running other process, so use msleep which yields cpu for other tasks.

Change-Id: Ia7c76cfb1c950e78008f6fe19825733cbc261e50
CRs-Fixed: 2888309
2021-03-24 09:47:51 -07:00
Amruta Kulkarni
15ac4a4e5a qcacld-3.0: Support roam sync indication in CM
Add change to support roam synch indication
in connection manager.

Change-Id: I06b23ae085a5a86caf4fe04fe5929b86d8d5c543
CRs-Fixed: 2901858
2021-03-24 09:47:46 -07:00
snandini
1195e8d28a Release 5.2.0.227G
Release 5.2.0.227G

Change-Id: I49efd2734c37c1e464ac2983ca003b9f16769fb0
CRs-Fixed: 774533
2021-03-24 06:44:06 -07:00
Will Huang
41829e661c qcacld-3.0: Assign lim_join_req in LFR2.0 reassociated case
session_entry->lim_join_req is NULL for LFR2.0 roaming case, but some
functions will access it like lim_check_oui_and_update_session(),
lim_get_cb_mode(). Temp assign session_entry->lim_join_req with
reassoc_req.

Change-Id: I1122f9dffea38741700599fbef10bb0d4972b1b0
CRs-Fixed: 2874885
2021-03-24 06:44:06 -07:00
snandini
f2091f90bb Release 5.2.0.227F
Release 5.2.0.227F

Change-Id: Ic97272429225a6c2aac902c7fb4c05d2b9cdb809
CRs-Fixed: 774533
2021-03-24 04:33:20 -07:00