コミットグラフ

26742 コミット

作成者 SHA1 メッセージ 日付
Madan Koyyalamudi
7d65aa8833 Release 5.2.1.35N
Release 5.2.1.35N

Change-Id: I6afa80441aabe7c592b5a7301de708311ca13663
CRs-Fixed: 774533
2022-09-05 21:32:50 -07:00
Utkarsh Bhatnagar
ce8795375d qcacld-3.0: Disable TDLS offchannel if more than 1 peer connects
Disable TDLS offchannel if number of connected peers are more than
one.
Also, re-enable offchannel if all peers are disconnected expect one.
With this change, it is possible to increase the limit of max
connected peers which was previously set as one when TDLS
Offchannel is enabled.

Change-Id: Ic0826aa32c8ef805a2df6da6c7506895cdc08a09
CRs-Fixed: 3265868
2022-09-05 21:32:50 -07:00
Madan Koyyalamudi
49acb0c91d Release 5.2.1.35M
Release 5.2.1.35M

Change-Id: I31bcb1ea1e2c7af8ae25e1b401ee6b3d149e871c
CRs-Fixed: 774533
2022-09-05 04:48:49 -07:00
Pragaspathi Thilagaraj
b0dc5febdb qcacld-3.0: Fill PMKID in association request to SAE AP
After SAE full authentication, driver is not including
PMKID derived as part of the SAE authentication to the
AP in association request frame. This causes interopability
issues with some AP, which expects PMKID in association
request frame.

Fill PMKID in association request to SAE AP.

Change-Id: Ic09d653c74fd5c37486e4fa22b5ca9cd85c04743
CRs-Fixed: 3280164
2022-09-05 04:48:49 -07:00
Utkarsh Bhatnagar
0d8b108c4a qcacld-3.0: Update offchannel freq and bw based on peer caps
Update offchannel frequency based on peer caps such as
1. If 6 GHz is supported then select the ini preferred 6 GHz channel
   frequency if peer also supports the same channel.
2. If 6 GHz is supported and peer doesn't support the ini preffered
   channel frequency then select the very first 6 GHz channel which
   peer supports as preffered offchannel.
3. If peer doesn't support 6 GHz, then select ini preffered 5 GHz
   off channel frequency, given that peer should also support it.
4. If peer doesn support 6 GHz and also doesn't support ini preferred
   5 GHz offcahnnel, then select the very first 5 GHz channel it
   supports.

Update preffered offchannel Bandwidth such as take minimum of peer
supported max bandwith which is extracted from supported opclass and
max Bw device supports.

Change-Id: I93412774f35280105b22d5ec44895572f9d7aeef
CRs-Fixed: 3266066
2022-09-05 04:48:43 -07:00
Madan Koyyalamudi
3253db2156 Release 5.2.1.35L
Release 5.2.1.35L

Change-Id: Ie0a1d5d4b12839c76e31fa31a4ec3d9f7e6f9b97
CRs-Fixed: 774533
2022-09-03 08:02:11 -07:00
jinbaoliu
c2cd820a34 qcacld-3.0: Fix rx rate report issues in some legacy cases
Driver will refill rx rates info which has been filled according
to the rateflags obtained from FW. The problem occurs when DP
receives legacy data whereas the rateflags do not contain legacy
bit. This will lead to the GUI displaying non-legacy rates.This
change clears the rate flag to ensure kernel to use legacy rates.

Change-Id: I93f30170b6a4dd742d8c653ef62f82190f1da2ee
CRs-Fixed: 3277906
2022-09-03 08:02:11 -07:00
Madan Koyyalamudi
e49816234a Release 5.2.1.35K
Release 5.2.1.35K

Change-Id: I70a4903c92ec91cf228abfbffd4b1e2820731a0f
CRs-Fixed: 774533
2022-09-03 06:21:32 -07:00
Amruta Kulkarni
9411a9b69d qcacld-3.0: Update number of links only for initial connection
For single link connection, the number of partner links is set to min
of assoc response ML IE and number of partner links that user configured.
This is not needed for roaming case, as roam sync indication has number
of partner links set.

Change-Id: Ibb46b83a2a88adb81d3d430362c7b1b7a4b6a4c3
CRs-Fixed: 3281779
2022-09-03 06:21:31 -07:00
Madan Koyyalamudi
31e0b71372 Release 5.2.1.35J
Release 5.2.1.35J

Change-Id: I914a26fa823b317d7cadc98f6d929e0a8fede3c4
CRs-Fixed: 774533
2022-09-03 03:19:43 -07:00
Surya Prakash Sivaraj
538f94a3fa qcacld-3.0: Bring up SAP in VLP if country supports VLP
In STA+SAP concurrency, if the STA is connected in indoor
power, and if the country/channel supports VLP, then bringup
the SAP in VLP. Move the STA to VLP as well.

Restore the power of the STA, when the SAP is disconnected.

Add changes to:
a) Decide the power type for the concurrency during start bss,
stop bss, change channel request calls of the SAP interface.

b) Allow the 6 GHz SCC channel in ACS computation if the channel
supports VLP power or if the channel is indoor and enabled.

Change-Id: I151e2e3e8910a406bb5c1526f4f01715854d173f
CRs-Fixed: 3268100
2022-09-03 03:19:42 -07:00
Madan Koyyalamudi
1051484cb6 Release 5.2.1.35I
Release 5.2.1.35I

Change-Id: I827786cd5de1df31f72eaff84407f0228d1a2de2
CRs-Fixed: 774533
2022-09-03 01:45:07 -07:00
Asutosh Mohapatra
5730e95021 qcacld-3.0: Start SAP on valid channel after country change
Currently if SAP is up on 5 GHz DFS/non-DFS channel and country
change happens to world mode where SAP is not allowed on 5 GHz
channels then it moves to a 2.4 GHz channel and saves current
operating frequency band information, now again if a country
change happens SAP tries to move back to the first 5 GHz
active/passive channel.

Sap should come to active channel first. If not available then
it should come on DFS channel, but it shouldn't come up on
passive channel.

To address this issue, add a fix to filter out passive channels.

Change-Id: I32e8a81c2a5d9e785262edbeeef2c879c87f1302
CRs-Fixed: 3277965
2022-09-03 01:45:06 -07:00
Madan Koyyalamudi
a97a2ec796 Release 5.2.1.35H
Release 5.2.1.35H

Change-Id: Iaac401632cfe9af4972d936a06e2f23ec685e096
CRs-Fixed: 774533
2022-09-02 21:00:11 -07:00
Gururaj Pandurangi
d144b95d6d qcacld-3.0: Extract MSD caps from MLD AP to share with FW
Extract MSD capabilities from assoc response from MLD AP
and share the params with FW via peer assoc cmd on all MLO
links.

Change-Id: I301f56c37b6d0d2c56af13eec72d2e452a1508ed
CRs-Fixed: 3271116
2022-09-02 21:00:11 -07:00
Madan Koyyalamudi
ffe0cee438 Release 5.2.1.35G
Release 5.2.1.35G

Change-Id: I8eeb77a0ff7612e82e3fe6da09edbc3c39cc907e
CRs-Fixed: 774533
2022-09-02 19:14:23 -07:00
Gururaj Pandurangi
1c7cc7a1ce qcacld-3.0: Add TPE IE EIRP power support for 6 GHz band
Add TPE IE EIRP power parsing support for 6 GHz channels.
1) Currently, is_psd_power flag is derived from current
channel list chan flag which returns true if corresponding
channel supports PSD power. Normally, all 6 GHz channels
support PSD, so this flag is usually set to 1. But, AP
can transmit EIRP power in TPE IE for 6 GHz channels,
thus derive this flag based on tx_power interpretation
field in TPE IE for accurate value.
2) The calculated center freq is passed as argument to
retrieve regulatory power from reg channel list
but this logic works only for PSD. E.g. In case of EIRP,
center freq can be 6125 MHz for oper freq 6115 and BW
40 MHz, and causing reg APIs to return reg power as 0.
Thus, pass operating freq as argument in case of EIRP.

Change-Id: If1ad3870a866592d970adad218e507c9c756f615
CRs-Fixed: 3266393
2022-09-02 19:14:23 -07:00
Madan Koyyalamudi
ff4e727376 Release 5.2.1.35F
Release 5.2.1.35F

Change-Id: I6828760f70d8ae2ec91e78c43cd4588c87e9171e
CRs-Fixed: 774533
2022-09-02 16:18:16 -07:00
Amruta Kulkarni
8cdac5f2b0 qcacld-3.0: Find peer using link mac addr for SAE roaming
After vdev creation, self peer is created using mld mac address.
In case of SAE roaming, the auth frame received from supplicant
has link mac address thus it is unable to find peer.

Add api to find mld mac address from link mac address.

Change-Id: Ic01bf4da7b79779efd8b9ea8f1e180291c877593
CRs-Fixed: 3275434
2022-09-02 16:18:16 -07:00
Madan Koyyalamudi
703321183c Release 5.2.1.35E
Release 5.2.1.35E

Change-Id: I4695f07c045e1d8cf8139246f8fd73422862bc8b
CRs-Fixed: 774533
2022-09-02 14:32:20 -07:00
Deeksha Gupta
cc303479cf qcacld-3.0: Configure Power Save for ML link
Currently, driver configures PS only for assoc vdev using
__wlan_hdd_cfg80211_set_power_mgmt().

Fix is, driver should configure power save for ML links
as well.

Change-Id: I4b624fce83398781f919a3a1f770aab9b04e1c09
CRs-Fixed: 3271792
2022-09-02 12:27:32 +05:30
Madan Koyyalamudi
56bcefe98e Release 5.2.1.35D
Release 5.2.1.35D

Change-Id: I1442da9cbeabe860b2da48cb89f33a6ef8ac8aaa
CRs-Fixed: 774533
2022-08-31 21:10:02 -07:00
Jianmin Zhu
2a7d4c1cee qcacld-3.0: Fix wrong bssid and freq after mlo roaming
For mlo AP, bssid in wmi_roam_synch_event_fixed_param of
WMI_ROAM_SYNCH_EVENT is AP MLD addr, when use it as link addr,
failed to register peer and set peer as connected, so all Tx
are not allowed including EAPOL.
Fix it by getting AP link addr and frequency of each link from
setup_links_param array of WMI_ROAM_SYNCH_EVENT.

Copy link info from roam sync event to connect response before notify
os_if roam complete, os_if will send link info from connect response
to wpa_supplicant, supplicant will use it to add MLO Link KDE(s) into
EAPOL-Key 2/4.

Change-Id: I87833784a4e0b9240725223069c55fb0db3bc88f
CRs-Fixed: 3277878
2022-08-31 21:10:02 -07:00
Madan Koyyalamudi
183254d030 Release 5.2.1.35C
Release 5.2.1.35C

Change-Id: I452552fd862e95d3d2f2af97be912ce5685f238e
CRs-Fixed: 774533
2022-08-31 19:22:26 -07:00
Pragaspathi Thilagaraj
141b046a13 qcacld-3.0: Reset wait for hw mode change event
Hw mode change in progress is set after the set_hw_mode
command is queued in serialization. Its not reset in below
cases:
Active command timeout case, serialization command
cancelled case.

Before connect request is queued, if hw mode change is in
progress, there is 6 secs wait and if there is no hw mode
change response, connection failure. This causes subsequent
connection failures and there is no recovery.

Reset the wait for hw mode change event in serialization
command failure cases.

Change-Id: I716982f06198e9c3495685ddb158044778c4b1ff
CRs-Fixed: 3256424
2022-08-31 19:22:26 -07:00
Jeff Johnson
afc7383127 qcacld-3.0: Rename wlan_mlme_set_sta_mlo_simulataneous_links()
Rename wlan_mlme_set_sta_mlo_simulataneous_links() to correct
misspelling: simulataneous ==> simultaneous.

Change-Id: I5f483446a63221be7c689fb35bd5b5c0548f0473
CRs-Fixed: 3280095
2022-08-31 19:22:20 -07:00
Madan Koyyalamudi
dd9d99b00a Release 5.2.1.35B
Release 5.2.1.35B

Change-Id: I0cda16c13d115155c1165bf7b1442717e0ef5a22
CRs-Fixed: 774533
2022-08-31 16:04:00 -07:00
Nagalakshmi
6340c5c044 qcacld-3.0: Give valid range of value for aliasing INI
There are two different name with different range of value for
aliasing INI's. So, it should pick the valid range of value wrt INI
name.

Change-Id: I36b578749567998980b300e5a8daf1acb201cddd
CRs-Fixed: 3269376
2022-08-31 16:04:00 -07:00
Amruta Kulkarni
7a2871544b qcacld-3.0: RSO enable for open and secure connection
Currently rso enable for open and secure connection is handled
incorrectly.
For secure connection roaming should be enabled
after key exchange is complete.
For open connection rso enable is done twice.

Fix is for enabling roam offload for open and secure connection.

Change-Id: I0abde2a6001f176c97e4aa59947260a50c48e6cc
CRs-Fixed: 3271248
2022-08-31 16:03:54 -07:00
Amruta Kulkarni
7ad653825e qcacld-3.0: Single link ML connection
Currently if link specific probe response generation fails
STA keeps sending probe requests until proper probe response
is received or join timeout failure. This results in ML
connection failure

Change is to continue with single link ML connection if probe
response generation for link/s by clearing partner link information.

Change-Id: Ia969501a3bdd1ac70e14f3a0eafd0752207b66da
CRs-Fixed: 3238861
2022-08-31 16:03:47 -07:00
Madan Koyyalamudi
6814198bae Release 5.2.1.35A
Release 5.2.1.35A

Change-Id: If7dd6e8463d1179137ffca583c863ed910a28b33
CRs-Fixed: 774533
2022-08-31 14:31:42 -07:00
Srinivas Dasari
e85f7f098c qcacld-3.0: Set the RSO state before sending cmds to firmware
Currently, switch_to_rso_stop happens based on the
current state check and the expected state is
RSO_ENABLED/ROAMING_IN_PROGRESS/ROAM_SYNC_IN_PROGRESS.
The thread(e.g. user thread) that is sending rso_stop to
firmware might have got the expected state value when
it has read the state and proceeded with commands needed
to send to firmware. ROAM_SCAN_MODE is one of these commands
and firmware sends a response for the same. The response
gets processed in scheduler thread.

The expected sequence as per the current implementation is,
1. Check the current RSO state and proceed if it's any of
   RSO_ENABLED/ROAMING_IN_PROGRESS/ROAM_SYNC_IN_PROGRESS.
2. Send all commands corresponds to switch_to_rso_stop to fw
3. Set the new state to RSO_STOPPED
4. In scheduler thread, get response for
   ROAM_SCAN_MODE(one of the commands sent in step2) and
   proceed from RSO state RSO_STOPPED
5. scheduler thread sets the state to DEINIT.

But the user thread may get suspended while sending commands
to firmware (step2) and may get resumed after step4. The new
sequence could be,
1. Check the current RSO state and proceed if it's any of
   RSO_ENABLED/ROAMING_IN_PROGRESS/ROAM_SYNC_IN_PROGRESS.
2. Send some commands corresponds to switch_to_rso_stop and
   thread gets suspended. Assume it has sent ROAM_SCAN_MODE.
3. In scheduler thread, get response for
   ROAM_SCAN_MODE(one of the commands sent in step2) and
   proceed from RSO state RSO_ENABLED.
4. As part of step-3, scheduler thread moves the state to
   RSO_STOPPED and then to RSO_DEINIT.
5. User thread gets resumed and sets the new state
   to RSO_STOPPED. This leaves the RSO state in invalid
   state even after disconnect.

Set the state to RSO_STOPPED before sending any commands
to firmware. This is to ensure the state is not corrupted by
the scheduler thread.

Change-Id: I4d43508bdee2b33caba28579939fffdebfab121d
CRs-Fixed: 3278047
2022-08-31 14:31:42 -07:00
Liangwei Dong
a6a9e64857 qcacld-3.0: Correct BW parameter for CSA concurrency check
In SAP+GO concurrency, if move SAP to DFS channel (BW 160 MHz)
and cause MCC with GO, the target will do CAC on SAP, but target
doesn't support MCC with GO when SAP is CAC state.
Fix by checking correct BW of CSA target channel so that correct
DFS flag can be got and if target channel is DFS causing MCC
with other AP interface then reject CSA request.

Change-Id: Ic7821cf62d3b364e4d2ea052dc82d65d18054091
CRs-Fixed: 3275285
2022-08-31 14:31:36 -07:00
Madan Koyyalamudi
71c33caee3 Release 5.2.1.35
Release 5.2.1.35

Change-Id: I03932cf4b12ccfacfab22d94e9b43dc011970bec
CRs-Fixed: 774533
2022-08-31 12:50:42 -07:00
Nagalakshmi
87e7625ee9 qcacld-3.0: Give valid range of value for aliasing INI
There are two different name with different range of value for
aliasing INI's. So, it should pick the valid range of value wrt INI
name.

Change-Id: I89a275500f1e1ad42f2cae534e9f67e1b9e3a4eb
CRs-Fixed: 3268673
2022-08-31 12:50:42 -07:00
Madan Koyyalamudi
097f037380 Release 5.2.1.34Z
Release 5.2.1.34Z

Change-Id: I12e55ae170fd444493bb5cb0547d5ddb169500f1
CRs-Fixed: 774533
2022-08-31 11:07:37 -07:00
Kiran Kumar Lokere
3d9b149612 qcacld-3.0: Update cfg HE caps for user BW configuration
Update the cfg HE capabilities to advertise with
user-configured channel width.

Change-Id: Id6a00341bad91edbc0123eb7334b5b83548b2f94
CRs-Fixed: 3271506
2022-08-31 11:07:37 -07:00
Kiran Kumar Lokere
15dcaf2e6b qcacld-3.0: Fix the 20 MHz only MCS map in EHT capability
Correct the offset for 20 MHz BW only MCS map field in EHT
capability setting for VDEV IEs.

Change-Id: I3654f9a8845728bc1c62aa55d0dbe5aa988a111c
CRs-Fixed: 3271414
2022-08-31 11:07:30 -07:00
Madan Koyyalamudi
5ee82b5ea6 Release 5.2.1.34Y
Release 5.2.1.34Y

Change-Id: Ib1d8b110b03ff0608afca0a98c207675ccc2552c
CRs-Fixed: 774533
2022-08-30 11:21:53 -07:00
Vinod Kumar Pirla
9a0dcc9ffe qcacld-3.0: Validate SMPS params before sending it to FW
An invalid VDEV ID is sent to FW during adapter start after SSR
leading to assertion failure.

Validate return value of start adapter and skip to next adapter
incase of any failure.
Validate the VDEV ID sent in the SMPS params before sending to FW.

Change-Id: I7038fb2c7ecaa5892f5058b5b719767314ec62bf
CRs-Fixed: 3271202
2022-08-30 11:21:53 -07:00
Madan Koyyalamudi
01ced8b22b Release 5.2.1.34X
Release 5.2.1.34X

Change-Id: I5c2bc394583e8e65c141f648b754e6e4ba377796
CRs-Fixed: 774533
2022-08-30 05:41:41 -07:00
Kiran Kumar Lokere
60846e8aa3 qcacld-3.0: Do not reset STA connection caps in testbed mode
Do not limit the STA supported BW capabilities to BSS
supported BW during the connection if the STA is operating
in testbed mode.

Change-Id: Idad613b7ea28059ab3ca9f474b2b0923cb4d5405
CRs-Fixed: 3271416
2022-08-29 20:01:00 -07:00
Madan Koyyalamudi
f7f6b1446a Release 5.2.1.34W
Release 5.2.1.34W

Change-Id: Id68552d5f3cd5d074d5555cc2b7297f2674331d5
CRs-Fixed: 774533
2022-08-29 19:09:05 -07:00
Jeff Johnson
c5b6befd72 qcacld-3.0: Fix misspellings of "capability" and "capabilities"
Fix misspellings of "capability" and "capabilities":
capabiities ==> capabilities
capabilites ==> capabilities
capabilties ==> capabilities
capabilty ==> capability
capablities ==> capabilities
capablity ==> capability

Change-Id: Ie4f14088fb86b63e3ee985c004f82d73d2c73963
CRs-Fixed: 3274606
2022-08-29 19:09:04 -07:00
Madan Koyyalamudi
5aa6d8c36c Release 5.2.1.34V
Release 5.2.1.34V

Change-Id: Ie98a074ddb30813b22a722381e0f6bbd70432187
CRs-Fixed: 774533
2022-08-29 14:55:34 -07:00
Bing Sun
8e8be8a27f qcacld-3.0: Indicate sta radio measurement capability to EasyMesh
EasyMesh agent fails to send measurement request to the client which
supports radio measurement.
When EasyMesh queries sta information, driver should indicate correct
radio measurement capability to EasyMesh. Otherwise EasyMesh overwrites
sta radio measurement capability with incorrect value.

Change-Id: I2b916e006786e049610c577b781dd569f344e7f2
CRs-Fixed: 3272631
2022-08-29 14:55:33 -07:00
Jeff Johnson
155dea7b77 qcacld-3.0: Fix misspellings of "return"
Fix misspellings of "return":
Retrun ==> Return
Reture ==> Return
retrun ==> return
reutrns ==> returns

Change-Id: Iad8bc9f4e9d94b05ed47fd91a591ea0dbc92fde2
CRs-Fixed: 3274605
2022-08-29 14:55:28 -07:00
Madan Koyyalamudi
01d7fe15c3 Release 5.2.1.34U
Release 5.2.1.34U

Change-Id: I39aed0ecd863248ba4ecb2d8ba6c9f27bcef04dc
CRs-Fixed: 774533
2022-08-29 10:00:26 -07:00
Ashish Kumar Dhanotiya
2bfe9c0cc2 qcacld-3.0: Add ini support for cpu cxpc threshold
Currently cpu cxpc threshold is hardcoded in host driver.
As, Each platform has different threshold for PM QoS and
this threshold needs to be set accordingly.

To address above issue, add new ini to set cpu cxpc threshold.

Change-Id: I34d1e7f836585f3ff5e8d0044c6c224f58e99776
CRs-Fixed: 3263352
2022-08-29 10:00:26 -07:00
Madan Koyyalamudi
cf83a97117 Release 5.2.1.34T
Release 5.2.1.34T

Change-Id: Ide64171907fa14eae2448c822d2efb1ae9fb4f57
CRs-Fixed: 774533
2022-08-28 19:08:14 -07:00