提交图

24766 次代码提交

作者 SHA1 备注 提交日期
Madan Koyyalamudi
2200e9aa39 Release 5.2.1.4X
Release 5.2.1.4X

Change-Id: Ia9c97cd2ca271cf0124daa2bcaa415a7f69a3c98
CRs-Fixed: 774533
2021-12-21 00:02:13 -08:00
Vulupala Shashank Reddy
3c92b7d541 qcacld-3.0: Fix signal strength for mgmt rx pkts in pkt capture
In qdf_nbuf_update_radiotap rssi is filled based on flag
DP_MON_RSSI_IN_DBM. When this flag is enabled
qdf_nbuf_update_radiotap is expecting rssi value in dbm.

So fill rssi_comb based on flag DP_MON_RSSI_IN_DBM.

Change-Id: I9a6542cc27a5e19072e89ae78ff05f4392c64157
CRs-Fixed: 3083133
2021-12-21 00:02:12 -08:00
anikkuma
cf35b70d3e qcacld-3.0: Add support for son ald event IEEE80211_ALD_ANQP_FRAME_RECEIVED
Add support for IEEE80211_ALD_ANQP_FRAME_RECEIVED event

Change-Id: Ie50ca4de667a66a14390c4d79fbfbbdeb264eb2f
2021-12-21 00:02:07 -08:00
anikkuma
41b0bacd30 qcacld-3.0: Add support to deliver ald events to son
Add support for the following event
MLME_EVENT_ASSOC_DISASSOC
MLME_EVENT_ACS_COMPLETE
MLME_EVENT_CAC_STATUS
MLME_EVENT_CLIENT_ASSOCIATED

Change-Id: I2d3cadce47d501d6afff6ec101b6342a45c0b01f
2021-12-21 00:02:02 -08:00
Yeshwanth Sriram Guntuka
6dcfb57e10 qcacld-3.0: Remove intrabss fwd dis/en logic on suspend/resume
Remove logic to disable or enable intrabss forwarding
on system system or resume respectively since the system
state based handling is added in tx datapath.

Change-Id: I817c957c3209116a9c44fb11759ce425559de99c
CRs-Fixed: 3095546
2021-12-21 00:01:57 -08:00
Madan Koyyalamudi
bdb361c416 Release 5.2.1.4W
Release 5.2.1.4W

Change-Id: I274f49a0ee2ea5ee0106725ea90c8f7ba788e1c4
CRs-Fixed: 774533
2021-12-20 22:44:36 -08:00
Gaurav Sharma
53571fdb88 qcacld-3.0: Add support for QCA_WLAN_TWT_SET_PARAM command
Add support for QCA_WLAN_TWT_SET_PARAM command to configure
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_AP_AC_VALUE attribute.
This attribute provides access category value for
WMI_PDEV_PARAM_TWT_AC_CONFIG. This is used by firmware to
configure access category for TWT HW queue in TWT Responder
mode(SAP).

Change-Id: I06a14d099c516767fe57ba94acc2a5fb95dc4e17
CRs-Fixed: 3052909
2021-12-20 22:44:36 -08:00
chunquan
d73a9a326c qcacld-3.0: Move ipa code to cmn
Move qcacld-3.0/components/ipa to qca-wifi-host-cmn/ipa.
Move qcacld-3.0/components/target_if/ipa to
qca-wifi-host-cmn/target_if/ipa

Change-Id: I07cda872809397be92ed4ad9b10f951a170586e4
CRs-Fixed: 3043943
2021-12-20 22:44:30 -08:00
chunquan
406c530769 qcacld-3.0: Move ipa code to cmn and fix compile
Fix compile error, and register a common api

Change-Id: If296dfe70529e1ef6e0bb3094b6fa63aa4c0b8d6
CRs-Fixed: 3081328
2021-12-20 22:44:25 -08:00
Madan Koyyalamudi
16f53c0c2d Release 5.2.1.4V
Release 5.2.1.4V

Change-Id: Ia6ad0ba4b532671f4ee44391d48494bf920230aa
CRs-Fixed: 774533
2021-12-20 01:36:50 -08:00
Jayachandran Sreekumaran
fde2fec318 qcacld-3.0: Retain the max_chan_switch_ie support ini config
Max channel switch IE is getting enabled through the ini config.
This is getting lost while copying the phy_config.
As there is no additional target support required for enabling
this IE, retain the config received through ini.

Change-Id: Ic200d8e92346e6c3fba2bca9f1776aee2b106ae4
CRs-Fixed: 3086447
2021-12-20 01:36:50 -08:00
Madan Koyyalamudi
7db040aa3b Release 5.2.1.4U
Release 5.2.1.4U

Change-Id: I3a75144d02e7f1e7ee6a797aac9f3247de8b9dea
CRs-Fixed: 774533
2021-12-19 22:47:37 -08:00
Surabhi Vishnoi
6c6b51b2df qcacld-3.0: Ignore idle_shutdown if any interface is up
Ignore idle_shutdown if any interface is up. This is done
to handle special scenario in which platform driver triggers
idle shutdown when it receives Deep sleep/Hibernate entry
notification from modem subsystem in wearable devices.

Change-Id: I0f2a3bd4cbf0d7c0d3577dfbd15c7b3001d827d1
CRs-Fixed: 3091085
2021-12-19 22:47:37 -08:00
Madan Koyyalamudi
4e3fec2dfd Release 5.2.1.4T
Release 5.2.1.4T

Change-Id: I776476fa0f5d3eafd1de84b697acae0c4989ba61
CRs-Fixed: 774533
2021-12-19 20:47:00 -08:00
Bing Sun
aebc2eea6f qcacld-3.0: Move RNR flag from MLO to private mlme component
Besides MLO, legacy mode 6G SAP + 5G(2G) SAP are going to support RNR
IE. Move RNR related flag from MLO to private mlme component.
Remove mlo_rnr_updated in struct mlo_link_ie_info.
Add notify_co_located_ap_upt_rnr and related API in mlme_legacy_priv.

Change-Id: Ife86d1ed2fe8b633f6167750053b2aff37911299
CRs-Fixed: 3092483
2021-12-19 20:47:00 -08:00
Madan Koyyalamudi
680ee5f387 Release 5.2.1.4S
Release 5.2.1.4S

Change-Id: Ib19a0dff27cfc09101f116f658c4dedcae24a600
CRs-Fixed: 774533
2021-12-17 16:37:35 -08:00
Dundi Raviteja
91f2b92480 qcacld-3.0: Reschedule TWT work
TWT work handler is used to send TWT enable/disable commands
to firmware, it does not try to reschedule if it fails to
start psoc sync operation because of which host and FW
may not be in sync.

To address this issue, reschedule TWT work if psoc sync
operation start returns -EAGAIN.

Change-Id: Ib4bbc0fe668ce086ac6997e31eb00a21ebf0d2a0
CRs-Fixed: 3094810
2021-12-17 16:37:35 -08:00
Madan Koyyalamudi
68097f27bb Release 5.2.1.4R
Release 5.2.1.4R

Change-Id: Ia816557c74896cf012ab3a28fb81bbe7ebadb8ac
CRs-Fixed: 774533
2021-12-17 12:17:01 -08:00
Utkarsh Bhatnagar
da01ec4d8c qcacld-3.0: Handle SAP + MLO_STA concurrency after MLO connect
Handle SAP + MLO_STA concurrency after MLO connect, by disabling
one of the SBS link if 2.4Ghz SAP is present.

Also if roam happen to non SBS MLO remove the disable restriction
of MLO.

Change-Id: I7d9503a01bb23cd06808b46c090f0dee39c96af6
CRs-Fixed: 3096310
2021-12-17 12:17:00 -08:00
Madan Koyyalamudi
794a514d13 Release 5.2.1.4Q
Release 5.2.1.4Q

Change-Id: I5127eb47753ec2c602184190bf5d68d2cda920b8
CRs-Fixed: 774533
2021-12-17 11:06:30 -08:00
Jianmin Zhu
fb4cf93504 qcacld-3.0: Fix peer rx tid queue not set up after roaming
After roaming, old peer is deleted and new peer is created,
rx tid queue of new peer need set up again.
In dp_rx_tid_setup_wifi3, if CM is in ROAMING state,
dp_peer_rx_reorder_queue_setup isn't called, REO queue descriptor
isn't configured correctly by host for FW to do reorder/pn check.

To fix it, in dp_rx_tid_setup_wifi3, if CM is in ROAMING state
and not ROAM_START substate, but ROAM SYNC state after roam sync
event received, dp_peer_rx_reorder_queue_setup still can be called,
rx tid queue of new peer will be set up.

Change-Id: I34fbb60ad509a0bc70e112c7ec53a862c8f9ce2d
CRs-Fixed: 3090061
2021-12-17 11:06:30 -08:00
Madan Koyyalamudi
668ec39b51 Release 5.2.1.4P
Release 5.2.1.4P

Change-Id: I0f53495adb994a1483311008f92edc3200f36474
CRs-Fixed: 774533
2021-12-17 07:08:48 -08:00
Will Huang
427122e399 qcacld-3.0: Skip num_vdev-1 if disable NAN feature
Currently if disable NAN support in host and fw, max vdev will still
decrease 1, which make it unable to support 4 SAP currency case.

Fix it by checking WMI_SERVICE_NAN capability, if don't have to support
NAN feature, skip reserve vdev for NAN in host.

Change-Id: I771a8678d285cbbfc2f92598ac63a27a989ac5a0
CRs-Fixed: 3091454
2021-12-17 07:08:47 -08:00
Madan Koyyalamudi
2dcb33080d Release 5.2.1.4O
Release 5.2.1.4O

Change-Id: I8ef2a5cbf39e17ba477943bba709a5d093e7c79c
CRs-Fixed: 774533
2021-12-17 03:09:59 -08:00
Will Huang
d3e968a754 qcacld-3.0: Add pcl table for 4 SAP concurrency on MDM
To support 4 SAP concurrency on sdxlemur, they must work with mode
SAP+SAP(2g/SCC) & SAP+SAP(5g/SCC) or SAP+SAP(2g/SCC) & SAP+SAP(6g/SCC).

Add separate fourth_connection_pcl_dbs_table for mobile route devices,
adding 4 SAP cases, and modify policy manager to get pcl index when 4th
SAP being started.

Change-Id: I919fa6fa0bbacbe1be0d22ed2ffc9e322b6343e9
CRs-Fixed: 3092568
2021-12-17 03:09:59 -08:00
Madan Koyyalamudi
15cf4246e1 Release 5.2.1.4N
Release 5.2.1.4N

Change-Id: I8219ab95933313fb46593c71313e304d8da731e5
CRs-Fixed: 774533
2021-12-16 21:19:36 -08:00
Srinivas Dasari
804f4647a7 qcacld-3.0: Add MLO mgr include directory in INC list
New files are added in qcacld-3.0 to have cld
specific (e.g. roaming) MLO manager changes. But the inc
directory path is not added to INC list in Kbuild and
it's causing compilation issues while compiling the
source file wlan_mlo_mgr_roam.c

Change-Id: I2801a3a5fd04dac7e35fca3a43017bb1d6fd2b10
CRs-Fixed: 3095730
2021-12-16 21:19:36 -08:00
Madan Koyyalamudi
00d1dbade5 Release 5.2.1.4M
Release 5.2.1.4M

Change-Id: I78637fb116792a51d0505b77d8997a7c54c8b25f
CRs-Fixed: 774533
2021-12-16 17:23:06 -08:00
Liangwei Dong
fa125d8437 qcacld-3.0: Fix vdev ref count leak in cm_fw_roam_sync_req
Release vdev ref count if roam sync event is not handled
in connecting or disconnecting in cm_fw_roam_sync_req.

Change-Id: I2575116dc4ed6a4e3ae31dac2c80191d420eaf3e
CRs-Fixed: 3092988
2021-12-16 17:23:06 -08:00
Madan Koyyalamudi
d1a7fff749 Release 5.2.1.4L
Release 5.2.1.4L

Change-Id: I363bef4b0e01fd0ea5cabc1199f6e7da7ccd982c
CRs-Fixed: 774533
2021-12-16 15:07:34 -08:00
Surabhi Vishnoi
0320907b1e qcacld-3.0: Allow suspend in deep sleep or Hibernate
Deep Sleep or Hibernate are system level mode power
modes in which wlan firmware is shutdown gracefully
and linux kernel is suspended. Currently, suspend
is not allowed if firmware is down, with this change
suspend is allowed if firmware is down due to Deep
Sleep or Hibernate low power state.

A new pld api is introduced to know the low power
state from platform driver, this api is enabled based
on CONFIG_ENABLE_LOW_POWER_MODE flag. Currently, this
feature is enabled only for wearable targets.

Change-Id: Iddaa4da8ee4880a4223420f59cbe9c365c30344a
CRs-Fixed: 3090481
2021-12-16 15:07:33 -08:00
Madan Koyyalamudi
e02a370ef5 Release 5.2.1.4K
Release 5.2.1.4K

Change-Id: Ie39cd53ab8028593262ac0b14347e6123e090f46
CRs-Fixed: 774533
2021-12-16 11:07:19 -08:00
Rakesh Pillai
4355e8bf0b qcacld-3.0: Enable Monitor mode for WCN7850
Enable monitor mode for WCN7850.
Enable the interrupt based processing in monitor
mode for WCN7850.

Change-Id: I6f8c6951794d0754977fa0d45086a95df25a13e6
CRs-Fixed: 3095456
2021-12-16 11:07:19 -08:00
Madan Koyyalamudi
0494d82191 Release 5.2.1.4J
Release 5.2.1.4J

Change-Id: I5d3274cea686fb12d53b60b7ae4737ec21723b48
CRs-Fixed: 774533
2021-12-16 07:17:42 -08:00
Utkarsh Bhatnagar
c7e3610309 qcacld-3.0: Handle SAP + MLO STA concurrency
Handle SAP and MLO STA concurrency such as:

  1) If MLO STA is present with both links
     in 5/6 Ghz then SAP comes up on 2.4 Ghz,
     then Disable one of the links.

  2) If there is channel switch for sap from
     2.4 ghz to 5 ghz, then enable both the
     links as they were disabled by previous
     operations when sap was on 2.4 ghz.

  3) If MLO STA is present with both links in
     5/6 Ghz and SAP, which was present on
     2.4 ghz, stops then renable both the as
     one of the links were disabled because
     of sap on 2.4 ghz.
     Also, in case where MLO STA roamed from
     5 + 6 link to 2.4 + 5/6 link force scc
     will happen and the disabled link has
     to be enabled.
     Both links should only be enabled if mlo
     sta has more than one links.

Change-Id: I0fd0093b20336ae32325981589c399b44a44b64e
CRs-Fixed: 3092202
2021-12-16 07:17:42 -08:00
Madan Koyyalamudi
177d353f4a Release 5.2.1.4I
Release 5.2.1.4I

Change-Id: Ife5144108dc3f0b8e59e879303b2825f19602635
CRs-Fixed: 774533
2021-12-16 05:35:16 -08:00
Huashan Qu
9560cddbc1 qcacld-3.0: Add extended capabilities IE length check
When send assoc req frame, if the length for extended capabilities
IE is zero, but present field is non-zero, it will cause assoc req
frame malformed issue.

Fix is to set present field value to zero when the length for
extended capabilities IE is zero.

Change-Id: Ie8826e6cfb1fc3a44ee52115ad4482e040f2c38a
CRs-Fixed: 3085943
2021-12-16 05:35:16 -08:00
Gaurav Sharma
2ebb5a37c1 qcacld-3.0: Add support for new attribute in TWT setup command
Add support for QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT
attribute as part of TWT setup command. This attribute is used
to configure the announce timeout value (in us) in the firmware.
This timeout value is only applicable for the announced TWT. If
the timeout value is non-zero, the firmware waits up to the
timeout value to use Data frame as an announcement frame. If the
timeout value is 0, the firmware sends an explicit QoS NULL frame
as the announcement frame on SP start.

Change-Id: If7a9c761ef5a657cc1ecba81851291a4711e6c1f
CRs-Fixed: 3086816
2021-12-16 05:35:08 -08:00
Madan Koyyalamudi
38c07f8398 Release 5.2.1.4H
Release 5.2.1.4H

Change-Id: Icb45d956a2e7dd3519c6f064c611798a6ca0acf6
CRs-Fixed: 774533
2021-12-15 13:40:24 -08:00
Utkarsh Bhatnagar
07c8b305e9 qcacld-3.0: Optimize SBS prints for continuous freq range prints
Optimize excessive SBS prints in policy_mgr_are_sbs_chan and
policy_mgr_is_cur_freq_range_sbs.

Change-Id: I379f3b1b050e08f6d76a7e657067ae66fe45c93c
CRs-Fixed: 3094259
2021-12-15 13:40:24 -08:00
Gururaj Pandurangi
6f248a774b qcacld-3.0: Update caller APIs of get power type for 6G API
Update the caller functions of wlan_reg_get_6g_power_type_for_ctry
to include AP's power type as a factor along with existing ctry
codes to determine STA's power type for 6G.

Change-Id: I8e1c54a5e760b173532fc001790fb76c70120c54
CRs-Fixed: 3087093
2021-12-15 13:40:19 -08:00
Madan Koyyalamudi
ff03bfbafc Release 5.2.1.4G
Release 5.2.1.4G

Change-Id: Id20466d707c793fba2504180e1b56e6b809c7b35
CRs-Fixed: 774533
2021-12-15 12:27:27 -08:00
Balaji Pothunoori
d101ac52b4 qcacld-3.0: update timestamp for TX failed pkt to upper layer
Currently, wlan host driver only report timestamp for TX successful
packets to upper layer.
This change add support to report timestamp for TX failed pkt to
upper layer.

Change-Id: Ib9b021675ebd388107f8bf1a61703f2b6cebb882
CRs-Fixed: 3077222
2021-12-15 12:27:27 -08:00
Madan Koyyalamudi
fd0bd78bfc Release 5.2.1.4F
Release 5.2.1.4F

Change-Id: I15b5002558f0bf6475c40af7f8a4cd7fb5d81d77
CRs-Fixed: 774533
2021-12-15 11:07:35 -08:00
Utkarsh Bhatnagar
2c20f1dffa qcacld-3.0: Handle MLO STA + Legacy STA concurrencies
Handle MLO STA + Legacy STA concurrencies such that:

1) Don't disable any link if STA form SCC with any of the
   link.

2) Disable the link on the same MAC which can cause MCC.

   a) On non-SBS devices disable the ML link on the same
      band as STA, As the same band means the same MAC
      in non-SBS mode.
   b) On SBS devices, disable the ML link on the same MAC:
     - If STA freq is 2.4Ghz disable the 2.4Ghz link.
       If a 2.4Ghz link is not present, disable any of the
       5/6Ghz links (FW to decide the link depending on
       SBS mode, low share or high share).
     - If STA freq is 5Ghz and can lead to SBS with on of
       the link, disable the non-SBS link (link which will
       remain on the same MAC).
     - If STA freq is 5Ghz and cannot lead to SBS with
       one of the links, disable the link on the same MAC/
       band.

e.g:

 STA freq:    STA ML combo: NON SBS Action: SBS Action:
 ------------------------------------------------------------------
 2Ghz         2Ghz+5/6Ghz   Disable 2Ghz    Disable 2Ghz
 5Ghz         2Ghz+5/6Ghz   Disable 5Ghz    Disable 2.4Ghz
                                            if both 5Ghz lead
                                            to SBS, else
                                            disable 5Ghz

 5Ghz(lower)  5Ghz+6Ghz     Disable 5Ghz    Disable 5Ghz
 5Ghz(higher) 5Ghz+6Ghz     Disable 5Ghz    Disable 6Ghz
 2Ghz         5Ghz+6Ghz     Disable Any     Disable Any

Change-Id: Ie8ca51b5e108c1cfce1a02fc97f4849c617216b7
CRs-Fixed: 3090333
2021-12-15 11:07:34 -08:00
Madan Koyyalamudi
912e44f4ff Release 5.2.1.4E
Release 5.2.1.4E

Change-Id: I32e5d21aadad0f6127e04a5e5f27dab23a2eb0f5
CRs-Fixed: 774533
2021-12-15 07:39:49 -08:00
Utkarsh Bhatnagar
3da6181e11 qcacld-3.0: Fix filling of the SBS range
Fix filling of the SBS range, in current freq range.
And Add is current mode SBS in required APIs.

Change-Id: Ief334aa236ad18512ac5d8cf80b3a2d13d77529a
CRs-Fixed: 3093159
2021-12-15 07:39:49 -08:00
Madan Koyyalamudi
117ba7016e Release 5.2.1.4D
Release 5.2.1.4D

Change-Id: I5363c4aaf0fae8f89f36fdd0e020a841c2392561
CRs-Fixed: 774533
2021-12-15 06:27:37 -08:00
Vulupala Shashank Reddy
17b4a5b9d6 qcacld-3.0: Add ref count for global vdev used in packet capture
Currently the global vdev gp_pkt_capture_vdev used in packet capture
does not have ref count.

Add ref count for global vdev used in packet capture component.

Change-Id: I1cc619b31c81a77af0842ce219cfcc96060626a0
CRs-Fixed: 3049225
2021-12-15 06:27:02 -08:00
Madan Koyyalamudi
996fea0a9d Release 5.2.1.4C
Release 5.2.1.4C

Change-Id: I0ca223e29ae196fd8ea942cb8c949d84df7afd88
CRs-Fixed: 774533
2021-12-14 21:22:33 -08:00