Commit Graph

24496 Commitit

Tekijä SHA1 Viesti Päivämäärä
Rongjing Liao
7d30fea1c8 qcacld-3.0: support 2.4G 1x1 + 5G 1x1 DBS config for FW
Currently host doesn't support below configuration for FW:
gEnable2x2=0 (disable 2x2 mode)
dual_mac_feature=0(ENABLE_DBS_CXN_AND_SCAN)
tx_chain_mask_2g=0x1
rx_chain_mask_2g=0x1
tx_chain_mask_5g=4
rx_chain_mask_5g=4
disable_rx_mrc_2g=1
disable_tx_mrc_2g=1
disable_tx_mrc_5g=1
disable_rx_mrc_5g=1
gSetTxChainmask1x1=0
gSetRxChainmask1x1=0

Now there is a new requirement for QCA6595:
1. RF chain0: WLAN 2.4G with 1x1 antenna
2. EF chain1: WLAN 5G with 1x1 antenna
3. RF chain1: BT 2.4G with 1x1 antenna

To support this new requirement, need to exclude the case in
condition check when gEnable2x2=0 and dual_mac_feature=0.

Change-Id: Ic08a4b7f5eb4beece867d7d7b4ae1796e67eae85
CRs-Fixed: 3074098
2021-11-24 15:39:28 -08:00
Madan Koyyalamudi
fa552ccc09 Release 5.2.1.2H
Release 5.2.1.2H

Change-Id: I4565a7d074b32f85f1b422face6c7ae19516cdc9
CRs-Fixed: 774533
2021-11-24 06:40:53 -08:00
Aleti Nageshwar Reddy
268acccd8f qcacld-3.0: Update thermal mitigation policy table
Update thermal mitigation policy table to fix the issue related to
thermal subcmd invoked from userspace

Change-Id: I5beb82d68253651736657d3131f4571e877d6042
CRs-Fixed: 3070375
2021-11-24 06:40:53 -08:00
Madan Koyyalamudi
789d49e5b4 Release 5.2.1.2G
Release 5.2.1.2G

Change-Id: I6f0d7ee3e1b0ffb0625a20e30ca0eda5df4e6e18
CRs-Fixed: 774533
2021-11-24 02:43:52 -08:00
Bapiraju Alla
5cf970b5c7 qcacld-3.0: Derive NDP peer multicast address from peer MAC address
Currently, driver is depending on NS frame to be received to configure
peer multicast address for an NDP session. If there is a delay in NS
frame reception, peer multicast address list will be configured to the
FW without actual peer multicast address. Because of this, FW will drop
the NS frame from NDP peer.

To address this, derive peer multicast address from peer MAC address
and include it in multicast address list that is configured to the FW.

Change-Id: I92a575352d592b4001dc4f061e31eb7f592f8445
CRs-Fixed: 3066990
2021-11-24 02:43:52 -08:00
Madan Koyyalamudi
dbf9361d32 Release 5.2.1.2F
Release 5.2.1.2F

Change-Id: I1fc79dbb95772e296020e0115a6bebea1d15583d
CRs-Fixed: 774533
2021-11-24 01:14:18 -08:00
Nakul Kachhwaha
aabf3d74ff qcacld-3.0: Fix Switch Case fallthrough compiler error
Adding fallthrough statement in switch case to
suppress compile time errors.

Change-Id: I948e87090dd68d2f5cf342e2115d672d2d772b6f
CRs-Fixed: 3079848
2021-11-24 01:14:18 -08:00
Rakesh Pillai
c613af5c5e qcacld-3.0: Disable timer irq for CE in WCN7850
Kbuild change to
- Disable timer irq for CE in WCN7850
- Disable status ring timer WAR in WCN7850

Change-Id: I59a247bf14450c5e1ec194c505f3a00eb5f3619f
CRs-Fixed: 3075871
2021-11-24 01:14:14 -08:00
Madan Koyyalamudi
93e0033111 Release 5.2.1.2E
Release 5.2.1.2E

Change-Id: I2c5683b64a7f98bb24bc6b847eaaea31fe68dc5c
CRs-Fixed: 774533
2021-11-23 18:17:44 -08:00
Surabhi Vishnoi
2634d52576 qcacld-3.0: Add support for beacon filters in packet capture mode
Add support to send beacon received from firmware on STA interface
to mon interface based on management rx filters set by user in
vendor command.

Change-Id: I186ab0d697da831894854d7680265e82dd3adcef
CRs-Fixed: 3073478
2021-11-23 18:17:43 -08:00
Gururaj Pandurangi
80969617dd qcacld-3.0: Add psoc ptr arg in get 6G power type for ctry API
Pass psoc ptr as argument in addition to existing args in
wlan_reg_get_6g_power_type_for_ctry API to support new APIs
like wlan_cm_get_check_6ghz_security that are invoked within.

Change-Id: I9615c5d2cb509a0c9f8e10073c0928ab38f179f8
CRs-Fixed: 3080203
2021-11-23 18:17:39 -08:00
Arun Kumar Khandavalli
f61a0e0cea qcacld-3.0: Cache set HW mode response status
Currently, Host is not caching the response status for the set HW mode
request. Without this status, it is difficult to debug HW mode mismatch
between host and FW when the logs are not available during the set HW
mode command.

To address this, cache the set HW mode response status.

Change-Id: I61b935d54648bc80901bfe7127227ffaa8d7cd7b
CRs-Fixed: 3076445
2021-11-23 18:17:34 -08:00
Madan Koyyalamudi
f4f5ab2df5 Release 5.2.1.2D
Release 5.2.1.2D

Change-Id: Ib6c6599a958fac84f25fea6c2d1ae3e7f90bd44f
CRs-Fixed: 774533
2021-11-23 16:56:47 -08:00
Vulupala Shashank Reddy
aa2bded170 qcacld-3.0: Change enum pkt_capture_mode to bit map
In packet capture component change enum pkt_capture_mode
from value to bit map.

Change-Id: Ic777b5091e85ed8c906d7e855b5cadb0fa3319d5
CRs-Fixed: 3048502
2021-11-23 16:56:47 -08:00
bings
ff725f42b2 qcacld-3.0: Add API to get phy stats
Implement API to get phy stats for EasyMesh.

Change-Id: I3ac8168c6217f101ee152c396f8576628f7508b8
CRs-Fixed: 3044722
2021-11-23 16:56:41 -08:00
Madan Koyyalamudi
c4c4cde38b Release 5.2.1.2C
Release 5.2.1.2C

Change-Id: Ie92db42759f5d4dbf5f483f82c8e47f135d94836
CRs-Fixed: 774533
2021-11-23 15:25:04 -08:00
sandhu
4938a636b7 qcacld-3.0: Add path of cleaned-up HW header files
Add path of final version (E3.0 R38) of cleaned up HW header files
with comments removed and appropriate copyright added.

Change-Id: I5b65141d68672da6368f71132ad583ed1fc3db53
CRs-Fixed: 3076670
2021-11-23 15:25:04 -08:00
Madan Koyyalamudi
176c7b04b6 Release 5.2.1.2B
Release 5.2.1.2B

Change-Id: Ibcbde1856fa5370a4b471f6729b268c76e4e3d5a
CRs-Fixed: 774533
2021-11-23 03:54:59 -08:00
Jinwei Chen
21e1618550 qcacld-3.0: CLD change for cdp_pdev_attach
CLD change for cdp_pdev_attach

Change-Id: Ib4c536bc5d4a94ed0456e976cfc32b0ccdc9aa65
CRs-Fixed: 3077258
2021-11-23 03:54:59 -08:00
Madan Koyyalamudi
6e562eab62 Release 5.2.1.2A
Release 5.2.1.2A

Change-Id: I6a2d0c6405f2471b363eb803a0a42dfa624146ab
CRs-Fixed: 774533
2021-11-23 01:31:14 -08:00
Lincoln Tran
c0290cada6 qcacld-3.0: Don't notify userspace about link peer
In security association scenario, if userspace gets notified about the
link peer first, it will cancel the connection because it doesn't
contain RSN IEs. Skip notifying userspace about this STA because it is
not needed.

Change-Id: I726583ade6d463bf7eed79d83afc0bcd1ae8192f
CRs-fixed: 3075695
2021-11-23 01:31:13 -08:00
Jinwei Chen
1e0e8f5424 qcacld-3.0: Use right macro to enable eapol dest_mac check
For MLO connection, host will use MLD mac address as eapol
dest_mac address check condition, but currently the macro
used is not the right one, so the check always return failure
and RX eapol frame is dropped in SAP HDD.

Use right macro WLAN_FEATURE_11BE_MLO to enable this check

Change-Id: I5e9e265583d9c39899c6604f1a16bde2f08484a9
CRs-Fixed: 3074632
2021-11-23 01:31:08 -08:00
Jianmin Zhu
62562f2527 qcacld-3.0: Avoid spin_lock_bh in ipa wlan rx callback
Spin_lock_bh is introduced in ipa wlan rx path by security fix
I0c0bc6e60efa193126ba1e3eca36c5e02f7f76a3,
wlan_ipa_w2i_cb->cdp_peer_state_get->dp_get_peer_state->
dp_peer_find_hash_find->qdf_spin_unlock_bh(&soc->peer_hash_lock),
which make rx pkt aggregation failed, for each rx pkt, once
put into backlog queue, net_rx soft irq is scheduled to handle it.
which make rx throughput failed to meet KPI.

TO avoid spin_lock_bh don't call cdp_peer_state_get for each rx pkt,
only call 1 time, and save peer auth state in IPA context, for following
pkts, just get peer auth state from IPA context without spin_lock_bh.

Change-Id: I36196bab4626194bda254219c4c44dc4f029cff0
CRs-Fixed: 3076978
2021-11-23 01:31:02 -08:00
Madan Koyyalamudi
4865b44352 Release 5.2.1.2
Release 5.2.1.2

Change-Id: Ia46d52d1b3fe392ad21a7cd9150d850cc25887b6
CRs-Fixed: 774533
2021-11-22 15:09:37 -08:00
Mohit Khanna
f81d89ccca qcacld-3.0: Use CONFIG_SLUB_DEBUG_ON to enable debug flag
Use CONFIG_SLUB_DEBUG_On to enable certain flags. This ensures that
these flags are not enabled for PERF builds.

Change-Id: I8c8e032ca1a0344f12fbad4dca543e333d601916
CRs-Fixed: 3045963
2021-11-22 15:09:37 -08:00
Mohit Khanna
49760b669f qcacld-3.0: Set PM_QOS for non-offloaded TX at V_HIGH
Set system PM_QOS with low latency only for "very-high" throughput levels
in TX case. Currently, its being done for "high" throughput levels.
In less than "very-high" throughput cases, this allows CPU cores to
enter low power modes. This is done only for non-offloaded packets e.g.
UDP.

Change-Id: Idf1dd2968b7dd8b4ef9f4061ee862de03d962c6e
CRs-Fixed: 3045963
2021-11-22 15:08:27 -08:00
Mohit Khanna
1b920619fb qcacld-3.0: Refactor TX/RX tuning in bus BW worker
Refactor tuning done in hdd_pld_request_bus_bandwidth for TX and RX.

Change-Id: I1e994394d286c3152b5a01f3e0747e06d56e811b
CRs-Fixed: 3045963
2021-11-22 15:08:21 -08:00
Madan Koyyalamudi
2f5862c059 Release 5.2.1.1Z
Release 5.2.1.1Z

Change-Id: I14028e4a79e5424f727539ef782e2a11489c8b27
CRs-Fixed: 774533
2021-11-22 13:36:14 -08:00
Arun Kumar Khandavalli
4c00a29780 qcacld-3.0: Use skb_alloc instead of qdf_nbuf_alloc for control port
Whenever a eapol packet is received over the control port driver
allocated using the qdf_nbuf_alloc and passes it over to the
hard_start_xmit which again tries to add the skb to the qdf nbuf
tracking list these operations result in the false positive warning
message of double allocation from the nbuf debug framework.

So, use the skb_alloc api instead of qdf_nbuf_alloc, so the skb
can be tracked in the hard_start_xmit and  avoid the warning from
the debug framework

Change-Id: I7cdb54fa6ef49f313cfb5ff48221aaf742e18a1f
CRs-Fixed: 3079746
2021-11-22 13:36:14 -08:00
Jingxiang Ge
4ffd095d91 qcacld-3.0: Classify qmi/wmi for WMI_REQUEST_STATS_CMDID
Current only TYPE_STATION_STATS is designed to be send
by qmi. and other request type should send by wmi.
if sending by qmi, qmi_get/qmi_put should be call to protect
qmi send and qmi response.

Change to check type and only allow TYPE_STATION_STATS to be
send by qmi.

Change-Id: I57b0bdb6717e259606993ea24ef024745a456664
CRs-Fixed: 3073744
2021-11-22 13:36:09 -08:00
Bapiraju Alla
440f1856e5 qcacld-3.0: Increase FW version sub ID to 7-bits
Currently FW version sub ID is defined as 4-bits. But with new
requirement, the FW version sub ID value can vary up to 99.
To accommodate all possible values, increase number of bits to 7
for FW version sub ID.

Change-Id: I033697ba65d52b976658d795092fbff3b40faf9c
CRs-Fixed: 3067649
2021-11-22 13:36:04 -08:00
Madan Koyyalamudi
17eff766c8 Release 5.2.1.1Y
Release 5.2.1.1Y

Change-Id: I271d874df151ce4d690a9591d649e36d76010bb3
CRs-Fixed: 774533
2021-11-21 23:59:46 -08:00
Yu Tian
94a1e84eb7 qcacld-3.0: Add an ini control to disable Dynamic GRO feature
Dynamic GRO feature is enabled by default and aimed for specific
customers. Add an ini control to allow other customers to config
this feature enable/disable.

Change-Id: I83edd69d0e30d5944f0724ed8350328abff619bb
CRs-Fixed: 3070912
2021-11-21 23:59:46 -08:00
Madan Koyyalamudi
7e18fee11c Release 5.2.1.1X
Release 5.2.1.1X

Change-Id: I5ebdcb638581873e623049b56cd0e5eed05baee0
CRs-Fixed: 774533
2021-11-21 22:23:01 -08:00
Zhaoyang Liu
f9a17cae5a qcacld-3.0: enable pci low power int reg configuration
Enable PCIe low power interrupt mask register config for QCA6174.

Change-Id: Id05e4eb0c0c6b824ddfb05ea4fe8efd191015d88
CRs-Fixed: 3075919
2021-11-21 22:23:01 -08:00
Madan Koyyalamudi
f0942e0e1d Release 5.2.1.1W
Release 5.2.1.1W

Change-Id: Ic4c47b827cdece6bc3ccde67ad3d5ebcd0e820d0
CRs-Fixed: 774533
2021-11-20 03:09:39 -08:00
Rachit Kankane
9acfc6b4d4 qcacld-3.0: Add support for pdev ops
Send Radio HWCAP, ESP INFO, OP channels and OP class info
to EasyMesh stack.

Change-Id: I8995c6a087d12cd4cf7933f75aef5090c59ca56a
CRs-Fixed: 3078072
2021-11-20 03:09:38 -08:00
Madan Koyyalamudi
eb353fd028 Release 5.2.1.1V
Release 5.2.1.1V

Change-Id: I20fc388fe736c030cdbb7ec65949755285410d11
CRs-Fixed: 774533
2021-11-19 23:43:41 -08:00
abhinav kumar
70d9da5b2c qcacld-3.0: Send correct PCL to fw for STA+STA roaming
STA + STA DBS roaming rules are:
1. Roaming will be enabled on both interfaces.
2. Roaming bands are restricted to maintain only DBS.

While STA2 connection, the host sets VDEV level PCL for
vdev1 after association completion only and initializes
roam band mask after the 4-way handshake. So, when sending
PCL to FW value of roam band mask is 0, the host cannot
filter different band channels from STA2's PCL list.
This allows STA2 to roam to the different bands and violate
rule 2.

Fix is to make sure roaming bands are restricted to maintain
only DBS.

Change-Id: I1c9d2edb34f59e00c2fd14ea7894c324f9c64047
CRs-Fixed: 3075106
2021-11-19 23:43:41 -08:00
Mohit Khanna
f334490e94 qcacld-3.0: Move TDLS packet accounting to TX comp
Currently for TX packets, TDLS packet accounting is taking place inline
with the transmit path. Move it to TX completion path as on high
throughputs, TX completion is relatively light-weight as compared to
transmit path.

CRs-Fixed: 3078062
Change-Id: Ib9a028e18c4945f3c92c1931e46ab6582aa51a9e
2021-11-19 23:43:36 -08:00
abhinav kumar
30a27c86e5 qcacld-3.0: Store roam band mask value in disconnected state
Currently, if the host receives the SETROAMBAND command in a
disconnected state, then the host returns an error to userspace.
As per the new requirement, the Host should store the value of
roam band mask irrespective of the connection state.

Change-Id: If1d59a35b04da5e4b66830803af619833e029af2
CRs-Fixed: 3076810
2021-11-19 23:43:31 -08:00
Madan Koyyalamudi
f467cb818b Release 5.2.1.1U
Release 5.2.1.1U

Change-Id: I9ecc2907a68e997411966801d35ee722ea512b36
CRs-Fixed: 774533
2021-11-19 05:49:29 -08:00
Yeshwanth Sriram Guntuka
f8264f70dc qcacld-3.0: Enable multiple TX ring pairs for qca6750
Enable config flag to use multiple tx and tx completion
ring pairs for qca6750 when IPA is disabled.

Change-Id: Ide99b2f4d912b3bca551438cba522c2f9366b5d2
CRs-Fixed: 3075385
2021-11-19 05:49:29 -08:00
Madan Koyyalamudi
53c1f69ff9 Release 5.2.1.1T
Release 5.2.1.1T

Change-Id: Id66b8f504c0b5d070d80ae2d670e6dd15d29350c
CRs-Fixed: 774533
2021-11-19 04:35:07 -08:00
Amruta Kulkarni
8c81446ade qcacld-3.0: Log BSSID for roam result
In connectivity logging for ROAM RESULT log
bssid if ap type is Roamed AP in case of roaming
success and Current connected AP if roaming fails.
Also the vdev id field is not filled for mgmt frame
Tx and is always printed as 0.
Fill the vdev id for mgmt frame TX.

Change-Id: I7d6fe7ba47b508fadaf9b9872e644d8b737bf001
CRs-Fixed: 3068229
2021-11-19 04:35:07 -08:00
Madan Koyyalamudi
8403fa5045 Release 5.2.1.1S
Release 5.2.1.1S

Change-Id: I9eab0e8c28b298e40e9dd1851f5b1619f0550efb
CRs-Fixed: 774533
2021-11-19 02:03:35 -08:00
Jianmin Zhu
23cb8430a3 qcacld-3.0: Fix roam failed for SAP CSA concurrency
When vdev0 STA roamed to another channel, vdev1 SAP CSA for SCC
when ROAM_SYNCH_IN_PROG, will disable roam, but no RSO stop to F/W,
F/W RSO isn't disabled, but host vdev0 will enter RSO_STOPPED, host
F/W RSO state out of sync.
If vdev0 STA next roam sync come soon,  it won't be handled for host
RSO_STOPPED, neither roam sync complete nor disconnect will happen,
F/W will asert after wait roam sync complete timeout.

To fix it, Only do SAP CSA check after roam complete and RSO
reenabled, can avoid host F/W RSO state out of sync issue.

Change-Id: I77ccf30cac38f62c6ef8330c6da00364249b242e
CRs-Fixed: 3076935
2021-11-19 02:03:35 -08:00
Madan Koyyalamudi
95e17ac4b5 Release 5.2.1.1R
Release 5.2.1.1R

Change-Id: Ib17500a6676ff1c29ab8b29c6b970e575c7421d4
CRs-Fixed: 774533
2021-11-18 23:22:13 -08:00
Pragaspathi Thilagaraj
a3b3e83cca qcacld-3.0: Fix EAP length and roam candidate info
EAP length is of 2 bytes, but currently the attribute type
used is NLA_U8. This causes the EAP packets with length
greater than 255 to print invalid length.
For roam current AP, the roamed AP info is printed.

Use NLA_U16 attribute for the EAP length and fill
correct event type for the current connected AP.

Change-Id: I9b86055a4817163db17e469ca45b4a0044d5b2d6
CRs-Fixed: 3075012
2021-11-18 23:22:13 -08:00
Madan Koyyalamudi
ea0e4245e9 Release 5.2.1.1Q
Release 5.2.1.1Q

Change-Id: Id4e9ca0beacfb72f674174c956dc5e6d852c00a7
CRs-Fixed: 774533
2021-11-18 20:40:58 -08:00