İşleme Grafiği

21252 İşleme

Yazar SHA1 Mesaj Tarih
snandini
2763e843da Release 5.2.0.208R
Release 5.2.0.208R

Change-Id: I9629c10ae1d4f003ebc874b1eeadc9ecddc9af9a
CRs-Fixed: 774533
2020-11-02 08:03:30 -08:00
gaurank kathpalia
4cea7d089e qcacld-3.0: Move HE caps to vdev mlme priv
Move HE caps to vdev mlme priv and remove it from csr session.

Change-Id: I3f68aa66cfd1828dea4e46aff1dd758fbfde4a48
CRs-Fixed: 2809092
2020-11-02 08:03:30 -08:00
Min Liu
0c8a806d02 qcacld-3.0: Use primary channel in OCI
Primary channel should be used in OCI.

Change-Id: I1e92efd5b0348f58bc951dc459e08091737ced9f
CRs-Fixed: 2806607
2020-11-02 08:03:25 -08:00
snandini
f0d15ce146 Release 5.2.0.208Q
Release 5.2.0.208Q

Change-Id: I1c0e27cfcb56684dec597b6333f9af54c6547582
CRs-Fixed: 774533
2020-11-02 05:59:58 -08:00
hqu
41c883d77e qcacld-3.0: Remove old rso path code [PART 3]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for csr related files.

Change-Id: I6527630951ca1c291e027e7ecdb3f9bf4b0a72b3
CRs-Fixed: 2808325
2020-11-02 05:59:57 -08:00
snandini
5103a311a0 Release 5.2.0.208P
Release 5.2.0.208P

Change-Id: I840b9dcda6a66b42da2edd18ed85134ba23dfba4
CRs-Fixed: 774533
2020-11-02 03:54:09 -08:00
Jianmin Zhu
56b37546c6 qcacld-3.0: Handle channel avoidance in AP_AP SCC mode
Steps to reproduce:
1. AP-AP setup on channel 48 in SCC mode.
2. Indicate channel avoid including channel 48.

Observed Results:
Channel avoidance not happened, AP-AP still in channel 48.

Expected Results:
Channel avoidance, AP-AP moved to another safe channel.

Root cause: When channel 48 became unsafe, tried to switch AP1 to safe
channel 36, but failed for AP2 in different channel of same MAC,
wlan_sap_validate_channel_switch return false.

Fix: When CSA for unsafe channel, since get pcl by
policy_mgr_get_pcl_for_vdev_id,  scc channel is considered already,
set force to switch channel as true, ignore more SCC/MCC check by
wlan_sap_validate_channel_switch.

Change-Id: I95544d069e5cf3b289e78592f81e0e6496b72801
CRs-Fixed: 2773925
2020-11-02 03:54:08 -08:00
snandini
a9f69a1c7a Release 5.2.0.208O
Release 5.2.0.208O

Change-Id: I07f82555a0a96a3cef73d37be7266111a9254645
CRs-Fixed: 774533
2020-11-01 23:13:55 -08:00
Jinwei Chen
265468e523 qcacld-3.0: Bypass FISA if reo_destination_indication mismatch
For wow or active offload mode, FW will re-inject some RX frames
to REO with reo_destination_indication 1 (REO2SW1) to REO entrance
ring, but the original reo_destination_indication in RX buffer pkt_tlv
is 6 (REO2FW) or other flow steering value (>=16), then REO2SW ring
mismatch will happen that break FISA function in host.
Bypass FISA if reo_destination_indication mismatch between REO ring
descriptor and pkt TLVS.

Change-Id: I8736b8a96513c2e49fe41fb460f81cb0ef01ed01
CRs-Fixed: 2807461
2020-11-01 23:13:55 -08:00
snandini
2bea2c075d Release 5.2.0.208N
Release 5.2.0.208N

Change-Id: Ifcf725a25586c69f80678823a385c37c990cfad4
CRs-Fixed: 774533
2020-10-30 15:11:42 -07:00
Ashish Kumar Dhanotiya
f7bae329ed qcacld-3.0: Add connect disconnect call to osif for conection manager
Add connect and disconnect function call from hdd to osif for
connection manager to enable the connect and disconnect flow for the
connection manager.

Change-Id: I1504410cd431aedf04b58e93d9eeff34040b32a1
CRs-Fixed: 2804230
2020-10-30 15:11:42 -07:00
snandini
c365b47f87 Release 5.2.0.208M
Release 5.2.0.208M

Change-Id: Ie708084dede7c5679c8177d7b223a238da5df7af
CRs-Fixed: 774533
2020-10-30 13:03:24 -07:00
Kai Liu
52aec7a272 qcacld-3.0: Enhance hang info feature
Use separate hang reason for case that lack of credit after suspend.
Meanwhile add hang buf offset check to avoid overflow.

Change-Id: Ic794d02672cd663598da66b9e75924c41b5ef0e8
CRs-Fixed: 2801343
2020-10-30 13:03:23 -07:00
gaurank kathpalia
e5fb361504 qcacld-3.0: Handle legacy connect request
Handle legacy connect request and create pe_session
for the same.

Change-Id: Ie1e801c42f90d79d613f9d0233ec9a00a2b0d58b
CRs-Fixed: 2808000
2020-10-30 13:03:20 -07:00
Aditya Kodukula
2dc00ea324 qcacld-3.0: Cleanup SAP interface
SAP cannot be turned back on, if SAP is turned off during the
Pre-CAC. Because in __wlan_hdd_del_virtual_intf(), cleanup of SAP
is not done.

To avoid this issue cleanup SAP interface also in this scenario.

Change-Id: I12240c22a2b40c2a1fc8a46ff197023abf36631a
CRs-Fixed: 2803454
2020-10-30 13:03:16 -07:00
snandini
65fbc91406 Release 5.2.0.208L
Release 5.2.0.208L

Change-Id: Ie815d3b22761988fd3470847af82d54a082d3949
CRs-Fixed: 774533
2020-10-30 11:01:44 -07:00
Will Huang
7553cd4a2f qcacld-3.0: Don't touch CAC timer which is not created for offloaded CAC
CAC timer is only created for non-offloaded CAC case, but in some
cleanup functions, CAC timer is stopped/destroyed without checking CAC
offload flag.

Change-Id: If8422afac2389e134769a762aa87cb7969eef9ec
CRs-Fixed: 2807650
2020-10-30 11:01:44 -07:00
Ashish Kumar Dhanotiya
ded421b741 qcacld-3.0: Initialize osif and legacy callbacks for connection manager
Initialize osif callbacks to connection manager and add
legacy callbacks to osif and initialize these legacy callbacks
for connection manager.

Change-Id: I27b3ccf61fdac0ceee938264320feb1331460ba2
CRs-Fixed: 2797475
2020-10-30 11:01:40 -07:00
snandini
87ed50ea1d Release 5.2.0.208K
Release 5.2.0.208K

Change-Id: I2cf465b97d6ccfc9c62dbdb4f369c0945e44e5cf
CRs-Fixed: 774533
2020-10-29 17:50:49 -07:00
hqu
733fabb837 qcacld-3.0: Remove old rso path code [PART 2]
Since new rso ROAM_OFFLOAD_V1 path is enabled, remove
the old rso path code for wma layer related files.

Change-Id: Ie4639a6f04877aa41046706118936560200162a6
CRs-Fixed: 2808064
2020-10-29 17:50:49 -07:00
snandini
936b02c152 Release 5.2.0.208J
Release 5.2.0.208J

Change-Id: I1ecf9700cbe21a1e119037aee2c156801d467ff9
CRs-Fixed: 774533
2020-10-29 15:41:35 -07:00
Vevek Venkatesan
c6e9b184d2 qcacld-3.0: enable pld_smmu_unmap support for icnss2 helium
Enable pld_smmu_unmap support for ICNSS2 Adrestea targets.
This is needed to enable SMMU-S1 geometry support.

Change-Id: I8aa612810cc468269fa5c633276f9b3ba8135542
CRs-Fixed: 2808041
2020-10-29 15:41:35 -07:00
Srikanth Marepalli
a246757854 qcacld-3.0: Fix to have single PMK cache entry in FT roam
In FT roam when the CSR lookup fails then the PMK details from
the roam sync indication will be updated to Session/PMK cache.
This will result in having multiple PMK cache entries for the
same MDID.
This fix is to avoid updating the Session/PMK cache in case of
FT roam and maintain a Single PMK cache that was set during the
set_pmksa.

Change-Id: Ie803a9816dece79c6d71e9963e11c6ec424306eb
CRs-Fixed: 2798720
2020-10-29 15:41:30 -07:00
snandini
5b91e8ebff Release 5.2.0.208I
Release 5.2.0.208I

Change-Id: I5133808fbb6334448892eae4a64e4178d06e729a
CRs-Fixed: 774533
2020-10-29 13:35:56 -07:00
Srikanth Marepalli
01ee301fbc qcacld-3.0: Fix to avoid sending invalid PMKID in FT-SuiteB roam
In FT-SuiteB when STA connects to AP1 then PMK1 gets cached. And
then STA disconnects from AP1 and connects to AP2 then PMK2
gets cached. Now if STA roams to AP1 then FW uses PMK2 from mlme
session to create the PMKID. But the corresponding RSO command
from driver sends the PMK1 to FW and the same gets updated in
mlme session of FW. This results in failure of next roams, as the
invalid PMKID gets created using PMK1.
This fix helps in deleting the old/stale PMK cache entries that
are under the same mobility domain as of the newly added entry in
case of all the FT connections except FT-SAE.

Change-Id: Id960e955f8669e19e950c1edc38a9f0a715292b7
CRs-Fixed: 2798713
2020-10-29 13:35:56 -07:00
Srikanth Marepalli
ec5bbe9f74 qcacld-3.0: Fix to avoid sending invalid PMKID in FT-SAE roam
In FT-SAE when STA connects to AP1 then PMK1 gets cached. And
then STA disconnects from AP1 and connects to AP2 then PMK2
gets cached. Now if STA roams to AP1 then FW uses PMK2 from mlme
session to create the PMKID. But the corresponding RSO command
from driver sends the PMK1 to FW and the same gets updated in
mlme session of FW. This results in failure of next roams, as the
invalid PMKID gets created using PMK1.
This fix helps in deleting the old/stale PMK cache entries that
are under the same mobility domain as of the newly added entry in
case of the FT-SAE connection.

Change-Id: If71b22dbf9200b820c8dd8c9fd0183af5bfcb0f6
CRs-Fixed: 2740532
2020-10-29 13:35:51 -07:00
Paul Zhang
13e650860f qcacld-3.0: Avoid race about roam to invalid channel
Currently, when channel list is changed. It updates
the channel list to fw first and then disconnect the
sta. This causes race condition to roam to invalid
channel.

To resolve this, disconnect the sta and then update
channel list.

Change-Id: I12d8098ee6acececc8a574d2b15f5c4774c07936
CRs-Fixed: 2806706
2020-10-29 13:35:47 -07:00
gaurank kathpalia
6ffb32a5d1 qcacld-3.0: Move the logic to get HT and VHT caps in LIM
Move the logic to get HT and VHT caps in LIM from CSR also store
VHT and HT caps in vdev mlme instead of csr session.

Change-Id: I29b8e836a79a4a9eda5088c0eb2e0bf48d616de2
CRs-Fixed: 2807209
2020-10-29 13:35:42 -07:00
Jia Ding
611f7c3b4c qcacld-3.0: Don't set nw_type to 11B if HE capable
When STA is HE capable, don't set nw_type to 11B.

Change-Id: Ia11d2ed416324bd94b1b84a571a34245ef22951b
CRs-Fixed: 2807888
2020-10-29 13:35:38 -07:00
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