Commit Graph

25089 Commits

Author SHA1 Message Date
Srinivas Girigowda
0737e8caec qcacld-3.0: TWT cfg params initialization
Initialize TWT psoc cfg params with the cfg.ini values.

Change-Id: I326239d4f3f146113871fb3700fa82260988d697
CRs-Fixed: 3085507
2022-02-11 00:21:22 -08:00
Srinivas Girigowda
840a791d8c qcacld-3.0: Add build configurations for TWT componentization files
Add build configurations for TWT componentization files.

Change-Id: Ib71b4ee2d32967f27f43720c19c38b4042a1ad89
CRs-Fixed: 3085502
2022-02-11 00:21:12 -08:00
Srinivas Girigowda
7aad8411ab qcacld-3.0: target_if: Add TWT componentization public structs and files
Add TWT componentization public structs, files and skeleton code.

Change-Id: I9b929f87d172faf27bc54f37eee911e0d0f5086c
CRs-Fixed: 3085498
2022-02-11 00:21:02 -08:00
Srinivas Girigowda
38fe8b7acb qcacld-3.0: umac: Add TWT componentization public structs and files
Add TWT componentization public structs, files and skeleton code
i.e add new dispatcher APIs, target_if callbacks.

Change-Id: I21fd6f5c3e92f8ea725771c20cd6dfdb560b2bf3
CRs-Fixed: 3085430
2022-02-11 00:20:54 -08:00
Srinivas Girigowda
98937a8148 qcacld-3.0: HDD: Add TWT module to the logging category info
Add TWT module to the logging category info.

Change-Id: Ib629ec228fc8ff6f5bcc6aa3dc672327a0ad383a
CRs-Fixed: 3085429
2022-02-11 00:20:47 -08:00
Srinivas Girigowda
3d62f09171 qcacld-3.0: Make legacy WMA TWT functions no-op
Make legacy WMA TWT functions no-op if TWT componentization is enabled.

Change-Id: I19ab205dac72d869bbe90bad359f89fe83275e4d
CRs-Fixed: 3085424
2022-02-11 00:20:40 -08:00
Srinivas Girigowda
20af0a2e4c qcacld-3.0: os_if: Add TWT componentization public structs and files
Add TWT componentization public structs, files and skeleton code.

Change-Id: I36dfb198dea0cfa06615ecb93014e5187643731d
CRs-Fixed: 3085419
2022-02-11 00:20:33 -08:00
Madan Koyyalamudi
35473e818b Release 5.2.1.10C
Release 5.2.1.10C

Change-Id: I63cb9eec414922b2871accf0e6cb3a2987bb8c50
CRs-Fixed: 774533
2022-02-10 14:02:52 -08:00
Amit Mehta
6a0733117a qcacld-3.0: Reduce lock held time
Currently we process and free the nbuf from
queue while holding a lock for the complete duration.
There might be a case when there are many packets pending
in the queue. This might cause the issue when we held the lock
and other process waits for lock.

So as part of the fix only perform the nbuf unlink inside the
lock and move the processing and free part outside the lock.

Change-Id: Iea0cabecc25ce90c189454b288421b1e720777f2
CRs-Fixed: 3125790
2022-02-10 14:02:52 -08:00
Madan Koyyalamudi
1de63c1a09 Release 5.2.1.10B
Release 5.2.1.10B

Change-Id: I91ca2aaee0e3f28ae11d957bc451ad021b5f8bc2
CRs-Fixed: 774533
2022-02-10 11:39:17 -08:00
Surabhi Vishnoi
e8894805e6 qcacld-3.0: Optimise the roam time latency
This change optimises the time to enable the TX queues during
connection/roaming by deferring the oem response to userspace and
roam_auth event to wpa_supplicant.

Change-ID: I1724022de3b87482e4e4a35efac358de9f6a367d
CRs-Fixed: 3119070
2022-02-10 11:39:17 -08:00
Deeksha Gupta
1a6c49978e qcacld-3.0: Check peer broadcast TWT capability
Currently, for Broadcast TWT setup command, if peer does not
support TWT responder capability and supports broadcast TWT
capability then host rejects broadcast twt setup command
based on TWT responder capability.

Add condition to check the peer broadcast capabilities before
sending broadcast TWT setup request to firmware.

Change-Id: Iaa8941424d948d501655859564669baff4af9e69
CRs-Fixed: 3092276
2022-02-10 11:39:12 -08:00
Madan Koyyalamudi
97cbc4f4ff Release 5.2.1.10A
Release 5.2.1.10A

Change-Id: Ide4dd54f9e77f1f922eead62d0c7ca1b15ef47aa
CRs-Fixed: 774533
2022-02-10 10:08:54 -08:00
Vijay Patil
aff4a6514a qcacld-3.0: Add PLD API to check if mode of interrupt is legacy
Add PLD API to check if mode of interrupt is legacy or not in PLD
layer. It can be used by HIF layer when required.

Change-Id: Iac6fbe01755e833c062fc08940dd07f11b3452fa
CRs-Fixed: 3126969
2022-02-10 10:08:54 -08:00
Madan Koyyalamudi
56f21c8066 Release 5.2.1.10
Release 5.2.1.10

Change-Id: I29e4f2dd71165029bc9b662c8d213ea0e6d2d7e8
CRs-Fixed: 774533
2022-02-10 08:19:21 -08:00
Bing Sun
5db23d13ab qcacld-3.0: Compile target_if_son.o for SON feature
Include target_if_son.c when building driver with SON feature enabled.

Change-Id: I8838bd400f509b48750161dcd72c418cc33d9b3f
CRs-Fixed: 3118833
2022-02-10 08:19:21 -08:00
Vijay Patil
32bf04c892 qcacld-3.0: Rename wlan host driver name for helium target
Rename WLAN host driver name to qca_cld3_adrastea for helium
target.
In addition to satisfy this required symbolic link is created
statically and add adrastea defconfig file.

Change-Id: Id77a1ae01181238965fa666d017e94d827c4c67b
CRs-Fixed: 3126913
2022-02-10 08:19:16 -08:00
Madan Koyyalamudi
0cd24a4e6b Release 5.2.1.9Z
Release 5.2.1.9Z

Change-Id: Ib7a2de97a1f0926c0ac487344598180a17fa4668
CRs-Fixed: 774533
2022-02-10 07:08:47 -08:00
Krupali Dhanvijay
aaf60192cf qcacld-3.0: Add support to configure 6G roam scan dwell time
Add ini support to configure 6GHz active and passive
scan dwell time and send this to firmware
to be used for LFR scans via WMI_ROAM_SCAN_MODE.

Based on these values, firmware will use host sent values
else use hardcoded values.

Currently firmware uses hardcoded values to configure 6Ghz
roam scan dwell time. With this change user can configure
it using INI.

Change-Id: I90e79ad59eef7f73faa0b9dfd2d38b65aca12285
CRs-Fixed: 3116861
2022-02-10 07:08:46 -08:00
Madan Koyyalamudi
c6e91b67f8 Release 5.2.1.9Y
Release 5.2.1.9Y

Change-Id: Ifc152ea80e73c930e9c6c8fbb27034504b3f63a7
CRs-Fixed: 774533
2022-02-09 13:08:39 -08:00
Srinivas Dasari
d2a4401675 Revert "qcacld-3.0: Make default value of ndi_max_support as 2"
Enabling ndi_max_support=2 is consuming 4 vdevs + 11 peers
in firmware when STA and NAN(+2 NDIs) are active. Max peers
allowed in firmware are 11 only and this ini configuration is
consuming all of them.
There is no provision/memory for new peer allocation even for
simple use cases like roaming(roaming needs a temporary peer).

Revert this change and set the ini ndi_max_support=2 in target
specific ini files if required to avoid the peer exhaust issue.

This reverts change: Id45147541dba057c2f3420adee43c7a56e3ee72b.

Change-Id: If655b63071b07e96b4e343b8e1bb65acd33be625
CRs-Fixed: 3120555
2022-02-09 13:08:38 -08:00
Madan Koyyalamudi
92a76f1dcf Release 5.2.1.9X
Release 5.2.1.9X

Change-Id: Icdf58934d483b453983f1d61da5499d490658fe7
CRs-Fixed: 774533
2022-02-09 06:42:05 -08:00
Ashish
db7441ab3f qcacld-3.0: Get netdev from wdev instead of iface name
Currently driver uses iface name to get netdev when it processes
ndp responder request. There is a possibility that framework does
not know the iface name when it sends the error response.

if driver does not receive iface name it fails to get the netdev
and fails to perform the dsc operation, because of which driver
drops the ndp responder request command.

To address this issue, use wdev to get netdev instead of iface name.

Change-Id: Idf394f4a22ace8757f947b2ef8e4a7d22e66d65e
CRs-Fixed: 3124009
2022-02-09 06:42:05 -08:00
Madan Koyyalamudi
ba70831492 Release 5.2.1.9W
Release 5.2.1.9W

Change-Id: Ib125a5bd8ba526263be44a65ace8bf68f481a46c
CRs-Fixed: 774533
2022-02-09 05:31:21 -08:00
Vishal Miskin
016e8e808c qcacld-3.0: Enable/disable TSF sync feature through NL command
Enable/disable TSF sync feature through QCA_TSF_SYNC_START and
QCA_TSF_SYNC_STOP NL command. Also add support to configure
TSF sync interval through QCA_WLAN_VENDOR_ATTR_TSF_SYNC_INTERVAL
attribute.

Change-Id: If679fdf2c92848402cf1b8fcbfb669cd1cc2b861
CRs-Fixed: 3108414
2022-02-09 05:31:21 -08:00
Madan Koyyalamudi
ff03748b2f Release 5.2.1.9V
Release 5.2.1.9V

Change-Id: Idabcf06bb2207a6e2739882f60410152a2b4818c
CRs-Fixed: 774533
2022-02-09 02:06:11 -08:00
Bing Sun
d39f2ceb18 qcacld-3.0: Do not use adapter in os_if of SON
Use vdev instead of adapter in os_if of SON.

Change-Id: Icefc9fb8575511f39676bd742359b3962e746f87
CRs-Fixed: 3119371
2022-02-09 02:06:11 -08:00
Madan Koyyalamudi
56b017309b Release 5.2.1.9U
Release 5.2.1.9U

Change-Id: I8cea94f743de02c036ce1c6bed352857fec2d41e
CRs-Fixed: 774533
2022-02-08 19:39:45 -08:00
Srikanth Marepalli
53dc3b7c07 qcacld-3.0: Makefile change to generate driver name as qca_cld3_wlan
Currently, on Wear HL based target with keystone kernel, it
generates WLAN driver with name "wlan.ko". And to enable WIFI
every time it has to rename wlan.ko with qca_cld3_wlan.ko.
This commits generates the WLAN driver (WLAN_CHIPSET_wlan.ko)
based on Macro defined i.e. WLAN_CHIPSET else generate wlan.ko.

Change-Id: I9b278ba74052f1a333ed59d0b048d5a0611db076
CRs-Fixed: 3125247
2022-02-08 19:39:45 -08:00
Madan Koyyalamudi
ec2f81ad22 Release 5.2.1.9T
Release 5.2.1.9T

Change-Id: I1809c2a244213f4e7d9e5a7b8a2e91c6b400c5e2
CRs-Fixed: 774533
2022-02-08 15:05:23 -08:00
Jayachandran Sreekumaran
0293422ff8 qcacld-3.0: Convert channel width from NL to internal type
Channel width is getting updated in 2 different types, NL type
in some places and rest of the places in internal type.
As the enum types are different between NL type and internal
driver type, SAP channel width changes in the SAP config
during beacon updates. Due to this SAP restarts with
different channel width during SSR.

Hence updated to use only the internal channel width enum type.

Change-Id: Ifd595c079ed7c33692cb96d2514fd1259210e67d
CRs-Fixed: 3124721
2022-02-08 15:05:23 -08:00
Madan Koyyalamudi
8781cef370 Release 5.2.1.9S
Release 5.2.1.9S

Change-Id: I323f5290ca8014b6fd8f1a04e39ed0619f0827a4
CRs-Fixed: 774533
2022-02-07 20:21:51 -08:00
Bing Sun
820530515c qcacld-3.0: Refine ACS with static puncturing
If EHT is enabled and channel width is bigger than 80 MHZ, static
puncturing is applicable to this SAP.
Consider punctured channel as valid candidate channel with weight
as max ACS weight for the SAP supporting static puncturing.
Indicate puncture bitmap to hostapd. Hostapd need puncture bitmap
when generating EHT operation IE.

Change-Id: I157878cc405c83114cd82f5fac63375c02e48cab
CRs-Fixed: 3101970
2022-02-07 20:21:51 -08:00
Bing Sun
146bc84dc4 qcacld-3.0: Get puncture bitmap and set it to des chan
Get puncture bitmap from regdomain api, then set it to des_chan
of mlme, which is finally set to FW.

Change-Id: I1ae2f3093e6fd8d755c3b2804655598795cbd244
CRs-Fixed: 3114181
2022-02-07 20:21:46 -08:00
Madan Koyyalamudi
bb996ee44a Release 5.2.1.9R
Release 5.2.1.9R

Change-Id: Iec2bc42ab3f8faaa40b8a42c6c583d92b9c4fd22
CRs-Fixed: 774533
2022-02-07 17:56:27 -08:00
jinbliu
b15e12678e qcacld-3.0: Delete a repeated MACRO in Kbuild
The duplicated MACRO in Kbuild is:
cppflags-$(CONFIG_HTT_PADDR64) += -DHTT_PADDR64

Change-Id: I0da070efcedf1af58bf0443f3402e6750c36a351
CRs-Fixed: 3111174
2022-02-07 17:56:27 -08:00
Madan Koyyalamudi
405c9620ee Release 5.2.1.9Q
Release 5.2.1.9Q

Change-Id: I67830981d8943325a20f68576a211a7ee3127695
CRs-Fixed: 774533
2022-02-07 15:10:10 -08:00
Jingxiang Ge
e0d6265664 qcacld-3.0: Revise LF copyright back
There is no need to change LF copyright date.
Revise I4b825f91bc9ede8372291f9d94cb7fae23942a49.

Change-Id: Ic566618b0658615992ea229f07aa09fec5a1352b
CRs-Fixed: 3119508
2022-02-07 15:10:09 -08:00
Mohit Khanna
d1a74a247e qcacld-3.0: Register HDD TX comp handler for TDLS
Register HDD TX completion handler for TDLS mode. Absence of this leads
to inaccurate TX accounting for TDLS connection, leading to TDLS
teardown.

Change-Id: I1b7b96bcea1e04e5ae45cf378529ac8c7e186b00
CRs-Fixed: 3120167
2022-02-07 15:10:04 -08:00
Nirav Shah
d5ce5d8c3f qcacld-3.0: Update default value of moderate latency
Update default value of moderate latency to handle
XR use-cases.

Change-Id: I645380723256b86cabc9985ab5a243fd0cab725a
CRs-Fixed: 3115897
2022-02-07 15:09:59 -08:00
Madan Koyyalamudi
894b224f56 Release 5.2.1.9P
Release 5.2.1.9P

Change-Id: Ib66279196e758b31034623d7cf7b0e16a59031c7
CRs-Fixed: 774533
2022-02-07 14:01:54 -08:00
Nirav Shah
42853bf5eb qcacld-3.0: Update latency flags to 64-bit configuration
Update latency flags inis to 64-bit configuration and use
lower 32-bit for firmware configuration and upper 32-bit
as host configuration. Also remove separate inis for host
latency flags.

Change-Id: Iff62b847f40ae7fa5f82948ec37d756144860474
CRs-Fixed: 3115853
2022-02-07 14:01:53 -08:00
Madan Koyyalamudi
6717f9781a Release 5.2.1.9O
Release 5.2.1.9O

Change-Id: I6ac791ccb482534143caa1792f7eb6bfc7921b3d
CRs-Fixed: 774533
2022-02-07 12:26:54 -08:00
Rahul Gusain
6e66e9ca3b qcacld-3.0: Add support to send FILS discovery frame
Prepare FILS discovery template with mandatory fields
including fd cpabilities and center frequency and also
TPE IE and send the template to firmware.
It is called when beacon template is updated.

Change-Id: I927f6a1c0bcd8fa531d48b1fa84cc256b4c1665f
CRs-Fixed: 3081251
2022-02-07 12:26:54 -08:00
Madan Koyyalamudi
f99f0842b5 Release 5.2.1.9N
Release 5.2.1.9N

Change-Id: I2d3f4fb72435dd15e19a88ae440dc6972e9c9b1f
CRs-Fixed: 774533
2022-02-05 05:09:00 -08:00
Subrat Dash
006e3ea66e qcacld-3.0: Add support to fetch per chain rssi from cp stats
The vendor sub-command QCA_NL80211_VENDOR_SUBCMD_GET_CHAIN_RSSI
can be used to fetch the per chain rssi for peer from cp stats.

CRs-Fixed: 3111269
Change-Id: I092dac794e5bea7c8eb143495496d83338cce1c5
2022-02-05 05:08:59 -08:00
Madan Koyyalamudi
638596fc84 Release 5.2.1.9M
Release 5.2.1.9M

Change-Id: I703c2cd9ae55a012953ad5417571e4dafaac7fa5
CRs-Fixed: 774533
2022-02-04 07:10:36 -08:00
Nirav Shah
1caaa01a17 qcacld-3.0: Add support to update tsf timestamp in data packet
Add support to update tsf timestamp on driver entry and
exit in data packet. This helps debug latency issue in
XR usecases.

Change-Id: I49d190a55b7ab3081225b7a226f1bbe4f717a20f
CRs-Fixed: 3090104
2022-02-04 07:10:35 -08:00
Madan Koyyalamudi
4ee088a246 Release 5.2.1.9L
Release 5.2.1.9L

Change-Id: I0d6855a1e7e3270253ad87b735f65c4d1fbe9451
CRs-Fixed: 774533
2022-02-03 19:29:27 -08:00
Rahul Gusain
ca61a08f9b qcacld-3.0: Add null check in wma_hold_req_timer
mac pointer that is a result of func "cds_get_context"
that may return null.

Add null check for mac pointer while sending the connect rsp.

Change-Id: I51c021b99b2014fafc4c33519b0de6dbeffa0025
CRs-Fixed: 3120707
2022-02-03 19:29:27 -08:00