Commit Graph

23797 次程式碼提交

作者 SHA1 備註 提交日期
Ashish Kumar Dhanotiya
0f6fd1f8db qcacld-3.0: Add aliasing for gNeighborLookupThreshold ini
Based on new requirement, add aliasing for gNeighborLookupThreshold
ini and update the range of this ini as well.

Change-Id: I0a62e209d6a62001d6aec48849c4900062ae5bc7
CRs-Fixed: 3011060
2021-08-12 00:55:37 -07:00
Madan Koyyalamudi
0751ef8ead Release 5.2.0.243Q
Release 5.2.0.243Q

Change-Id: Ic0efb2c39d2ffc4a4f81cd80fb64717a0c9221bb
CRs-Fixed: 774533
2021-08-11 15:50:34 -07:00
Chaoli Zhou
c01c25d97b qcacld-3.0: Add Modularization of monitor mode flag for qca6390
Adding flags to support FR of Modularization of
monitor mode for Hastings to avoid compile issue.

Change-Id: I7be63661dde17179c8eb5fb5e5fd9b2dc0c9f4af
CRs-Fixed: 3011407
2021-08-11 15:50:34 -07:00
Pragaspathi Thilagaraj
5a540a315f qcacld-3.0: Add additional debugs in PMKSA caching path
Add additional debugs in pmksa caching path.

Change-Id: I5e412c60c3455c1a40d6f742fb6536b9ac621748
CRs-Fixed: 2978751
2021-08-11 15:50:27 -07:00
Madan Koyyalamudi
827ed55720 Release 5.2.0.243P
Release 5.2.0.243P

Change-Id: Ibdc3214fb5506c6932bbb34e4efb77f53a1c17e9
CRs-Fixed: 774533
2021-08-11 01:33:12 -07:00
Bapiraju Alla
aaff44964d qcacld-3.0: Create STA self peer with MLD mac address
For station case, create self peer with MLD MAC address.

Change-Id: I53b545763f15df5650e8b4b3dc7ea6ffddc88228
CRs-Fixed: 2994409
2021-08-11 01:33:11 -07:00
Jingxiang Ge
dff8372b60 qcacld-3.0: Handle link down in hdd_wlan_fake_apps_suspend
It needs to check resume_setting for link down in
hdd_wlan_fake_apps_suspend.

Change-Id: I26c6663c2700fa4e403040201c5d04506ebfeb55
CRs-Fixed: 3009619
2021-08-11 01:33:01 -07:00
Madan Koyyalamudi
36a52cdb20 Release 5.2.0.243O
Release 5.2.0.243O

Change-Id: I93c04f9306ed18186340ca429561b0bbcf36bbda
CRs-Fixed: 774533
2021-08-10 20:21:45 -07:00
Jia Ding
6c3d6f1bd0 qcacld-3.0: Properly format log prints for EHT capabilities
Properly format log prints for EHT MAC and PHY capabilities.

Change-Id: I53a1bffa9099aaaf928e99c3fb931d52dc757285
CRs-Fixed: 3007966
2021-08-10 20:21:45 -07:00
Madan Koyyalamudi
e975d5ea30 Release 5.2.0.243N
Release 5.2.0.243N

Change-Id: I23310bd03ec5d05218a141f56b9add4aff3ffe18
CRs-Fixed: 774533
2021-08-10 17:58:08 -07:00
Utkarsh Bhatnagar
075d573c32 qcacld-3.0: Fill Chan width for 6Ghz
Incase of non-6ghz, the peer width is
updated while extracting HT and VHT
capability. For 6Ghz, the HT and VHT
capabilities may not be present and
because of which the peer channel width
gets updated as zero (20 Mhz).
To fix this, fill the channel width for
peer if session is 6ghz and peer supports
HE Capabilities.

Change-Id: Ie4d8f3a3a364af2c47e6b3d7309ee1287652ae06
CRs-Fixed: 3010063
2021-08-10 17:58:08 -07:00
Kiran Kumar Lokere
e922d3148f qcacld-3.0: Fix the 6G security check config setting
Enable the 6G security check config setting in reset defaults.

Change-Id: I514754a965204c3d27bfdd5ca6dc5e07e95bdd7f
CRs-Fixed: 2985397
2021-08-10 17:58:03 -07:00
Jianmin Zhu
337664979a qcacld-3.0: Fix issue that Wifihal set multi sta APIs not work
In hdd_set_primary_interface:
1. When dual sta doesn't exist, just set primary_vdev_id,  and return
SUCCESS, and don't config anything for dual sta.
2. If dual sta are not in MCC, don't send duty cycle percentage, return
SUCCESS.

Change-Id: Ib72033cf7d656e56c400759a7c5da13bf8d1377b
CRs-Fixed: 3009079
2021-08-10 17:57:59 -07:00
Madan Koyyalamudi
04b686e495 Release 5.2.0.243M
Release 5.2.0.243M

Change-Id: I93ba79399639e3a053d997ecf4b79691309aded5
CRs-Fixed: 774533
2021-08-10 13:31:04 -07:00
Arun Kumar Khandavalli
f16ee4db1f qcacld-3.0: Remove concurrent max interfaces flag
Currently the number of netdev interfaces created is equal to
the max number of vdev's supported. There shouldn't be a problem
w.r.t to adding the number of interfaces, the number of interfaces
which can active at a time is already controlled by the object
manager.

Remove the checks required to add the interfaces greater than
the max supported interfaces.

Change-Id: I5f9d1ca343788a77180a76f961fcc511feff4036
CRs-Fixed: 3010712
2021-08-10 13:31:04 -07:00
Madan Koyyalamudi
291f738db1 Release 5.2.0.243L
Release 5.2.0.243L

Change-Id: I69458573b47df8121d0b4be579303937aa85be1b
CRs-Fixed: 774533
2021-08-10 11:20:18 -07:00
Wu Gao
d30dfcc559 qcacld-3.0: Set chainmask based on home channel frequency
Host uses return value of function "hdd_get_adapter_home_channel" as
channel number when starting spectral scan and setting chainmask.
Which cause chainmask not to be set properly and parsing spectral
scan result fail. So, add this change to set chainmask based on home
channel frequency.

Change-Id: I3e25091841769d738dec101708e16602d783a363
CRs-Fixed: 3001325
2021-08-10 11:20:18 -07:00
CNSS_WLAN Service
c1ee6f2a0a Merge "Release 5.2.0.243K" into wlan-cld3.driver.lnx.2.0 2021-08-10 09:33:38 -07:00
CNSS_WLAN Service
d6f458dca9 Merge "qcacld-3.0: Add the 11be mlo related files for compilation" into wlan-cld3.driver.lnx.2.0 2021-08-10 09:33:37 -07:00
CNSS_WLAN Service
ec7c056e2d Merge "Release 5.2.0.243J" into wlan-cld3.driver.lnx.2.0 2021-08-10 09:33:36 -07:00
CNSS_WLAN Service
4815c83e22 Merge "qcacld-3.0: Don't check for NULL session in tdls_update_node_he_caps" into wlan-cld3.driver.lnx.2.0 2021-08-10 09:33:34 -07:00
Madan Koyyalamudi
4161044e37 Release 5.2.0.243K
Release 5.2.0.243K

Change-Id: Ib098ddaa773549830fe9a5c47b064687f6d2201d
CRs-Fixed: 774533
2021-08-10 06:14:34 -07:00
Bapiraju Alla
6a51927f0a qcacld-3.0: Add the 11be mlo related files for compilation
Add the new common files for the 11be mlo files for compilation.

Change-Id: Ia6cbdb83ab67cb0f6174da0cd5072b5a69ce1952
CRs-Fixed: 3009965
2021-08-10 06:14:34 -07:00
Madan Koyyalamudi
b3a0719dff Release 5.2.0.243J
Release 5.2.0.243J

Change-Id: I38a724bc6c8e3319e43846c712d98f7b9e169ed2
CRs-Fixed: 774533
2021-08-10 04:02:58 -07:00
Utkarsh Bhatnagar
d485b0b5d4 qcacld-3.0: Don't check for NULL session in tdls_update_node_he_caps
Don't check for NULL for session in tdls_update_node_he_caps()
as the caller lim_process_sme_tdls_add_sta_req() is already
checking that.

Change-Id: I15b8144db385265fb77612f17123fd9f949ab7bf
CRs-Fixed: 3007560
2021-08-10 04:02:58 -07:00
Madan Koyyalamudi
1f13efd116 Release 5.2.0.243J
Release 5.2.0.243J

Change-Id: Ief276769918ef563919cceb07ede0e66a7288e7f
CRs-Fixed: 774533
2021-08-09 22:25:05 -07:00
Ashish Kumar Dhanotiya
d89f39b0bd qcacld-3.0: Add aliasing for INI names
Currently driver has only one name for an INI, with
this change add second name as well for few INIs based on
new requirement.

Change-Id: I6eee13935d1c5c74794027b88d94cbb572339e9e
CRs-Fixed: 3007209
2021-08-09 22:25:05 -07:00
Ashish Kumar Dhanotiya
ba78557c73 qcacld-3.0: Add support for multiple ini files
Currently host driver supports only one ini file,
with this change add support for multiple ini files.

Change-Id: I6313f50a6275501d0694876f24b8d4a1ce6c2e72
CRs-Fixed: 3007190
2021-08-09 22:25:00 -07:00
Madan Koyyalamudi
7ae6d7eae8 Release 5.2.0.243I
Release 5.2.0.243I

Change-Id: I60d874f8bc570a1860f1df1a052a430004f35e43
CRs-Fixed: 774533
2021-08-09 20:03:36 -07:00
Mohammed Ahmed
9f6f22ca98 qcacld-3.0: Fix incorrect layering in scan component
Replace ucfg api call with wlan api calls for internal components.

CRs-Fixed: 2980401

Change-Id: I286a4cc78b637ae1c32ac8e7c30ef182f06e0a44
2021-08-09 20:03:36 -07:00
Madan Koyyalamudi
f990a2e15b Release 5.2.0.243H
Release 5.2.0.243H

Change-Id: I703bb524fe0b89945ca029395aa9f5fa11b478a4
CRs-Fixed: 774533
2021-08-09 07:51:54 -07:00
Arun Kumar Khandavalli
01dce308f4 qcacld-3.0: Derive MLD mac address
As part of new implementation for 802.11BE MLD(multi link device)
address also need to be generated, derive the address during the
driver probe for max supported MLD's.

Change-Id: I092aac0607a6b7e9e420b1c82a61869cc0b8a2d4
CRs-Fixed: 2993460
2021-08-09 07:51:53 -07:00
Bapiraju Alla
608145a17f qcacld-3.0: Don't use hdd_assemble_rate_code API to set 11be rate
hdd_assemble_rate_code uses WMI_ASSEMBLE_RATECODE_V1 to configure rate
to Fw. But this macro is not as per expectation by FW.

To address this, Don't use hdd_assemble_rate_code API and read the rate
code from user as per FW expectation and configure it to the FW.

To set 11be rate, write 2 bytes value to the sysfs entry as below.
In this byte-1 should be 11be preamble id i.e. 5, in byte-2 MSB 3-bits
represents NSS and LSB 5-bits represents MCS. For e.g. the below
command will configure the 11be rate to MCS 7 and NSS 2.

echo 0x0547 > /sys/class/net/wlan1/11be_rate

Change-Id: I9c8ecc840b14fbd954f0df1f8ec841daf5435fab
CRs-Fixed: 3004042
2021-08-09 07:51:48 -07:00
abhinav kumar
b72e11a8da qcacld-3.0: Reserve Beacon Protection Enabled bit in probe req
Currently, irrespective of OP MODE of the driver, the HOST sets
85th bit (Beacon Protection Enabled) in octet 11 of extended
capabilities. As per the 802.11 2020 standard, this field is
reserved for a non-AP STA.

The fix is to make sure 85th bit in octet 11 of extended
capabilities are reserved for a non-AP STA.

Change-Id: I36825bd8045af51d0f998ca5bcd90a3bc8dce632
CRs-Fixed: 2999299
2021-08-09 07:51:43 -07:00
Madan Koyyalamudi
615fd38b90 Release 5.2.0.243G
Release 5.2.0.243G

Change-Id: I7b2232276066b908661f5206f52de443d238494c
CRs-Fixed: 774533
2021-08-09 05:41:11 -07:00
Utkarsh Bhatnagar
7c3db9b361 qcacld-3.0: Fill TDLS peer cap for add sta correctly
Fill TDLS 6Ghz peer capability correctly in Add STA
so that carrect Peer capability should be sent in
Peer Assoc.

Change-Id: I3eb6c387286b86e07c33be4751501b356b24ff68
CRs-Fixed: 3008407
2021-08-08 21:07:48 -07:00
Madan Koyyalamudi
6ab124c1f2 Release 5.2.0.243F
Release 5.2.0.243F

Change-Id: I4804122d8f5fa496a4e0d579c70e8bb7738b0580
CRs-Fixed: 774533
2021-08-08 21:00:30 -07:00
Will Huang
08dab6a394 qcacld-3.0: Update country code from beacon when do rrm scan
The RRM request may have different country code with DUT internal
regdb configure, use country code from beacon IE if it is present,
otherwise use internal country code to verify op class of neighbor
report channel list.

CRs-Fixed: 2997474
Change-Id: I35a62d9791f08d26dd8a892739612eb422805523
2021-08-08 21:00:29 -07:00
Madan Koyyalamudi
e8b727f733 Release 5.2.0.243E
Release 5.2.0.243E

Change-Id: I3f306da43e3ff0a1fe13a9d4a4aca2cdf259dcba
CRs-Fixed: 774533
2021-08-07 13:41:50 -07:00
Pragaspathi Thilagaraj
e8aac242d4 qcacld-3.0: Send RSO stop when roam auth status is connected
When firmware sends Roam synch indication, driver changes the
roam offload state to ROAM_INIT and after set key completion is
received, RSO start will be sent. But if EAP/EAPOL fails and
disconnection is triggered then deinit command is sent without
setting roam scan mode to 0 with RSO stop command.

So change roam offload state to RSO_STOPPED if auth status is
connected in roam synch indication.

Change-Id: If8f56ce48500f6848fa917854b6252f8deb67c01
CRs-Fixed: 3005697
2021-08-07 13:41:50 -07:00
sheenam monga
65ff004e45 qcacld-3.0: validate ap ocv capa before sending rsn to fw
Currently driver sends rsn caps to fw via
WMI_VDEV_PARAM_RSN_CAPABILITY without validation of ap
capability to support ocv which may cause issue during csa.
when ocv cap is set in vdev param, then fw does sa query and
may not get any data if ap doesn't support ocv which may lead
to disconnection.

Fix is to set ocv capability in rsn based on ap capability to
avoid unwanted disconnection.

Change-Id: I90f9ccffb00878592179a3159adee0b3199555a3
CRs-Fixed: 3008137
2021-08-07 13:41:45 -07:00
Madan Koyyalamudi
86bc515bab Release 5.2.0.243D
Release 5.2.0.243D

Change-Id: I2a6e579a3fd0196809b0d6363af6dfcc7139859e
CRs-Fixed: 774533
2021-08-07 07:22:56 -07:00
Srinivas Dasari
461669908f qcacld-3.0: Revert "Move cp stats to scheduler thread from kwork"
This reverts change Id8134003e6f7a3e0368b20c496f650e0b7025b9e

Moving cp stats to scheduler thread is breaking the
synchronization in stats collection. Currently, when a get stats
command is issued from framework, host driver sends the same to
firmware and wait for both llstats and get_station related stats.
The expectation is to receive get_stats first and then llstats.
Host driver has a wait for the last llstats event to return the
stats to userspace. As the cp stats(get_station stats) are moved
to scheduler thread, the order of these events can't be ensured
as llstats are still running in kworker thread. llstats event gets
processed before cp stats mostly and stats are returned
immediately to framework. Framework may issue the get stats
command again and the same is sent to firmware, which may result
in synchronization issue in firmware as well.
Moving llstats also to scheduler thread may not be optimal as these
are aggressive and can be queried by framework multiple times with
a milliseconds gap.
So, move back the cp stats to kworker thread to maintain
synchronization.

Change-Id: I8dc518f0de37e7cc203cb1f6e67045d74b304d93
CRs-Fixed: 3002534
2021-08-07 07:22:56 -07:00
Madan Koyyalamudi
aa9466f939 Release 5.2.0.243C
Release 5.2.0.243C

Change-Id: I75241ed52bfe31a29d1b02a7cd0c21de2762a9ee
CRs-Fixed: 774533
2021-08-07 05:12:15 -07:00
sheenam monga
b6aa87c291 qcacld-3.0: Validate sub_ele_len before calculating len
Currently fw is allowed to provide ch_wr_ie len upto 20 bytes.
If fw provides ie len > 20 bytes then driver may lead to
access invalid memory. To find sub element, subelement len is
calculated from total len without any validation. ele may
point to invalid address when subelement which is calculated
from ie len becomes > len.

Fix is to compare ie len provided by fw with max ie len and
validate subelement len and then proceed with subelement.

Change-Id: I1a833c3828e4afc6e37ed27e008663152b6b5d86
CRs-Fixed: 2995818
2021-08-07 05:12:15 -07:00
Madan Koyyalamudi
dfef6ace58 Release 5.2.0.243B
Release 5.2.0.243B

Change-Id: I0a4e0b619e1c9d4708a0548fcc7e2cfad8023417
CRs-Fixed: 774533
2021-08-07 02:58:55 -07:00
Amruta Kulkarni
c71017d971 qcacld-3.0: Roam sync event migration
Wma to target_if migration for ROAM SYNC EVENT

Change-Id: Id2e9d5697f12f709cfdd665dabf1095863d87277
CRs-Fixed: 2990767
2021-08-07 02:58:54 -07:00
Madan Koyyalamudi
720db45617 Release 5.2.0.243A
Release 5.2.0.243A

Change-Id: I94e5f04ba0b3b76ee4a8460a1df3c42286396437
CRs-Fixed: 774533
2021-08-06 17:05:06 -07:00
bings
c6dc101eb7 qcacld-3.0: Fix number of bytes when copying mac addr
When copying mac addr, the number of bytes should be six.

Change-Id: I077419a34253f26d1f04fc27bfbca3f4d7ed4b1a
CRs-Fixed: 3007559
2021-08-06 17:05:05 -07:00
Madan Koyyalamudi
b75a8c946c Release 5.2.0.243
Release 5.2.0.243

Change-Id: If5d8aab138b6ea8f4ecd05c67ba3c4d2430de020
CRs-Fixed: 774533
2021-08-06 14:08:38 -07:00