نمودار کامیت

24211 کامیت‌ها

مولف SHA1 پیام تاریخ
Srinivas Dasari
b0b8c6afb5 qcacld-3.0: Drop the blacklist event if no APs are present
Currently, target_if forwards the blacklist event to upper layers
even if there is no AP info present. This event can be dropped in
target_if to avoid accessing unallocated memory.

Change-Id: Icfaabb0a8e3304882979ffde7f5cd27fd4c8a067
CRs-Fixed: 3057424
2021-10-22 18:19:15 -07:00
Madan Koyyalamudi
a3828df476 Release 5.2.0.252W
Release 5.2.0.252W

Change-Id: I5ea718c6065ca11772abb3b79e0c1604f543ae43
CRs-Fixed: 774533
2021-10-22 12:40:58 -07:00
Amruta Kulkarni
4931766cd1 qcacld-3.0: Fix connectivity logging for SAE Auth Tx/Rx
In WPA3 SAE TX case, auth_algo, auth_type and auth_seq_num
are not filled to the connectivity logging.
In SAE RX case, the auth frames are not getting logged.

Fix connectivity logging to handle SAE RX and TX case
by adding the params mentiioned above.

Change-Id: I388dd154f9d80aaf51f45bb571139072c77bf782
CRs-Fixed: 3057861
2021-10-22 12:40:57 -07:00
Pragaspathi Thilagaraj
ac1c7266fd qcacld-3.0: Send beacon miss disconnection logging event
Add support to send beacon miss disconnection logging event.
Fix the diag attribute end marker in the event table.

Change-Id: I11fc8859af383b69bcba42654fb3a2bc597fef83
CRs-Fixed: 3056266
2021-10-22 12:40:53 -07:00
David Oladunjoye
f891260630 qcacld-3.0: Fix out-of-bounds access while copying SSID
Issue is, if the req->ssid_len is greater than 32 then 
record->conn_info.ssid_len is limited to 32, but while copying the ssid to
the destination array, req->ssid_len is used, which may cause out of 
bounds access.

Fix is to use destination array ssid length record->conn_info.ssid_len

Change-Id: I2a661b18fc1d27eec8b2f85877681fc1b782ad39
CRs-Fixed: 3059161
2021-10-22 12:40:48 -07:00
Surya Prakash Sivaraj
5efea8213d qcacld-3.0: Handle reset case for P2P_SET_NOA
For resetting NOA, "P2P_SET_NOA 0 0 0" command will be
used. Since duration and interval are same, currently the
set will be rejected.

Handle the count 0 case and bypass the existing validation
for periodic NOA.

Change-Id: I5294d7bcdd70d9280e50167c961d2e9c525fca4c
CRs-Fixed: 3054252
2021-10-22 12:40:42 -07:00
Paul Zhang
c375bc51a8 qcacld-3.0: store the wmm info in the pe session
Currently FASTREASSOC issues roam command to trigger fw process
LFR3 roaming. When roam event comes back, it deletes the old pe
session and creates a new one hence the bss desc info is lost.
Funtion lim_is_medium_time_valid could not get desc info and
cause addTS fail.

To resolve this issue, store the wmm info in the pe session if
it presents.

Change-Id: I6c7c79c96fed7384a686a1fa0f49069440096e90
CRs-Fixed: 3058801
2021-10-22 12:40:38 -07:00
Pragaspathi Thilagaraj
c304893863 qcacld-3.0: Enable time sync only on connection/roam
Currently WMI_DBGLOG_TIME_STAMP_SYNC_CMDID command sent
every 1 sec causes RTPM collapse and inturn has power
impact. So to avoid this enable time of the day synchronization
only after connection/roaming.

Send WMI_DBGLOG_TIME_STAMP_SYNC_CMDID as part of RSO
start command.

Change-Id: Iee3cefe1318a6e5507a43cefb9666cc2a439fe06
CRs-Fixed: 3060762
2021-10-22 12:40:33 -07:00
Madan Koyyalamudi
1747a03a5e Release 5.2.0.252V
Release 5.2.0.252V

Change-Id: Iabecdb08e8527102b346b8457caff19815ffa7c0
CRs-Fixed: 774533
2021-10-22 10:20:29 -07:00
Liangwei Dong
196f2b9062 qcacld-3.0: Revert "Fix channel width mismatch in ROAM SYNC"
This reverts commit I784e4b1735f4f217713f65c30092bac2ad6cb698.
Some AP reports HT20 in beacon frame but HT40 in assoc response
frame. FW roaming will decide BW HT40 based on assoc response.
In previous change host will decide BW based on assoc response
as FW does. But the issue is after roaming, the host will check
beacon for AP BW changing and then do vdev restart. But the vdev
restart may be rejected by FW if the FW roaming is still in
progress. To avoid the complication, revert the change.
The original issue will be fixed by validation the channel
segment by Ia41c51feca855cab54e908438c51a8d12075f864 to avoid
the kernel check channel failure and disconnect.

Change-Id: Ib170acb3588cf07bf666d446f5dde73de2d4705b
CRs-Fixed: 3061233
2021-10-22 10:20:29 -07:00
Madan Koyyalamudi
ab84d546b2 Release 5.2.0.252U
Release 5.2.0.252U

Change-Id: Ia7f5c503cec128f7ef4e4e6428d9cbe3dc2fc97f
CRs-Fixed: 774533
2021-10-21 15:49:02 -07:00
Srinivas Dasari
742eed43d1 qcacld-3.0: Move nan pdev declaration to right place
pdev is declared in nan_enable_req after a variable-size array.
Place the pdev declaration before the array to avoid corruption
while copying contents to the buffer.

Change-Id: I92766c40909bcecaed5f1eb6e2f015447f3c8221
CRs-Fixed: 3060146
2021-10-21 15:49:02 -07:00
Madan Koyyalamudi
ded1caab8a Release 5.2.0.252T
Release 5.2.0.252T

Change-Id: I49949331c779143dbc4676cfe5ce7042cf677efc
CRs-Fixed: 774533
2021-10-21 07:30:57 -07:00
Arun Kumar Khandavalli
7b9d985091 qcacld-3.0: Optimize the driver transition checks for cds
Currently there are multiple driver calls in per packet path
w.r.t recovery, bad state, load/unload which is leading tput impact.

Move all the cds driver checks into one function to avoid multiple
calls.

Change-Id: I70f4fcc6bfbd1df32ae17ce6a0485fa3f55ca561
CRs-Fixed: 3057573
2021-10-21 07:30:57 -07:00
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