Commit Graph

23571 Commits

Author SHA1 Message Date
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
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
bings
5ebabb221f qcacld-3.0: Populate mlo IE for assoc req
Populate mlo IE for assoc req with inheritance mode.
populate base rate, extend rate, capability, extend capability
and HT/VHT/HE/EHT capability based on mac context.

Change-Id: I5e1c350a9c5f23a63d11c6d4b5cdbf0422dd53e0
CRs-Fixed: 3000895
2021-08-06 14:08:37 -07:00
Kiran Kumar Lokere
e5265cee59 qcacld-3.0: Do not use NULL data packet for BSS max idle
Do not use the NULL data keep alive method if BSS max idle period
is advertised as NULL packet is not encrypted.
Set the keep alive data method to management if BSS max idle period
is set.

Change-Id: Ib30e8a426e18fe3564fc2de8d48e85fb53840718
CRs-Fixed: 3007868
2021-08-06 14:08:32 -07:00
Kiran Kumar Lokere
b23ca3c75d qcacld-3.0: Include BSS max idle IE only for HE connection
Include the BSS max idle period IE only for HE connection and
set configure the protected keep alive option bit.

Change-Id: I32169a3945dfb18f46d1339b9dcad1fb355ddbbc
CRs-Fixed: 2970547
2021-08-06 14:08:27 -07:00
Madan Koyyalamudi
dad497abe4 Release 5.2.0.242Z
Release 5.2.0.242Z

Change-Id: I91e09d84a22ff820546f2549fe6ef637c148ce44
CRs-Fixed: 774533
2021-08-06 11:33:05 -07:00
bings
df40b59700 qcacld-3.0: Indicate assoc confirm of partner link to HDD for mlo ap
As data path requirement, sta info should be created for partner link
when it is mlo connection.

Indicate assoc confirm message of partner link to sap for mlo ap. Since
there is no raw assoc req frame for partner link, set assoc req frame
as NULL for partner link. Currently sap handles this situation.

Change-Id: I487bad6a1e8ebba4747ecd475a54111b72c85c70
CRs-Fixed: 2996412
2021-08-06 11:33:05 -07:00
Madan Koyyalamudi
fc1e749bdd Release 5.2.0.242Y
Release 5.2.0.242Y

Change-Id: Ia0effd1a4383dbb3d834a7a765bddb12f8d4a977
CRs-Fixed: 774533
2021-08-05 20:23:01 -07:00
abhinav kumar
5761f0f95e qcacld-3.0: Dont enable roaming on STA2 in STA+STA SCC
In case of STA + STA concurrency, enable roaming on
another interface only if STA + STA concurrency is in
DBS.

Add sanity for SCC concurrency also along with MCC
concurrency in cm_roam_switch_to_init.

Change-Id: I8787828b4b950c355e9bf70af58aad7779de3e9f
CRs-Fixed: 3001723
2021-08-05 20:23:01 -07:00
Madan Koyyalamudi
ea8df239be Release 5.2.0.242X
Release 5.2.0.242X

Change-Id: I5974193ee5c8f878f33d54ebff5f141498395184
CRs-Fixed: 774533
2021-08-05 15:13:27 -07:00
Jyoti Kumari
bf9589ac92 qcacld-3.0: Reset twt active command if ack fail
Reset twt active command if ack fails due to firmware internal
error.

Change-Id: Ic980314261ab4f6deb437b36e525ea59c286eee2
CRs-Fixed: 2997509
2021-08-05 15:13:27 -07:00
Kiran Kumar Lokere
f4ed112b3c qcacld-3.0: Add support to configure bss max idle period
Add support to configure the bss max idle period for STA.

Change-Id: Ifc56f6513a2b643ab574937c5216b53bdea1d2c5
CRs-Fixed: 2829159
2021-08-05 15:13:22 -07:00
bings
74c62ced54 qcacld-3.0: Provide peer_info for cdp_peer_create
As DP requirement, provide peer_info for API cdp_peer_create

Change-Id: Ib48c79316bb28584d768c723b22636d5f768445b
CRs-Fixed: 3004339
2021-08-05 15:13:18 -07:00
bings
bebd7a8b45 qcacld-3.0: Pass mld address and assoc link info when creating bss peer
MLO sta needs mld mac and assoc link information to create bss peer
Get mld address and assoc link info from connection manager and pass
it to bss peer creation

Change-Id: Ie04d4eb01f1a039f068b32b6c53aa3e65c919518
CRs-Fixed: 2987483
2021-08-05 15:13:13 -07:00
Madan Koyyalamudi
b255228887 Release 5.2.0.242W
Release 5.2.0.242W

Change-Id: I1612bd2784e3a8f464d8727fcbfa8003e750b9df
CRs-Fixed: 774533
2021-08-04 21:13:16 -07:00
abhinav kumar
a0e112969b qcacld-3.0: Restore dual sta config after SSR
Save dual sta configuration in hdd context and
restore it after SSR. This allows driver STA + STA
connection in MCC/SCC.

Change-Id: Ia8bb8c845f0f76e7ce41ff32ab0a3bc6d5111018
CRs-Fixed: 2998225
2021-08-04 21:13:15 -07:00
Kiran Kumar Lokere
89f3ce30ab qcacld-3.0: Don't update session nss with peer MCS map
Do not update the session Nss value based on peer supported MCS
map to allow the association with vdev nss value.

Change-Id: Ia66dcd5ff1084b6b0725d38fc942eb516c6cbde6
CRs-Fixed: 2998168
2021-08-04 21:13:11 -07:00
Madan Koyyalamudi
df1b55aa7b Release 5.2.0.242V
Release 5.2.0.242V

Change-Id: If980ff2f19529676cf2ccecf9b66cbbd28a681fc
CRs-Fixed: 774533
2021-08-04 18:04:19 -07:00
Ashish Kumar Dhanotiya
f1c443c22a qcacld-3.0: Update last auth type correctly
Currently driver does not update last auth type for big data stats
because of which it reports incorrect auth type to user space when
it receives big data query.

To address above issue, update last auth type correctly for big
data logging.

Change-Id: I170714cef1d3ec95c47db84e77d9c3adbdf8cd39
CRs-Fixed: 3001629
2021-08-04 18:04:19 -07:00
Madan Koyyalamudi
cae4cc0094 Release 5.2.0.242U
Release 5.2.0.242U

Change-Id: I083da795388286862e5ceafdde6c74d36660476d
CRs-Fixed: 774533
2021-08-04 12:57:03 -07:00
Yeshwanth Sriram Guntuka
1ff2f766d9 qcacld-3.0: Disable FISA history for debug builds
Memory allocation for FISA history could possibly
happen from the cnss prealloc pool.

Fix is to disable FISA history until the allocation
is moved to DP prealloc.

Change-Id: I6c2e42d129d6642601ae59e08294c214907f5faf
CRs-Fixed: 3006138
2021-08-04 12:57:02 -07:00
Madan Koyyalamudi
91353b137c Release 5.2.0.242T
Release 5.2.0.242T

Change-Id: I7c846cc505bb4959b02245e50a403a6b4a6dc9ca
CRs-Fixed: 774533
2021-08-04 03:41:50 -07:00
Utkarsh Bhatnagar
82165af468 qcacld-3.0: Fix null ptr issue in send_conc_params_update()
Fix null ptr issue in lim_send_conc_params_update()

Change-Id: I032cf16a64bbc40f79add2268a75595b0e9eae3c
CRs-Fixed: 2996906
2021-08-04 03:41:50 -07:00
Madan Koyyalamudi
e4e5598f7c Release 5.2.0.242S
Release 5.2.0.242S

Change-Id: I0704f8dae5948001883da92f3f84a7d107c20909
CRs-Fixed: 774533
2021-08-03 22:12:20 -07:00
Manjunathappa Prakash
c8e7eeb61a qcacld-3.0: Enable monitor mode config for HMT
Enable monitor mode support config on HMT.

Change-Id: I798f4035b71b1f73bc6100d6437e1811a211fe62
2021-08-03 22:12:20 -07:00
Manjunathappa Prakash
f568f2f627 qcacld-3.0: Prevent HELIUMPLUS from getting enabled for BERYLLIUM chips
Enabling CONFIG_ICNSS2 is enabling CONFIG_ICNSS2_HELIUM for BE chips.
Prevent it by making dependency on !CONFIG_BERYLLIUM.

Change-Id: Ifd5b5bb07cd753dec4da3c1f063a9e2739288f1c
2021-08-03 22:12:16 -07:00
Madan Koyyalamudi
ddf126bdc9 Release 5.2.0.242R
Release 5.2.0.242R

Change-Id: I8913853ffc0b0c32b6b9e410207f67a4c0e91d95
CRs-Fixed: 774533
2021-08-03 19:54:32 -07:00
Zhaoyang Liu
6f4f7adc22 qcacld-3.0: Keep recovery in progress flag for ssr without pld support
For platform without pld support, SSR would do rmmod operation, which tries
to do suspend target, there is no ACK from crashed firmware during SSR.
Keep the recovery in progress flag to skip suspend target command.

Change-Id: Ic6b8f4ebacbf9dc5798730b253eae239fe30c159
CRs-Fixed: 3005884
2021-08-03 19:54:31 -07:00