커밋 그래프

23111 커밋

작성자 SHA1 메시지 날짜
Madan Koyyalamudi
a56537898d Release 5.2.0.236R
Release 5.2.0.236R

Change-Id: I9b3388ace775218e5c79aea71cfa8f87db2e93ba
CRs-Fixed: 774533
2021-06-14 11:12:25 -07:00
Abhishek Singh
65aeec8465 qcacld-3.0: In Monitor mode use proper event for restart failure
In monitor mode in case of restart failure,
event WLAN_VDEV_SM_EV_START_REQ_FAIL is used to move the vdev SM
to init state. But this event will not be handled in
WLAN_VDEV_SS_START_RESTART_PROGRESS and thus the vdev stop/down
won't be sent for the vdev.

Use event WLAN_VDEV_SM_EV_RESTART_REQ_FAIL for restart failure
to send vdev stop/down.

Change-Id: I2db459136955b8dc2213c0251284a08a8f57aa57
CRs-Fixed: 2964875
2021-06-14 11:12:25 -07:00
Sandeep Puligilla
63d7e2a202 qcacld-3.0: Define A_OFFSETOF macro
Define A_OFFSETOF macro to fix compilation
errors.

A_OFFSETOF macro is mapped to macro offsetof()
defined in stddef.h.

Change-Id: I766826d610fcb6a06775f07bcd8a041ee29be89b
CRs-Fixed: 2967130
2021-06-14 11:12:19 -07:00
Madan Koyyalamudi
fc063995a7 Release 5.2.0.236Q
Release 5.2.0.236Q

Change-Id: Ic3f89424a0f06c8aede1d7492fb912695296b830
CRs-Fixed: 774533
2021-06-14 03:10:44 -07:00
Srinivas Dasari
ff58fd853b qcacld-3.0: Wait for key install in SAE/OWE as well
EAPOL handshake is done by wpa_supplicant in initial connection
and WPA3 roaming as well. Driver is supposed to wait for EAPOL
handshake/key complete timeout after getting roam sync indication
from firmware. But this wait is skipped with the change
change-id : Ie4f06cfcb066ae245de024b62da586aade783aec.
Add the same check again.

Change-Id: I437c6be15d7c1a3775a177c2da6c581d417c2533
CRs-Fixed: 2963548
2021-06-14 03:10:44 -07:00
Madan Koyyalamudi
98868eb40c Release 5.2.0.236P
Release 5.2.0.236P

Change-Id: I8c91fc406cc080b6fc34a5329ea1a825d2691146
CRs-Fixed: 774533
2021-06-10 15:11:39 -07:00
Lincoln Tran
4ee348b7ed qcacld-3.0: Modify condition to send 6GHz HE caps
The 6GHz HE capability macros were backported from kernel version 5.8
into 5.4, so change the check for kernel version to simply check for
the macro definition itself.

Change-Id: I86a9dfa964356ba65bd21ffef802042d442356bc
CRs-fixed: 2960286
2021-06-10 15:11:38 -07:00
Lincoln Tran
58af8b7009 qcacld-3.0: Add 320MHz case to conversion function
If the 11BE feature is enabled, 320MHz is added to the channel width
enum. This causes a compilation error in switch cases that do not handle
this case. Add the 320 case to the switch statement.

Change-Id: I6cf4f1395f9f8eb2fc14029dc371742362befa80
CRs-fixed: 2961456
2021-06-10 15:11:34 -07:00
Madan Koyyalamudi
39e7a59e04 Release 5.2.0.236O
Release 5.2.0.236O

Change-Id: Idd6a46881b30a67778d0ea1340c429d3d16b3625
CRs-Fixed: 774533
2021-06-10 13:02:21 -07:00
Jianmin Zhu
eb8cadbddf qcacld-3.0: Fix memory leak of assoc req
When SME/CSR layer received assoc indication, can't get session id by
bssid in some cornel cases, assoc req is leaked.

Change-Id: I877887fc0e2fe79a4ade53ba4aebc158fe480c28
CRs-Fixed: 2964966
2021-06-10 13:02:21 -07:00
Madan Koyyalamudi
b21337eac6 Release 5.2.0.236N
Release 5.2.0.236N

Change-Id: I1a91e766631432139a5504ee0620379d01c9ccd9
CRs-Fixed: 774533
2021-06-10 10:21:41 -07:00
Yu Wang
487590dc58 qcacld-3.0: enhance the api for setting channel change in AP mode
Without this change, wlansap_set_channel_change_with_csa() only allows
parameters with new frequency. Enhance it to support width only change.

Change-Id: I5855db5d43cbb8bc63ff70f2bd792b447cd88809
CRs-Fixed: 2960232
2021-06-10 10:21:41 -07:00
Utkarsh Bhatnagar
d6a03bf7e0 qcacld-3.0: Refactor LFR3 code to use cm api
Refactor csr_roam_pmkid_req_callback to use
mlme_cm_osif_pmksa_candidate_notify and move other
unused API under CM flag.

Change-Id: I835d54804f733eddff48de38e4c545a87f34bb30
CRs-Fixed: 2965602
2021-06-10 10:21:35 -07:00
Madan Koyyalamudi
77f42260f1 Release 5.2.0.236M
Release 5.2.0.236M

Change-Id: I5342f7abccf71f907822c1b02da77b7fdf31927e
CRs-Fixed: 774533
2021-06-09 23:37:56 -07:00
Manjunathappa Prakash
3e93ea0127 qcacld-3.0: Enable handling of buf_addr_type desc in dp_rx_err
Enable compile macro to handle buf_type decriptor in dp_rx_err_process.

Change-Id: Ibdec18b9b749f18b1e9d704974f4cbaabbc4e6a7
CRs-Fixed: 2957094
2021-06-09 23:37:54 -07:00
Madan Koyyalamudi
cb3330f301 Release 5.2.0.236L
Release 5.2.0.236L

Change-Id: I048751e99475a89dfb337d5a284589506ca91e93
CRs-Fixed: 774533
2021-06-09 19:43:09 -07:00
Srinivas Dasari
10e2a002a8 qcacld-3.0: Move NAN log events to RX_WORK context
Firmware sends NAN log events to driver and these are logged
with info level to capture complete NAN state machine logs in kmsg.
Currently, these events are received/processed in soft IRQ context
and causes performance issues as logs introduce delays. Move the
event registration to RX_WORK context to avoid delays.

Change-Id: I15ba20059f55f002cfe276d62e68e3cc09136a23
CRs-Fixed: 2960359
2021-06-09 19:43:09 -07:00
Madan Koyyalamudi
58d03a3c30 Release 5.2.0.236K
Release 5.2.0.236K

Change-Id: I79a23693afb60731d2f6a2ebb99bc2b69655111d
CRs-Fixed: 774533
2021-06-09 17:24:52 -07:00
CNSS_WLAN Service
85f0db2412 Merge "qcacld-3.0: Possible buffer overflow issue in wma" into wlan-cld3.driver.lnx.2.0 2021-06-09 17:09:43 -07:00
abhinav kumar
27988733f9 qcacld-3.0: Possible buffer overflow issue in wma
Possible bufer overflow risk in function
wmi_unified_bcn_tmpl_send.

Validate the beacon template length against
WMI_BEACON_TX_BUFFER_SIZE length to avoid overflow.

Change-Id: I98665de677f314f30a57991f48191f847718740c
CRs-Fixed: 2960714
2021-06-09 08:51:38 -07:00
Madan Koyyalamudi
25363b985c Release 5.2.0.236J
Release 5.2.0.236J

Change-Id: Iceead21587b7e95d2b5f96ccfb571a4715dcddd0
CRs-Fixed: 774533
2021-06-09 03:15:00 -07:00
Sandeep Puligilla
07cbc9627e qcacld-3.0: Fix typo to compile MLO manager files
Fix typo to compile MLO manager files

Change-Id: I56c7945617a89e83b181d881e369980084979ef0
CRs-Fixed: 2962992
2021-06-09 03:15:00 -07:00
Jianmin Zhu
8ef9b522a7 qcacld-3.0: Failed to roam to all band after dual sta enabled
For dual sta case, if vdev0 disconnected before vdev2 disconnected, vdev0
PCL cmd retained vdev level, after vdev0 reconnected first, just allowed
intra band in PCL, only can roam in intra band.
Fix: When vdev disconnect, reset it's PCL cmd to pdev level.

Change-Id: I3ed3ec398cfe1a17d07ce716c27026b9660305bd
CRs-Fixed: 2960194
2021-06-09 03:14:54 -07:00
Madan Koyyalamudi
081bab92a2 Release 5.2.0.236I
Release 5.2.0.236I

Change-Id: I93224fd9a28aac2ab0f7c8e6f025d0536614f106
CRs-Fixed: 774533
2021-06-09 01:11:29 -07:00
Nirav Shah
70cabf51d5 qcacld-3.0: Use TP level as LOW to reset tcp_adv_win_scale
In cnss-daemon TP level as WLAN_SVC_TP_NONE do not reset
tcp_adv_win_scale value. Use TP level as WLAN_SVC_TP_LOW to
reset tcp_adv_win_scale value. Do not send indication if TP
level is already WLAN_SVC_TP_LOW.

Change-Id: I2d7b8b55928c7eacc87832d8be559cba99d6c2d9
CRs-Fixed: 2950037
2021-06-09 01:11:29 -07:00
Madan Koyyalamudi
b8a1594bad Release 5.2.0.236H
Release 5.2.0.236H

Change-Id: Iebbfcf569ebb1596565b8984be5a95abc9dd69ae
CRs-Fixed: 774533
2021-06-08 20:30:23 -07:00
Srikanth Marepalli
97b85405a1 qcacld-3.0: Don't send PCL command for P2P vdev
Set PCL command should be sent to firmware only for STA mode.
For P2P vdev, except the connected band, the other band channels
are marked disallowed. With this, if the set PCL command is sent
then STA can't roam to the disallowed channels.

Hence don't send PCL command if the vdev opmode is not Station.

Change-Id: I6c4917f75d5f14169e2c564d5f6deee819fb629a
CRs-Fixed: 2939148
2021-06-08 20:30:22 -07:00
Madan Koyyalamudi
081d3c8e1d Release 5.2.0.236G
Release 5.2.0.236G

Change-Id: I967516b4bc8bb5e849a86a3ce5829b3359c0121f
CRs-Fixed: 774533
2021-06-08 18:17:14 -07:00
Utkarsh Bhatnagar
3e95b94add qcacld-3.0: Fix bssid printing in preauth logic
Fix bssid printing in preauth logic by adding space before printing
the bssid.

Change-Id: I32becd76be24f9c7f21dc72034f5a1ca26c90bbd
CRs-Fixed: 2964158
2021-06-08 18:17:14 -07:00
Madan Koyyalamudi
d3d0f5f3cc Release 5.2.0.236F
Release 5.2.0.236F

Change-Id: I7cb790b0e07d9f99155c924e0d620de3fbfd53b4
CRs-Fixed: 774533
2021-06-08 13:18:12 -07:00
Amruta Kulkarni
b294c04540 qcacld-3.0: Fix possible OOB access
Add check to fix possible out of bound array access

Change-Id: I621441bbdc41ce58f444b221eba086ab2f0b2e5a
CRs-Fixed: 2960525
2021-06-08 13:18:12 -07:00
Madan Koyyalamudi
9e52fd2155 Release 5.2.0.236E
Release 5.2.0.236E

Change-Id: I2632c3d9d7a00c1803f2938038bf8ad3706f8c59
CRs-Fixed: 774533
2021-06-08 10:23:37 -07:00
Alan Chen
266aac93c4 qcacld-3.0: Change igmp and gtk logs to debug level
Change igmp and gtk logs from info level to debug level.

Change-Id: I895834b8997cbfbc3be0115721ca64b9825a4bf6
CRs-Fixed: 2961570
2021-06-08 10:23:36 -07:00
Madan Koyyalamudi
068a197502 Release 5.2.0.236D
Release 5.2.0.236D

Change-Id: Id5655bb114e0e3dc5d77fcdff7bdf9b613e71332
CRs-Fixed: 774533
2021-06-08 07:35:22 -07:00
sheenam monga
7ddaae96ed qcacld-3.0: Add new command to enable PPDU log
Map below UnitTest command to TPUT_DEBUG_MODE_ENABLE.
iwpriv wlan0 setUnitTestCmd 0x48 3 84 1 1
To reduce Logs, Change agrument of existing command to
1 so that changes are printed once in three seconds.

Change-Id: I1250c13da5e4a81fb90e505dc3a2f9f93a5e603b
CRs-Fixed: 2957994
2021-06-08 07:35:21 -07:00
Madan Koyyalamudi
edca040518 Release 5.2.0.236C
Release 5.2.0.236C

Change-Id: I2cd8c90e5cbaed99ce6a19e33c654e69471f57ef
CRs-Fixed: 774533
2021-06-08 05:24:18 -07:00
Abhishek Ambure
3762b20fb7 qcacld-3.0: Enable sae auth retry for P2P CLI mode
Diver SAE auth frames for P2P via SME-LIM so that SAE auth retry
logic takes effect for P2P CLI interface. Add support to handle
SAE auth timeout for P2P CLI.

Change-Id: Ie01d7acf729974f8894223611a727a9b1680ba2d
CRs-Fixed: 2956475
2021-06-08 05:24:18 -07:00
Wu Gao
aa3a6422a4 qcacld-3.0: Update definition about HDD_INVALID_GROUP_ID
There is potential issue about array access out of bounds when set
CFR configuration. Since HDD_INVALID_GROUP_ID - limit index of array
is different to MAX_TA_RA_ENTRIES - array size. This change redefines
HDD_INVALID_GROUP_ID and lets it same to MAX_TA_RA_ENTRIES.

Change-Id: I5e30c8d2ce93736467cae465b06a1e28e93458d5
CRs-Fixed: 2960584
2021-06-08 05:24:13 -07:00
Madan Koyyalamudi
fd6762c347 Release 5.2.0.236B
Release 5.2.0.236B

Change-Id: Ib32f2105d6feb2c02df621e6c7a4c9f8163a926a
CRs-Fixed: 774533
2021-06-08 03:16:13 -07:00
Liangwei Dong
3346c4503f qcacld-3.0: Fix some channel parameters missing
Assign the sap_ctx->ch_params from the whole struct of
config->ch_params. This is to fix some fields missing
in sap_ctx->ch_params, such as "mhz_freq_seg0".

Change-Id: Id6e6be50635001faf45c84d136976cc27f41c7d5
CRs-Fixed: 2962952
2021-06-08 03:16:13 -07:00
Utkarsh Bhatnagar
d1e140e687 qcacld-3.0: Fill last disconnect reason on disconnect
Fill last disconnect reason on disconnect and reset on connect.

Change-Id: Ibc3cde1e6bc2a9abbdb6c5b2caee9bea844269cd
CRs-Fixed: 2963284
2021-06-08 03:16:08 -07:00
Kiran Kumar Lokere
5100c14d73 qcacld-3.0: Config support for WMM based TXOP feature
Add configuration support for WMM based TXOP feature.

Change-Id: Ide52b7d4b7bca590515e8697506d2b52744a7fa6
CRs-Fixed: 2947604
2021-06-08 03:16:03 -07:00
Ashish Kumar Dhanotiya
5556c511b2 qcacld-3.0: Allow SAR safety feature for DBS as well
Currently SAR safety feature works only for sar version 2
and it does not work for dbs.

To support SAR safety feature for DBS update sar version
check to block it only for sar version 1.

Change-Id: Iff9ab94fc0667cce7a0d1ab44d7393dacfb2745b
CRs-Fixed: 2959558
2021-06-08 03:15:58 -07:00
Yu Ouyang
039a731b6f qcacld-3.0: Not advertise wiphy_wowlan_support when registering wiphy
If WoW not support, not advertise wiphy_wowlan_support when registering
wiphy device. To make sure wiphy_suspend can follow the flow of
WoW not support.

Change-Id: I4bbaec9ba4268099507567b4e03cee51ee1d11f7
CRs-Fixed: 2961094
2021-06-08 03:15:52 -07:00
Madan Koyyalamudi
3a359aa2b0 Release 5.2.0.236A
Release 5.2.0.236A

Change-Id: Ia0c77a6aea668e9d29491c8a384f80becc1f6adb
CRs-Fixed: 774533
2021-06-08 01:08:27 -07:00
Jyoti Kumari
08eb756a51 qcacld-3.0: Don't use wlan_chan_to_freq
As part of regulatory cleanup, wlan_chan_to_freq() is removed.

Use wlan_reg_legacy_chan_to_freq()/wlan_reg_chan_band_to_freq()
instead of wlan_chan_to_freq().

Change-Id: I9d105863f8d6384c97e8219b89a230c863e29d19
CRs-Fixed: 2933440
2021-06-08 01:08:27 -07:00
Yu Wang
c15ffec425 qcacld-3.0: reject NAN request if any other connection is in progress
Processing multiple connection requests at the same time may break
concurrency checking and result in unexpected behavior, to avoid
that, reject NAN extended request if any other connection is in
progress.

Change-Id: I95a6a5ab27a923c42af76355033267fe7ca453eb
CRs-Fixed: 2959292
2021-06-08 01:08:22 -07:00
Pragaspathi Thilagaraj
22019b0a18 qcacld-3.0: Add support to retain WTC params across disconnection
The WTC parameters are stored in MLME vdev private object.
So the parameters are cleared once vdev delete is done.

Move the WTC parameters to psoc->mlme_cfg to retain the
values across disconnections.

Change-Id: Icecfbef19af994f8a05622501d435bfb63beca50
CRs-Fixed: 2959715
2021-06-08 01:08:17 -07:00
Subrat Dash
242f56b2a4 qcacld-3.0: Enable peer map v2 feature only for wds mode
Set peer map v2 in the target resource config only when
the wds mode is enabled in the ini "wds_mode".

CRs-Fixed: 2958287

Change-Id: Ifbedc8c29e8c6278875ad13c6fe6b0fb557feece
2021-06-08 01:08:12 -07:00
Madan Koyyalamudi
a93a2cd1e9 Release 5.2.0.236
Release 5.2.0.236

Change-Id: I5441c2396a5cfb92f1a2ef882cd878ca54c4a7ad
CRs-Fixed: 774533
2021-06-07 22:54:33 -07:00