Commit Graph

26101 Commitit

Tekijä SHA1 Viesti Päivämäärä
Jyoti Kumari
0061692560 qcacld-3.0: Fix ie null pointer access in lim_enable_twt()
Check whether ie's is present or not before dereferencing it
in lim_enable_twt().

Change-Id: Ibecb66884f59972b0f3cefc226991f6931f50106
CRs-Fixed: 3221108
2022-06-24 18:20:54 -07:00
Madan Koyyalamudi
2d0b9bd018 Release 5.2.1.26K
Release 5.2.1.26K

Change-Id: Id7c8e7a28da040dad5d93de1106de9ddfa5791c9
CRs-Fixed: 774533
2022-06-24 14:14:11 -07:00
Roopavathi Lingampalli
1986ba636a qcacld-3.0: Modified osif Mic error handler support
Combined dp process mic error support for both SAP
and STA interfaces into one API for DP component

Change-Id: Ic78675d4bfdd5b5cc995505bcbf9862711c5ba24
CRs-Fixed: 3226471
2022-06-24 14:14:11 -07:00
Madan Koyyalamudi
b14d9ab822 Release 5.2.1.26J
Release 5.2.1.26J

Change-Id: If87a912c3827555b9832dd783bc8c58b66498745
CRs-Fixed: 774533
2022-06-24 11:06:58 -07:00
Amit Mehta
8a36b28308 qcacld-3.0: Move change to prevent mac addr modification
Move change Ie0f6f4365b8558a451fa8434832f14aebd56172b
Prevent wds_replace_peer_mac modifying mac addr in skb
to DP component

Change-Id: If2cd52c1949a0eb7d406fd44a01b15bbb18d3a81
CRs-Fixed: 3226191
2022-06-24 11:06:58 -07:00
David Oladunjoye
7998d39c59 qcacld-3.0: hdd: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: Id1c24c5a5e37f4620f8e2359edfb6c6e708b9a21
CRs-Fixed: 3217414
2022-06-24 11:06:50 -07:00
David Oladunjoye
99f36109f4 qcacld-3.0: tdls: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: Ied21e1f913af7a453a523696a779457e092e69bd
CRs-Fixed: 3217413
2022-06-24 11:06:45 -07:00
Madan Koyyalamudi
711b60c5d3 Release 5.2.1.26I
Release 5.2.1.26I

Change-Id: I5b9f00d1bd12c99c21c5627e2e5a8dbcffe729b2
CRs-Fixed: 774533
2022-06-24 09:26:18 -07:00
David Oladunjoye
41694e350d qcacld-3.0: son: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: Ide0bb066b25d5191f3654c29bd9e711d731f16c1
CRs-Fixed: 3217412
2022-06-24 09:26:17 -07:00
David Oladunjoye
21cbc33036 qcacld-3.0: p2p: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: Ie800ea60a4e12deff2ba2b0462de70e2b252082d
CRs-Fixed: 3217411
2022-06-24 09:26:12 -07:00
David Oladunjoye
bf4bd0e116 qcacld-3.0: mlme: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: I498703190e452eb4d263ee44ff1745622577eda1
CRs-Fixed: 3217410
2022-06-24 09:26:06 -07:00
Madan Koyyalamudi
673b605320 Release 5.2.1.26H
Release 5.2.1.26H

Change-Id: Id5fb2c3084625db232573f9d8703e5d6e6be8312
CRs-Fixed: 774533
2022-06-24 07:46:11 -07:00
Sheenam Monga
cffb442e97 qcacld-3.0: Increase the range of PCL if dynamic SBS is enabled for 4 port
In dynamic SBS if 2.4 GHz is sharing mac with 5 GHz low, it can be
dynamically be moved have mac sharing with 5 GHz high.
So if one of the freq is 2.4 GHz in existing 3 connection, the
4th connection can be brought up on any 5 GHz freq (low/high) and
the 2.4 GHz vdev will be moved with other mac.
Similarly for all 3 connection be on 5 GHz and SBS, in case of the
dynamic SBS along with the low/high 5 GHz freq, 2.4 GHz freq can be
included in PCL, as 2.4 GHz can share mac with any of high/low 5 GHz.
e.g
if current concurrency is:
    => STA (2.4 GHz) + SAP (5 GHz low) on mac 0 and STA (5 GHz high)
       on mac 1 (LOW mac share with 2.4 GHz)
currently only 5 GHz high is present in PCL thus making:
    => STA (2.4 GHz) + SAP (5 GHz low) on mac 0 and STA (5 GHz high) +
       SAP (5 GHz high) on mac 1 (LOW mac shared with 2.4 GHz)
but 5 GHz low (i.e. all 5 GHz) can be provided in PCL to make it as below:
    => STA (2.4 GHz) + SAP (5 GHz high) on mac 0 and STA (5 GHz low) +
       SAP (5 GHz low) on mac 1 (HIGH mac shared with 2.4 GHz)
Also for below 5 GHz high and 2.4 GHz can be provided in PCL
    => STA (5 GHz low) + SAP (5 GHz low) on mac 0 and STA (5 GHz high)
       on mac 1
If it select 5GHz high:
    => STA (5 GHz low) + SAP (5 GHz low) on mac 0 and STA (5 GHz high) +
       SAP (5 GHz high) on mac 1
if it select 2.4 GHz:
    => STA (5 GHz high) + SAP (2 GHz) on mac 0 and STA (5 GHz low) +
       SAP (5 GHz low) on mac 1 (HIGH mac shared with 2.4 GHz)
Thus increasing the range of PCL for dynamic SBS.

Change-Id: I3fc555f137050fd49b5ce5eaf12f57f19ee9d903
CRs-Fixed: 3227280
2022-06-24 07:46:11 -07:00
David Oladunjoye
e32465f06d qcacld-3.0: dmgr: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: I6ddf98a20bf0d5abb3088f8f231e9be8005f15e6
CRs-Fixed: 3217409
2022-06-24 07:46:05 -07:00
David Oladunjoye
946c8f039a qcacld-3.0: cmn: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: I7e38c098c58146dc2c762d86ff3eae97a21aa98b
CRs-Fixed: 3217408
2022-06-24 07:46:00 -07:00
David Oladunjoye
ca2a11a0c4 qcacld-3.0: dp: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: I6d12321a649b61b35f9abf4fb977d368fc8a6e4e
CRs-Fixed: 3217402
2022-06-24 07:45:54 -07:00
abhinav kumar
7e9e394af6 qcacld-3.0: Add a new INI RoamCU_6GRSSIRange
Add support to parse a new INI named
"bss_load_trigger_6g_rssi_threshold/RoamCU_6GRSSIRange"
and send its value to FW via WMI_ROAM_BSS_LOAD_CONFIG_CMDID.

Min, Max and default value of this INI:
Min: -120
Max: 0
Default: -70

Change-Id: I9aa99d887553de4022fc0a31dc0644601cd340d6
CRs-Fixed: 3225548
2022-06-24 07:45:49 -07:00
Madan Koyyalamudi
1857a4a020 Release 5.2.1.26G
Release 5.2.1.26G

Change-Id: Ie78c4e23ce274abc75cd001cfd1c6abf67595ec3
CRs-Fixed: 774533
2022-06-24 03:50:35 -07:00
Aditya Kodukula
cdd4422a90 qcacld-3.0: Change default value of gSoftApMaxPeers
In the current driver implementation, the default ini value of
gSoftApMaxPeers is set to 32, but for mobile devices, FW can
only support 10 SAP peers at max. Hence, change the default
value of gSoftApMaxPeers to 10.

Change-Id: I8c5a2a8422f02bb464a11d823f8528ebb88bb34c
CRs-Fixed: 3227078
2022-06-24 03:50:35 -07:00
abhinav kumar
8af2ccd418 qcacld-3.0: Avoid integer overflow while processing bcn report req
In case of a noisy environment, if DUT founds a max number of APs
(MAX_SCAN_CACHE_SIZE = 300) in RRM scan results, DUT should send a
beacon report for all APs in multiple beacon reports.

Host applies a filter on RRM scan results and calculates the final
number APs for which DUT sends beacon reports.

While processing beacon report request from AP, the host calls
csr_scan_get_result API to apply scan filter on RRM scan results
and saves the final number of APs to be sent in beacon report in
a local parameter "num_scan_results" of type uint8_t, this results
in integer overflow, if the final number of APs is more than 255
(here the final number of APs is 299).

Fix is to change the type of local parameter "num_scan_results"
to uint32_t to avoid integer overflow.

Change-Id: I38b37a55d4e62841ba36f2e72cf0e8ae64844c06
CRs-Fixed: 3226783
2022-06-24 03:50:30 -07:00
Madan Koyyalamudi
6dc82895ad Release 5.2.1.26F
Release 5.2.1.26F

Change-Id: I7e9cddfb3979fd2a505a7cff16e96b77e91bdfe1
CRs-Fixed: 774533
2022-06-24 02:06:52 -07:00
Nirav Shah
138d77955b qcacld-3.0: Enable TSF feature for kiwi target
Enable TSF feature for kiwi target.

Change-Id: I5a3afde43b0cb9b2f7e5b49d4b1bbf27e781ed7a
CRs-Fixed: 3144307
2022-06-24 02:06:52 -07:00
Namita Nair
58e4213f02 qcacld-3.0: Acquire lock to get cpu id
hdd_get_tx_queue_for_ac() calls qdf_get_smp_processor_id(),
which gets the current cpu id. This operation must be done with
preemption disabled. Currently, as the call is made
outside of the netif_tx_lock, this causes an assert.

To ensure the call to qdf_get_smp_processor_id()
is properly locked, move the original caller hdd_wmm_select_queue(),
inside the netif_tx_lock.

Change-Id: Ifbe475d0adc724b6b4eddc2774565b67a7e375c2
CRs-Fixed: 3221957
2022-06-24 02:06:45 -07:00
Madan Koyyalamudi
4b043a5cba Release 5.2.1.26E
Release 5.2.1.26E

Change-Id: Idd22fe9ac3a5fb13d05ffb3ad993175feb2b6e01
CRs-Fixed: 774533
2022-06-24 00:28:18 -07:00
Vinod Kumar Pirla
1fa6a9b260 qcacld-3.0: Indicate driver ready event to user space
In the event of driver reinit due to internal failues,
send an event to user space to indicate driver ready.

Change-Id: I3e8b11e24ad167b6812d95e468384c8f3f6040fd
CRs-Fixed: 3226425
2022-06-24 00:28:18 -07:00
Liangwei Dong
92806a4724 qcacld-3.0: Validate SAP acs freq_list
Add validation of ACS scan frequency list ptr from sap_get_freq_list.
If Null then return failure for sap_channel_sel API.

Change-Id: I46db7a956f8f83ba9eceaa8e9e06fe3b44d1a767
CRs-Fixed: 3219747
2022-06-24 00:28:12 -07:00
Madan Koyyalamudi
40c7084a39 Release 5.2.1.26D
Release 5.2.1.26D

Change-Id: Ifa1d916c62c3be565982f95b381505111f329206
CRs-Fixed: 774533
2022-06-23 22:46:25 -07:00
Wu Gao
c372883e10 qcacld-3.0: Fix compilation issue with openwrt
Remove unnecessary parentheses and avoid compilation error with openwrt.

Change-Id: I884ac75a66f5af44028bdc849d3cbfc36390d360
CRs-Fixed: 3225981
2022-06-23 22:46:24 -07:00
Madan Koyyalamudi
4975aa7f78 Release 5.2.1.26C
Release 5.2.1.26C

Change-Id: I7ce66c07546bf3e2e2b6bac4357597d4b788e6b4
CRs-Fixed: 774533
2022-06-23 21:05:31 -07:00
Amruta Kulkarni
946e472b07 qcacld-3.0: Fix to send correct length for ML prb req
Set and send correct length while sending ML probe request.

Change-Id: I3a6270e554bedcc7584e02b50b7d340fe52a28a9
CRs-Fixed: 3224568
2022-06-23 21:05:30 -07:00
Madan Koyyalamudi
b70104f9f1 Release 5.2.1.26B
Release 5.2.1.26B

Change-Id: I7568deb4534aa881834242c944bad5401cc665ba
CRs-Fixed: 774533
2022-06-23 16:21:42 -07:00
Deeksha Gupta
1d58140b54 qcacld-3.0: Avoid tacking CM lock after holding sme global lock
When STA receives a connect req (C1) and it requires hw mode
change. Now the hw mode change resp will take the SME global
lock and call connection manager API, which will try to
acquire CM lock.

But if before that one more connect req (C2) is received in
another thread which has acquired CM lock before C1 can
acquire it, and this connect req C2 will also flush the C1
from CM queue. Now if C2 also require hw mode change, which
also require to acquire SME global lock.

So both connect will wait for each other to complete, leading
to deadlock.

To fix this, from hw mode change response, break the context
(by posting to scheduler thread) so that sme global lock is
released and C2 is processed.

As C1 is already flushed by C2, on scheduler thread execution
once it get CM lock it will be dropped silently, and C2 will
proceed with connect.

Change-Id: I14efb0f21442edcae90a4abea20cb0b9e06a0758
CRs-Fixed: 3223786
2022-06-23 16:21:42 -07:00
Madan Koyyalamudi
f261a89b11 Release 5.2.1.26A
Release 5.2.1.26A

Change-Id: I051ceca30098f6a4672d40048720cfc7107fffcb
CRs-Fixed: 774533
2022-06-23 14:35:56 -07:00
Aditya Kodukula
1bb485a7fa qcacld-3.0: Add logic for userspace to know WLAN state
As part of protected dynamic interface control feature,
if WiFi is disabled by user space, WLAN HW is also disabled.
If the device gets rebooted, then user space might not know
the current WLAN state. Add logic so that, user space can
always know the current WLAN state.

Change-Id: I00c913dbaec2031c7b3505fafd11471087a2c623
CRs-Fixed: 3225969
2022-06-23 14:35:56 -07:00
Manikandan Mohan
4df1739060 qcacld-3.0: Add PLD API to enable WLAN HW
WLAN HW can be disabled at boot and thus wlan boot activities will be
deferred. Add PLD API to start wlan boot time sequence in platform
driver after HW is enabled.

Change-Id: I9dcdc9944b7f71dc3488a20719ca36c00ae62a4e
CRs-Fixed: 3222032
2022-06-23 14:35:50 -07:00
Madan Koyyalamudi
dc07cf84c1 Release 5.2.1.26
Release 5.2.1.26

Change-Id: I39b9f8e74b04370132173c00f22c84cc601c5919
CRs-Fixed: 774533
2022-06-23 12:57:59 -07:00
Divyajyothi Goparaju
8515cfbc5a qcacld-3.0: Add bmiss timeout vdev set params
Currently host sends first, final bmiss count to fw

Add support for bmiss timeout(in seconds)
during wakeup as well as sleep state to fw.

Change-Id: Id748fabdff94f5fa3038bcea1b1cac733ac2dbe1
CRs-Fixed: 3224106
2022-06-23 12:57:59 -07:00
Madan Koyyalamudi
3c29f9b31f Release 5.2.1.25Z
Release 5.2.1.25Z

Change-Id: I7c4d49dd7229191acf2fa4f92d1e3036bfeb37f6
CRs-Fixed: 774533
2022-06-23 08:50:45 -07:00
abhinav kumar
4a19256692 qcacld-3.0: Add vendor handoff service bit caps support
Add vendor handoff service bit capability support
WLAN_SOC_VENDOR_HANDOFF_CONTROL to check whether the FW
supports vendor handoff feature or not.

Change-Id: Ifdf541761716df9ca5b764c05714a8b501642354
CRs-Fixed: 3224573
2022-06-23 08:50:44 -07:00
Madan Koyyalamudi
0216c8b79a Release 5.2.1.25Y
Release 5.2.1.25Y

Change-Id: I1619b04d094ba6aecc9f2cace4e3d733ec6b6a28
CRs-Fixed: 774533
2022-06-23 07:03:36 -07:00
Amit Mehta
58a1587cdb qcacld-3.0: Make changes to use QDF status and type
Make changes in packet logging to send QDF status
and type instead of packet log type and status.

Change-Id: I8c1d04a78272159f7d34d6034c41d52e1e44b61d
CRs-Fixed: 3224876
2022-06-23 07:03:36 -07:00
Vinod Kumar Myadam
a24510696e qcacld-3.0: Add flag CONNECTIVITY_PKTLOG
Add new flag CONNECTIVITY_PKTLOG to make independent of
FEATURE_PKTLOG and REMOVE_PKT_LOG for packet logging.

This is because 32 tx/rx pkt logging is connection related
and this feature is independent of pkt log feature. Here
driver will send first 32 tx/rx pkts consisting of mgmt
and data pkts to userspace which can be used for debugging

Change-Id: If987ac8b6cb10b464a4ec2ace1c55215c0aa3614
CRs-Fixed: 3222970
2022-06-23 07:03:31 -07:00
Madan Koyyalamudi
e769185d31 Release 5.2.1.25X
Release 5.2.1.25X

Change-Id: I5cee06417be2881a147239da779c90251b2766a6
CRs-Fixed: 774533
2022-06-23 05:17:06 -07:00
Jayachandran Sreekumaran
ae58485594 qcacld-3.0: policy_mgr api for same mac vdev
Add policy_mgr api for getting concurrent vdev running on same mac.

Change-Id: I77437cb55cead1358dab4b538eae7477688d49bc
CRs-Fixed: 3213430
2022-06-23 05:17:05 -07:00
Jayachandran Sreekumaran
b7fe086a66 qcacld-3.0: Add spatial reuse IE
Add spatial reuse IE

Change-Id: I84f6963dff46283599ed1d9cd714b44a573a8c4c
CRs-Fixed: 3213416
2022-06-23 05:17:00 -07:00
Madan Koyyalamudi
64d47b8e70 Release 5.2.1.25W
Release 5.2.1.25W

Change-Id: I27a4aee8b2b122d64fe9743965ca23cd60199560
CRs-Fixed: 774533
2022-06-23 01:58:43 -07:00
Amit Mehta
7247a495d5 qcacld-3.0: Move Use skb_orphan in TX to DP component
Move change Ic8dfdb09c73a1071678612430fff2f23180ad336
Use skb_orphan instead of skb_unshare in TX to DP component

Change-Id: I0372a5c58f96a40d81a6670f507870dbfac63170
CRs-Fixed: 3226184
2022-06-23 01:58:43 -07:00
Madan Koyyalamudi
0852d9a8a6 Release 5.2.1.25V
Release 5.2.1.25V

Change-Id: I8172c14abe53702ca408e88ec84e3fd028cce511
CRs-Fixed: 774533
2022-06-22 22:00:16 -07:00
Bing Sun
d9ba91f99f qcacld-3.0: Send disassoc frame if primary channel is punctured
If primary channel is punctured, set assoc_cnf.resultCode as
eSIR_SME_INVALID_ASSOC_RSP_RXED, set assoc_cnf.protStatusCode as
STATUS_UNSPECIFIED_FAILURE and send disassoc frame.

Otherwise sme layer still considers it as a valid connection.

Change-Id: Ia36ddfba66febd4c9ddcc5e06cd6acd5f27a93bb
CRs-Fixed: 3224968
2022-06-22 22:00:15 -07:00
Liangwei Dong
198a53016d qcacld-3.0: Remove vdev "active" check for get operation chan
The API wlan_get_operation_chan_freq will return 0 if
vdev is starting, which is unexpected.
Fix by remove vdev "active" check for get operation chan API.

Change-Id: I12999a68aa74da931ed847b0b696ef49325daa1d
CRs-Fixed: 3225525
2022-06-22 22:00:10 -07:00