提交線圖

21652 次程式碼提交

作者 SHA1 備註 日期
sheenam monga
a6c4102ec3 qcacld-3.0: Remove the compilation of dfs_cac.c from MCC
dfs_cac.c is moved to WIN specific project. Remove the
corresponding compilation from qcacld-3.0 project.

Change-Id: I036a12b072e65c75a0dcf2d6270027814af1a128
CRs-Fixed: 2843628
2020-12-24 09:52:17 -08:00
snandini
0a9f3381a3 Release 5.2.0.215P
Release 5.2.0.215P

Change-Id: I063babc3029712ee3cc0cd6cd62f7972918a6272
CRs-Fixed: 774533
2020-12-24 04:50:20 -08:00
Jinwei Chen
745cfa844f qcacld-3.0: support fisa fse cache flushing disable/enable
FISA FSE cache flushing is not allowed after PCIe bus suspended,
add function to support FISA FSE cache flushing disable/enable.

Change-Id: I4371e2941a4d2b590fa66db8390135f2620b54a3
CRs-Fixed: 2841740
2020-12-24 04:50:20 -08:00
snandini
69eb03d39b Release 5.2.0.215O
Release 5.2.0.215O

Change-Id: Ie0386307313f036a52e6211e0c6438e606bee3b8
CRs-Fixed: 774533
2020-12-24 02:49:14 -08:00
Yu Tian
f2e15679fe qcacld-3.0: Disable TDLS RX pkt statistics in bus vote high
TDLS pkts statistics API cost 10% CPU cycle of whole RX
thread. The code logic show it may not be caclulated when
bus vote larger than medium. But checking routine always
return false of which may lead more power cost. Fix bus
vote checking routine to return correct vote status in
stead of always false value.

Change-Id: I003c9943ef3a4bbc83db6caaf893408e40e4962b
CRs-Fixed: 2842119
2020-12-24 02:49:14 -08:00
Min Liu
651b0016af qcacld-3.0: Fix pdev id mis-aligned on DBS platform
Fix pdev id mis-aligned on DBS platform for CCA APIs.

Change-Id: If671334e9eedb6c6a4ce9e25e2d3e51e5735e683
CRs-Fixed: 2840340
2020-12-24 02:49:10 -08:00
snandini
85271ec80c Release 5.2.0.215N
Release 5.2.0.215N

Change-Id: I5d5b0ade2316c85b3afc6ac503cd50676400cb56
CRs-Fixed: 774533
2020-12-23 22:57:57 -08:00
Jianmin Zhu
71a4da9d4e qcacld-3.0: Clear RSN CAP When set IE for WAPI connection
RSN CAP isn't needed and set when set IE for WAPI connection, if last
connection is WPA2, vdev crypto params rsn caps is set, it need to be
cleared, or RSN CAP is set for WAPI, WAPI connection may fail.

change-Id: I2120751576b0ab260077e013ef88428238e53896
CRs-Fixed: 2841012
2020-12-23 22:57:57 -08:00
snandini
220d68fe92 Release 5.2.0.215M
Release 5.2.0.215M

Change-Id: Icd52e686c757cff7ad5eeeb831e6e63275554f03
CRs-Fixed: 774533
2020-12-23 20:55:46 -08:00
bings
e07551e336 qcacld-3.0: fix prealloc not effective in Kbuild
Kbuild should contain build option CONFIG_WCNSS_MEM_PRE_ALLOC,
so we can enable prealloc feature.

Change-Id: I8e9acc83f7c0b36dad2f12cc88f028cc6a10d9ea
CRs-Fixed: 2706137
2020-12-23 20:55:45 -08:00
snandini
4d6ef1e273 Release 5.2.0.215L
Release 5.2.0.215L

Change-Id: Id0bed8a480e4f66280b398e87da614e1eb6f1497
CRs-Fixed: 774533
2020-12-23 15:28:58 -08:00
Ashish Kumar Dhanotiya
9c0881c7b2 qcacld-3.0: Refactor disconnect complete code
Refactor disconnect complete code and move common code
for connection manager and legacy path to a common function
to remove the duplication of the code.

CRs-Fixed: 2842818
Change-Id: I9b204d458075a594514d298077231889e29447ae
2020-12-23 14:18:26 +05:30
snandini
6d1f3e4d98 Release 5.2.0.215K
Release 5.2.0.215K

Change-Id: Ic72159d449534cca49915bf28c02a0e828265483
CRs-Fixed: 774533
2020-12-22 22:47:52 -08:00
Ananya Gupta
c9ac18cb8c qcacld-3.0: Enable preallocation for rx buffer pool
Nbuf allocation failure is observed when refill rx buffers
due to momentary low memory.
To fix this, enable feature Rx prealloc buffer pool.

Change-Id: I111d84f3ad5b33024e6add4bed7561ae58e1a018
CRs-Fixed: 2841734
2020-12-22 22:47:52 -08:00
snandini
52b890fe90 Release 5.2.0.215J
Release 5.2.0.215J

Change-Id: Ie36866be1f30b3535f2ea016cd743ede79bcc14b
CRs-Fixed: 774533
2020-12-22 18:47:38 -08:00
Yeshwanth Sriram Guntuka
25ad84c408 qcacld-3.0: Set nud_state to PROBE on NUD_FAILED event post roaming
In the issue scenario, roaming is triggered due to NUD_FAILED
event and nud state is set to NONE once roaming is completed.
NUD_FAILED events could be received without any NUD_PROBE
INCOMPLETE events post this roaming and these nud failures
are not honored due to which further roaming due to NUD_FAILURE
won't be triggered.

Fix is to set nud state to PROBE explicity on receiving
NUD_FAILED event post roaming.

Change-Id: Ib34b82f478263eb9664112a25f2d1f8bd858f5dc
CRs-Fixed: 2837825
2020-12-22 18:47:37 -08:00
Abhishek Ambure
65fc8b763b qcacld-3.0: Add support to handle disconnect ind via CM
Host add support to handle disconnect indication from connection
manager.

Change-Id: I824afebc2ac919e3c85d9abca3cc343160c2a95e
CRs-Fixed: 2842187
2020-12-22 18:47:33 -08:00
snandini
b05bf36c27 Release 5.2.0.215I
Release 5.2.0.215I

Change-Id: I7a343dbff12c815a3dee5f57ada107197482eea6
CRs-Fixed: 774533
2020-12-22 16:37:00 -08:00
sheenam monga
914dae7d9e qcacld-3.0: Use CFG_BTM_ENABLE to forward BTM request frame
Enable 10th bit of CFG_BTM_ENABLE ini to forward BTM request
frame to upper layers when frame contains MBO assoc retry
attribute. when supplicant receives this MBO frame it will
use the frame info for blacklisting the AP so for the next
connection framework will avoid this AP.

Change-Id: I9a675cc01769c38ad5be26ea5fd28ada8dc03546
CRs-Fixed: 2843323
2020-12-22 16:37:00 -08:00
snandini
94dd2cfa6c Release 5.2.0.215H
Release 5.2.0.215H

Change-Id: I3c5f8d25d3f21f79433425d550bdef6d7879f6fa
CRs-Fixed: 774533
2020-12-22 14:41:21 -08:00
Sachin Ahuja
592a88ad7b qcacld-3.0: Return failure for runtime resume if FW is down
Currently when the FW is down, runtime resume return success
status but does not send the power exit and WOW wake up from
sleep command to FW. So WMI_WOW_SET_ACTION_WAKE_UP_CMDID
command is sent to FW which leads to panic.

To avoid this issue, send the correct error status for runtime
resume if FW is down.

CRs-Fixed: 2830614
Change-Id: Id27d2648427b32d32c15370fbb170fafec9450d2
2020-12-22 14:41:21 -08:00
snandini
2ec491db0d Release 5.2.0.215G
Release 5.2.0.215G

Change-Id: I584db6f375811908047bca0632ff06b21ddb2303
CRs-Fixed: 774533
2020-12-22 12:37:20 -08:00
Bapiraju Alla
9cec6b852e qcacld-3.0: During WiFi turn on get hdd_ctx after driver load
Currently while turning on WiFi, driver is getting hdd_ctx first and
then waiting for driver load to complete. This may lead to use after
free access if there is a probe fail during the driver load.

To avoid this, get hdd_ctx after driver load is complete.

Change-Id: I90132a3cf8eb8047d0854f781dbe968bccef94cf
CRs-Fixed: 2839442
2020-12-22 12:37:19 -08:00
snandini
61b0543de0 Release 5.2.0.215F
Release 5.2.0.215F

Change-Id: Ie7dbeb0977923ff1fb07c9358dc15d37c3b8b806
CRs-Fixed: 774533
2020-12-22 08:49:03 -08:00
sheenam monga
24819ec6e9 qcacld-3.0: Update documenation of CFG_BTM_ENABLE
FW considers 9th bit of CFG_BTM_ENABLE for btm query
with candidate list which is not mentioned in ini
documentation.

Change-Id: I4fefdaa464e14c350d885107a28051fa0ad309f0
CRs-Fixed: 2839587
2020-12-22 08:49:03 -08:00
snandini
53110043f6 Release 5.2.0.215E
Release 5.2.0.215E

Change-Id: Ia63a9aaa5808c6dc59d998c3d0ac367ebf09f7c6
CRs-Fixed: 774533
2020-12-22 06:40:12 -08:00
Srinivas Dasari
c54f4007ca qcacld-3.0: Send assoc reject upon failing to post ASSOC_IND
Currently, lim silently drops the association if it fails to
post ASSOC_IND due to some reason(e.g. invalid contents of
assoc request) and the MLM state is stuck in
eLIM_MLM_WT_ASSOC_CNF_STATE. Station context is not cleaned up
till the next association. Gracefully cleanup the association
in such failure cases.

Change-Id: Iede43a1ddc4ac6ef300af02776b153b58dd70c2c
CRs-Fixed: 2810235
2020-12-22 06:40:12 -08:00
snandini
0f19479822 Release 5.2.0.215D
Release 5.2.0.215D

Change-Id: Iab5dcfc2b9ef44d530a0c193b0405e4b262805e0
CRs-Fixed: 774533
2020-12-21 23:30:20 -08:00
Abhishek Ambure
da2452fdd7 qcacld-3.0: Add lim support for CM disconnect handling
Add support to handle disconnect request via connection manager
in LIM.

Change-Id: I2ead0188368ab75f4862a429d43bf2305ae94abe
CRs-Fixed: 2840792
2020-12-21 23:30:20 -08:00
snandini
7f843ffb63 Release 5.2.0.215C
Release 5.2.0.215C

Change-Id: I85a6c7f47b1b3e3d5ca301061a84eaa5ca5797c9
CRs-Fixed: 774533
2020-12-21 20:55:03 -08:00
Ashish Kumar Dhanotiya
22eba25dc9 qcacld-3.0: Allow 6GHz AP for WPS
With current implementation host does not allow
6GHz AP for WPS security, add a change to allow 6GHz AP for WPS.

Change-Id: I222cd94ae32ec08d6106eca83310719c605423e7
CRs-Fixed: 2835329
2020-12-21 20:55:03 -08:00
snandini
456d2bdc74 Release 5.2.0.215B
Release 5.2.0.215B

Change-Id: I9d134454e45c52fb05bc8b81add0cb221b05e800
CRs-Fixed: 774533
2020-12-21 04:49:45 -08:00
Zhaoyang Liu
567e4681be qcacld-3.0: fix build error about function redefinition
Fix the compilation error about redefinition of 'ipa_is_ready'.
This API is defined in <linux/ipa.h>. Rename the function name.

Change-Id: I206a221a5df95494e947483f2d133df6e5053220
CRs-Fixed: 2817997
2020-12-21 04:49:45 -08:00
Paul Zhang
90eb7a933b qcacld-3.0: Add support op QCA_WLAN_TWT_NUDGE
This is the new OP for vendor sub command
QCA_NL80211_VENDOR_SUBCMD_CONFIG_TWT to set twt
suspend/resume parameters.

Change-Id: If4ec03364f41ca4960673fb7a13b91a929cfe567
CRs-Fixed: 2797664
2020-12-21 04:49:40 -08:00
snandini
f37ba77d71 Release 5.2.0.215A
Release 5.2.0.215A

Change-Id: Iecb095c1c63ae68b51d103aa858167c30a440eae
CRs-Fixed: 774533
2020-12-20 20:49:34 -08:00
Yu Wang
c89472f96a qcacld-3.0: skip redundant update request for dual mac cfg
Dual mac configuration is static from wlan module
start to module stop, no need to update for each
adapter starting.
To reduce the time cost on starting adapter, add
a flag to indicate the status of dual mac config,
skip the update request if it's been updated.

Change-Id: I033cda08173503d133a06eca617655d1cefe4d0d
CRs-Fixed: 2839192
2020-12-20 20:49:33 -08:00
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