Wykres commitów

24327 Commity

Autor SHA1 Wiadomość Data
Madan Koyyalamudi
9f852dd255 Release 5.2.0.252J
Release 5.2.0.252J

Change-Id: If26405175c3efa1cf5f48605d6e6331898195178
CRs-Fixed: 774533
2021-10-18 14:51:37 -07:00
Yu Tian
25985fb598 qcacld-3.0: Add TX pending indication when sending wake up to FW
FW may experience HWDTIM mode enter and exit, if HOST can't queue
frames fast enough, this will bring 10ms latency for TX under WoW.
This change adds an indication bit to notify FW whether a TX happens
after WoW wakeup, then FW can discard HWDITM and reduce TX latency.
Change-Id: I74f7311fc0639186ee0bca711160bb8c0d5d9fb3
CRs-Fixed: 3055501
2021-10-18 14:51:37 -07:00
Madan Koyyalamudi
58e823804c Release 5.2.0.252I
Release 5.2.0.252I

Change-Id: I8ade1e5c73cc4604cfdca0200a5ec7c1c0afc2b5
CRs-Fixed: 774533
2021-10-18 09:43:05 -07:00
Li Feng
1331092b43 qcacld-3.0: Configure magic pattern in line with ini setting
The ini gEnableWoW was designed to enable or disable both magic
pattern match and pattern byte match, but now host ignore the
magic pattern setting from the ini, always enable the magic
pattern instead.

configure magic pattern in line with ini gEnableWoW setting.

Change-Id: I309aff03de9bdbd36fe391784ba54cbfa0cad67b
CRs-Fixed: 3047199
2021-10-18 09:43:05 -07:00
Huashan Qu
a3861249ad qcacld-3.0: Set hs_20_ap in cm_connect_start_ind()
When connect with assoc_ie has HS20_OUI_TYPE ie, hs_20_ap should
be set to true for using afterwards.

Change-Id: Id3003290473bdfa0adb0fc6471ae052e7944ab3d
CRs-Fixed: 3056979
2021-10-18 09:43:00 -07:00
Madan Koyyalamudi
2ed17728ad Release 5.2.0.252H
Release 5.2.0.252H

Change-Id: Ied709ebbce586755c55b6ba928742939a12d464a
CRs-Fixed: 774533
2021-10-15 17:54:09 -07:00
Sandeep Puligilla
5b4548b1e8 qcacld-3.0: Configure VHT capabilities based on the operating bandwidth
Max supported bandwidth and 160mhz short GI is advertised max
supported by the device. This could cause conflict at STA side
due to difference in current operating bandwidth and capabilities
advertised in VHT capability IE.

Configure VHT capabilities based on the operating bandwidth.

Change-Id: Ia548ed0b39284f5624920800075bc614872c1595
CRs-Fixed: 3052687
2021-10-15 17:54:09 -07:00
Madan Koyyalamudi
7372bff5c4 Release 5.2.0.252G
Release 5.2.0.252G

Change-Id: I443c9f84d6a265b3d7657c639aa45b60081cb539
CRs-Fixed: 774533
2021-10-15 15:31:49 -07:00
Pragaspathi Thilagaraj
4c4778a509 qcacld-3.0: Add correct attribute for reason codes in logging event
For deauth/disassassociation RX/TX, the connectivity logging event
is sent. In this event the QCA_WLAN_VENDOR_ATTR_DIAG_STATUS_CODE,
is used to send the frame reason code. But userspace expects
QCA_WLAN_VENDOR_ATTR_DIAG_REASON_CODE attribute.

Fill QCA_WLAN_VENDOR_ATTR_DIAG_REASON_CODE instead of
QCA_WLAN_VENDOR_ATTR_DIAG_STATUS_CODE.

Change-Id: I90d58f251f0e2d4647cbde3c76d4a22779c97290
CRs-Fixed: 3054797
2021-10-15 15:31:48 -07:00
Madan Koyyalamudi
52268602fb Release 5.2.0.252F
Release 5.2.0.252F

Change-Id: I2df4f8e9edebf2bc86b277462edb3a2e2550c210
CRs-Fixed: 774533
2021-10-15 13:12:59 -07:00
Rakesh Pillai
43079567db qcacld-3.0: Add proto-type changes for vdev/peer attach
Add the changes corresponding to the proto-type changes
for txrx_vdev_atfach and txrx_peer_attach for ol targets.

Change-Id: Ibf31e3d5dd7cdf8c47ab3fe9cfdcbfd5762dc18d
CRs-Fixed: 3053683
2021-10-15 13:12:59 -07:00
Bing Sun
ca4409e50a qcacld-3.0: Provide peer_info for cdp_peer_setup
As DP requirement, CP should not provide peer mlo information for
cdp_peer_create and CP should provide peer mlo information for
cdp_peer_setup.

Change-Id: Ic15f209b009e5a3bd6b154992d2a88cb19f489de
CRs-Fixed: 3020662
2021-10-15 13:12:54 -07:00
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