Commit Graph

26124 Commits

Author SHA1 Message Date
Madan Koyyalamudi
b74b93b98b Release 5.2.1.26Q
Release 5.2.1.26Q

Change-Id: I3a16dae3c26ca28c15bc17e63b1152b3b66bf189
CRs-Fixed: 774533
2022-06-25 03:03:20 -07:00
Utkarsh Bhatnagar
5b8626946b qcacld-3.0: Allow TDLS connection on 6GHz only if fw supports
Allow TDLS connection on 6GHz only if FW supports TDLS on 6GHz.

Change-Id: I663bd6d73235664c21029d8956f465da5a5b39c6
CRs-Fixed: 3223677
2022-06-25 03:03:20 -07:00
Wu Gao
6fac8201a3 qcacld-3.0: Enable CONFIG_WDI_EVENT_ENABLE for enhanced CFR feature
This is requirement about enable CONFIG_WDI_EVENT_ENABLE for enhanced
CFR feature, since this feature expected data from monitor status ring
by WDI event.

Change-Id: I6f152d8b1f4a03a1f0faef0c2338d906ab9f93f1
CRs-Fixed: 3223545
2022-06-25 03:03:14 -07:00
Madan Koyyalamudi
58a8e4eefb Release 5.2.1.26P
Release 5.2.1.26P

Change-Id: I85702b4f5c67610aa7221ab27fac7ae6cf4adc24
CRs-Fixed: 774533
2022-06-25 01:08:40 -07:00
abhinav kumar
b2c27b3103 qcacld-3.0: Handle vendor control command and event
WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID: Add support
for a new roam command to get vendor control parameters
from FW. Host needs to send proper param ID in command
(from enum WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID)
to get corresponding INI value from FW.

WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID:
Add support for a new roam event to get param value
from FW. FW sends this event upon receiving
WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID command.

Change-Id: I03679bcf359a0f425aab7b9ea1c3cb6d84fbb0ca
CRs-Fixed: 3225160
2022-06-25 01:08:39 -07:00
Utkarsh Bhatnagar
31fa2f653e qcacld-3.0: Set VLP mode for STA if TDLS enabled
For STA+TDLS on 6 GHz band, set power mode as VLP
if the country supports it. Once there is no
connected peer then restore the mode which
was there before the TDLS connection.

Change-Id: I551ec77545e33cc70d1ce51a0a92cd7d8a56a8db
CRs-Fixed: 3223647
2022-06-25 01:08:34 -07:00
Utkarsh Bhatnagar
77afc58054 qcacld-3.0: Add check for allowing TDLS 6GHz
Add check for allowing TDLS 6 GHz such as TDLS
is only allowed for channels which supports
VLP Power level.

Change-Id: I32ea3fb61deed2ff236849ef22894d5cb791dd84
CRs-Fixed: 3223617
2022-06-25 01:08:28 -07:00
Utkarsh Bhatnagar
e2b4c15a62 qcacld-3.0: Populate Wideband Bw for TDLS frames
Populate Wideband Bw for TDLS Setup and Discovery
Frames.

Change-Id: I0f20c6463ef7a7abd5dea0718ecf0562dcdc5de2
CRs-Fixed: 3223610
2022-06-25 01:08:23 -07:00
Madan Koyyalamudi
16497e7285 Release 5.2.1.26O
Release 5.2.1.26O

Change-Id: I5ed269715bc1ad5da1092bd5c4106b4aadd9cbb0
CRs-Fixed: 774533
2022-06-24 23:27:34 -07:00
David Oladunjoye
312cde3e1e 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: Icdb1590b51cf172728c3b484f05d20c49e68c38e
CRs-Fixed: 3217422
2022-06-24 23:27:33 -07:00
Utkarsh Bhatnagar
43498a722e qcacld-3.0: Populate TDLS peer Wideband BW
Don't restrict TDLS peer bw while updating
its hash node if it supports TDLS wideband

Change-Id: Iabc59c1f87df3cad4b4db1db5c6d11f07a4f1637
CRs-Fixed: 3223594
2022-06-24 23:27:28 -07:00
Madan Koyyalamudi
3ef6c3b960 Release 5.2.1.26N
Release 5.2.1.26N

Change-Id: Iaf00f90abc1b05c70a2b71208eb6963d0672cb3c
CRs-Fixed: 774533
2022-06-24 21:49:31 -07:00
David Oladunjoye
12a4b82909 qcacld-3.0: wma: 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: I97307a052db1784def408483689bcec7f157002b
CRs-Fixed: 3217421
2022-06-24 21:49:31 -07:00
David Oladunjoye
be252149e4 qcacld-3.0: sme: 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: I3ec9817325ce44702b932b100af312f84dad5d66
CRs-Fixed: 3217420
2022-06-24 21:49:24 -07:00
Madan Koyyalamudi
3203daf43e Release 5.2.1.26M
Release 5.2.1.26M

Change-Id: I21a9c59741a862c5c56f6baffbb894455114d2b3
CRs-Fixed: 774533
2022-06-24 20:06:14 -07:00
David Oladunjoye
c730c2b970 qcacld-3.0: sap: 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: I34248b07875ea4b615be84aba26798f10e7773ec
CRs-Fixed: 3217419
2022-06-24 20:06:13 -07:00
David Oladunjoye
ad41728f81 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: Ie320d97a2df018fb0ad1a39c3fb2683e564d1808
CRs-Fixed: 3217418
2022-06-24 20:06:08 -07:00
David Oladunjoye
4d96c00a9f qcacld-3.0: cds: 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: Ie67561ab55512c5f9848ede02177104aefb09b7e
CRs-Fixed: 3217417
2022-06-24 20:06:03 -07:00
David Oladunjoye
678d1dcf9c qcacld-3.0: bmi: 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: I220132ef01f4bf300bbd1f54e5f9dc5208787603
CRs-Fixed: 3217416
2022-06-24 20:05:56 -07:00
Madan Koyyalamudi
76b79e6105 Release 5.2.1.26L
Release 5.2.1.26L

Change-Id: I274d5a0955a7369dac57edd4b00842defe710294
CRs-Fixed: 774533
2022-06-24 18:21:12 -07:00
Amruta Kulkarni
25e0f5067e qcacld-3.0: Add check for mlo ie present
Process link specific probe response only if mlo ie is present
and ml probe request is sent.

Change-Id: Id958c342a714e98ae3e08f7806bc72da2baaa274
CRs-Fixed: 3225652
2022-06-24 18:21:11 -07:00
David Oladunjoye
b4fdfdda0b qcacld-3.0: mac: 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: If9751a727345c94687d6075f41b3e53b1cdf9046
CRs-Fixed: 3217415
2022-06-24 18:21:06 -07:00
Pragaspathi Thilagaraj
701003d5dd qcacld-3.0: Add support to print aid and btcoex field
Add new tags for reassociation request and reassociation
response. Parse the association id from roam stats event
and send it over the connectivity logging event

Add support to print AID and BT-COEX field.

Change-Id: I7926b5c69a84404b666acfd5e2db30426d085881
CRs-Fixed: 3221624
2022-06-24 18:21:00 -07:00
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