Commit Graph

21616 Commitit

Tekijä SHA1 Viesti Päivämäärä
snandini
121dd22d06 Release 5.2.0.215
Release 5.2.0.215

Change-Id: Ib3a3d547e68ae211ac8d5b020c62e10a522562bd
CRs-Fixed: 774533
2020-12-18 23:38:15 -08:00
Bapiraju Alla
b543a15d3d qcacld-3.0: Flush previous cac work before starting a new pre cac
Currently, previous pre_cac work is not being flushed before starting
a new pre_cac work. This may result in use after free access if a
new pre_cac request comes when cleanup in progress for previous
pre_cac work.

To avoid this, flush existing pre_cac work before handling a new
pre_cac request.

Change-Id: I2da535acce8b4a097214597bbc2169ca5521db57
CRs-Fixed: 2841644
2020-12-18 23:38:15 -08:00
snandini
6fe3cc9203 Release 5.2.0.214Z
Release 5.2.0.214Z

Change-Id: Ib0d93fff7750e272c62d51711d914ab354a49df8
CRs-Fixed: 774533
2020-12-18 21:37:22 -08:00
Srinivas Girigowda
f9cf5f9d87 qcacld-3.0: wma: Remove logs for wmi_handle checks
wmi_validate_handle() function already takes care of logging the
caller function name in case of any error.
Hence there is no need to add the error log again.
Getting rid of these unnecessary logs reduces driver memory footprint.

Change-Id: I9c38d161826ae653156237a5bac17e00c7dde573
CRs-Fixed: 2840878
2020-12-18 21:37:22 -08:00
snandini
f8fca53814 Release 5.2.0.214Y
Release 5.2.0.214Y

Change-Id: I45fe418a57a51184bf7e0f1aabc49ac9ba69779f
CRs-Fixed: 774533
2020-12-18 17:41:10 -08:00
Tushnim Bhattacharyya
2cac8a113b qcacld-3.0: Release resource after TDLS cmd processing
It doesn't free resources in failed cases like getting vdev or tdls
vdev object when handling tdls commands. This causes reference
count of psoc leak or memory leak. Following are the functions,

tdls_set_responder
tdls_notify_sta_connect
tdls_notify_sta_disconnect
tdls_set_operation_mode
tdls_reset_all_peers

Change-Id: I8b5d5fa8a137a1b07f0fa6e4667047db95d7b99e
CRs-Fixed: 2839099
2020-12-18 17:41:09 -08:00
snandini
64cac548d1 Release 5.2.0.214X
Release 5.2.0.214X

Change-Id: I87d9b2d163ab832b45acd4abbef7667a4e0ae6a3
CRs-Fixed: 774533
2020-12-18 15:38:11 -08:00
Utkarsh Bhatnagar
258e767382 qcacld-3.0: Don't use proto_generic_nss for SAP
Taking minimun of proto generic nss and dynamic
nss is only valid for STA as proto generic nss
is minimum of self capability and peer AP
capability. So, while fetching nss for SAP,
it is returning as 0.

So, in case of SAP don't take minimum of proto
generic nss with dynamic nss in case of SAP.

Change-Id: I82fabd346da11087d6c6a2123faa52f0a55adf35
CRs-Fixed: 2836723
2020-12-18 15:38:11 -08:00
snandini
bd90b9130b Release 5.2.0.214W
Release 5.2.0.214W

Change-Id: Ibbd73e680bb8106637611257969de95ad5fd1ee8
CRs-Fixed: 774533
2020-12-18 11:42:12 -08:00
sheenam monga
8994a07b4d qcacld-3.0: Don't consider previous rate flags after vdev restart
Currently rate flags are fetched from adapter before updating new
rate flags. Due to OR condition previous rate flags may not
overwrite and may provide different bandwidth and rate based than
actual params.

Fix is not to consider previous rate flags while updating new rates.

Change-Id: Ic6123858b0560141d1a8f3d366c3c5be95fd2fc9
CRs-Fixed: 2830204
2020-12-18 11:42:12 -08:00
snandini
e977f7222c Release 5.2.0.214V
Release 5.2.0.214V

Change-Id: I8f04725d5c4368b4ee03f39dd64a4168cc7e3aaa
CRs-Fixed: 774533
2020-12-18 05:49:01 -08:00
Alan Chen
7ba7f6bee3 qcacld-3.0: Separate CONFIG_SLUB_DEBUG_ON and CONFIG_CNSS2_DEBUG
Since the filter macro is not working, separate CONFIG_SLUB_DEBUG_ON
and CONFIG_CNSS2_DEBUG such that debug features are enabled if either
CONFIG_SLUB_DEBUG_ON or CONFIG_CNSS2_DEBUG is defined.

Change-Id: Ifa526946887b21967e8f2d561711a61148c032a4
CRs-Fixed: 2841082
2020-12-18 05:49:01 -08:00
snandini
8aa6b16d78 Release 5.2.0.214U
Release 5.2.0.214U

Change-Id: I4bddabdccf58f231371fe1208f74069a2d175823
CRs-Fixed: 774533
2020-12-18 03:47:49 -08:00
Jianmin Zhu
1fd93f59f9 qcacld-3.0: Fix limiting BA window size 64 for NAN connection
For NAN connection, mlmStaContext.he_capable in sta_ds isn't filled in
lim_add_ndi_peer, can use lim_is_session_he_capable for BA window size.

Change-Id: I66a4611da164789bcbaadebf33ab3082bf6835b9
CRs-Fixed: 2829593
2020-12-18 03:47:48 -08:00
snandini
c1ea83c7f5 Release 5.2.0.214T
Release 5.2.0.214T

Change-Id: I82da56f5337268fa73e69daabae7fa0d2a63e625
CRs-Fixed: 774533
2020-12-17 23:45:51 -08:00
sandhu
bccde19f93 qcacld-3.0: Remove unused IPA related memory in lahaina
Remove IPA related TX completion memory not used in lithium
and helium platforms.

Change-Id: Ibdce6169a1b5b95289fee80a36e2041cf785ad86
CRs-Fixed: 2808513
2020-12-17 23:45:51 -08:00
Jianmin Zhu
e0fc4e83f2 qcacld-3.0: Fix treating channel id as frequency issue for SAP
There are CSA IE/beacon template cmd with duplicate IE COUNT: 10.
And interval of 2nd IE COUNT: 10 and IE COUNT: 9 is much less than
100 ms.
Radar is triggered,  tried to switch to channel 11, but set
target chan id 11 as frequency 11 wrongly,   frequency 11 is illegal
and disabled, then switch to new freq: 2412 again.

Change-Id: Id2e5823795ae2f61e6d7cbbbc91c4f485ddeceb3
CRs-Fixed: 2838113
2020-12-17 23:45:46 -08:00
snandini
51da526660 Release 5.2.0.214S
Release 5.2.0.214S

Change-Id: I78ac4b88b3b3d6e3bad77f1eae465425d4f0dfc0
CRs-Fixed: 774533
2020-12-17 19:38:27 -08:00
Saket Jha
6599516554 qcacld-3.0: Request fw stats for monitor mode
Periodically request pdev stats from FW to receive channel noise floor
information after monitor vdev has been brought up, based on the band
currently being sniffed. Use the band information as a secondary parameter
when sending periodic request to fw so a single noise floor value is sent
to host. Pass this noise floor information to dp_pdev to be populated in
radiotap header.

Change-Id: I488e4985392cb646ffdee914359fa995dbeb025e
CRs-Fixed: 2833458
2020-12-17 19:38:27 -08:00
snandini
281ed411b4 Release 5.2.0.214R
Release 5.2.0.214R

Change-Id: Ib0f3ae07e36fd73a8da8e7989a7be23f6151aded
CRs-Fixed: 774533
2020-12-17 17:39:53 -08:00
Sachin Ahuja
5ac9859206 qcacld-3.0: Prevent race between suspend and idle shutdown
Idle shutdown is running in Thread 1 and in parallel suspend
request comes which is getting executed in thread 2. As a part
of idle shutdown the CE buffers are freed.As a result of this
WoW Ack is not reaped which leads to panic.

To avoid this issue, flush the idle shutdown delayed work before
proceeding for suspend.

CRs-Fixed: 2839296
Change-Id: I449bb1960776bf3d60e329a189b7bad998929240
2020-12-17 17:39:53 -08:00
Jinwei Chen
e1268726f0 qcacld-3.0: enable rx packet dropping for perf build
Enable rx packet dropping for perf build.

Change-Id: I340338dfc4928fb322ec48274c00cb719c8a5e88
CRs-Fixed: 2837577
2020-12-17 17:39:49 -08:00
snandini
14967499bb Release 5.2.0.214Q
Release 5.2.0.214Q

Change-Id: I4357f2127af6ab288136d460acbc0bcf6d7d8da7
CRs-Fixed: 774533
2020-12-17 15:41:32 -08:00
sheenam monga
a3c734decb qcacld-3.0: Update doc of vdev start resp handler
Update documentation of vdevmgr_vdev_start_rsp_handle
function.

Change-Id: I948e38fd94846500573e93d40577f066d0670f27
CRs-Fixed: 2840561
2020-12-17 15:41:32 -08:00
snandini
e7a8f0b2fb Release 5.2.0.214P
Release 5.2.0.214P

Change-Id: I027a6ab435ab247f2f1b8bbe743b31955f89f2f5
CRs-Fixed: 774533
2020-12-17 13:39:50 -08:00
Bapiraju Alla
19f4eb9bb6 qcacld-3.0: Request stats over qmi only when target suspend is success
Currently, Stats request commands are sent over qmi right from the
target suspend request is sent to FW. This is leading to a crash in
FW since it is trying to access PCI when it is in suspend state.

To address this, send stats request over QMI only after the ack is
received for the target suspend command.

Change-Id: I1b2b6a60c5d8c7ec4375d328e58a66d749794e3f
CRs-Fixed: 2835903
2020-12-17 13:39:50 -08:00
snandini
befcc80a7c Release 5.2.0.214O
Release 5.2.0.214O

Change-Id: I3ce5fab54846491f1476b0bfcd5d565de95f597f
CRs-Fixed: 774533
2020-12-17 09:48:42 -08:00
Liangwei Dong
563ec623d8 qcacld-3.0: Replace WLAN_OSIF_ID with specific dbg id
Replace generic WLAN_OSIF_ID by functionality specific dbg id
with API hdd_objmgr_get_vdev_by_user.

Change-Id: I06e1e14a998377e36ae533eec914eb3b61b6c165
CRs-Fixed: 2839542
2020-12-17 09:48:42 -08:00
snandini
f1c181efac Release 5.2.0.214N
Release 5.2.0.214N

Change-Id: I1f6ab23f6351b4a6c0f31f5c4c356d863f815c5e
CRs-Fixed: 774533
2020-12-17 05:11:42 -08:00
Mohammed Siddiq
b8a901f159 qcacld-3.0: Update the ICNSS2 flags based on CONFIG_LITHIUM
Update the ICNSS2 flags based on CONFIG_LITHIUM and
device specific flag for Yupik spf.

Change-Id: I579bcd5a2a543d652fc91bc006247a607bd907b2
2020-12-17 05:11:42 -08:00
snandini
4fff0d8698 Release 5.2.0.214M
Release 5.2.0.214M

Change-Id: I04a9be2c500bcdf2f5b418f0a9abe2bc6b2d933d
CRs-Fixed: 774533
2020-12-17 03:05:20 -08:00
Ashish Kumar Dhanotiya
f344d30344 qcacld-3.0: Disable non-connection manager code
This change, separates out connection manager code and
non-connection manager code for disconnect flow, based on
the feature flag so that only required part of the code
is compiled.

CRs-Fixed: 2838853
Change-Id: I853cc587a013a23359f5109c6c32a50597cb6232
2020-12-17 03:05:19 -08:00
snandini
83b2fad43b Release 5.2.0.214L
Release 5.2.0.214L

Change-Id: Ia4ee55b6fbef2d55c6b1598f5f9e80d37c3fd365
CRs-Fixed: 774533
2020-12-16 21:29:59 -08:00
Ashish Kumar Dhanotiya
44e062f936 qcacld-3.0: Disable non-connection manager code
This change, separates out connection manager code and
non-connection manager code for connect flow based on
the feature flag so that only required part of the code
is compiled.

Change-Id: Id0b22f03939b044eb66e6cd2787b356e50710262
CRs-Fixed: 2838864
2020-12-16 21:29:59 -08:00
snandini
c8bbcb3c91 Release 5.2.0.214K
Release 5.2.0.214K

Change-Id: Idb566f9c1090e59149589404f485e2a8cfbf3828
CRs-Fixed: 774533
2020-12-16 09:55:36 -08:00
Liangwei Dong
b663a56259 qcacld-3.0: Add pdev argument to unlink bssid API
Add pdev argument to __wlan_cfg80211_unlink_bss_list API

Change-Id: I629416408ad8d63beab33e601688e1d4c15ee764
CRs-Fixed: 2837168
2020-12-16 09:55:35 -08:00
snandini
b68940d2fd Release 5.2.0.214J
Release 5.2.0.214J

Change-Id: Ic027630a26a09a1f954e76458fea74a098713902
CRs-Fixed: 774533
2020-12-16 02:44:36 -08:00
Min Liu
09fc124034 qcacld-3.0: Update status and errno in medium assess APIs
Use name status for QDF_STATUS while errno for int.

Change-Id: I4232d93ad8bae708e4aad00b00cca4305813f52f
CRs-Fixed: 2834553
2020-12-16 02:44:35 -08:00
snandini
3746d007c7 Release 5.2.0.214I
Release 5.2.0.214I

Change-Id: I6a0eb644e0328948b99f98d73840b2b61ee37aed
CRs-Fixed: 774533
2020-12-16 00:37:13 -08:00
Nirav Shah
3dfdf7fd38 qcacld-3.0: Do not reserve NAN discovery vdev in case of FTM mode
If firmware supports NAN discovery vdev then one vdev is
reserved for NAN. Do not reserve NAN discovery vdev in case
of FTM mode.

Change-Id: Ie16df46bbb09dd89889639d40dc1a65e3786ce73
CRs-Fixed: 2830136
2020-12-16 00:37:13 -08:00
snandini
ed4ce4d5ba Release 5.2.0.214H
Release 5.2.0.214H

Change-Id: If2ad1cc58bfcdd0541f1077dd7a9437021c335fe
CRs-Fixed: 774533
2020-12-15 19:43:22 -08:00
hqu
4b3b2782e7 qcacld-3.0: Add ini to set init chain mode for BTC
Add ini to set init chain mode for BTC, default value should
be set to the same as macro WLAN_COEX_BTC_CHAIN_MODE_UNSETTLED
that means no need to send init chain mode for BTC to firmware
in wma_vdev_pre_start() process.

Change-Id: I3051a7f8a0c708c7df40d1b95b46e0bfa6892f6c
CRs-Fixed: 2837173
2020-12-15 19:43:22 -08:00
snandini
b18c7d62f2 Release 5.2.0.214G
Release 5.2.0.214G

Change-Id: Ib4d698ccf5d6f5e7ff870cd95fe70c006cf09530
CRs-Fixed: 774533
2020-12-15 09:50:11 -08:00
Ashish Kumar Dhanotiya
440c4213e4 qcacld-3.0: Move DFS_BANGRADAR from common code to WIN
MCC does not use DFS_BANGRADAR feature so move common code
related to DFS_BANGRADAR to WIN specific code and as part of
this remove dfs_full_offload.c file from MCC compilation.

CRs-Fixed: 2837274
Change-Id: Ie28568a317787a0fb43dd94058f7b3e425bc3929
2020-12-15 09:50:11 -08:00
snandini
dd580e1b0d Release 5.2.0.214F
Release 5.2.0.214F

Change-Id: Iaf3658c8fa3a401996b228668fcae213872ccd32
CRs-Fixed: 774533
2020-12-15 05:49:55 -08:00
Bapiraju Alla
549f5cb438 qcacld-3.0: Fix deadlock when SAP interface down during pre_cac failure
While pre cac is in progress and if the SAP is stopped from UI, It may
lead to dead-lock due to rtnl lock. This is because, stopping SAP will
trigger the stop_ap first and then hostapd_stop. Stop_ap will schedule
a work to handle pre_cac failure (Thread1). hostapd_stop will be
triggered in parallel (Thread2). This will result in a below dead-lock
scenario.
   Thread1: Waiting to acquire rtnl_lock to unregister pre_cac adapter.
   Thread2: Acquired the rtnl_lock and waiting for Thread1 to complete

To resolve this dead-lock, unregister pre_cac_adapter during
hostapd_stop without requesting for rtnl_lock.

Change-Id: I222df9ee0d75b16f79c28b7cdd86369c340a15c2
CRs-Fixed: 2832256
2020-12-15 05:49:55 -08:00
snandini
c978d122d3 Release 5.2.0.214E
Release 5.2.0.214E

Change-Id: I7bf45c8d69e11c870dced13949d8758aeb035053
CRs-Fixed: 774533
2020-12-14 23:40:07 -08:00
Jianmin Zhu
565620495b qcacld-3.0: Fix WAPI IoT issue
DUT can't connect some WAPI AP by ASCII due to
lim_process_assoc_rsp_frame: received Re/AssocRsp frame failure code:
40.
Current Some WAPI AP cannot accept Vendor Element ID:  221  length > 11,
and  reply reject ASSOC resp by reason code 40.
Because we extend Vendor Specific element to include MCS12/13 from HSP.
So only HSP meet this IOT issue.
Qualcomm Inc. - Specific
    Element ID:         221  Vendor Specific [71]
    Length:             15 [72]
    OUI:                8C-FD-F0 [73-75]
    Value:              (12 bytes) [76-87]  01 01 02 01 00 02 01
	    01 09 02 03 00

Change-Id: If766ef280b685100ff4a409309d56ead717f251b
CRs-Fixed: 2836011
2020-12-14 23:40:07 -08:00
snandini
9e8cb783ca Release 5.2.0.214D
Release 5.2.0.214D

Change-Id: I61d9978104ba810d1480a5dc1d16a482fa44e27e
CRs-Fixed: 774533
2020-12-14 20:47:47 -08:00
Abhinav Kumar
f57af135ba qcacld-3.0: Print roam message info for no scan case
For no scan case, FW sends 3 more tlv to host along
with 11kv info. This info helps user in debugging/
understanding the scenario when roam failure happens.

Print the info received related to btm,scan type,
trigger_id into into kmsg for no scan case.

Change-Id: I699a22cf344e6a554349bd5338471951d3dd3b4a
CRs-Fixed: 2835759
2020-12-14 20:47:47 -08:00