提交图

24197 次代码提交

作者 SHA1 备注 提交日期
Madan Koyyalamudi
dd1595da54 Release 5.2.0.252S
Release 5.2.0.252S

Change-Id: I0cdd77537dd2c509dbe406129ea2dbd27d4eb4ef
CRs-Fixed: 774533
2021-10-21 06:02:45 -07:00
Pragaspathi Thilagaraj
6be8da96a7 qcacld-3.0: Add support for BTM request logs in connection manager
As part of target if convergence, roam stats event handling
is moved to target if from wma. BTM request logs are not
sent in the new path.

Add support for BTM request logs in connection manager.

Change-Id: Icc66c5dc608260f2a0f75c5d1a85c799195f9f3e
CRs-Fixed: 3054987
2021-10-21 06:02:45 -07:00
Madan Koyyalamudi
08db45bfb2 Release 5.2.0.252R
Release 5.2.0.252R

Change-Id: I6ddc0154a73b495d0d41f277b5e2cfd79d37387b
CRs-Fixed: 774533
2021-10-20 06:09:32 -07:00
VIJAY RAJ
71e5f000d6 qcacld-3.0: Add bt_profile_con parameter for logging
The value of btcoex is 0 when bluetooth device is
connected.

Add bt_profile_con param in enum WLAN_COEX_EVENT, add
a check for bluetooth device connection and update the
value of btcoex on bluetooth connection.

Change-Id: I72d4ef4fd0eb15d37132c11b7aa0a0c7f1452aa2
CRs-Fixed: 3050655
2021-10-20 06:09:32 -07:00
Madan Koyyalamudi
48dbb38dd4 Release 5.2.0.252Q
Release 5.2.0.252Q

Change-Id: Ic83230caf23e3f81448541e486809faed3dd515a
CRs-Fixed: 774533
2021-10-20 01:59:05 -07:00
Rakesh Pillai
4c1ead24e4 qcacld-3.0: Add MLD address check for received EAPOL packet
Currently the DA for EAPOl packets is being compared
with the adapter mac address. For MLO connection, the
EAPOL frames are exchanges using MLD mac address and
not the link address. hence this leads to drop of all
the EAPOL packets in receive path.

Add MLD address check for received EAPOL frames.

Change-Id: If158da1338169958c5a74cfb7ee125d7365a8202
CRs-Fixed: 3039333
2021-10-20 01:59:05 -07:00
Madan Koyyalamudi
b62ba724bb Release 5.2.0.252P
Release 5.2.0.252P

Change-Id: Id926e971bd16a54600f23b1924b0c43b0e8ed55f
CRs-Fixed: 774533
2021-10-20 00:32:46 -07:00
Pragaspathi Thilagaraj
a08a652f7b qcacld-3.0: Fix EAP length attribute type
EAP length attribute is of type NLA_U8, but the table entry
has this attribute type as NLA_U16. This causes parsing
failure of this attribute and the length print is not
included in the logs.

Fix the NLA type for the QCA_WLAN_VENDOR_ATTR_DIAG_EAP_LEN
attribute in the connectivity logging table.

Change-Id: I3570931799811787169c9403b1f26488379524bc
CRs-Fixed: 3054835
2021-10-20 00:32:46 -07:00
Rachit Kankane
dd0add5b52 qcacld-3.0: Add public APIs for SON
Add public APIs to support SON Module.

Change-Id: Ia69a9e631f2b9f50f6e8bc6d50a2106f8f1b9efa
CRs-Fixed: 3048867
2021-10-20 00:32:41 -07:00
Madan Koyyalamudi
20b5500518 Release 5.2.0.252O
Release 5.2.0.252O

Change-Id: Id857e8687099054aaf78796105981cf92b792107
CRs-Fixed: 774533
2021-10-19 23:04:38 -07:00
Sandeep Puligilla
bd6d20026c qcacld-3.0: Enable 11be feature for hamilton
Enable 11be feature through kbuild option.

Change-Id: Ia5e3a2bb832c06878d9aee25d0c563a7038172f9
CRs-Fixed: 3056856
2021-10-19 23:04:38 -07:00
Madan Koyyalamudi
7406ce4391 Release 5.2.0.252N
Release 5.2.0.252N

Change-Id: Idd99aad4134e94ae010c43f80e710bb2a7f54c5c
CRs-Fixed: 774533
2021-10-19 16:25:21 -07:00
sheenam monga
f5066f2149 qcacld-3.0: pcl code clean up
In current implementation, validation code of
SCC, MCC, DBS or SBS is repetitive for all
combinations.

Remove repetitive validation code and make
common apis for scc, mcc and dbs validation.

Change-Id: Ic88f01dd9bbcc3d5dcc3453b2c6fef030cfe0305
CRs-Fixed: 3052959
2021-10-19 16:25:21 -07:00
Srinivas Dasari
3d0e41cad1 qcacld-3.0: Abort any ongoing p2p scans while enabling NAN
Framework disables p2p before enabling NAN as P2P+NAN concurrency
is not supported. NAN operations happens through wifihal and p2p
operations happen through wpa_supplicant which are two different
userspace components. Wifihal call to enable NAN may come to host
driver before disabling p2p through wpa_supplicant. There are high
chances for p2p scan to be in running state while NAN enable is
received. Firmware NAN state machine goes to inconsistent state
and disables NAN as p2p scan is running in such cases.
So, stop the ongoing p2p scan before enabling NAN as P2P+NAN
concurrency is not supported currently.
Also, forward the pdev to NAN component inorder to iterate through
all P2P vdevs.

Change-Id: Ibe30a5ebe90514aee4f6721cdc5476570524cad8
CRs-Fixed: 3054576
2021-10-19 16:25:15 -07:00
Madan Koyyalamudi
c7c5e7e32e Release 5.2.0.252M
Release 5.2.0.252M

Change-Id: I352265e81873cc161f14e32c445ba77b28624d97
CRs-Fixed: 774533
2021-10-19 12:00:29 -07:00
Bapiraju Alla
c859a4e38c qcacld-3.0: Update cfg80211 API definitions as per 5.10 kernel
Update HDD API definitions under MLO feature as per 5.10 kernel version.
Also use kernel feature falgs along with MLO feature flag. This will make
sure that if MLO is not enabled in the kernel, then driver won't register
ML APIs from driver.

Change-Id: Ie77e82487d99c8053ba0ca4aabea2e435cc8cb2c
CRs-Fixed: 3056715
2021-10-19 12:00:29 -07:00
Madan Koyyalamudi
7d41cc0efc Release 5.2.0.252L
Release 5.2.0.252L

Change-Id: I026d689ee0bf770752d2b17e865f12d88b508449
CRs-Fixed: 774533
2021-10-19 09:49:34 -07:00
Jyoti Kumari
ddd24d7802 qcacld-3.0: Disable shortGI ie for 80MHz & 160MHz in 2.4GHz band
When STA connects with 2.4GHz band AP, shortGI ie for 80MHz
& 160MHz becomes 1 instead of 0 as 2.4GHz supports max 40MHz
channel width.

As part of fix, if STA connects in 2.4GHz band AP then
a. Disable shortgi80 and shortgi160and80plus80 for vht caps,
b. Disable ul_2x996_tone_ru_supp, num_sounding_gt_80,
bfee_sts_gt_80, tb_ppdu_tx_stbc_gt_80mhz, rx_stbc_gt_80mhz,
he_ppdu_20_in_160_80p80Mhz, he_ppdu_80_in_160_80p80Mhz for he
caps.

Change-Id: I27fdd6e949e738b33ced940f08664ed7b61c5af8
CRs-Fixed: 3054133
2021-10-19 09:49:34 -07:00
Madan Koyyalamudi
e204fca0c6 Release 5.2.0.252K
Release 5.2.0.252K

Change-Id: I9430acddcf030715285aad8b0817bfb9cbfc7a93
CRs-Fixed: 774533
2021-10-19 07:39:51 -07:00
Amit Mehta
907dcf9495 qcacld-3.0: Check if netdev feature need to update
Currently based on the INI option we are scheduling
work to dynamically disable/enable checksum offload and TSO.
But in the case of roaming from latency critical connection
to latency critical connection or non-latency critical connection
to non-latency critical connection, we do not need to schedule work.

So adding a condition to check :
For non-latency critical connection: If checksum offload and TSO are
not disabled then schedule work.
For latency critical: If checksum offload and TSO are
not enabled then schedule work.

Change-Id: I75a51707774c3428971dfe5cc0b0d3cdc2a17ac8
CRs-Fixed: 3054183
2021-10-19 07:39:51 -07:00
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