Commit Graph

25089 Commits

Author SHA1 Message Date
Sandeep Puligilla
395cbbc21d qcacld-3.0: Enable 11BE MLO feature
Enable CONFIG_WLAN_FEATURE_11BE_MLO in the driver
using Kbuild configuration.

Change-Id: Ib959e80f0d76797ffe3b7549b02fad2efff99d66
CRs-Fixed: 3099309
2021-12-23 06:48:39 -08:00
Madan Koyyalamudi
180de8c032 Release 5.2.1.5H
Release 5.2.1.5H

Change-Id: Iba9b6805911d9ea12287dc7460c791cfbbf30a2c
CRs-Fixed: 774533
2021-12-23 04:49:59 -08:00
sheenam monga
bdaf8ce137 qcacld-3.0: Validate ini for standalone SAP CSA
Currently if sta_sap_scc_on_dfs_chnl is disabled,
standalone sap can come up on DFS channel in non-dbs
hw but standalone sap channel switch to dfs is rejected
by hdd in case of non-dbs hw and with disabled
sta_sap_scc_on_dfs_chnl.

Fix is not to reject standalone sap csa request for
DFS channel on non-dbs hw if sta_sap_scc_on_dfs_chnl is
disabled, as standalone sap can come up on DFS channel
when sta_sap_scc_on_dfs_chnl is set to 0.

Change-Id: Ibd1b0af25309aa5cc7d9629d2cb78311c20fffcb
CRs-Fixed: 3095298
2021-12-23 04:49:59 -08:00
Madan Koyyalamudi
bbf96d48ed Release 5.2.1.5G
Release 5.2.1.5G

Change-Id: I9f0f956374f57ad9017084111822e3f5716c4f7d
CRs-Fixed: 774533
2021-12-22 23:01:44 -08:00
sandhu
df7ff68ae4 qcacld-3.0: renaming config files
renamed config files to kiwi

Change-Id: Ib9ffd47bf4372dbe1036af38240540f13d1b24c3
CRs-Fixed: 3090876
2021-12-22 23:01:44 -08:00
Madan Koyyalamudi
eb62541dd8 Release 5.2.1.5F
Release 5.2.1.5F

Change-Id: I21dbb77dd5d51c5a0e567ae62629eecba434a1c0
CRs-Fixed: 774533
2021-12-22 16:49:57 -08:00
Liangwei Dong
cb35fa85ae qcacld-3.0: Fix check dot11mode failure for 11BE AP
Driver connects to 11BE AP, and current self dot11mode is AX, driver
failed to get intersected phy mode.
Fix by allow connection for BE AP if HE IE is present in beacon.

Change-Id: Ie2517cd473ed119db9f6ac89ec4e9908f2d93bf4
CRs-Fixed: 3097724
2021-12-22 16:49:57 -08:00
Madan Koyyalamudi
6045f4712a Release 5.2.1.5E
Release 5.2.1.5E

Change-Id: I50fc68c3d62a64676f28649412aa0a5ba9c472f4
CRs-Fixed: 774533
2021-12-22 15:22:31 -08:00
Aditya Kodukula
a44bbb09f1 qcacld-3.0: Return status of runtime resume callback
Return the status of the runtime resume call back function.

Change-Id: Ibe5d50779ae49c6e2460c4a07aad024fb174fb5d
CRs-Fixed: 3098482
2021-12-22 15:22:31 -08:00
Madan Koyyalamudi
e27732d243 Release 5.2.1.5D
Release 5.2.1.5D

Change-Id: I7b883bbc56ae8e66122f65a6b97a23f0ccaf671a
CRs-Fixed: 774533
2021-12-22 14:06:50 -08:00
Vulupala Shashank Reddy
b5e2542a4d qcacld-3.0: Add support for qos null filters in packet capture
Add support to send qos null frames received from firmware on
STA interface to mon interface based on config value. The config
value get update based on vendor command set by user.

The packet filter check in ucfg_pkt_capture_process_mgmt_tx_data
moved to target_if_mgmt_offload_data_event_handler. So that we
will not allocate any buffer if filter is not set.

Change-Id: I426b340c5a65711ada971062af95ae039d18d0bd
CRs-Fixed: 3076241
2021-12-22 14:06:50 -08:00
Madan Koyyalamudi
3fedb38b2c Release 5.2.1.5C
Release 5.2.1.5C

Change-Id: Iee24d4bfdf2ec91dde676b2f4ab553e83270eb34
CRs-Fixed: 774533
2021-12-22 12:45:35 -08:00
Arun Kumar Khandavalli
39d92a5f08 qcacld-3.0: Increase the max supported sta config to 4 for HMT
Currently host does not send the max supported the sta configuration
for all targets, it is defaulted to the 3 in the firmware.
Firmware treats all the P2P DEVICE mode as sta internally so when
MLO is enabled with a legacy STA and P2P device mode the firmware
is rejecting because max sta  configuration is reached.

To support this ML_STA+STA+P2P increase the max supported the sta
configuration to 4 in the WMI_INIT_CMDID.

Change-Id: I699c370200eab673d3e035f7f6b41e3e88202401
CRs-Fixed: 3081160
2021-12-22 12:45:35 -08:00
Madan Koyyalamudi
e1a9caefc3 Release 5.2.1.5B
Release 5.2.1.5B

Change-Id: I85fe88d72ca625ce704a0b57d7eb90e879cdd213
CRs-Fixed: 774533
2021-12-22 03:32:46 -08:00
Amruta Kulkarni
1ab1bc9599 qcacld-3.0: Populate mlo ie and send to FW
When MLO is enabled, populate MLO IE and send to FW via
WMI_VDEV_SET_IE_CMDID.

Change-Id: Id342294ab2e53692fbd649317077279d2c47a113
CRs-Fixed: 3097737
2021-12-22 03:32:46 -08:00
Madan Koyyalamudi
a081d35f29 Release 5.2.1.5A
Release 5.2.1.5A

Change-Id: Ie114cdd6b2c8aab43e96a30c46e699aa4a2092d2
CRs-Fixed: 774533
2021-12-21 22:10:16 -08:00
Yu Ouyang
bcffed6ac2 qcacld-3.0: Trim scan channel list
As requirement, concurrent mode, station 5G/2G scan need stop when
AP connected by peer station.

Condition:
STA + AP 5G (connected) + AP 2.4G	skip 5G scan
STA + AP 5G (connected)			skip 5G scan
STA + AP 2.4G (connected && 2.4G only)	skip 2.4G scan
Others concurrency			skip none

Add API policy_mgr_scan_trim_chnls_for_connected_ap() to check if
need trim scan channel list. Which channel list need be trimmed.

Change-Id: I21da69fad617a6f342b9d902bf5b9d326ee1e11c
CRs-Fixed: 3075065
2021-12-21 22:10:16 -08:00
Madan Koyyalamudi
4dbb8dba3d Release 5.2.1.5
Release 5.2.1.5

Change-Id: I5a1f7102a8e1fab102ffedc287c8fd40abef72d0
CRs-Fixed: 774533
2021-12-21 11:40:49 -08:00
Rakesh Pillai
e98751c0c8 qcacld-3.0: Handle prototype changes for fst attach/detach
Handle the proto-type changes for below APIs:
- hal_rx_fst_attach
- hal_rx_fst_detach

Change-Id: I3a117d2520456e1df6844b5417f97fc8baf889c8
CRs-Fixed: 3073607
2021-12-21 11:40:49 -08:00
Madan Koyyalamudi
8165eb475a Release 5.2.1.4Z
Release 5.2.1.4Z

Change-Id: Id8a29cbe04f26180d114b1f497de9dc09337687c
CRs-Fixed: 774533
2021-12-21 03:07:17 -08:00
Abhishek Singh
fdc01ffe39 qcacld-3.0: Fix mcc and scc APIs for 3 port
Fix policy_mgr_current_concurrency_is_scc() and
policy_mgr_current_concurrency_is_mcc() API for
3 port to consider mac_id.

Change-Id: I076e19d85f495d27b940c3cb6b3f3b1383d9b5e9
CRs-Fixed: 3093760
2021-12-21 03:07:17 -08:00
Madan Koyyalamudi
b3c99a8853 Release 5.2.1.4Y
Release 5.2.1.4Y

Change-Id: I2731cb96047ab0d9d6b11c212d58990e8db4fb50
CRs-Fixed: 774533
2021-12-21 01:10:00 -08:00
Vulupala Shashank Reddy
e27ae3edd3 qcacld-3.0: Fix phy type for mgmt rx packets in pkt capture mode
In packet capture mode currently the cck and ofdm flags are
filled by checking phy mode received from FW. But now FW is
sending below rate codes instead of phy mode. So update the
check in host to check rate code and based on rate code fill
cck and ofdm. The proper filling of cck and ofdm will help
Wireshark to derive correct phy type in the packet capture.

WIFI_HW_RATECODE_PREAM_OFDM,
WIFI_HW_RATECODE_PREAM_CCK,
WIFI_HW_RATECODE_PREAM_HT,
WIFI_HW_RATECODE_PREAM_VHT,
WIFI_HW_RATECODE_PREAM_HE,

Change-Id: Ie9b38dd403a0bf39397ff22e80dd24dfa152fdcd
CRs-Fixed: 3079456
2021-12-21 01:09:59 -08:00
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