Commit Graph

25935 Commits

Author SHA1 Message Date
Madan Koyyalamudi
f6acad4ed0 Release 5.2.1.24I
Release 5.2.1.24I

Change-Id: I176704a5a3b8394c90513efb8618fbfe5a2d9ac7
CRs-Fixed: 774533
2022-06-08 03:12:05 -07:00
Wu Gao
ef79dea58f qcacld-3.0: Allow SAP+SAP+STA SCC
This is about SAP+SAP+STA case. Restart third SAP failed after start
up and then 5/6 GHz disabled. This change allows SAP+SAP+STA SCC on
same mac and avoid third SAP restart fail.

Change-Id: I691b2e03132acfb8f724fc2f75b3816d17eb4d17
CRs-Fixed: 3198977
2022-06-08 03:12:04 -07:00
Liangwei Dong
b6713569bc qcacld-3.0: Handle HW mode transition event early for offload case
In hw mode change offload case, update the mac id and
frequency range in hw mode transition event handler
instead of post msg to lim and sme to avoid the
information updating delay.

Change-Id: I3dc1d37880691148c4cffd8e1f5d46172f03cb0d
CRs-Fixed: 3211683
2022-06-08 03:11:59 -07:00
Madan Koyyalamudi
3ad3e3c34f Release 5.2.1.24H
Release 5.2.1.24H

Change-Id: I0b3fcc790591cb16cd9d35acf4293b0d5e7db5d5
CRs-Fixed: 774533
2022-06-08 01:08:12 -07:00
Rakesh Pillai
4723186244 qcacld-3.0: Allow 320Mhz channel bandwidth for monitor mode
Allow 320Mhz channel bandwidth for monitor mode,
when 802.11BE is supported.

Change-Id: I57da128526bcd83feb1180a9decc83970199772a
CRs-Fixed: 3214411
2022-06-08 01:08:12 -07:00
Rakesh Pillai
a3392b9562 qcacld-3.0: Fix compilation error when shadow config v3 is unsupported
For targets not supporting shadow config v3, the compilation
may fail since the definition for shadow config v3 will not
be available.

Featurize the shadow config v3 properly to avoid any
compilation errors for targets not supporting this feature.

Change-Id: I6d968ff98776159319ec5edad1ada1b6d888f87e
CRs-Fixed: 3214412
2022-06-08 01:08:06 -07:00
Madan Koyyalamudi
8b6ea934fb Release 5.2.1.24G
Release 5.2.1.24G

Change-Id: I73fefe3b35b2f2ce659a6b0d8559608fc7315e69
CRs-Fixed: 774533
2022-06-07 23:08:09 -07:00
Wu Gao
a4864947dd qcacld-3.0: Move AP AP MCC allow check to policy mgr
This is requirement about moving AP AP MCC allow check to policy manager.

Change-Id: I2ac147e1a4ebdd42dfbcdcd6f8df98cc5c269cc9
CRs-Fixed: 3200011
2022-06-07 23:08:09 -07:00
Wu Gao
a076eddc21 qcacld-3.0: Check SAP+SAP SCC override with freq_seg0 and freq_seg1
Start one SAP on 5 GHz and one SAP on 2 GHz, and start third SAP with ACS
on 2 GHz band. Then, 3 SAP have different freq_seg0 after disable 5 GHz and
6 GHz band. Raise this change to check AP_AP SCC override with freq_seg0
and freq_seg1.

Change-Id: I720aff19a20e3d5ab9a2a31246e47308f7d09d0e
CRs-Fixed: 3165082
2022-06-07 23:08:03 -07:00
Madan Koyyalamudi
be454847a9 Release 5.2.1.24F
Release 5.2.1.24F

Change-Id: I056a728870aec1356c2eb72a38141a23afa37b42
CRs-Fixed: 774533
2022-06-07 17:30:00 -07:00
Amruta Kulkarni
6c288d47e6 qcacld-3.0: Send correct EHT IE contents to FW
Currently EHT IE is sent with contents 0, fix is
to send read EHT IE info from mlme config if session
is NULL.

Change-Id: I7da0d98c2ef7b34ee50d306a95fa7c80e9a5739a
CRs-Fixed: 3207350
2022-06-07 17:29:59 -07:00
Madan Koyyalamudi
10a5be1589 Release 5.2.1.24E
Release 5.2.1.24E

Change-Id: Ia1d17c8f7a55ff49db0e60855b1867f37453c66b
CRs-Fixed: 774533
2022-06-07 10:53:34 -07:00
Jianmin Zhu
fe97424641 qcacld-3.0: Check FTM mode in vendor cmds handlers
Vendor commands of wiphy aren't initialized when driver load as FTM mode,
if changed to mission mode later with following cli:
echo 0 > /sys/module/wlan/parameters/con_mode,
vendor commands of wiphy keep uninitialized, wpa supplicant can't get
roam offload status by QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_FEATURES,
so PMK isn't sent to driver/firmware,  roam offload failed.

To fix it, remove QDF_GLOBAL_FTM_MODE check in wlan_hdd_cfg80211_init, let
vendor commands of wiphy initialized in FTM mode too when driver load.
But in each vendor cmd, check FTM mode when called, if FTM mode, return
-EPERM.
When driver is changed to mission mode, all interfaces are deleted and
re-added by driver, when interface added event is received by
wpa supplicant,  QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_FEATURES is
called again to get roam offload enabled status, PMK will be sent to
driver and firmware when RSO start, roam offload will work.

Change-Id: Ie0c868ebd4b7e356d72a154206b13df94f378188
CRs-Fixed: 3213221
2022-06-07 10:53:34 -07:00
Madan Koyyalamudi
0ff53caf2d Release 5.2.1.24D
Release 5.2.1.24D

Change-Id: I77e1b3c49090dc8571738c21f6f2a183bdaee857
CRs-Fixed: 774533
2022-06-07 08:18:32 -07:00
Manikandan Mohan
d4498674f3 qcacld-3.0: Add config file for Mango WLAN device
Add config file for Mango WLAN device and enable emulation flag for
Mango WLAN device.

In addition, use static symbolic link '.mango -> .' for multi-ko support.

Change-Id: I0cebf11407e5625fd6475723496b9cda72cf5165
CRs-Fixed: 3210120
2022-06-07 08:18:32 -07:00
Madan Koyyalamudi
81784d30a5 Release 5.2.1.24C
Release 5.2.1.24C

Change-Id: I0cb79efc3d1394baa10b87bf092c155784146066
CRs-Fixed: 774533
2022-06-06 19:15:59 -07:00
Amruta Kulkarni
34bda6bfc7 qcacld-3.0: Add MLD capabilities in ml ie
When sending Association request frame, include
MLD capabilities in basic variant multi link ie.

Change-Id: I07b9214a450e8f9cbfc7b0720cd4aab36498bc6c
CRs-Fixed: 3212101
2022-06-06 19:15:58 -07:00
Madan Koyyalamudi
d339366afc Release 5.2.1.24B
Release 5.2.1.24B

Change-Id: If2ea7e8de35f52694cd532a425e19d7b969f2dc3
CRs-Fixed: 774533
2022-06-06 11:37:37 -07:00
Deeksha Gupta
a8e86d2c59 qcacld-3.0: Use global opclass if freq not present in that country
In MLO connection, MLO AP is operating in country US domain and sending
op class and channel number based on global opclass. Due to which,
MLO sta is failed to get the channel freq because driver is checking
in the US domain list only.

Fix is, if freq is present in the particular domain then use it
or else check in global domain.

Change-Id: If376405c4c57c2c84028952f000abf45759ba316
CRs-Fixed: 3212004
2022-06-06 11:37:37 -07:00
Deeksha Gupta
f092956e5e qcacld-3.0: Reset MLD cap present bit in MLO IE case
Currently in beacon, assoc req and assoc resp
frames, MLO IE MLD cap present bit is set to 1
without filling the MLD cap subfields in MLO IE.

Fix, in Presence bitmap subfield of the Basic
Multi-Link element set MLD cap present bit as 0
if MLD cap subfiled is not present.

Change-Id: I676c887edd7198bb5178e09e58f6b24dbaa857a7
CRs-Fixed: 3197313
2022-06-06 11:37:30 -07:00
Sheenam Monga
7b7faf56ce qcacld-3.0: Pass session id of ongoing decr session
Currently locally generated vdev_id is passed to update
concurrency like to re-enable disabled sta link on one
p2p/sap down or handle concurrency on one ml sta link
down. This locally generated vdev id will be invalid/255
in case mode is non-sta, so hanlding will be done for non-sta
link down only.

Fix is to change vdev_id to session_id, so that session which
is deceremented due to session down can be provided and concurrency
handling can be done based on that.

Change-Id: Iaca9a339abbab3f5dab01e2224c3acd87df5bc0a
CRs-Fixed: 3212661
2022-06-06 11:37:25 -07:00
Madan Koyyalamudi
0a858d3de7 Release 5.2.1.24A
Release 5.2.1.24A

Change-Id: Iac607bbe9ec2306d6241c4234998016d11783b95
CRs-Fixed: 774533
2022-06-06 08:05:37 -07:00
Sheenam Monga
b79c7cfedf qcacld-3.0: Don't add duplicate frequencies in pcl list
Currently if SCC frequencies are added in pcl list and
rest 5GHz frequencies are required to be added with lesser
weightage then all 5GHz/6GHz frequencies are added including
SCC channels. so in pcl duplicate entries are found for SCC
frequencies with different weightage.

Fix is not to add SCC frequencies during addition of 5GHz/6GHz
frequencies if SCC frequencies are already present in pcl.

Change-Id: I03123e4bf8caee62b0fcd0c3ae78d6cd7187c7de
CRs-Fixed: 3209858
2022-06-06 08:05:36 -07:00
Madan Koyyalamudi
6495d9246d Release 5.2.1.24
Release 5.2.1.24

Change-Id: Ida6101011ee080cf5d3c93aaa0d0cdff7c2a23d6
CRs-Fixed: 774533
2022-06-06 04:26:27 -07:00
Ke Huang
8de43bd6e4 qcacld-3.0: Add WAPI IE in probe response for WAPI SAP mode support
The WAPI IE is not included in the probe response in the driver for
the WAPI SAP mode, and will cause the external WAPI STA does not
trigger the WAPI connection to the WAPI SAP if configured as WAPI
SAP mode.

Change-Id: I9212e0fe9d495e8300a2bfbed65d398e0fb27170
CRs-Fixed: 3148702
2022-06-06 04:26:27 -07:00
Madan Koyyalamudi
0913abcdd6 Release 5.2.1.23Z
Release 5.2.1.23Z

Change-Id: If563b4ccd538548734f16213d90238cc83cb7182
CRs-Fixed: 774533
2022-06-06 01:59:09 -07:00
Yeshwanth Sriram Guntuka
47a80af63c qcacld-3.0: Control GRO en/dis based on TC filter prio
The dynamic GRO enable/disable based on ingress filters
should currently is restricted only to standalone STA.
This was done to address issue where ingress filters are
added on STA interface whenever SAP is up disabling GRO
unnecessarily.

Fix is to allow dynamic GRO to work on all interfaces
and concurrency scenarios based on the priority of
the ingress filter configured to avoid unnecessary
GRO disable in STA+SAP.

Change-Id: I1742f4539353939e3a40ff4096b3f833f2029b12
CRs-Fixed: 3206815
2022-06-06 01:59:09 -07:00
Madan Koyyalamudi
e82fd479db Release 5.2.1.23Y
Release 5.2.1.23Y

Change-Id: I1cda82e9f819e82adc9a5710b7bf5b506ba75135
CRs-Fixed: 774533
2022-06-04 13:41:51 -07:00
Srinivas Dasari
5d5678b02d qcacld-3.0: Check if the freqs are on different mac for STA+STA
Currently, when driver receives connect request on secondary STA,
it checks if the secondary STA channel and first STA channel are
on different band to allow. This works fine for DBS solutions but
SBS solutions support same band(5GHz) channels on different MACs.
So, check if the secondary STA channel is on different mac to
allow connection.

Change-Id: If9cfe0f4605e31ab54b38a85fb9d38e9ca65871d
CRs-Fixed: 3212686
2022-06-04 13:41:51 -07:00
Madan Koyyalamudi
798b7e892d Release 5.2.1.23X
Release 5.2.1.23X

Change-Id: I736701b4b8978c99326aca363dfc5dac65ceabcc
CRs-Fixed: 774533
2022-06-04 07:41:10 -07:00
Surya Prakash Sivaraj
cabc5b1de9 qcacld-3.0: Fix incorrect channel width downgrade
After the connection is established with HE160/VHT160 AP,
the STA downgrades the channel width to VHT80/HE80, leading
to 50% TPUT reduction.

The associated beacon processing doesn't consider the new VHT OP
IE definition while parsing the channel width. Fix the channel
width processing in the beacon processing.

Change-Id: Icd7d36a8352be7574474fb5f37fa9b4ca291aa04
CRs-Fixed: 3211833
2022-06-04 11:16:07 +05:30
Madan Koyyalamudi
ee76dcea4f Release 5.2.1.23W
Release 5.2.1.23W

Change-Id: Ic5ecd06dab594dea6fd2342a231df3291d2a308b
CRs-Fixed: 774533
2022-06-02 11:17:58 -07:00
Kai Liu
8980a89382 qcacld-3.0: Export driver mode to platform driver for kiwi-v2
Platform driver needs driver mode information to load different fw iamge,
so enables this mode exporting feature in wlan driver, also update
corret mode when mode change triggered from sysfs.

Change-Id: I848309440fdffd6517463e18190c03c1b7ed9269
CRs-Fixed: 3204663
2022-06-02 11:17:57 -07:00
Madan Koyyalamudi
874f986c79 Release 5.2.1.23V
Release 5.2.1.23V

Change-Id: Ifd01b3d5818fe289e9b836caed842d34c8ef7058
CRs-Fixed: 774533
2022-06-02 01:30:44 -07:00
Liangwei Dong
ead788ac8c qcacld-3.0: Fix SAP stuck in CAC wait state
Driver checks all 160Mhz 5 GHz SAP as DFS channel SAP, but
it is not right for some regdomain which no DFS required for
some 160 Mhz channels.
Fix by check wlan_reg_get_bonded_channel_state_for_freq API
to set DFS flag.

Change-Id: I8cd402c285e858ef8d322fc8d7cfaa32ae4c2056
CRs-Fixed: 3208538
2022-06-02 01:30:44 -07:00
Madan Koyyalamudi
b940224faf Release 5.2.1.23U
Release 5.2.1.23U

Change-Id: I351a23795ababa93f3e3f0127ea3180bb06b4277
CRs-Fixed: 774533
2022-06-01 10:34:07 -07:00
Jyoti Kumari
e526ca28f2 qcacld-3.0: Handle TWT for 11n case
When SAP and STA both are in 11n mode then STA doesn't populate
twt_req bit during assoc req. Because of this TWT commands failed.

As part of fix, check the below variable before setting twt_req
1. TWT requestor support from firmware
2. Enable TWT ini
3. TWT ini support in 11n
4. TWT requestor support from host

Set twt_requestor bit only if all above variable are set.

Change-Id: I77f2397f986b517cd5292109927eece7fdb4c7c1
CRs-Fixed: 3210015
2022-06-01 10:34:07 -07:00
Madan Koyyalamudi
2bfd7b676c Release 5.2.1.23T
Release 5.2.1.23T

Change-Id: Id3db48ad0eb7f1713c487ed246d0542938a7c278
CRs-Fixed: 774533
2022-06-01 06:50:42 -07:00
Sheenam Monga
2a36fa5997 qcacld-3.0: update vdev param id enum for traffic config
Currently host sets wmi_vdev_param_set_traffic_config param
id to set traffic config param but convert_host_vdev_param_tlv
is disabled for MCC. so, latency/throughput flag is set for host
param id 0x99 but in FW vdev param id to configure traffic type
is 0xB6.

Fix is to update vdev parm id to 0xB6 to keep same vdev param
id in both Host and FW.

Change-Id: If67d00308810920e9a621fdfff1b05bcccc2e047
CRs-Fixed: 3209724
2022-06-01 06:50:42 -07:00
Madan Koyyalamudi
656facfdf7 Release 5.2.1.23S
Release 5.2.1.23S

Change-Id: I320e8340fe8c2736b7379890e197b3aec2ddd961
CRs-Fixed: 774533
2022-06-01 05:11:07 -07:00
Arun Kumar Khandavalli
32f21a221c qcacld-3.0: update mld address when provisioned mac address is used
currently mld address is getting updated only when firmware sends
a default mac address in init events, add support to update the
mld address when mac address are retrieved through the platform
driver.

Change-Id: If94368f26204767c95f083043b6508c412ac89dc
CRs-Fixed: 3192847
2022-06-01 05:11:07 -07:00
Madan Koyyalamudi
95d0e2dde8 Release 5.2.1.23R
Release 5.2.1.23R

Change-Id: I3ee45c0ec7599f5c3a9ef5a73eff7cd5e0269828
CRs-Fixed: 774533
2022-06-01 01:44:52 -07:00
Ashish
aa31fd94c1 qcacld-3.0: Add support for new config item ConDTIMSkipping_MaxTime
With this change add support for new ini ConDTIMSkipping_MaxTime
to set max modulated DTIM in ms.

Change-Id: I89ce2b5074ce75a1701365b5d09d8ed0244aeeef
CRs-Fixed: 3038346
2022-06-01 01:44:51 -07:00
Madan Koyyalamudi
4207d35164 Release 5.2.1.23Q
Release 5.2.1.23Q

Change-Id: Ib53a94d0a7ebbe8bd250be05e50d6c6293e4ef48
CRs-Fixed: 774533
2022-05-31 17:19:06 -07:00
Pragaspathi Thilagaraj
f815fd9512 qcacld-3.0: Allow unprotected diassoc frame when keys are not installed
Currently unprotected diassociation frame is dropped if
PMF is enabled and keys are not installed. This causes
delay as supplicant has to do EAPOL timeout after
10 secs and then do disconnect.

Allow unprotected disassociation frame when install keys are
not done.

Change-Id: I12068d7b10c4e6f7885ca3a3400a8845a4c236f2
CRs-Fixed: 3208427
2022-05-31 17:19:06 -07:00
Madan Koyyalamudi
112cfdd513 Release 5.2.1.23P
Release 5.2.1.23P

Change-Id: I55049f987e019cabc9140c0eecb002fdb15174e7
CRs-Fixed: 774533
2022-05-31 13:17:53 -07:00
Aditya Kodukula
d0abe1c529 qcacld-3.0: Add sanity check for MLO get STA stats
In the current driver implementation, check for ml_vdev_count
before invoking get_station_cb for MLO station stats is missing.

This causes timeout and failure to get station stats.

To resolve this issue, add sanity check for ml_vdev_count
before invoking get_station_cb for MLO station stats.

Change-Id: I2e8fca1b732b1e8638cec6536ea70d2174c287f7
CRs-Fixed: 3209608
2022-05-31 13:17:53 -07:00
Madan Koyyalamudi
cea41bad03 Release 5.2.1.23O
Release 5.2.1.23O

Change-Id: I203332ac8bed01eec668e20ab3a34e2d0c87b856
CRs-Fixed: 774533
2022-05-31 11:08:13 -07:00
Surya Prakash Sivaraj
ffde69eb4e qcacld-3.0: Update VHT Channel width in assoc resp
The AP adds OMN IE in the assoc response, and changes
its operating channel width during association. The
STA must move to this new channel width and update it
to the firmware during peer assoc. Since, the STA
doesn't update the channel width properly, it leads
to retries in the higher bandwidth where the AP is
not currently operating.

The VHT channel width calculation in the host driver
is not equipped to handle the new VHT OP IE definition.
Differentiate the VHT operating channel width field in
the VHTOP IE based on the ccf1.

Change-Id: Ibc3dc91ecc091a307244e3e1359dfe9e4520f277
CRs-Fixed: 3205020
2022-05-31 11:08:12 -07:00
Madan Koyyalamudi
982586c52c Release 5.2.1.23N
Release 5.2.1.23N

Change-Id: I88491b4b676d8d1a97dbf8cd4968351688777490
CRs-Fixed: 774533
2022-05-30 08:13:33 -07:00