Commit Graph

22480 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
Srinivas Dasari
84f2788e50 qcacld-3.0: Wait for RSO stop response only if roaming is enabled
When host driver receives RSO_STOP from userspace, HDD sends the
RSO_STOP down to lower layers and starts a wait for response upon
success status.
Below layers(connection mgr/CSR) ignore the RSO_STOP request and
return success if the current state is not RSO_ENABLED or
IN_PROGRESS. This keeps the HDD waiting for response and a timeout
happens after 2 seconds.
So, wait for RSO stop response only if roaming is in enabled state
to avoid this wait and timeout.

Change-Id: I3ed81c5da26ebe05d17fc37dc43665f1f7b7c8b2
CRs-Fixed: 2901494
2021-03-24 04:33:20 -07:00
snandini
0b0f7c6ac4 Release 5.2.0.227E
Release 5.2.0.227E

Change-Id: I3562240ff2fc233d6230dbf070a4928b6e1301ae
CRs-Fixed: 774533
2021-03-24 02:12:11 -07:00
Pragaspathi Thilagaraj
fb88149381 qcacld-3.0: Add new ini to disable TWT in 2.4Ghz connection
Add new ini "enable_twt_24ghz" to enable/disable host triggered
TWT in 2.4Ghz connection. Check this ini value in TWT get
capability. The userspace will query the self capability before
triggering the host TWT.

Change-Id: I3544de89f438fc526f8a2554c6aeebcd25d6c415
CRs-Fixed: 2904775
2021-03-24 02:12:10 -07:00
snandini
92d317f98e Release 5.2.0.227D
Release 5.2.0.227D

Change-Id: I6fb56b0d024ba2a61a60360fa55d0594e1652bbc
CRs-Fixed: 774533
2021-03-23 23:43:17 -07:00
Li Feng
8b8f61989c qcacld-3.0: Use for_each_present_cpu() to traverse each cpu
On quad-core cpu paltform, the qdf_for_each_possible_cpu() iterate
8 times in the hdd_pm_qos_add_request() trying to add pm qos request
for CPU0~7, but only CPU0~3 actually. There is same issue in the
hdd_pm_qos_update_request()/hdd_pm_qos_remove_request(), it hit the
kernel waring about "called for unknown object" when try to update
/remove pm qos request for non-existed CPU4~7.

The fix is to use for_each_present_cpu() to traverse each cpu
to avoid the kernel warning.

Change-Id: I38fe4a6807452e11eb7230c2c194af7cbae28564
CRs-Fixed: 2902547
2021-03-23 23:43:17 -07:00
snandini
dfff97c69e Release 5.2.0.227C
Release 5.2.0.227C

Change-Id: Icc9bb2b9ee8bac78e74b3a1978026b2f229fafec
CRs-Fixed: 774533
2021-03-23 21:39:22 -07:00
Liangwei Dong
b0fa851d3c qcacld-3.0: Fix invalid frequency in CSA
API sap_indicate_radar needs to return sap current
frequency instead of channel.

Change-Id: I62a4aae0604b11587a14d17d4c641262b8019ab3
CRs-Fixed: 2900489
2021-03-23 21:39:21 -07:00
Lincoln Tran
bd277f1bb0 Revert "qcacld-3.0: Send TxBF in NAN case"
This function call is not needed because the capabilities
are being sent post vdev start correctly. The call here sends
the capabilities incorrectly at a later time so the good
values are overwritten.

This reverts change I32af660724cfaecfe59da153fea9f98d24b0d4cb.

Change-Id: Ie57a598f1055ee6a3d5a5f9cd353724dc620ab1d
CRs-fixed: 2905402
2021-03-23 21:39:15 -07:00
snandini
2232d9503a Release 5.2.0.227B
Release 5.2.0.227B

Change-Id: Ifd74ec7e969cd68c97a6d319c1e7e0d15d479ea1
CRs-Fixed: 774533
2021-03-22 13:31:03 -07:00
sheenam monga
1f6cb040c4 qcacld-3.0: Don't find dsrc channel based on channel number
Channel number may be same for different bands due to which
non-dsrc channel may be treated as dsrc or vice-versa.

Fix is to find channel is dscrc or non-dsrc based on frequency.

Change-Id: I349172713dda6880771e14231aeb1b4419a86e01
CRs-Fixed: 2902986
2021-03-22 13:31:02 -07:00
Lincoln Tran
ab9679a5eb qcacld-3.0: Send VHT TXBF caps after vdev start
After creating the vdev, send the VHT beamforming capabalities.

Change-Id: I9c989a51dab4e239b31d0e8e25f5cf471e6aa0a6
CRs-fixed: 2902912
2021-03-22 13:30:57 -07:00
snandini
e82b9815fa Release 5.2.0.227A
Release 5.2.0.227A

Change-Id: I8461945cfe43ba73781cb16afc14a65b86129569
CRs-Fixed: 774533
2021-03-22 11:30:17 -07:00
abhinav kumar
b7de8d2d47 qcacld-3.0: Invalid reason code in case of scan
If the WLAN driver stops sending up beacon information
due to other WIFI operations (like scan and disconnection),
Driver must send pause indication to wpa-supplicant with
reason code defined in enum
qca_wlan_vendor_beacon_reporting_pause_reasons.

Currently, host sends invalid pause reason in case of
scan.

Fix is to send proper reason code in pause indication
in case of a scan.

Change-Id: Id99e5a29be09fbde2c23908ab1f85d40ca3d74b8
CRs-Fixed: 2890110
2021-03-22 11:30:17 -07:00
snandini
81e51a4ba2 Release 5.2.0.227
Release 5.2.0.227

Change-Id: Idac8499a8086e460ce3cac6128c970861116671b
CRs-Fixed: 774533
2021-03-22 09:31:43 -07:00
Pragaspathi Thilagaraj
476d1fadb1 qcacld-3.0: Fix incorrect TWT info frame enabled flag in status query
In TWT status query, the driver fills the TWT info frame enabled
flag if TWT info frame is disabled. This gives wrong information
to the userspace.

Set the TWT info frame flag appropriately if info_frame_disabled
flag is false.

Change-Id: I319da5aacaec792090c0eca05d2a4be8b280e3e0
CRs-Fixed: 2902548
2021-03-22 09:31:43 -07:00
snandini
883d667ace Release 5.2.0.226Z
Release 5.2.0.226Z

Change-Id: Ib3ddb83a3c907e611e9fee94144a43f3a8c558aa
CRs-Fixed: 774533
2021-03-22 04:54:49 -07:00
Jyoti Kumari
6308349a61 qcacld-3.0: Check NULL value of wmi_handle
In target_if_register_mgmt_data_offload_event(), check NULL value of
wmi_handle before it's used by wmi_service_enabled()

Change-Id: Iea51c59770258fd10468bb439f559094b563851f
CRs-Fixed: 2900533
2021-03-22 04:54:49 -07:00
snandini
04d0c0e406 Release 5.2.0.226Y
Release 5.2.0.226Y

Change-Id: I0ab3c225f81fed7782e26be01f3b7d83af5ee38b
CRs-Fixed: 774533
2021-03-22 02:51:19 -07:00
wadesong
350189038e qcacld-3.0: Fix a compilation error on gno
Function hdd_ipa_update_rx_mcbc_stats()'s implementation
shouldn't be enclosed by macro SAP_DHCP_FW_IND, so move it out
of the block controlled by SAP_DHCP_FW_IND to avoid compilation
error when the same macro is not defined.

Change-Id: I1fa6d350f180dec3a82432f798f026b75ac89639
CRs-Fixed: 2903757
2021-03-22 02:51:18 -07:00