Commit graph

21,857 commits

Author SHA1 Message Date
snandini
2bb9321aa9 Release 2.0.8.14A
Release 2.0.8.14A

Change-Id: I609990b8dd1d00aee5cdc7e8bd0f2eea38bdbdd5
CRs-Fixed: 774533
2021-03-31 13:16:22 -07:00
Yeshwanth Sriram Guntuka
7108fe3ca7 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 13:16:22 -07:00
snandini
10a966aa54 Release 2.0.8.14
Release 2.0.8.14

Change-Id: I3475fd6896ee4da3082fa6738ec393a5e12becfa
CRs-Fixed: 774533
2021-03-30 11:53:35 -07:00
Pragaspathi Thilagaraj
f5107588de 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-30 11:53:35 -07:00
Utkarsh Bhatnagar
3e70c71cb1 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-30 11:53:31 -07:00
Deeksha Gupta
aa24ae5b1b qcacld-3.0: Support P2P in 6GHz mode
Currently, P2P mode is not supported in 6GHz mode

Add P2P mode in policy_mgr_is_6ghz_conc_mode_supported
API to support P2P mode in 6GHz mode as fix this.

Change-Id: I2e160641c1784dbbd592b237da6b38929f33abbe
CRs-Fixed: 2896291
2021-03-30 11:53:26 -07:00
snandini
cde4225641 Release 2.0.8.13Z
Release 2.0.8.13Z

Change-Id: I6c72a9f90c32c039c6298e78b4a883f6aaa1b3d9
CRs-Fixed: 774533
2021-03-30 04:28:07 -07:00
sheenam monga
28f9331433 qcacld-3.0: Print string format for reject ap type
Update reject ap type to string from int value while
dumping blacklisted bssid for debugging purpose.

Change-Id: I2a12949e9e46f6fad32cc54ac975dfbfbdba88ab
CRs-Fixed: 2857907
2021-03-30 04:28:07 -07:00
sheenam monga
622b4795a1 qcacld-3.0: Dump blacklist bssids
Add dump to print blacklisted bssids
with reason code and source.

Change-Id: I85734ad5aea0c8088e3f8ed2bdbb31971457942d
CRs-Fixed: 2849487
2021-03-30 04:28:02 -07:00
Pragaspathi Thilagaraj
218363cf69 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-30 04:27:58 -07:00
snandini
5895af1c63 Release 2.0.8.13Y
Release 2.0.8.13Y

Change-Id: I1be6c9a764e6da8fb0d87fba18268fa3b507f3d5
CRs-Fixed: 774533
2021-03-30 02:13:48 -07:00
Utkarsh Bhatnagar
034978b624 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-30 02:13:48 -07:00
Pragaspathi Thilagaraj
6a44405bb1 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-30 02:13:43 -07:00
snandini
ed40b9000e Release 2.0.8.13X
Release 2.0.8.13X

Change-Id: I56e54fbfe02453f26e3f719197fc23ec7679cb9a
CRs-Fixed: 774533
2021-03-29 15:19:28 -07:00
Liangwei Dong
ba9abf85a5 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-28 22:11:32 -07:00
snandini
2ceae1d5b4 Release 2.0.8.13W
Release 2.0.8.13W

Change-Id: I51bbb720ffd462c7b27fe909eb4ae498199faabc
CRs-Fixed: 774533
2021-03-28 22:01:37 -07:00
Liangwei Dong
acd5737e2d 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-28 18:46:30 -07:00
snandini
f403ef350d Release 2.0.8.13V
Release 2.0.8.13V

Change-Id: I8e9f0985c7c74a2ab36727a9677852b920fa28af
CRs-Fixed: 774533
2021-03-26 13:42:49 -07:00
Jianmin Zhu
faa9af44a3 qcacld-3.0: Remove btm cap in SAE assoc req if SAE roaming disabled
Some legacy Helium firmware doesn't support SAE roaming, but btm cap is set
in associate request of DUT, then connected SAE AP thinks DUT supports btm,
AP will send btm request to DUT, DUT triggers roaming, but fails and
disconnects from current AP, users will complain this unexpected
disconnect.

Change-Id: Ife9860addef6898a518618f555158e7888ac74db
CRs-Fixed: 2884694
2021-03-26 13:42:48 -07:00
snandini
24de7c4eb0 Release 2.0.8.13U
Release 2.0.8.13U

Change-Id: Ia0e5396c96699bc218a7d5d97bd9f8c1e0ca30fd
CRs-Fixed: 774533
2021-03-26 09:30:45 -07:00
Srinivas Dasari
4aa3294500 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-26 09:30:44 -07:00
snandini
aa555765cf Release 2.0.8.13T
Release 2.0.8.13T

Change-Id: I116f30a12646bf59d75a07951400f37e068402b6
CRs-Fixed: 774533
2021-03-26 03:42:59 -07:00
Jingxiang Ge
ed682c0d9d qcacld-3.0: Add detection for tasklet delay
This is to enable feature for detection CE tasklet
scheduling delay and credit response delay issue.

Change-Id: I659aa23eabaa28bfb11051bf15e0343c94061b86
CRs-Fixed: 2874867
2021-03-26 03:42:58 -07:00
snandini
c063b59799 Release 2.0.8.13S
Release 2.0.8.13S

Change-Id: Ic0219756fd77f4d4e29c055154de6845f9713f5f
CRs-Fixed: 774533
2021-03-25 23:29:07 -07:00
Deeksha Gupta
10b1959cc8 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-25 23:29:07 -07:00
Vevek Venkatesan
6d5575e828 qcacld-3.0: iface connection/disconnection mgmt in IPA
Debug change to crash if there is a mismatch in number of
connections and disconnections

Change-Id: I1bb9cac331c0cb491a0ba761a78969537185e414
CRs-Fixed: 2870628
2021-03-25 23:29:03 -07:00
snandini
e74c823e47 Release 2.0.8.13R
Release 2.0.8.13R

Change-Id: Ie4df42db5a712d7a76c00aba64471611507a46bc
CRs-Fixed: 774533
2021-03-24 19:24:27 -07:00
Lincoln Tran
3d1997b6e2 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-24 19:24:27 -07:00
snandini
660694b8f1 Release 2.0.8.13Q
Release 2.0.8.13Q

Change-Id: Ie0a52f90ed7c536259d27622da86db65ffe7da89
CRs-Fixed: 774533
2021-03-24 13:35:43 -07:00
Abhinav Kumar
837733a63b qcacld-3.0: Update mscs action frame as per spec
Currently, Host sends classifier type and classifier
mask part of TCLAS Mask OPIE only with tag length of
2 bytes.

As per spec tag length for TCLAS Mask OPIE should be 18.
Ext Tag: TCLAS Mask
   Ext Tag Number: TCLAS Mask (89)
   Ext Tag length: 18
   Classifier Type: 4
   Classifier Mask: 0x5f
   Reserved:00000000000000000000000000000000

Fix is to add a reserved parameter in TCLAS Mask OPIE
of length 16 bytes and set it to NULL.

Change-Id: I54cd896a4ffad16581c14fc254575bcec8e6f6d7
CRs-Fixed: 2822616
2021-03-23 03:14:17 -07:00
snandini
203d1a3710 Release 2.0.8.13P
Release 2.0.8.13P

Change-Id: I66c39d6c25568cba0c07956e2720254be33fa1e6
CRs-Fixed: 774533
2021-03-22 20:14:32 -07:00
Pragaspathi Thilagaraj
530037e398 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 20:14:32 -07:00
snandini
c6359dd6ad Release 2.0.8.13O
Release 2.0.8.13O

Change-Id: I1ccea33d1b55570c3328973283286584bcf4ba71
CRs-Fixed: 774533
2021-03-22 14:20:41 -07:00
Lincoln Tran
3c5041e0c4 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 14:20:40 -07:00
Dustin Newman
5ae8fbc71b qcacld-3.0: Reduce the log level alloc failure
Reduce the log level alloc failure since it is not fatal. Log the
requested size of memory instead of last ring size found in the
case of alloc failure.

CRs-Fixed: 2894342

Change-Id: Idfb0eec7421e4568008517e35b2fb928f09b6818
2021-03-22 14:20:36 -07:00
abhinav kumar
3dcedfd757 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 14:20:32 -07:00
snandini
be0855505f Release 2.0.8.13N
Release 2.0.8.13N

Change-Id: Iafdbdd59d35c11a156d74d94f0d7dd4438e614a1
CRs-Fixed: 774533
2021-03-22 11:56:08 -07:00
Jyoti Kumari
d6a0e8d33c 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 11:56:08 -07:00
snandini
95b6014771 Release 2.0.8.13M
Release 2.0.8.13M

Change-Id: I92fe9dc261ea157f27f8cd0da3743427ef00260e
CRs-Fixed: 774533
2021-03-22 09:36:46 -07:00
Jyoti Kumari
6121eac151 qcacld-3.0: Avoid double memory free of ack_work handler
when the worker thread executes wma_data_tx_ack_work_handler()
as part of driver load/unload, driver frees ack_work but dosent
reset to NULL which results to double memory free in wma_stop()

The fix is to make sure to flush this work and reset to NULL
before the wma_handle gets freed.

Change-Id: I4f56db87256b0f8828c00a2e70158cd76afe1ee0
CRs-Fixed: 2895664
2021-03-22 09:36:45 -07:00
snandini
17452b0d18 Release 2.0.8.13L
Release 2.0.8.13L

Change-Id: Ib0940026f008206e095a20c0dec6dcb3a941f9dd
CRs-Fixed: 774533
2021-03-22 03:43:51 -07:00
Karthik Kantamneni
3f1ab58e49 qcacld-3.0: Enable delayed reg update feature for QCA6750
Enable srng delayed reg update feature for QCA6750

Change-Id: Idf3765d1c624e88ffa2fc51468dde0a300348654
CRs-Fixed: 2900494
2021-03-22 12:03:29 +05:30
snandini
9c756b1801 Release 2.0.8.13K
Release 2.0.8.13K

Change-Id: I85abe23416da07cb4eb8279decb21eea9363a504
CRs-Fixed: 774533
2021-03-19 20:45:00 -07:00
Srinivas Girigowda
15db317ebb qcacld-3.0: Allow TWT setup re-negotiation for the existing session
Add support to allow TWT setup re-negotiation for the existing session.
If the setup request is received:
   - before the host driver receiving the setup response event from
     firmware for the previous setup request, then return -EINPROGRESS.

   - after the host driver received the setup response event from
     firmware for the previous setup request, then setup_done is
     set to true and this new setup request is sent to firmware
     for parameter re-negotiation.

CRs-Fixed: 2897896
Change-Id: I4d0cc5dac8d569a2e57c70ae6896ad1a24937597
2021-03-19 20:45:00 -07:00
snandini
b5af031936 Release 2.0.8.13J
Release 2.0.8.13J

Change-Id: I04233ed4e7f17b2da2910bec82f158ae1da3f2e6
CRs-Fixed: 774533
2021-03-19 16:24:31 -07:00
Srinivas Dasari
2d42406171 qcacld-3.0: Use cfg80211_get_chandef_type till NL80211_CHAN_WIDTH_40
cfg80211_get_chandef_type supports till NL80211_CHAN_WIDTH_40. Any
chan width more than NL80211_CHAN_WIDTH_40 can be treated as
NL80211_CHAN_HT40PLUS. __wlan_hdd_cfg80211_start_ap has the same
logic in-place.

Change-Id: I70166faf16730128039e4e48d9e90aefb1674977
CRs-Fixed: 2717615
2021-03-19 16:24:30 -07:00
sheenam monga
c96cc11d3b qcacld-3.0: send big data stats as a part of GET_STA_INFO resp
Add big data stats as part of QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO
vendor command reply, if current state is disconnected.

Change-Id: I84dc1f9901be17ea7b2bd6aecc7bec4c19e77202
CRs-Fixed: 2876395
2021-03-19 16:24:24 -07:00
sheenam monga
a50efed182 qcacld-3.0: Add support for big data stats
Add support of big data stats in the cpstats
component.

Change-Id: I3642035d9f25237c80b529da78c51bb1ccf0035a
CRs-Fixed: 2868949
2021-03-19 16:24:18 -07:00
snandini
45bc3d5566 Release 2.0.8.13I
Release 2.0.8.13I

Change-Id: I2a04346107657f7725864cb369c227e9ada463b2
CRs-Fixed: 774533
2021-03-19 14:08:10 -07:00
Deeksha Gupta
16836226e4 qcacld-3.0: Set command_in_progress after adding twt session
Currently, In twt setup command, driver set the
TWT command_in_progress before adding the dialog_id
in TWT context. Due to which, set active command
fails because the dialog id was not added to the
twt context. So the add dialog command response is
getting dropped at sme.

Set the TWT command_in_progress after adding the
dialog_id to TWT context.

Change-Id: Ic2c7e23720e2bc9f5a6737ba2f1dc4b1356dc179
CRs-Fixed: 2897736
2021-03-19 14:08:09 -07:00