Commit-Graf

27581 Incheckningar

Upphovsman SHA1 Meddelande Datum
Li Feng
980420444e qcacld-3.0: Add timeout of NAPI polling for single MSI case
Observed NAPI of REO2SW1 hard to complete caused by slow CPU/schedule
on REO2SW1, hence IRQ of REO2SW1 keep disabled during the polling which
impact other MSI as well in single MSI case, until hit REO2TCL timeout
and crash.

The fix is complete the dp rx NAPI poll and re-enable the irq if the
irq disabled for long time.

Change-Id: Iad53b39c8b8d6a99a9006149e7579f8dc3c93e39
CRs-Fixed: 3134851
2022-12-04 10:08:32 -08:00
Jianmin Zhu
a30758ecca qcacld-3.0: Ignore duplicated roam start event
Ignore duplicated roam start event if roam started already, don't abort
roam.

Change-Id: I0b3ebe861d2cc9e3db4b794df5e9ff7938b797fe
CRs-Fixed: 3351225
2022-12-04 10:08:27 -08:00
Madan Koyyalamudi
c09028af46 Release 5.2.1.47R
Release 5.2.1.47R

Change-Id: I0ef841cb0e6d8c73868e15fe3c02cbe6fac604bc
CRs-Fixed: 774533
2022-12-04 06:25:44 -08:00
Liangwei Dong
8646ae0f4c qcacld-3.0: Release vdev ref count in error path
Release vdev ref count in error path.

Change-Id: Id59695cc48a4211bfba1a87ac12a44f90961d7f5
CRs-Fixed: 3345522
2022-12-04 06:25:43 -08:00
Madan Koyyalamudi
ae228f7eb9 Release 5.2.1.47Q
Release 5.2.1.47Q

Change-Id: Ib3bce8163b4165977ace53bcc15d789b77e18b05
CRs-Fixed: 774533
2022-12-03 22:19:44 -08:00
Chaoli Zhou
5fbbb4a769 qcacld-3.0: Fix 'variables may be used uninitialized' issue
Need to set default value for tdls_feature_set to
fix the 'variables may be used uninitialized' issue.

Change-Id: I1cab38220240432c620a83ecb2f4feefb71f2e4f
CRs-Fixed: 3342670
2022-12-03 22:19:43 -08:00
Madan Koyyalamudi
bad2015c69 Release 5.2.1.47P
Release 5.2.1.47P

Change-Id: I7bd8c7ae2d4cf8f3ff658a58ea4c74dc0b984aaf
CRs-Fixed: 774533
2022-12-03 15:26:36 -08:00
sandhu
f2973a0175 qcacld-3.0: Rate limit excessive logging
Rate limit excessive logging to prevent kernel panic.

Change-Id: I916fd576c4fd20ebe4f49e546cc5180bd0a79b1a
CRs-Fixed: 3348753
2022-12-03 15:26:35 -08:00
Madan Koyyalamudi
0bc72a406c Release 5.2.1.47O
Release 5.2.1.47O

Change-Id: I18813c43b3aa64e3076fa605a8ae065edc6b9020
CRs-Fixed: 774533
2022-12-02 20:07:55 -08:00
Vinod Kumar Pirla
859b6feb21 qcacld-3.0: Refactor multi latency level configuration
Introduce a new API to configure the latency level for the adapter
which is currently configured in the hdd_start_station_adapter()

Change-Id: Icc91ca253de8f9590f4530d976bd4b54cf7a3eba
CRs-Fixed: 3297686
2022-12-02 20:07:54 -08:00
Madan Koyyalamudi
2bcf0533a6 Release 5.2.1.47N
Release 5.2.1.47N

Change-Id: Ida2b31a5790cf516a6c28be7b9fafc16bfb5f52e
CRs-Fixed: 774533
2022-12-02 18:05:18 -08:00
Sheenam Monga
f6de97d19c qcacld-3.0: Don't send success status to user space
Currently, If AP doesn't allow Prohibit to be set and user tries
to enable prohibit, host doesn't send command to FW to enable prohibit
but doesn't send failure status to user space.

Fix is to send failure status to userspace in case prohibit is not enabled.

Change-Id: Ic983b85d27e16314f63c02f88d3b1689d587d622
CRs-Fixed: 3344607
2022-12-02 18:05:17 -08:00
Madan Koyyalamudi
74652004c5 Release 5.2.1.47M
Release 5.2.1.47M

Change-Id: Icee509c234e9101051380432b87a4675e0e818ea
CRs-Fixed: 774533
2022-12-02 12:28:59 -08:00
Paul Zhang
64e62fbb3d qcacld-3.0: Fix about extended supported rate wrong
After starting SAP on channel 6, then issuing setChanChange
command. Per the sniffer log, the rate list of extended
supported rate is wrong in the beacon and probe response.

It is happens because in wlansap_fill_channel_change_request,
when it copies the extended supported rate list, it uses
parameter sizeof(dot11_cfg.ext_rates.numRates) instead of
dot11_cfg.ext_rates.numRates, so it only copies the first rate.

Change-Id: I7f23254fbd6ce56be69dbea634d9d99f3b611448
CRs-Fixed: 3345554
2022-12-02 12:28:59 -08:00
Liangwei Dong
17751d0800 qcacld-3.0: Protect STA powersave state change
At present the set/get user powersave state to MLME and send
command STA powersave mode to firmware operations are not
protected by lock.
Supplicant thread and hdd_ipv4_notifier_work_queue may have
race condition to access the user powersave flag. In that
case the STA powersave state may out of sync.

Fix by acquire sme lock to protect the powersave state set
sequence.

Change-Id: I76d848ea191f2319d015e0d70efad28f56a57d27
CRs-Fixed: 3342696
2022-12-02 12:28:54 -08:00
Madan Koyyalamudi
50a58a61e8 Release 5.2.1.47L
Release 5.2.1.47L

Change-Id: I2c98082525bb2d921e17d236e6ce678791e148ca
CRs-Fixed: 774533
2022-12-02 10:30:17 -08:00
Vinod Kumar Pirla
b2a58e1b88 qcacld-3.0: Refactor station mode initialization
Introduce a new API to move HT VHT IEs initialization
code from hdd_init_station_mode() function.

The new API will have vdev objmgr as function parameter
which can be used to operate on per vdev instead of adapter.

Change-Id: Ifc6766f0d2ae8c0b272099a56b38ea71236eea08
CRs-Fixed: 3297555
2022-12-02 10:30:17 -08:00
Liangwei Dong
d5b09f8c5d qcacld-3.0: Check max bw support with regulatory API
For channel frequency 5825 MHz, need to check regulatory
API support 20 MHz band width only before reject it.

Change-Id: I6d4ac072e181921852603107b650d9349205e54d
CRs-Fixed: 3332847
2022-12-02 10:30:12 -08:00
Paul Zhang
d5a46c0544 qcacld-3.0: Correct the param mis-used issue
Correct the param mis-used issue when function
wma_handle_vdev_detach invokes function
wlan_mgmt_txrx_vdev_drain.

Change-Id: Ied3118028d881c2c0d4300daa6b24515b2797781
CRs-Fixed: 3349006
2022-12-02 10:30:06 -08:00
Madan Koyyalamudi
f144674c98 Release 5.2.1.47K
Release 5.2.1.47K

Change-Id: I5bf510f1e0e63efc09c71e89379b12dcd0d060c0
CRs-Fixed: 774533
2022-12-02 03:30:38 -08:00
Vinod Kumar Pirla
6bcb65a9f5 qcacld-3.0: Refactor vdev destroy wait for event
Refactor the hdd_vdev_destrory() API to move the wait
on vdev destroy event to a new API.

Change-Id: I8c27a12ab8aa5967cafb1b31475ea23ba9241cbe
CRs-Fixed: 3307015
2022-12-02 03:30:37 -08:00
Madan Koyyalamudi
82b5905769 Release 5.2.1.47J
Release 5.2.1.47J

Change-Id: Ic37a769c1890a4e05190d1cae35f573bb9f809c7
CRs-Fixed: 774533
2022-12-02 01:25:17 -08:00
Asutosh Mohapatra
5c6ded482a qcacld-3.0: Restrict mode change to FTM mode scenarios
Currently if driver load/unload is in progress or driver is
loaded and mode change to FTM mode is issued from the sys
path, memory leakage occurs during driver unload.

To address this issue, don't change mode if driver is already
loaded or load/unload is in progress.

Change-Id: I09cacaf11d516c62de1a9699547eb01476afdc1f
CRs-Fixed: 3349217
2022-12-02 01:25:17 -08:00
Krupali Dhanvijay
3ecc75ecc3 qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_empty_scan_refresh_period_global() and
sme_get_neighbor_scan_refresh_period() apis
and replace it with ucfg api.

Change-Id: Iaa511024467f45dc408da3db202b25f9b5276453
CRs-Fixed: 3335898
2022-12-02 01:25:11 -08:00
Krupali Dhanvijay
091ad81795 qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_roam_opportunistic_scan_threshold_diff() and
sme_get_roam_scan_home_away_time() apis and replace it with ucfg api.

Change-Id: I7de3bf3faff990cbf667cb8106044a33f16f3a46
CRs-Fixed: 3335898
2022-12-02 01:25:05 -08:00
Krupali Dhanvijay
7c037e6d50 qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_wes_mode(), sme_get_is_lfr_feature_enabled()
and sme_get_is_ft_feature_enabled() apis and
replace it with ucfg api.

Change-Id: I7715ba361264fcb2c0c93d8d073813538347dd31
CRs-Fixed: 3335898
2022-12-02 01:24:59 -08:00
Krupali Dhanvijay
2c38836b37 qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_neighbor_scan_max_chan_time() and
sme_get_neighbor_scan_max_chan_time() apis and replace it with ucfg api.

Change-Id: I8a9de18f22e352ed8c64f415fd0455f64227a857
CRs-Fixed: 3335898
2022-12-02 01:24:53 -08:00
Krupali Dhanvijay
45eb0c0f4e qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_roam_rssi_diff() and
sme_get_is_ese_feature_enabled() apis and replace it with ucfg api.

Change-Id: I226efbcf8ecd44b08684a3e17e2db987c169946d
CRs-Fixed: 3335898
2022-12-02 01:24:48 -08:00
Krupali Dhanvijay
5afc9f98c7 qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_empty_scan_refresh_period() and
sme_get_neighbor_scan_min_chan_time() apis and
replace it with ucfg api.

Change-Id: I372fcbcf4f96af2c642a5fe93c0f8e2ce98174ea
CRs-Fixed: 3335898
2022-12-02 01:24:43 -08:00
Krupali Dhanvijay
b3021e935e qcacld-3.0: Clean up code for sme apis
Clean up the code for sme_get_neighbor_lookup_rssi_threshold() and
sme_get_roam_rescan_rssi_diff() apis and
replace it with ucfg api.

Change-Id: Idc7503eaa316d68dc05aba8345970ace7bc8ad45
CRs-Fixed: 3335898
2022-12-02 01:24:37 -08:00
Krupali Dhanvijay
a3a9866f7d qcacld-3.0: Clean up code for sme apis
Clean up code for sme_get_valid_channels() and
sme_get_roam_intra_band() apis and
replace it with ucfg api.

Change-Id: Ic2f07e2193186d1e1ac81f6e5909417c10ab9c89
CRs-Fixed: 3335898
2022-12-02 01:24:32 -08:00
Amruta Kulkarni
a9850cfe67 qcacld-3.0: Parse and save t2lm ie
Adds support to parse and save t2lm ie from beacon or
probe response in t2lm database

Change-Id: Ieea735200ab0ae120c01b632687a82ca972459dc
CRs-Fixed: 3337174
2022-12-02 01:24:26 -08:00
Madan Koyyalamudi
4b473ede81 Release 5.2.1.47I
Release 5.2.1.47I

Change-Id: Ibd3b1bd51e705b5a348a249c23bcf7d69481969d
CRs-Fixed: 774533
2022-12-01 08:19:26 -08:00
Rachit Kankane
f5b2eeb7f6 qcacld-3.0: Fail SR commands in concurrency
Fail all the Spatial Reuse commands if SR in concurrency
is not supported.

Change-Id: Ifcee0cfb6f52bcde5bcb4193f4f8bb336ba6b191
CRs-Fixed: 3338582
2022-12-01 08:19:26 -08:00
Asutosh Mohapatra
b9a928a6c5 qcacld-3.0: Use link_id stored in vdev in case of MLO
Currently, host hardcodes link_id value to 0 and sends to user space
hence getting multiple call traces as the 0th bit of valid links
is not set.

To address this issue send link_id extracted from beacon data to
user space.

Change-Id: I522518eed418b502e2a806ef18743290e465e827
CRs-Fixed: 3338480
2022-12-01 08:19:20 -08:00
chunquan
2a9b4fb35b qcacld-3.0: Skip dfs channel for P2P-GO concurrency mode
If sta connect to an AP at 5 GHz DFS channel, P2P-GO open and would
scc on the same channel. We don't expect filter out the DFS channel
from PCL list.

Change-Id: Idd8707d7aea908d17d720b54c0228a131cf17fcd
CRs-Fixed: 3345700
2022-12-01 08:19:15 -08:00
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