Grafico dei commit

27545 Commit

Autore SHA1 Messaggio Data
Madan Koyyalamudi
fee2fd42f6 Release 5.2.1.47H
Release 5.2.1.47H

Change-Id: I07d332caef9431e0a1eaae12fc1c2745e6ddf69f
CRs-Fixed: 774533
2022-12-01 06:20:26 -08:00
Liangwei Dong
e3ae186003 qcacld-3.0: Limit mandatory channel policy to 2 vdev concurrency
The mandatory channel policy was created for STA + SAP 2 vdev concurrency
case. For MLO STA (2+5/6) + SAP 3 vdev concurrency case, use general
force SCC logic until the requirement is updated in this case.

Change-Id: Ifca16824d53f272adc5b6ff763c1b4cc08af6a2f
CRs-Fixed: 3347722
2022-12-01 06:20:26 -08:00
Madan Koyyalamudi
2c6c727695 Release 5.2.1.47G
Release 5.2.1.47G

Change-Id: If47d1584d6fac1d665719c82ee141b8ba34a3cfd
CRs-Fixed: 774533
2022-12-01 04:17:26 -08:00
Jeff Johnson
db8100e67e qcacld-3.0: Fix hdd/inc documentation
The kernel-doc script identified documentation issues in the hdd
layer, so fix the ones in the "inc" folder.

Change-Id: I0fda8ea1ce929ad5e0cc54f86a9de5a46b3f7d38
CRs-Fixed: 3346527
2022-12-01 04:17:25 -08:00
Jeff Johnson
dd8340e82c qcacld-3.0: Rename wlan_hdd_cfg80211_spectral_scam_get_config()
Rename wlan_hdd_cfg80211_spectral_scam_get_config() to replace
incorrect term "scam" with "scan". In addition, clean up existing
documentation issues.

Change-Id: I1d7f11e274bcb0e1e09e8292b75554d256a5c6fd
CRs-Fixed: 3344908
2022-12-01 04:17:20 -08:00
Madan Koyyalamudi
c016cdbc32 Release 5.2.1.47F
Release 5.2.1.47F

Change-Id: I718ea8ed2999a4b1c7933bf8e3d20281be14412d
CRs-Fixed: 774533
2022-12-01 02:25:12 -08:00
Jeff Johnson
e27691cfb8 qcacld-3.0: Rename hdd_get_ml_adater()
Rename hdd_get_ml_adater() to fix misspelling of "adapter".

Change-Id: If2d13823308042c60cd4c16208a21142fa41ffd6
CRs-Fixed: 3343876
2022-12-01 02:25:12 -08:00
Jeff Johnson
c91958c650 qcacld-3.0: Fix hdd/src documentation
The kernel-doc script identified documentation issues in the hdd
layer, so fix the ones in the "src" folder.

Change-Id: I20307c4c7e02163a13a79dfd4fcf8fc734a4b230
CRs-Fixed: 3343791
2022-12-01 02:25:06 -08:00
Madan Koyyalamudi
9a320101ef Release 5.2.1.47E
Release 5.2.1.47E

Change-Id: I67970c0193480c27c2f0b16a45e011d86f790dc5
CRs-Fixed: 774533
2022-12-01 00:34:38 -08:00
Jeff Johnson
276e2d4a76 qcacld-3.0: Fix lim_session.h documentation
The kernel-doc script identified a large number of documentation
issues in lim_session.h, so fix them.

Note that many members of struct pe_session did not have existing
documentation, so for now these just have the tags. Hopefully these
can be updated to add proper documentation in the future.

Change-Id: I2053b87b62fa992e654e292b534a9a12d4e6d767
CRs-Fixed: 3346625
2022-12-01 00:34:38 -08:00
Madan Koyyalamudi
4c365e3c1b Release 5.2.1.47D
Release 5.2.1.47D

Change-Id: Ic622571e6a1916ee1d528c03fe24004dfa6b2ce8
CRs-Fixed: 774533
2022-11-30 22:51:23 -08:00
Srinivas Dasari
9d6fa2ef4d qcacld-3.0: Free the NAN buffer when fail to serialize the command
When same NAN commands are issued back to back, serialization
module rejects the commands when there is a command present
in the pending queue. But the memory allocated for the NAN buffer
is not freed in such failure cases.
Free the NAN buffer in such failure cases to avoid memleaks.

Change-Id: I1d1f9c077d4b6239f4400d9b3ed185e63e471b56
CRs-Fixed: 3341229
2022-11-30 22:51:22 -08:00
Madan Koyyalamudi
40b10658a5 Release 5.2.1.47C
Release 5.2.1.47C

Change-Id: I28b3b74c9168f119fa7f47b37f47d0fa2e5088f4
CRs-Fixed: 774533
2022-11-30 15:00:22 -08:00
Amruta Kulkarni
7566d61fff qcacld-3.0: Assign op mode after null vdev check
To avoid assignment before null check for vdev.
First check null vdev and then assign operational
mode value.

Change-Id: Ifbff1f79f04d51dddf6a6c1aec27793389516045
CRs-Fixed: 3340858
2022-11-30 15:00:21 -08:00
Madan Koyyalamudi
8b20cab606 Release 5.2.1.47B
Release 5.2.1.47B

Change-Id: I12156264a655002eea3be00ef13d1217483c039f
CRs-Fixed: 774533
2022-11-30 13:07:07 -08:00
Tiger Yu
a98c209617 qcacld-3.0: Fix potential uninitialized peer might be used directly
The uninitialized peer might be used directly if device mode is SAP mode
and the link_vdev is not mlo vdev in the wlan_hdd_add_key_all_mlo_vdev.

Init the peer to NULL before checking the each link_vdev to address this
potential issue.

Change-Id: Ifbf2b68a030fada8a2a1b1cacf5d2a6ef703befe
CRs-Fixed: 3344320
2022-11-30 13:07:07 -08:00
Madan Koyyalamudi
9b3cf88ab5 Release 5.2.1.47A
Release 5.2.1.47A

Change-Id: I9b2b9d83423b16fe5bda9c1904d85c76f816fca1
CRs-Fixed: 774533
2022-11-29 05:28:46 -08:00
Sheenam Monga
728998c4af qcacld-3.0: Send async event to user space in case of roaming
Currently, if SR (Spatial Reuse) is supported by AP and then
STA roams to another AP then host needs to parse SR IE and
send events to userspace and commands to Fw based on below
scenarios:

i.) Roamed AP doesn't support SR: If roamed AP doesn't support
SR then async event with SR disable is required to be sent to
userspace.

ii.) Roamed AP supports SR: If roamed AP supports SR then below
validations are required.

a.) existing thresholds are in range of roamed AP: Send SR enable
command to FW with previous thresholds , as FW disables SR during
roaming.

b.) existing thresholds are not in range of roamed AP: then decision
will be based on whether threshold is provided during SR enable command
or not. If threshold is provided along with SR enable command then send
disable to userspace and in other case update thresholds as per roamed
AP , send async event to userspace with new configured values and send
enable command to fw with new thresholds.

Change-Id: I0c39de349c0f723d49d510c6e8ba09dcb98c6d17
CRs-Fixed: 3316985
2022-11-29 05:28:46 -08:00
Madan Koyyalamudi
1689071af8 Release 5.2.1.47
Release 5.2.1.47

Change-Id: Ibde55098930e5fdf2b5a86f2f7fbadaf49a4239b
CRs-Fixed: 774533
2022-11-28 22:07:44 -08:00
Chaoli Zhou
a00721bb91 qcacld-3.0: Fix compile error if CONFIG_WLAN_SYSFS not enable
Fix 'defined but not used' compile issue for some
sysfs functions if CONFIG_WLAN_SYSFS not set.

Change-Id: If067afe95ae98355e92a5b914bdce34b3c7c2342
CRs-Fixed: 3345060
2022-11-28 22:07:43 -08:00
Madan Koyyalamudi
a6e0727067 Release 5.2.1.46Z
Release 5.2.1.46Z

Change-Id: I91e1635841e4d8a5b2c9bbfc19841585d2c35dda
CRs-Fixed: 774533
2022-11-28 17:36:29 -08:00
Pragaspathi Thilagaraj
3ee2631939 qcacld-3.0: Fix potential wma NULL pointer dereference
Potential NULL pointer dereference of wma pointer in
wma_pasn_peer_delete_all_complete() API.

Add validation of wma pointer before passing it to the
wma_resume_vdev_delete() API.

Change-Id: I9ccb7baa0dba4cb6bbb4a16fd90ee7e2aafde1c5
CRs-Fixed: 3340866
2022-11-28 17:36:29 -08:00
Madan Koyyalamudi
686eae1109 Release 5.2.1.46Y
Release 5.2.1.46Y

Change-Id: I38afa16e0d111905320f1a82bbbcb6b3a74101dd
CRs-Fixed: 774533
2022-11-28 15:51:48 -08:00
Jyoti Kumari
4c0dab6980 qcacld-3.0: Add edca_param_type ini for LL SAP
Add edca_param_type ini to configure edca or pifs param for
LL SAP.
If edca_param_type is 0 then set edca param or
if edca_param_type is 1 then set pifs param.

Based on this ini, host configures either edca or pifs param
and send it to firmware and earbud via OTA frames.

Change-Id: I46a5efea4f516b145d04d8b8ad79c5d47ceb7f89
CRs-Fixed: 3344875
2022-11-28 15:51:48 -08:00
Madan Koyyalamudi
bccde86c6e Release 5.2.1.46X
Release 5.2.1.46X

Change-Id: I949c34154de62533630db9c904bf98a5d99f6340
CRs-Fixed: 774533
2022-11-28 12:20:04 -08:00
abhinav kumar
a9a821db64 qcacld-3.0: Use self cb mode check to change HT bandwidth
Currently, the driver uses the current capability to check
if it supports 40 MHz instead of self-cap, so once it
switches to 20 MHz it cannot switch back to 40 MHz again.

To fix check self capability to determine if the bandwidth
switch can be allowed in HT-only mode.

Change-Id: I4bfe893d1c745c82d96d763f92a635d1f6d7d8ce
CRs-Fixed: 3341954
2022-11-28 12:20:04 -08:00
Madan Koyyalamudi
9230d41f90 Release 5.2.1.46W
Release 5.2.1.46W

Change-Id: I8581080290161a15354122a60772527b38c8561c
CRs-Fixed: 774533
2022-11-28 10:26:37 -08:00
Chaoli Zhou
563bc8f3f6 qcacld-3.0: Update regulatory info to cfg80211
Update the regulatory info to cfg80211 as well
if some channel information to be changed
by QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT.

Change-Id: Ie485e9e2a57a04921e32d5f029b3c9535970186f
CRs-Fixed: 3335527
2022-11-28 10:26:37 -08:00
Yu Wang
cc42389ad0 qcacld-3.0: use nla_total_size() to determine the size for attribute
The length calculations in __wlan_hdd_cfg80211_get_wifi_info() are
not accounting for netlink attribute padding.
To fix it, use nla_total_size() to determine the size for attribute.

Change-Id: Ia6a632d32c59af0fac30f19e38f23b2955a0f8f6
CRs-Fixed: 3345051
2022-11-28 10:26:31 -08:00
Madan Koyyalamudi
05d882b848 Release 5.2.1.46V
Release 5.2.1.46V

Change-Id: I79764c467a99fa3b279ba29cd4561a30af2e8f7b
CRs-Fixed: 774533
2022-11-27 23:28:04 -08:00
Jianmin Zhu
60c511d230 qcacld-3.0: Enable vdev PCL for SBS mode to avoid roaming to MCC
When dual sta connected as SBS mode instead of dbs mode, driver didn't set
pcl per vdev, so dual sta had same PCL in firmware, MCC may happened after
roaming.

Fix:
1. Host pass roaming MCC disallow flag to F/W by checking primary vdev id.

2. For platform SBS supported, when doing dbs or sbs, send PCL from table
to F/W directly, allow SCC and SBS<->DBS roaming, don't limit to intra
band, only avoid mcc case if no primary vdev.

3. Use policy_mgr_concurrent_sta_on_different_mac to replace
policy_mgr_concurrent_sta_doing_dbs, add logic to consider SBS when set
PCL to F/W.

4. Change dual sta PCL table to remove mcc channels.

5. When STA channel switch, also update PCL to F/W.

6. For roaming case, do vdev level PCL update for all sta after connection
update in policy mgr, or wrong PCL is got.

Change-Id: I631c84c96da2bba4011b69e4c076db174205c874
CRs-Fixed: 3336768
2022-11-27 23:28:03 -08:00
Arun Kumar Khandavalli
dcabca8772 qcacld-3.0: Check the netdev state when sending the scan done
When the SSR and interface down happen in parallel,
the driver rejects the interface down since the
recovery is in progress. Kernel ignores the -EAGAIN
request from the driver and as part of NET_DOWN notification
in cfg80211_netdown_notifer the kernel invokes the
___cfg80211_scan_done to free the scan request.

As part of the driver recovery, the driver also tries to
invoke the scan done on the scan request which is already freed
by kernel resulting in invalid access, so check the driver state
and send the scan done indication to kernel.

Change-Id: I7aa9286e32c407af88fe7be301b825506140d5a3
CRs-Fixed: 3345420
2022-11-27 23:27:58 -08:00
Madan Koyyalamudi
626b48645d Release 5.2.1.46U
Release 5.2.1.46U

Change-Id: I59f08f486807be16ed5e78bfeba6bf10349a1d1d
CRs-Fixed: 774533
2022-11-27 03:34:23 -08:00
Jianmin Zhu
8b9b29fbc0 qcacld-3.0: Avoid deadlock for back to back SAP CSA
While SAP doing CSA, NAN enabled, SAP tries to do CSA to force SCC with
NAN in scheduler thread, since last CSA in progress, scheduler thread is
blocked to wait last CSA finished, CSA timer can't be handled in scheduler
thread any more, last CSA can't finish, deadlock happens until timeout.

To fix it, let SAP force scc with NAN logic run in work thread instead of
scheduler thread.

Change-Id: Icb774ffcfc70f279ba3b18b3c5cd4a169180e99b
CRs-Fixed: 3344905
2022-11-27 03:34:23 -08:00
Madan Koyyalamudi
185bed4c99 Release 5.2.1.46T
Release 5.2.1.46T

Change-Id: If887b5ede2a504ce7b3fc51741df1b6cc7570fd2
CRs-Fixed: 774533
2022-11-26 19:23:35 -08:00
Surya Prakash Sivaraj
9387f3974b qcacld-3.0: Update NO_IR flag of indoor channel dynamically
In current design of sta+sap scc on indoor channels, the NO_IR
flag of all the indoor channels are removed during init.
Then, based on the operations on the SAP interface, the
SAP concurrency will be decided in host driver.

However, some userspace p2p applications, do not query the
pcl list from driver, therefore standalone P2P GO are sometimes
brought up in indoor channels.

To fix this:
1. Upon STA connect: Remove the NO_IR flags only from the
indoor channels to which the STA is connected.
2. Upon STA disconnect: Add the NO_IR flag back to the
disconnected channel.
3. Upon STA roam/csa:
    a) Add the NO_IR to the new channel if it is indoor.
    b) Remove the NO_IR of the previously connected channel
       once the SAP/GO(if present) moves out of the indoor channel.
4. The NO_IR flags should be removed for all the bonded channels
on which the STA is active.
5. In indoor concurrency cases, add logic in the SAP start to
limit the channel width with the STA interface bandwidth. Since,
only the bonded channels are active channels.

Change-Id: Ib0b30e1f17d0eb944c72b26bb679bf7447b9032f
CRs-Fixed: 3296208
2022-11-26 19:23:34 -08:00
Madan Koyyalamudi
900ea65baa Release 5.2.1.46S
Release 5.2.1.46S

Change-Id: I77b5308b457087a49110044fb66b0c70df5851f7
CRs-Fixed: 774533
2022-11-26 15:51:21 -08:00
Jeff Johnson
9475bedf61 qcacld-3.0: Fix os_if documentation
The kernel-doc script identified documentation issues in the os_if
layer, so fix them.

Change-Id: I71dd7893776e4b49a80f6be186740967b08d3347
CRs-Fixed: 3341451
2022-11-26 15:51:20 -08:00
Madan Koyyalamudi
c20591b82b Release 5.2.1.46R
Release 5.2.1.46R

Change-Id: I10e4e2232f60e88c61f4c56b72103965335bbe97
CRs-Fixed: 774533
2022-11-26 10:34:50 -08:00
Vinod Kumar Pirla
79e69d325a qcacld-3.0: Refactor opportunistic timer in vdev destroy
Refactor the opportunistic timer stop code in the hdd_vdev_destroy()
and move it to a new API.

Change-Id: I27d80897fab6a8f6efacb300ce5cc86c53eccf93
CRs-Fixed: 3306902
2022-11-26 10:34:49 -08:00
Srikanth Marepalli
8ef0316626 qcacld-3.0: Add vendor command attribute for roam hand-off delay
User can configure roam hand-off delay value using the new vendor
attribute introduced as part roam vendor command.
This change gets the configured value and sends it to firmware.
And firmware delays the roam Hand-off (in msec) by the specified
duration to receive pending RX frames from the current BSS.

Change-Id: Ic328c077cba06532ee8ffed12cde072c816b92e0
CRs-Fixed: 3329964
2022-11-26 10:34:44 -08:00
Madan Koyyalamudi
59e76c45a5 Release 5.2.1.46Q
Release 5.2.1.46Q

Change-Id: I8c9e5609913668bb8fe345e28beeac49fc299009
CRs-Fixed: 774533
2022-11-26 02:37:12 -08:00
Jyoti Kumari
9314e7fc54 qcacld-3.0: Do not return pcl len as 0 if LL SAP not present
Pcl len is always 0 if existing interface is not LL SAP.

As part of fix, return original pcl len if LL SAP is not present.

Change-Id: I51b308483364f40da03f6f9f4daea1a1f3b72019
CRs-Fixed: 3342540
2022-11-26 02:37:12 -08:00
Naman Padhiar
c5fe12891f qcacld-3.0: Add PLD API to check direct_link support
Add PLD API to check whether direct_link is supported
by FW or not. Call platform driver API to get direct_link
support from FW capability.

Change-Id: Iac16427a853a3548dd49ece7a2839792e7c87e84
CRs-Fixed: 3335266
2022-11-26 02:37:07 -08:00
Madan Koyyalamudi
bf02cb1830 Release 5.2.1.46P
Release 5.2.1.46P

Change-Id: Ia9b8cf1d7f4ab8d1884bb2255b9c2638e79f9ef6
CRs-Fixed: 774533
2022-11-25 20:30:16 -08:00
Liangwei Dong
aaf9effcfe qcacld-3.0: Cancel scan before set mac address
If scan is on going the target will delay the set mac address
until the scan is finished. That delay the set mac address
significantly if ROC request is on going and ROC duration is big.
Fix by cancel the scan before set mac address

Change-Id: I440bcfbc3b9699ab42d4304535cc2d86d702d21d
CRs-Fixed: 3332824
2022-11-25 20:30:15 -08:00
Madan Koyyalamudi
e645fd9c71 Release 5.2.1.46O
Release 5.2.1.46O

Change-Id: I3e213f47833d7334a5e214d19e6d23ab4295d3e8
CRs-Fixed: 774533
2022-11-25 18:35:20 -08:00
Jyoti Kumari
0ff4e53681 qcacld-3.0: Add edca_pifs_param attribute in QCN ie
Add edca_pifs_param attribute in QCN ie. This attribute will
be use to configure edca and pifs param for XPAN.

Change-Id: Iab16c36fbdb2f66afb6c1cebee10b43d64aec4a6
CRs-Fixed: 3334861
2022-11-25 18:35:19 -08:00
Madan Koyyalamudi
dfc6dc8316 Release 5.2.1.46N
Release 5.2.1.46N

Change-Id: I6ed6ec82e501d4d4daf2c1cb29b67b19045324c6
CRs-Fixed: 774533
2022-11-25 16:32:23 -08:00
Will Huang
080f107521 qcacld-3.0: Set ssid len correct when to get scan entry
In wlan_hdd_cm_handle_sap_sta_dfs_conc() the filter ssid length compares
against QDF_MAC_ADDR_SIZE(6), should be WLAN_SSID_MAX_LEN(32).

And if requested ssid length is greater than WLAN_SSID_MAX_LEN, filter
of ssid should clear.

Change-Id: Id4667ec7098f1f6b2ef662cab77e06b8eefecfcb
CRs-Fixed: 3324453
2022-11-25 16:32:23 -08:00