Grafik Komit

22705 Melakukan

Penulis SHA1 Pesan Tanggal
Madan Koyyalamudi
b2727b0daf Release 5.2.0.231
Release 5.2.0.231

Change-Id: Id85de02e89652c9700fa1f985ae829567919b581
CRs-Fixed: 774533
2021-04-23 02:05:54 -07:00
Ananya Gupta
15bf4db8e3 qcacld-3.0: Prealloc FISA Flow Table
Allocation failed as flow table size is huge.
To Fix this, moved the ft table to prealloc memory.

Change-Id: I27ee62b1bcfced563f45cb80e11978cb3dd46183
CRs-Fixed: 2926899
2021-04-23 02:05:54 -07:00
Abdul Muqtadeer Ahmed
4d74faa249 qcacld-3.0: Send the fw expected value in TPUT DEBUG command
There is a mismatch between host and fw for the input paramters of
TPUT DEBUG command.

To address the above issue send the fw expected value.

Change-Id: I15e14863c373d849d11eff90b75085cb451053c9
CRs-Fixed: 2928515
2021-04-23 02:05:50 -07:00
Madan Koyyalamudi
a7f7f2297a Release 5.2.0.230Z
Release 5.2.0.230Z

Change-Id: Ia4bb290a19528672a92008b4b98ab62ee5d2ebcf
CRs-Fixed: 774533
2021-04-22 21:59:14 -07:00
abhinav kumar
0cf80481e1 qcacld-3.0: Allow STA2 connection to any available AP(s)
Currently, the driver restricts the connection of the 2nd
STA to channels on the other band of the 1st STA connected
band. As per the new requirement, the host should allow STA2
connection to any available AP(s), if primary iface is
configured.

Change-Id: I60f6bdb7df4d9eece4fd14abe1fab2d5644d47f1
CRs-Fixed: 2915733
2021-04-22 21:59:13 -07:00
abhinav kumar
0ad5179cd6 qcacld-3.0: Add support to set primary STA interface
Add support to primary STA iface when there are more
than one STA iface concurrently active via the
SET_WIFI_CONFIGURATION vendor command.

Below attribute associated with this vendor command to
give indication to host to set primary interface:
QCA_WLAN_VENDOR_ATTR_CONFIG_CONCURRENT_STA_PRIMARY.
Set indicates that the specified iface is the primary
STA iface.

This configuration helps the firmware/chip to support
certain features (e.g., roaming) on this primary interface,
if the same cannot be supported on concurrent STA ifaces
simultaneously.
This configuration is only applicable for the STA iface and
gives the priority for it only over other concurrent STA
ifaces. 1-Enable, 0-Disable.

Change-Id: I2bc7d8880c78c0c05e824f58aadacd84369d1880
CRs-Fixed: 2915728
2021-04-22 21:59:09 -07:00
abhinav kumar
31df4c4960 qcacld-3.0: Add support to config concurrent dual sta policy
Add support to configure the concurrent session policies
when multiple STA ifaces are getting active via the
CONCURRENT_DUAL_STA_POLICY vendor command.

Possible values associated with this vendor command are:
1. QCA_WLAN_CONCURRENT_STA_POLICY_PREFER_PRIMARY:
This indicates host to give preference to the Primary
STA interface while selecting the connection policies
(e.g., BSSID, Band, TX/RX chains, etc).

2. QCA_WLAN_CONCURRENT_STA_POLICY_UNBIASED:
This indicates connection policies for the subsequent STA
connection shall be chosen to balance with the existing
concurrent STA's performance.

Change-Id: I56994a182bb54adca57c3fc8fce9963b5db37b79
CRs-Fixed: 2915718
2021-04-22 21:59:04 -07:00
Abhishek Singh
838fc0c3bf qcacld-3.0: Avoid use after free of del_sta in wma_delete_sta
In case of TDLS peer connected if SSR happen, LIM try to flush
TDLS peer with del_sta->respReqd as false.

With respReqd false del_sta is freed in the switch case, but
is used outside the switch case, leading to use after free.

Fix is to use the local vdev_id instead of del_sta->smesessionId.

Change-Id: I7e08733cf42ef619b3fa0d6726ee1acc2012c6a4
CRs-Fixed: 2929448
2021-04-22 21:58:58 -07:00
Madan Koyyalamudi
3c5ea47e8d Release 5.2.0.230Y
Release 5.2.0.230Y

Change-Id: I1c308322ad42b85e590249411fc547332cb55bca
CRs-Fixed: 774533
2021-04-22 19:43:13 -07:00
Abhishek Singh
c39c12eb1b qcacld-3.0: Reset scan reject params on peer connect and disconnect
If in SAP peer keep on connecting and disconnecting without
completing the EAPOL (e.g. due to wrong password), scan logic will
assume that EAPOL is in progress for long time and assert.

To fix this false alarm reset scan reject params on peer connect
and disconnect.

Change-Id: I067b5be39504651ffe4e29e1cc927ad0bc3a06c0
CRs-Fixed: 2928817
2021-04-22 19:43:13 -07:00
Yeshwanth Sriram Guntuka
81d513134f qcacld-3.0: Enable TX_AGGREGATION_SIZE_ENABLE for HST
Tx MPDU aggregation is not happening in HE80 11ax connection
resulting in low throughput for HST.

Fix is to enable TX_AGGREGATION_SIZE_ENABLE for HST.

Change-Id: Ieca8464991a6a194d6f02b70fe4972aca288b541
CRs-Fixed: 2925514
2021-04-22 19:43:09 -07:00
Amit Mehta
77318b830b qcacld-3.0: Reset tcp advanced window scaling only if its enabled
Currently tcp advanced scaling reset get called each time
bandwidth timer is stopped even if it has not been enabled.

Reset advanced window scaling only when its enabled.

Change-Id: I0802ea1b848de4a906503e9eb83a41552209d941
CRs-Fixed: 2927161
2021-04-22 19:43:04 -07:00
Madan Koyyalamudi
5d4afcb86e Release 5.2.0.230X
Release 5.2.0.230X

Change-Id: I813b1a079fadf4462c9592d21da9c3b9abe6360a
CRs-Fixed: 774533
2021-04-22 17:34:04 -07:00
Gururaj Pandurangi
7a5f5cd09c qcacld-3.0: Fix caller of sap_get_bonding_channels API
Send correct channel frequency to sap_get_bonding_channels
to prevent ACS to fail for SAP.

Change-Id: I93ffd0e033cabb30d33d23ab26f656e0f0659d4f
CRs-Fixed: 2928495
2021-04-22 17:34:03 -07:00
Yeshwanth Sriram Guntuka
8c5cd93a16 qcacld-3.0: Modify few ring and desc sizes for prealloc
Modify few ring and descriptor sizes for prealloc
to support the maximum values configured via ini.

Change-Id: Ifc2976c3f9ab271c7740d4a97470d455a8ee1ba7
CRs-Fixed: 2929143
2021-04-22 17:33:59 -07:00
Deeksha Gupta
f5a81288c5 qcacld-3.0: Send get_stats status in GET_STATS response
Send QCA_WLAN_VENDOR_ATTR_TWT_STATS_STATUS attribute in
the driver TWT get stats NL response.

Change-Id: I7c447a8d2841f3bb0143f9ac6f957b1f78fa1e21
CRs-Fixed: 2923086
2021-04-22 17:33:55 -07:00
Madan Koyyalamudi
08cd24d2ec Release 5.2.0.230W
Release 5.2.0.230W

Change-Id: I9a7c6f5c1fec4195ace8ee9d76c81577f026d4fa
CRs-Fixed: 774533
2021-04-22 15:25:17 -07:00
Jia Ding
30a01d3b69 qcacld-3.0: Add IPA_WDI3_TX_TWO_PIPES macro
IPA_WDI3_TX_TWO_PIPES is added to enable two TX pipes
configuration for IPA WDI 3.0 interfaces.

Enable IPA_WDI3_TX_TWO_PIPES on sdxprairie platform.

Change-Id: I34fe0af56b169ebad9d7bb29b38838dd44503736
CRs-Fixed: 2750082
2021-04-22 15:25:17 -07:00
Bapiraju Alla
9c501681db qcacld-3.0: Use separate request context for NAN and NDP
Currently single request context is used for NAN discovery and NDP.
If NAN disable request is sent to the FW and FW sends NDP end
indication and didn't send NAN disable indication. In this case,
wait event for NAN disable indication will be completed as part of
NDP end indication. This is because same request context is used for
both NAN discovery and NDP.

To resolve this, use separate request for NAN discovery and NDP.

Change-Id: Ic42e32c5cfd818188ca96d6cba3cbec1ed85a3ec
CRs-Fixed: 2921287
2021-04-22 15:25:12 -07:00
Madan Koyyalamudi
5080bc8e7e Release 5.2.0.230V
Release 5.2.0.230V

Change-Id: I8ee2e9f14d15ea222c83ce94eefa768b54b06f2f
CRs-Fixed: 774533
2021-04-22 13:13:27 -07:00
Lincoln Tran
7e240c6d84 qcacld-3.0: Fix call to get vdev mlme obj
In the validate beacon interval logic, there are a few calls to get the
vdev MLME object from the interface manager component. However,
the component does not have a vdev object, so get it from the MLME
component instead.

Change-Id: I7333edeb6f1f0d5669605fe9e3d4fb10745d1fa4
CRs-fixed: 2928798
2021-04-22 13:13:27 -07:00
Madan Koyyalamudi
5eff1f86e1 Release 5.2.0.230U
Release 5.2.0.230U

Change-Id: If0260131e893dc117cea76b777813ab0266e5d86
CRs-Fixed: 774533
2021-04-21 15:41:46 -07:00
Lincoln Tran
58394c6586 qcacld-3.0: Add freq check before checking if it is disabled
When the country code is updated, there is logic to check if a restart
of the adapter is needed. In this logic, there is a call to see if the
home channel is disabled. Sometimes, the home channel is 0 since it
has not been set yet, causing extra debug prints. To avoid this, ensure
the home channel is set before calling other APIs.

Change-Id: I58021f7f703761450c73a524c5acb51ddc7ad5ef
CRs-fixed: 2923754
2021-04-21 15:41:46 -07:00
Madan Koyyalamudi
074261d544 Release 5.2.0.230T
Release 5.2.0.230T

Change-Id: I4d08f2331ecc4040111e6e62a1c71caeda17616f
CRs-Fixed: 774533
2021-04-21 13:38:50 -07:00
Yue Ma
b4aea4cb8f qcacld-3.0: Add WLAN device memory info to SOC info API
Populate WLAN device memory related info along with other SOC info
in pld_get_soc_info() API.

Change-Id: I4b269e8d96d838b3ea7f998642cc8542cebb00d5
CRs-fixed: 2899892
2021-04-21 13:38:50 -07:00
Madan Koyyalamudi
682b6b93b5 Release 5.2.0.230S
Release 5.2.0.230S

Change-Id: I48465de104110c6083f1aa2aec3a8f08f08a56ae
CRs-Fixed: 774533
2021-04-21 11:03:35 -07:00
Utkarsh Bhatnagar
d6fc151325 qcacld-3.0: clear pmkid cache when ap off
Add logic similar to I5d8ec9e9d4f8a44178b113d370799fe2bc0373fb
in connection manager to flush PMID on HB failure.

Change-Id: Id87b5774a18a377719c56d3f34dc31284f0a39a3
CRs-Fixed: 2928282
2021-04-21 11:03:35 -07:00
Madan Koyyalamudi
7514a60007 Release 5.2.0.230R
Release 5.2.0.230R

Change-Id: I19fedcb106505d713610f86e778ebf22147d2573
CRs-Fixed: 774533
2021-04-21 06:31:56 -07:00
Utkarsh Bhatnagar
f8751b585d qcacld-3.0: Don't do CSA on DFS channel in Non-DBS HW
In case of Non-DBS HW, don't allow channel to switch
to DFS channel or 160 Mhz BW in 5 Ghz, if STA is not
connected.

This is done because in Non-DBS HW, Monitoring mode
is disabled as sta_sap_scc_on_dfs_chnl is forced to
1.

Change-Id: Ie30a38a6c5155ca2b6f11f602fb51a43ca2e323e
CRs-Fixed: 2916799
2021-04-21 06:31:55 -07:00
Madan Koyyalamudi
f97502c36e Release 5.2.0.230Q
Release 5.2.0.230Q

Change-Id: I30ac3b269115e6269cce62f5e8577ce12ebfc603
CRs-Fixed: 774533
2021-04-21 04:23:14 -07:00
Aditya Kodukula
2ca1d466fb qcacld-3.0: Add retries to platform driver registration
If the wlan driver tries to register with platform driver before
cnss_probe then there is a potential race condition. To avoid this
issue add retries to the platform driver registration, so that the
wlan driver will wait and try register only after cnss_probe.

Change-Id: Ibc6b352c55d43753cf9db4a6a0eab8d08fdb9ec8
CRs-Fixed: 2926884
2021-04-21 04:23:14 -07:00
snandini
144be121de Release 5.2.0.230P
Release 5.2.0.230P

Change-Id: Iaebf664ffd7d734a3516868c5c18165805bcd4e4
CRs-Fixed: 774533
2021-04-20 22:09:21 -07:00
Jeff Johnson
875ba60c6e qcacld-3.0: Add retries to state control file creation
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. When
multiple instances of the driver are loaded in parallel, only one can
create and own the state ctrl param. The first instance of the driver
that is loaded creates the state ctrl param, and then it will wait for
a certain amount of time to be probed. If it is probed, then that
instance of the driver will stay loaded and no other instances of the
driver can load. But if it is not probed, then that instance of the
driver will destroy the state ctrl param and exit, and another
instance of the driver can then create the state ctrl param.

In the current code if a second instance of the driver tries to create
the state ctrl param while the first instance is still waiting for
the probe, then the second instance will fail and will exit. If the
first instance subsequently isn't probed and times out, then no driver
will be loaded.

To address this issue add retries to the state control file creation
so that the second instance will not exit after one failure, but
instead exits only after so much time has passed that the first
instance of the driver must have been probed.

Change-Id: I35cf04145d610613a51e5321603d48d988c16479
CRs-Fixed: 2905637
2021-04-20 22:09:20 -07:00
snandini
e27c3c675a Release 5.2.0.230O
Release 5.2.0.230O

Change-Id: Ic89dba5446e38ecdb08405ee16ef634d8b287710
CRs-Fixed: 774533
2021-04-20 11:42:33 -07:00
Abhishek Ambure
7f3cfab2c0 qcacld-3.0: Stop pmf comeback timer on deauth/disassoc rx
For PMF connection, when host gets assoc response fail with reason
"try again later" host runs PMF comeback timer to send assoc request
on pmf timer expiry. While PMF timer is running, if host gets
deauth/disassoc frame then host performs deauth/disassoc. As part
part of deauth/disassoc host changes lim mlm states to WT_DEL_BSS/
WT_DEL_STA and after moving vdev to down state host processes
DEL_BSS/DEL_STA response in LIM. At this stage expected lim mlm
state is WT_DEL_BSS/WT_DEL_STA but if the pmf timer expires the
pmf timer callback function changes lim mlm states to mlm states
stored in comeback timer info struct without checking present lim
mlm states.
Thus while processing DEL_BSS/DEL_STA response, host fails to get
PE session from vdev ID and lim mlm state WT_DEL_BSS/WT_DEL_STA.
And disconnect indication to sme fails. To fix this, host stops
pmf comeback timer while processing deauth/disassoc and change
lim mlm state after checking present lim mlm state.

Change-Id: If0094fcdb8254cb4271b5c46b4d42531dc9bc516
CRs-Fixed: 2925184
2021-04-20 11:42:33 -07:00
Jyoti Kumari
e9a700f4aa qcacld-3.0: Don't use wlan_freq_to_chan
As part of regulatory cleanup, wlan_freq_to_chan() is removed.

Use wlan_reg_freq_to_chan() instead of wlan_freq_to_chan()

Change-Id: I18d7996a0b117de90cd32f2208702d01655ceeb9
CRs-Fixed: 2926114
2021-04-20 11:42:27 -07:00
snandini
c428374885 Release 5.2.0.230N
Release 5.2.0.230N

Change-Id: Ia3d32cb881e7353f70a058cf39423f67e923e6f9
CRs-Fixed: 774533
2021-04-20 09:40:52 -07:00
Manikanta Pubbisetty
d60dfebd0b qcacld-3.0: enabled EXT GRP IRQs after power save exit
Currently in the WoW design of Moselle, EXT GRP IRQs are
enabled before sending SMP2P power save exit message is
sent to the FW. Because of this, any pending IRQs in the
GIC will immediately fire and could race with the SMP2P
power save exit logic. Any access to the registers done
before power save exit would result in system errors.
Enable the EXT GRP IRQs after sending power save exit
command will fix the problem.

Change-Id: I16f580279b5aa24861ab5111b9c13db3e38063f4
CRs-Fixed: 2925554
2021-04-20 09:40:52 -07:00
snandini
592d540d18 Release 5.2.0.230M
Release 5.2.0.230M

Change-Id: Id6be5f45d04b1b1d51943e146e83ab1835804803
CRs-Fixed: 774533
2021-04-20 03:32:15 -07:00
Tiger Yu
fee8629f3e qcacld-3.0: Add is_2g_iface support in WLAN IPA
With IPA TX two pipes support, TX rings for 2G and 5G traffic
are separated. As a result, WLAN needs to let IPA driver
know if the interface registered to IPA is 2G or 5G so that
IPA could differentiate and designate the interface for the
correct IPA TX pipe.

In this change, a new param is_2g_iface is added for the
event interface between protocol and IPA component. And
this new param is applicable only STA_CONNECT and
AP_CONNECT where wlan will register interface details
including is_2g_iface to IPA driver.

For two pipes implementation, is_2g_iface piggy-backs
session_id when passing it to CDP layer. And CDP layer
needs to decode session_id and is_2g_iface.

Change-Id: I5e02ec6969bb2f77d6b40e89d5a9451a7bb0be9d
CRs-Fixed: 2702704
2021-04-20 03:32:15 -07:00
snandini
e683e21ef2 Release 5.2.0.230L
Release 5.2.0.230L

Change-Id: I559f25a94a67040d92197423f839802827d23bed
CRs-Fixed: 774533
2021-04-20 01:32:06 -07:00
Abdul Muqtadeer Ahmed
de4bda2169 qcacld-3.0: Remove the NULL check for a pointer which will never be NULL
psoc_cfg is pointing to the address of a structure variable,
which will never be NULL.

To address this remove the NULL check.

Change-Id: I12f539ce2feace550c403ffc996fa315994470a7
CRs-Fixed: 2911862
2021-04-20 01:32:06 -07:00
snandini
614e92f4bb Release 5.2.0.230K
Release 5.2.0.230K

Change-Id: I13aca115b3263de5f01551fe89a75fed97bdc28b
CRs-Fixed: 774533
2021-04-19 23:31:10 -07:00
Utkarsh Bhatnagar
3f913a73f4 qcacld-3.0: Set ldpc for more than 20 Mhz TDLS link
If ldpc bit is not set in case AP width more than
20 Mhz, it may cause crash.
So, force set LDPC coding in such cases.

Also, force set LDPC if peer supports MCS 10 and 11.

Change-Id: I14bb4b56d0efb660ad19587b319badfac9083f21
CRs-Fixed: 2915086
2021-04-19 23:31:10 -07:00
Jianmin Zhu
1428d10b02 qcacld-3.0: Enable TX_AGGREGATION_SIZE for auto platforms
HST/Genoa/Rome support TX_AGGREGATION_SIZE, need enable it.

TX_AGGREGATION_SIZE is introduced in
change: I9e49ad5218f913f116cf4472f768f572740f14df .

Change-Id: I63fc729f3daf2b1757c5eb2fb839ed22ebce359a
CRs-Fixed: 2926281
2021-04-19 23:31:06 -07:00
snandini
37fe05c589 Release 5.2.0.230J
Release 5.2.0.230J

Change-Id: Ib8f7eb383e08650009821381b0bf48d301bb347e
CRs-Fixed: 774533
2021-04-19 13:32:16 -07:00
Arun Kumar Khandavalli
4a37a51d9f qcacld-3.0: update the hdd with the eht params
update hdd wiphy with the eht params.

Change-Id: I9d8415bda1cfe32d7fc97859b637170a59ba6178
CRs-Fixed: 2911910
2021-04-19 13:32:16 -07:00
bings
b9aa44c349 qcacld-3.0: make CONFIG_CNSS_UTILS as wlan driver build option
CONFIG_CNSS_UTILS is controlled in the msm kernel config, while it is
not in the customer kernel.

Since it is a wlan feature, make CONFIG_CNSS_UTILS as wlan driver build
option, so that driver can enable this feature dynamically when building
wlan driver.

Change-Id: Ib8232a67da33e4613524c67cead5b90014fd371d
CRs-Fixed: 2922303
2021-04-19 13:32:12 -07:00
bings
c9abaf71bb qcacld-3.0: Add wma layer 11BE api
Implement 11BE api in wma layer

Change-Id: I23c8fae9e27f972dadfe8a517954481de8f92de0
CRs-Fixed: 2912568
2021-04-19 13:32:07 -07:00
snandini
f79bb54802 Release 5.2.0.230I
Release 5.2.0.230I

Change-Id: Ic791e3e35a4c26c7b404ed4b53fe2796c705aa7c
CRs-Fixed: 774533
2021-04-19 09:35:57 -07:00