提交图

21173 次代码提交

作者 SHA1 备注 提交日期
snandini
b62fa64aa1 Release 5.2.0.208H
Release 5.2.0.208H

Change-Id: I0db604ce31748ff27fb152538eadb3daecd12812
CRs-Fixed: 774533
2020-10-29 11:01:45 -07:00
Yeshwanth Sriram Guntuka
fd1b019165 qcacld-3.0: Do not sched IPA UC op work when de-init is in progress
In the scenario where IPA UC ready work is processed after
wlan_ipa_uc_ol_deinit, triggered as part of idle shutdown,
there is a possibility for NULL wbm srng pointer derefernce
when setting the tx doorbell address.

Fix is to avoid scheduling UC op work when deinit is in
progress.

Change-Id: Ifa0908912b77f45b7d93c5f9c2f5aaf9e17685c5
CRs-Fixed: 2807218
2020-10-29 11:01:45 -07:00
snandini
04b495069b Release 5.2.0.208G
Release 5.2.0.208G

Change-Id: Ib0797a58d0abd00edbed41cce4dd36880e5968c8
CRs-Fixed: 774533
2020-10-29 09:00:07 -07:00
Ananya Gupta
a43193f48b qcacld-3.0: handle multiple sap if NAPI is enabled for IPA
Disable IPA when second SAP is turned on only if NAPI support
is enabled for IPA path.

Change-Id: Id30714156a959ed940d0480cb0e0d8db467c821f
CRs-Fixed: 2807158
2020-10-29 09:00:07 -07:00
Alan Chen
4d9374f10e qcacld-3.0: Add support for unit test command in FTM mode
FTM mode does not create vdev. So in order to add support for the
unit test command in FTM mode, set vdev of the adapter to 0 and create
a new funciton that handles the command called in FTM mode and does
not check for a valid vdev.

Change-Id: I5b71765dc4c6eb8025aa60726e4105f8ff30f634
CRs-Fixed: 2805415
2020-10-29 09:00:02 -07:00
gaurank kathpalia
bc82b08027 qcacld-3.0: Use common API to convert the mac to qca reason
Use common API to convert the mac to qca reason and to print
the qca reason.

Change-Id: I0423863a311c4533d0fc322e8d9e32a146097f09
CRs-Fixed: 2807643
2020-10-29 08:59:59 -07:00
snandini
6173f23cc8 Release 5.2.0.208F
Release 5.2.0.208F

Change-Id: I922bbe1a4032ca67ad3384fcfe04d53fcd0e788c
CRs-Fixed: 774533
2020-10-29 07:00:29 -07:00
hqu
e6874ece11 qcacld-3.0: Don't disable DCS firmware event indication
Always enable DCS firmware wmi_dcs_interference_event_id event
indication as CCA feature requires, so dcs wmi enable command
doesn't need to be sent after dynamic ACS done. When all SAPs
are stopped, send dcs wmi disable command to disable dcs
firmware event indication.

Change-Id: Ida7aa95b364f7dd2dc7664b3036bf1e2c0c54a21
CRs-Fixed: 2804275
2020-10-29 07:00:29 -07:00
hqu
9fb94a7885 qcacld-3.0: Remove old rso path code [PART 1]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for file wma_scan_roam.c.

Change-Id: Ib50d49c566d9aaf124f2eecebe4b652dcbb3b5df
CRs-Fixed: 2807015
2020-10-29 07:00:25 -07:00
snandini
df3990e1de Release 5.2.0.208E
Release 5.2.0.208E

Change-Id: I601b1f53b7487ea54840bb7d9af396cb3d086fdc
CRs-Fixed: 774533
2020-10-29 04:53:52 -07:00
Will Huang
bb1e3c8933 qcacld-3.0: Fix get sap connected sta info fcs counter always 0
Stats event from target might have several sub events, and some event
has no peer stats but have adv/ext2 peer stats.

Check ext/ext2 peer stats even no peer stats in
target_if_cp_stats_extract_peer_stats(). Fix copy adv stats size error
in tgt_mc_cp_stats_prepare_n_send_raw_station_stats(). Although
get_station_stats_cb and get_peer_stats_cb is union callbacks,
better to assign to get_station_stats_cb because it is for
TYPE_STATION_STATS.

Change-Id: I0bead0cbb8b549cc538ef4a7327f0a8303c90bd1
CRs-Fixed: 2801842
2020-10-29 04:53:52 -07:00
Abhishek Ambure
b2ea72cbbe qcacld-3.0: Add support to send QCA connect fail reason code
User requests for last disconnect reason code using
QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO vendor command. Host replies with
connect fail reason codes from enum qca_sta_connect_fail_reason_codes using
QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_CONNECT_FAIL_REASON_CODE attribute, If
last connection attempt failed.

Change-Id: I723a9dcf025bb58fa524cbf16f16a7dcea8bd5b6
CRs-Fixed: 2799227
2020-10-29 04:53:48 -07:00
Abhishek Ambure
8fb2d79749 qcacld-3.0: Update correct value of RoamKeyMgmtOffloadEnabled
Presently RoamKeyMgmtOffloadEnabled flag in roam req_buf gets set from
csr session, which gets set only if user sends vendor command to set key
management i.e. QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY.
Thus if user doesn't send QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY
vendor command, then host fails to sets ROAM_OFFLOAD_OKC_ENABLED &
PMK_CACHE_ENABLED flags in RSO command. This leads to failure of single
PMK cache roaming. Hence update correct value of RoamKeyMgmtOffloadEnabled
from mlme object.

Change-Id: I34099b4651ca179bb86ca24581526e161d2bf503
CRs-Fixed: 2802124
2020-10-29 04:53:44 -07:00
snandini
420e044121 Release 5.2.0.208D
Release 5.2.0.208D

Change-Id: Iff2b03a58a56b9e1f832c15b47ce496a54999bd8
CRs-Fixed: 774533
2020-10-29 02:45:47 -07:00
Abdul Muqtadeer Ahmed
8e37d3f6eb qcacld-3.0: Use objmgr api to get the vdev for pmo
Currently pmo_psoc_get_vdev api just returns the vdev without
taking the vdev reference and it is caller's responsibility to
take the reference, there could be a race condition where after
getting the vdev and before getting the reference of that vdev,
some other thread may delete this vdev.

To avoid this issue use objmgr api to get the vdev for pmo.

Change-Id: I3495589e2dbbb7d8efc579a62fff1a08a92c318f
CRs-Fixed: 2771211
2020-10-29 02:45:46 -07:00
snandini
2aabaa590c Release 5.2.0.208C
Release 5.2.0.208C

Change-Id: I7fc69a6edd5fec3606c62dd2a713a85eb0149b88
CRs-Fixed: 774533
2020-10-28 15:33:18 -07:00
gaurank kathpalia
e4defd9d16 qcacld-3.0: Add connect and disconnect support in connection manager
Add support for connect and disconnect path
in legacy cld files with respect to connection
manager.

Change-Id: Ia42dd45d943de20d91279c0197b0f17a5c0326eb
CRs-Fixed: 2805807
2020-10-28 15:33:18 -07:00
snandini
d5a8d40514 Release 5.2.0.208B
Release 5.2.0.208B

Change-Id: I973efd5b74bc204a5762345cb4e55c9bb9382200
CRs-Fixed: 774533
2020-10-28 11:30:01 -07:00
Bapiraju Alla
17b5c4f349 qcacld-3.0: Don't start monitor mode if monitor interface is already up
Currently, interface status is not being checked to start monitor mode.
This is allowing to start monitor mode more than once for the same
interface. This will result in session leak during de-init.

To avoid this, start monitor mode only if the interface is not already up.

Change-Id: I118167d3a8cea52fbfa825b226b837087828f148
CRs-fixed: 2803090
2020-10-28 11:30:01 -07:00
snandini
42ab0513ab Release 5.2.0.208A
Release 5.2.0.208A

Change-Id: Ie73bb5c66e13a2f880fbd69d0cc63c0ee71f05eb
CRs-Fixed: 774533
2020-10-28 09:21:29 -07:00
Jianmin Zhu
f90e9f337c qcacld-3.0: Fix 4 port failed when gDualMacFeatureDisable=6
In DBS mode, gDualMacFeatureDisable can be 0, also can be
6: enable DBS for connection but disable simultaneous scan.

Change-Id: Ia3d46dbd2e67644e84436b90f40c203bc939eda7
CRs-Fixed: 2807010
2020-10-28 09:21:28 -07:00
snandini
8cc1e10cd1 Release 5.2.0.208
Release 5.2.0.208

Change-Id: I906ee2c8c415218c89f068767d4557dd7dc1ae8c
CRs-Fixed: 774533
2020-10-28 07:15:09 -07:00
Arun Kumar Khandavalli
1d03ff172f qcacld-3.0: Close/destroy the pdev before CDS closing
Pdev is created once all the modules are enabled and currently
it is freed after the cds close is done, if some of the modules
as part of the de-init sequence has to send a command to the firmware
it will result in error.

To keep the deinit sequence opposite to that of init close/destroy
the pdev before closing the cds.

Change-Id: I8e087a573112e5d2d81e8ea413044d45f228813e
CRs-Fixed: 2797344
2020-10-28 07:15:09 -07:00
snandini
165b21198a Release 5.2.0.207Z
Release 5.2.0.207Z

Change-Id: I7b4bfcbbb3bdc16dd85d9bfa690a981fd1a55bd7
CRs-Fixed: 774533
2020-10-28 01:21:34 -07:00
Paul Zhang
bb3794d416 qcacld-3.0: Add default roam scan triggers
When resetting roam trigger bitmap, it is missing triggers
such as QCA_ROAM_TRIGGER_REASON_IDLE,
QCA_ROAM_TRIGGER_REASON_DEAUTH etc.

Change-Id: I57b2b5c251202094b1afe65e0b4af39dc69f75e1
CRs-Fixed: 2805011
2020-10-28 01:21:34 -07:00
snandini
e98261fbea Release 5.2.0.207Y
Release 5.2.0.207Y

Change-Id: Iad310e00bd4d2097127463c24c8e2cdf71ca90ce
CRs-Fixed: 774533
2020-10-27 22:55:04 -07:00
Gururaj Pandurangi
64bf153003 qcacld-3.0: Add action OUI to disable TWT for some APs
Add a new action OUI to disable TWT for certain APs.
The cfg item will be present in the host and sent to
the FW to disable TWT.

Change-Id: I122c44993a9102838dec7e9eb2817ba404a76515
CRs-Fixed: 2793124
2020-10-27 22:54:57 -07:00
snandini
c7b83a8000 Release 5.2.0.207X
Release 5.2.0.207X

Change-Id: I9be881e01e7c254d9bc8d4ad432484bdf212e5b2
CRs-Fixed: 774533
2020-10-27 20:54:42 -07:00
Yu Tian
af6eb602d0 qcacld-3.0: Change BAR frame ctrl and sequence format
BAR frame is parsed incorrectly, change to correct format

Change-Id: I399d6be49834229bba5f8eccf71f4002d2d48e16
CRs-Fixed: 2804140
2020-10-27 20:54:42 -07:00
snandini
3b7d93d465 Release 5.2.0.207W
Release 5.2.0.207W

Change-Id: I7d7cc0f8342fa02c127b486e4100a5e3a1003fbb
CRs-Fixed: 774533
2020-10-27 13:02:21 -07:00
Rakesh Pillai
62714cf511 qcacld-3.0: Use reo dst indication in CMEM based HW FT entry
Currently we configure the REO ID in the HW FST entry,
which is later used by HW to route the packets matching
this particular flow.

Such a kind of configuration can lead to incorrect
routing of packets incase the RX path mapping is
changed (eg when IPA is enabled).

Hence to fix this issue, use the reo destination
indication which is received in the first packet of
the new flow in the HW FST entry.

Change-Id: Ide230dcfb07862b3921aeb02d83ad7c30cb284c2
CRs-Fixed: 2803828
2020-10-27 13:02:21 -07:00
snandini
56375a0b5a Release 5.2.0.207V
Release 5.2.0.207V

Change-Id: I6b11b880e7848ac752de814f70251a2445da2adf
CRs-Fixed: 774533
2020-10-27 10:53:15 -07:00
Abhishek Ambure
595846e6db qcacld-3.0: Add support to enable/disable FILS_DISCV_FRAMES TX
Host adds support to send enable/disable wfa config for FILS_DISCV_FRAMES
to firmware.

Change-Id: I0143b158b5f62b42c0d4c3d8a34a7ec7b1ec994b
CRs-Fixed: 2801144
2020-10-27 10:53:15 -07:00
snandini
54a3119700 Release 5.2.0.207U
Release 5.2.0.207U

Change-Id: I29a4a1683f9dae9fb118fde09ba4ca602252b1d9
CRs-Fixed: 774533
2020-10-27 03:01:38 -07:00
Deeksha Gupta
cb2ce562eb qcacld-3.0: Add cfg80211_stop_iface API to stop P2P Go after SSR
Currently, In P2P Connection, After SSR P2P CLI is
disconnected but P2P GO is still showing connected
with the P2P CLI in kernel 5.4. Beacause cfg80211_ap_stopped
API does not work for kernel 5.4.

Add the cfg80211_stop_iface API to stop P2P GO after
SSR in kernel 5.4.

Change-Id: I94adadb0b3314a571f6a16a78285d444c007d9d5
CRs-Fixed: 2802830
2020-10-27 03:01:38 -07:00
snandini
99c06bb032 Release 5.2.0.207T
Release 5.2.0.207T

Change-Id: Ib162622951bbf3735ac0c596f827a2efd3032ec6
CRs-Fixed: 774533
2020-10-26 16:55:21 -07:00
Jingxiang Ge
407de9891a qcacld-3.0: Support link rate for mcs12/13
This is to support he mcs12/13 for 4K QAM.

Change-Id: I07c565498fb99387f7aac3f36103fbc90de67b7f
CRs-Fixed: 2802600
2020-10-26 16:55:21 -07:00
snandini
42ed9ebdf1 Release 5.2.0.207S
Release 5.2.0.207S

Change-Id: I15c0bfb5688c7e886db56f624a986d4a85682185
CRs-Fixed: 774533
2020-10-26 07:19:23 -07:00
Min Liu
bdba1fa76d qcacld-3.0: Report congestion to the correct interface
Only report congestion vendor event to the interface that request it.

Change-Id: I3c6d4fca116f65a9ae930d428e45716d544f9806
CRs-Fixed: 2803920
2020-10-26 07:19:23 -07:00
snandini
794d5e0131 Release 5.2.0.207R
Release 5.2.0.207R

Change-Id: I44bae2c9433d88dd1fc7a292e8226dbd41335317
CRs-Fixed: 774533
2020-10-26 05:19:22 -07:00
wadesong
f2cfe1c76a qcacld-3.0: Reduce log verbosity for per-chan tx/rx time
When per-channel tx/rx time is printed in wlan driver, the
current code checks whether service bit
wmi_service_ll_stats_per_chan_rx_tx_time is enabled in every
loop, which will result in very verbose logs printed on
some platforms where the above service bit is not indicated
by firmware.

Check whether wmi_service_ll_stats_per_chan_rx_tx_time is
enabled only once whenever wlan link radio stat event is
handled to reduce the unnecessary verbose logging.

Change-Id: I438df8ab307a793ac108503c767373a79e817919
CRs-Fixed: 2804956
2020-10-26 13:29:56 +08:00
snandini
2842abfc5b Release 5.2.0.207Q
Release 5.2.0.207Q

Change-Id: I949a9cbbd2703e8d5b2f03f03ec5ee307b4cbd37
CRs-Fixed: 774533
2020-10-23 20:02:10 -07:00
Ashish Kumar Dhanotiya
5696667500 qcacld-3.0: Add conversion of all auth type for big data
Currently host does not convert all internal auth types
to qca auth types which results in invalid auth type
indication for big data logging even for some of the
valid auth types.

For example in current scenario connection hapens in SAE
auth type but driver indicates invalid AKM type.

To address above issue add missing auth type and send
proper auth type to user space as part of the big data
logging.

Change-Id: I4e0d78d143e2a0132f333957019d2051e166d9a1
CRs-Fixed: 2794103
2020-10-23 20:02:10 -07:00
hqu
55fbe3e774 qcacld-3.0: Enable RSO ROAM_OFFLOAD_V1 path for all configs
Enable roam scan offload ROAM_OFFLOAD_V1 path for all configs.

Change-Id: Id3386c2f391f98fb67734fdd17919782d0240f18
CRs-Fixed: 2798357
2020-10-23 20:02:06 -07:00
Sandeep Puligilla
e9f1d269c9 qcacld-3.0: Enable interface manager
Enable interface manager on all the targets
through common build file modification.

Change-Id: I9e1f2b552bd1170a5bf84bf5af096bbcf275247f
CRs-Fixed: 2799889
2020-10-23 20:02:01 -07:00
snandini
3b52b9d90c Release 5.2.0.207P
Release 5.2.0.207P

Change-Id: I56cccc828f869db078ab735b098cfe1e3d74e967
CRs-Fixed: 774533
2020-10-23 16:49:21 -07:00
Will Huang
c7218cbc85 qcacld-3.0: Invoke CM mlme FILS update API when update FILS
After CM roam converged, if FILS update parameters when first connect
to AP, AP profile is not fils enabled, so FILS parameters need update
to mlme, otherwise updated FILS parameters will not configure to target.

Call mlme cm fils update API when update FILS parameters.
Fix potential memory allocation of size 0.

CRs-Fixed: 2803589
Change-Id: I9147a8506071b416a24f78df199a054d184f74f8
2020-10-23 16:49:21 -07:00
snandini
ee8566125b Release 5.2.0.207O
Release 5.2.0.207O

Change-Id: I3d1efd22686d4c987af44e3f5bfa29b7c19c224a
CRs-Fixed: 774533
2020-10-23 12:12:50 -07:00
Bapiraju Alla
739b55d6ad qcacld-3.0: Fix ll_stats request in progress flag updation
Currently, LL stats in-progress flag is being set first and not getting
reset when peer is invalid. Because of this station stats sent by the
fw are ignored in the host since cp stats request pending is not set.
Also ll_stats request is not being rejected if previous ll_stats
request is in-progress.

To resolve this, update ll_stats request in progress flag after sanity
check for the peer and ignore the new ll_stats request command if the
previous ll_stats request is in progress.

Change-Id: I205502f8c34b51c396859d5ff3ed247e639eea99
CRs-Fixed: 2803032
2020-10-23 12:12:49 -07:00
snandini
1cbb3b9f3c Release 5.2.0.207N
Release 5.2.0.207N

Change-Id: I8c4ac452facd08b23fb40b2ccb2f69e8f8e0d4ff
CRs-Fixed: 774533
2020-10-23 10:03:10 -07:00