Commit Graph

21164 Commits

Author SHA1 Message Date
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
Rakesh Pillai
5804b1c512 qcacld-3.0: Configure reo dst indication in FST 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: Ia3cbed38da16cfa074ee336c673c7e3b6fa9fa69
CRs-Fixed: 2798872
2020-10-23 10:03:10 -07:00
Liangwei Dong
e8a9b19747 qcacld-3.0: Handle thermal stats event from target
Handle firmware thermal stats event and populate the thermal
information to upper layer with vendor command event.

Change-Id: I83286367ab542c08a205a7636f3d03189b0500e5
CRs-Fixed: 2786623
2020-10-23 10:03:04 -07:00
snandini
32c5130b24 Release 5.2.0.207M
Release 5.2.0.207M

Change-Id: Ic44022ef5effedbc33d38a154e7f9be445b8bb49
CRs-Fixed: 774533
2020-10-23 07:56:41 -07:00
Gururaj Pandurangi
02b2ffc7d1 qcacld-3.0: Change return type to QDF_STATUS
Change return type of following APIs from int to QDF_STATUS.
wmi_unified_register_event()
wmi_unified_register_event_handler()
wmi_unified_register_raw_event_handler()
wmi_unified_unregister_event()
wmi_unified_unregister_event_handler()

Change-Id: I534b499edbcfec6eddea0e9ed48f9eb1a2e872c8
CRs-Fixed: 2791275
2020-10-23 07:56:41 -07:00
snandini
6294d90130 Release 5.2.0.207L
Release 5.2.0.207L

Change-Id: Ibd44c4b46c3eb032f66fc4fc67e0c1eb9b95513b
CRs-Fixed: 774533
2020-10-23 03:52:48 -07:00
Bapiraju Alla
dc1fe5a7f4 qcacld-3.0: Reduce NDP keep alive time value to 14ms
NDP connection will be active for keep alive period even after receiving
NDP end request. The default value for this keep alive period if 20ms.
update the default value as 14ms to reduce the wait time for connection
termination.

Change-Id: I3d09ce764846d7e535a7369d32a730907b621735
CRs-Fixed: 2802723
2020-10-23 03:52:47 -07:00
snandini
b18a39f45f Release 5.2.0.207K
Release 5.2.0.207K

Change-Id: I1f75f909ff361c24396fda9e4a9033779e5f093b
CRs-Fixed: 774533
2020-10-22 15:52:35 -07:00
Will Huang
0a86122091 qcacld-3.0: Add back kernel backport versions
Kernel version check of backport flag CFG80211_FILS_SK_OFFLOAD_SUPPORT
was removed from hdd_update_connect_params_fils_info() by accident,
add it back.

Change-Id: Iaa42aea4fd0bd15c27b8f70412b6420ca25cd005
CRs-Fixed: 2800896
2020-10-22 15:52:35 -07:00
snandini
11332fdd78 Release 5.2.0.207J
Release 5.2.0.207J

Change-Id: If3835e6cc9acf74e4f1dcd8322ce58eedb50efea
CRs-Fixed: 774533
2020-10-22 04:03:12 -07:00