Commit Graph

24165 Commits

Author SHA1 Message Date
Madan Koyyalamudi
4db34d9001 Release 5.2.0.252E
Release 5.2.0.252E

Change-Id: I8e9f6fbb55b0bd6826bfc3ea96af3c5c0006a602
CRs-Fixed: 774533
2021-10-15 10:59:54 -07:00
Paul Zhang
213979ea04 qcacld-3.0: Fix addts failure for reassoc case
At present lim_is_medium_time_valid returns failure for
reassoc case since it only checks pe_session->lim_join_req.

To resolve this issue, checks pe_session->pLimReAssocReq too.

Change-Id: I78ab6e548c590cb16dc71a16e861ecc940601b96
CRs-Fixed: 3056363
2021-10-15 02:47:55 -07:00
Madan Koyyalamudi
f8064ea81a Release 5.2.0.252D
Release 5.2.0.252D

Change-Id: Id01bd3328fdd3d6b7208be0418467a4d5a2d6137
CRs-Fixed: 774533
2021-10-15 02:01:52 -07:00
Pragaspathi Thilagaraj
d8702a3159 qcacld-3.0: Fix invalid bssid filled while deleting pmksa
In delete pmksa call for FILS case, the userspace sends only the
ssid and cache id on the pmk cache. But the driver copies only the
bssid which could cause invalid bssid being copied and the delete
pmksa operation fails always.

Fill pmksa ssid if SSID and cache id are provided, else copy the
bssid. Also add additional debugs for FILS RSN IE.

Change-Id: I7836156e0fe4c885d35fd8791dfe3bf958a88522
CRs-Fixed: 3036327
2021-10-15 02:01:52 -07:00
Madan Koyyalamudi
9edc45dead Release 5.2.0.252C
Release 5.2.0.252C

Change-Id: I3a7777e9798fad1d201caa9c2fc2d2e77ddf10d8
CRs-Fixed: 774533
2021-10-14 22:02:11 -07:00
Chaoli Zhou
5524ab1d48 qcacld-3.0: Add dependency for CONFIG_HAL_DEBUG
Enable CONFIG_HAL_DEBUG if CONFIG_SLUB_DEBUG_ON is Y
to fix the compile issue for HST.

Change-Id: I1fd8760f543f6d739af994b8b4b4ca3684dd3686
CRs-Fixed: 3054445
2021-10-14 22:02:11 -07:00
Madan Koyyalamudi
9cbb7a8de3 Release 5.2.0.252B
Release 5.2.0.252B

Change-Id: I08e8538c41c03b36391e51ec14cea19604639919
CRs-Fixed: 774533
2021-10-14 19:23:53 -07:00
Utkarsh Bhatnagar
bec3468f4e qcacld-3.0: Add support for Lower and Upper share
For SBS Frequency range, the frequency range can
be of Either Lower 5Ghz Frequency shared with
2.4Ghz Frequency or Upper 5Ghz Frequency shared
with 2.4ghz phy.
Add support for both the shares.

Change-Id: Ibf17cf155e52534e029bd596f70349faf8cc03ee
CRs-Fixed: 3056464
2021-10-14 19:23:52 -07:00
Pragaspathi Thilagaraj
c3548d50ff qcacld-3.0: Fix race between dequeue logs and deinit connectivity logging
As part of stop modules, the deinit connectivity logging happens and
the queue, all the pointers are deinitialized. But while
initializing the write pointer the write pointer spinlock is not
acquired. This results in null pointer dereference of write_ptr
from other context.

Protect the access to the write pointer before setting it to
NULL in wlan_connectivity_logging_stop().

Change-Id: I69dc57b9e661004203f58754824496953105726f
CRs-Fixed: 3054306
2021-10-14 19:23:48 -07:00
Madan Koyyalamudi
ded3ce6ffd Release 5.2.0.252A
Release 5.2.0.252A

Change-Id: I91ba7cc0504bb3d0ce04b617d7a2583c35b8cadb
CRs-Fixed: 774533
2021-10-14 15:04:47 -07:00
Vevek Venkatesan
0ea8b922c2 qcacld-3.0: remove FEATURE_HAL_DELAYED_REG_WRITE_V2 from Kbuild
Since the code under FEATURE_HAL_DELAYED_REG_WRITE_V2 has been
removed and cleaned up, removing the build flag from Kbuild.

Change-Id: I66072af952877881fb700869ae4774e4f1a388cc
CRs-Fixed: 3056477
2021-10-14 15:04:47 -07:00
Madan Koyyalamudi
5986393a17 Release 5.2.0.252
Release 5.2.0.252

Change-Id: I7eded4290dda5cf265377f0598161027543c86e1
CRs-Fixed: 774533
2021-10-14 10:16:12 -07:00
Utkarsh Bhatnagar
27e63bcaeb qcacld-3.0: STA SBS concurrency changes
In if_mgr_validate_candidate() adds SBS
check to allow a STA connection on SBS
channel when MCC is not allowed .

Change-Id: Ia8007a4beabf546ff293986124f4ef985ccaeacc
CRs-Fixed: 3052797
2021-10-14 10:16:12 -07:00
Madan Koyyalamudi
d51bbe6f86 Release 5.2.0.251Z
Release 5.2.0.251Z

Change-Id: If3023eaaf12cfc36234296791e0fa1c708bee41f
CRs-Fixed: 774533
2021-10-14 03:34:41 -07:00
Zhaoyang Liu
5723cf5d2f qcacld-3.0: fix spin lock bad magic issue
The spin lock pm_qos_lock is used in disconnect handler,
but it maybe not initialized if run time pm not enabled.
This will cause spin lock bad magic check failure issue.
Fix it to create spin lock during pm qos notifier register.

spinlock bad magic on CPU#7, kworker/7:2/691
lock : 0xffffff815bf93170, .magic: 00000000,
       .owner: <none>/-1, .owner_cpu: 0
------------[ cut here ]------------
Internal error: Oops at kernel/locking/spinlock_debug.c:73!
Call trace:
spin_dump+0x7c/0x80
do_raw_spin_lock+0xbc/0x124
_raw_spin_lock_irqsave+0x38/0x4c
hdd_cm_disconnect_complete+0x14c/0x2e4 [wlan]
osif_cm_disconnect_comp_ind+0x38/0x8c [wlan]
osif_disconnect_handler+0x200/0x228 [wlan]
osif_cm_disconnect_complete_cb+0x10/0x1c [wlan]
mlme_cm_osif_disconnect_complete+0x40/0x84 [wlan]
cm_notify_disconnect_complete+0x34/0xec [wlan]
cm_disconnect_complete+0x3c/0xdc [wlan]
cm_send_disconnect_resp+0x64/0x90 [wlan]
cm_state_init_event+0xc8/0xe4 [wlan]
wlan_sm_dispatch+0x168/0x1e8 [wlan]
cm_sm_deliver_event+0x11c/0x1b8 [wlan]

Change-Id: Id78e1e13ceded7cfefc40a8a86f74fe976b9aa75
CRs-Fixed: 3055380
2021-10-14 03:34:40 -07:00
Madan Koyyalamudi
96327caf42 Release 5.2.0.251Y
Release 5.2.0.251Y

Change-Id: Iab1932d2b03343362a7f4d741e45fb4a5e71231c
CRs-Fixed: 774533
2021-10-13 23:06:20 -07:00
Bing Sun
e549c53037 qcacld-3.0: Fix memory leak for mlo sap when mlo connection fails
tpSirAssocReq buffer fails to free when mlo connection fails.

Free tpSirAssocReq buffer when mlo connection fails.

Change-Id: I12681f7b482df7d712807574f19a4ba2ef07fc3c
CRs-Fixed: 3055674
2021-10-13 23:06:20 -07:00
Paul Zhang
217410b777 qcacld-3.0: print wlm mode when start adapter
Add a host message to print the initial WLM mode
in hdd_start_station_adapter.

Change-Id: I7d4df85e683b650c1f5dcf4f3ce7d11086312b1f
CRs-Fixed: 3013037
2021-10-13 23:06:15 -07:00
Karthik Kantamneni
f3f45e867e qcacld-3.0: Fix refill thread getting stuck in suspend state
Currently during wlan suspend DP refill thread is suspended first
then RX thread is suspended but if RX thread suspend fails then
refill thread should be resumed if not refill thread will be stuck
in suspend state forever.

To avoid refill thread getting stuck in suspend state, resume
refill thread when RX thread suspend failure is encountered.

Change-Id: I2dfdfa881bb3cb660b83067c796d3a833b86ef5f
CRs-Fixed: 3054903
2021-10-13 23:06:10 -07:00
Jyoti Kumari
14f24434c6 qcacld-3.0: Set twt ext_conf_present to true in disable cmd
In SAP+STA DBS case, STA twt session gets teardown when SAP
becomes active. This is because ext_conf_present is set as false
in both req/res disable api due to which
TWT_EN_DIS_FLAGS_SET_SPLIT_CONFIG, TWT_EN_DIS_FLAGS_SET_REQ_RESP,
and TWT_EN_DIS_FLAGS_SET_I_B_TWT becomes 0 and sends disable cmd
for both req/res in firmware.

As part of fix, set twt ext_conf_present as true so that disable
cmd will be send based on role.

Change-Id: I64c8c30af3eef22c75e29de5f674630d091fda04
CRs-Fixed: 3048284
2021-10-13 23:06:03 -07:00
Madan Koyyalamudi
443d6d3971 Release 5.2.0.251X
Release 5.2.0.251X

Change-Id: I356a0b2186b06279a0df6ccfef4a76b7513fd37a
CRs-Fixed: 774533
2021-10-13 20:49:43 -07:00
Ashish Kumar Dhanotiya
0bf87b8195 qcacld-3.0: Remove unwanted tsf logs
There are few extra logs in tsf, with this change remove
these extra tsf logs.

Change-Id: Iabacefa2ae14d7cc35833c1f36b1fb4cfc0e1b76
CRs-Fixed: 3054478
2021-10-13 20:49:43 -07:00
Madan Koyyalamudi
dec7d274da Release 5.2.0.251W
Release 5.2.0.251W

Change-Id: If16543ed519473b035b584e0fe748d510e05b219
CRs-Fixed: 774533
2021-10-13 17:42:25 -07:00
Aditya Kodukula
25130a97ab qcacld-3.0: Correct the kernel doc of ICMP APIs
Correct the Kernel documentation of ICMP feature APIs.

Change-Id: Iec2fe332c24e11835ebd6546dda40603f6f0173d
CRs-Fixed: 3055077
2021-10-13 17:42:25 -07:00
Madan Koyyalamudi
182f4a61c2 Release 5.2.0.251V
Release 5.2.0.251V

Change-Id: Ic4a7cb2f2eebd3f37ce86ec764d2e39a117dfbf1
CRs-Fixed: 774533
2021-10-13 15:22:45 -07:00
Pragaspathi Thilagaraj
180fd2e36d qcacld-3.0: Fix connectivity logging roam result and roam reason
Roam result is printed as failure always since the
is_roam_successful flag is not passed to the
roam successful attribute to userspace. For roam
reason, the wrong attribute is used to convert the roam
sub reason from driver values to userspace values.
In WTC roam, the sub reason & vsie is not filled
from the right roam trigger TLV.

Fix the connectivity logging roam result and roam
subreason and WTC values passed to userspace.

Change-Id: Id276054868d907a801e87c1fd9cd7bb3b7c4e150
CRs-Fixed: 3051447
2021-10-13 15:22:45 -07:00
Arun Kumar Khandavalli
a92b362060 qcacld-3.0: Register/unregister ML link wdev
Register/unregister the ml link wdev to cfg80211 layer.

Change-Id: I04312e59fbbb68bae01a18fe320175da63bdab35
CRs-Fixed: 2993466
2021-10-13 15:22:39 -07:00
Madan Koyyalamudi
fd53dd2d50 Release 5.2.0.251U
Release 5.2.0.251U

Change-Id: Id74ccf8ef898cef9896f1abd47ea4bbc06dd5c3a
CRs-Fixed: 774533
2021-10-13 13:12:08 -07:00
Sachin Ahuja
79c50b89ed qcacld-3.0: Change log level to info from fatal
Currently, WOW wake up event is logging the critical messages
using the fatal log level. These logs are not fatal but critical
to know the reason of the WOW wakeup.

Change the WOW critical log level from fatal to info.

CRs-Fixed: 3052107
Change-Id: Iebd1e08ca5d75eb5b312fa19820702b514dd03f9
2021-10-13 13:12:08 -07:00
Madan Koyyalamudi
cae34c48db Release 5.2.0.251T
Release 5.2.0.251T

Change-Id: I6af5d54e3c9941fdf242bf7d06f1f69febd200cc
CRs-Fixed: 774533
2021-10-13 11:05:10 -07:00
Yu Tian
b88ef09eef qcacld-3.0: Move DP_RX_THREAD_WAIT_TIMEOUT out of HAL SLUB DEBUG macro
DP_RX_THREAD_WAIT_TIMEOUT is defined in one macro but
derefereced under another macro. Change is to align
the macro in-use.

Change-Id: I839b2b024c2b2301a585b6ca8016ac64fb3899f2
CRs-Fixed: 3055419
2021-10-13 11:05:10 -07:00
Madan Koyyalamudi
737107d826 Release 5.2.0.251S
Release 5.2.0.251S

Change-Id: I1a6f395e93820c696ee106a2197be6a4cb5a7c18
CRs-Fixed: 774533
2021-10-13 05:59:44 -07:00
Qun Zhang
070ac60087 qcacld-3.0: Use right copy length for struct hecap_6ghz to avoid OOB
In function wlan_cfg80211_tdls_extract_6ghz_params(), the length of
req_info->he_6ghz_cap is two bytes, but with a copy length of the
length of pointer params->he_6ghz_capa. Make sure the righ copy
length is used here to avoid OOB.

Change-Id: I8e98c2a72ab032c3da9e0e213d1ea85f0653e0cb
CRs-Fixed: 3047149
2021-10-13 05:59:43 -07:00
Madan Koyyalamudi
aff7861235 Release 5.2.0.251R
Release 5.2.0.251R

Change-Id: Id281a5925d65e4ebdc4133f6658dcbb6e613573a
CRs-Fixed: 774533
2021-10-13 00:50:37 -07:00
Komal Maheshwari
a89f1924a1 qcacld-3.0: compilation fix for ks sync path change
For SDW5100 release branch path for common dir is changed to
device/qcom/common/monaco which is being specified in target mk file.
This change ensures other SI compilation will not break.

Change-Id: If8aa35a2e2da0e42b34c77ff8097c26aa2aa83d1
CRs-Fixed: 3020014
2021-10-13 00:50:37 -07:00
Madan Koyyalamudi
30e4819227 Release 5.2.0.251Q
Release 5.2.0.251Q

Change-Id: Icfa16d265294ac05224460f3b4c2090d55380307
CRs-Fixed: 774533
2021-10-12 11:02:34 -07:00
Tushnim Bhattacharyya
f71379600b qcacld-3.0: Set default value for bss_color_collision_det_sta to 1
For STAUT to follow the rules governing OBSS Narrow Bandwidth RU in
UL OFDMA Tolerance Support, bss_color_collision_det_sta to be set
to 1.

Change-Id: Ibe283f8bec9febbaf9a876d1afd55389ea4c971d
CRs-Fixed: 3053624
2021-10-12 11:02:34 -07:00
Lincoln Tran
d0562f63ad Revert "qcacld-3.0: Clear MLO cap bit on disconnect complete"
This logic belongs in connection manager so remove it from HDD.

This reverts change I7eca69b8a0b0f7018326681be14197b3482e859d.

Change-Id: Ie58f4a988c7118eeda02762a2e2965c21596cd8f
CRs-fixed: 3054186
2021-10-12 11:02:29 -07:00
Madan Koyyalamudi
93ea828173 Release 5.2.0.251P
Release 5.2.0.251P

Change-Id: I824695419970cc44a43926d63770c90670d37dcb
CRs-Fixed: 774533
2021-10-12 04:52:00 -07:00
Lin Bai
375931b25f qcacld-3.0: Check ch_width for dot11f vht and he caps
Currently as STA, when populating channel width set, only max BW
advertised by target are considered. However issue is that due to
regulatory limitations, the max BW advertised may not be the real
operating BW used by our device. Under such conditions, there'll
be conflicts between AP's view of our capablities and the real
ones host configured to target.

Therefore when populating supported channel width set for VHT and HE
capabilities, take current session's channel width into account so
so that capabilities advertised could correctly reflect current
running configurations.

Change-Id: Ib072c3e4d36d5c3fbd5504d94a936175d1a92db0
CRs-Fixed: 3047338
2021-10-12 04:52:00 -07:00
Surya Prakash Sivaraj
1840b420af qcacld-3.0: Update VHT IE with highest supported LGI rate
Currently, the Rx/Tx highest Long GI data rate field in
the  VHT IE is filled with short GI data rate. Therefore,
change the highest supported data rate back to LGI data
rate.

Allow the short GI rate to be filled as the highest supported
rate in the wiphy if short GI is enabled.

Change-Id: Ie0652b4cdeef370cb8ad3d11b5d36b6959c1cbcb
CRs-Fixed: 3053946
2021-10-12 04:51:55 -07:00
Madan Koyyalamudi
ec7d2c71ed Release 5.2.0.251O
Release 5.2.0.251O

Change-Id: Id6da5cc816fbe0c1a9052d40cf2a71b17c848800
CRs-Fixed: 774533
2021-10-12 02:28:04 -07:00
Mohit Khanna
35736804a8 qcacld-3.0: Update path for monitor files
Monitor mode code has been restructured into 1.0 and 2.0 directories.
Update Kbuild path to reflect the same.

Change-Id: I59e79decd269a394b21c30e0685015e6ff16e772
CRs-Fixed: 3027215
2021-10-12 02:28:04 -07:00
Madan Koyyalamudi
ef1cdfabcd Release 5.2.0.251N
Release 5.2.0.251N

Change-Id: Ie01ad6b2276055825e3a3ee2b8a53d8d3b8e2787
CRs-Fixed: 774533
2021-10-12 00:08:56 -07:00
Bing Sun
0a9fb23665 qcacld-3.0: Notify peer disconnection to MLO when connection fails
MLO link peer fails to be detached if MLO peer state isn't set as
ML_PEER_DISCONN_INITIATED.
Notify peer disconnection to MLO when connection fails, which updates
MLO peer state to ML_PEER_DISCONN_INITIATED.

Change-Id: I0f044d12d7a8412757b76e1baccd71e146538afe
CRs-Fixed: 3053729
2021-10-12 00:08:55 -07:00
Aditya Kodukula
37026bc3ff qcacld-3.0: Add Support to offload icmp feature to fw
Add support to offload icmp feature to fw in case of
suspended state to avoid high power consumption.

Change-Id: I3ff19d71eac530c75be57e6b52b975e755ff2a53
CRs-Fixed: 3042452
2021-10-12 00:08:44 -07:00
Madan Koyyalamudi
29adcfaef4 Release 5.2.0.251M
Release 5.2.0.251M

Change-Id: I93d1533897b78f2c87934c1f9f13bcb9b3de8309
CRs-Fixed: 774533
2021-10-11 21:49:28 -07:00
Bing Sun
434f955e91 qcacld-3.0: Restore mlo ap information during reinit
Need save mlo link id and mlo link number information when starting bss.
During reinit, restore mlo link id and mlo link number information.

Change-Id: Ib188cab76d25eae6bb332b3a2ce3deb07825495b
CRs-Fixed: 3039138
2021-10-11 21:49:27 -07:00
Madan Koyyalamudi
d22fd41500 Release 5.2.0.251L
Release 5.2.0.251L

Change-Id: I104d35e1e41bce4fc892aa1d127e584f327edf59
CRs-Fixed: 774533
2021-10-11 12:14:32 -07:00
Ashish Kumar Dhanotiya
fbd44f9434 qcacld-3.0: Pass correct band info to roam set band
Currently driver always sets band value as REG_BAND_MASK_ALL
to roam set band which is incorrect.
Set correct band value from regulatory to roam set band.

Change-Id: I2cfb0c92e1eca549175135811d0122162281ba06
CRs-Fixed: 3050318
2021-10-11 12:14:32 -07:00