نمودار کامیت

31038 کامیت‌ها

مولف SHA1 پیام تاریخ
Aasir Rasheed
ae4cecadd8 qcacld-3.0: Allow STA + SAP scc on non DBS solution
Currently, Host driver is rejecting force scc on non DBS
solution when QDF_MCC_TO_SCC_WITH_PREFERRED_BAND is set.

This change is to allow STA + SAP concurrency on non DBS solution.

CRs-Fixed: 3716279
Change-Id: Ief73a57d23f627764eca00254acf4cf7e9acd963
2024-03-22 05:30:05 -07:00
Ravindra Konda
b526480388 Release 5.2.1.88L
Release 5.2.1.88L

Change-Id: I5fb98e1cdecb5c9f2e15d1f8fc7f4efba9acbfdb
CRs-Fixed: 774533
2024-03-21 22:51:01 -07:00
Jianmin Zhu
c1f32a8f8e qcacld-3.0: Fix 11BE 320M CSA issue
802.11be_D5.0 spec updated Transmit Power Envelope IE and it's length, so
Channel Switch Wrapper IE length check became wrong.

To fix it, remove Channel Switch Wrapper IE length check.

Change-Id: Ib8eebb58d8320d80555dd6257af86917d01adda7
CRs-Fixed: 3763536
2024-03-21 22:51:00 -07:00
Ravindra Konda
1889259fc4 Release 5.2.1.88K
Release 5.2.1.88K

Change-Id: I78cc1fd0e34d7d2024c5c43027b9ccc97266e9ba
CRs-Fixed: 774533
2024-03-20 17:50:54 -07:00
Asutosh Mohapatra
7220c44968 qcacld-3.0: Consider AP advertised PSD power for tx power
Currently if AP is advertising PSD power in TPE IE
host is parsing and storing the PSD power info, but
during TPC calculation it doesn't use AP advertised
PSD power and configures local regulatory PSD power
to FW. This is incorrect if AP advertised PSD power
is lesser than local regulatory TX power.

To address this issue, take min of local regulatory
PSD power and AP advertised PSD power.

Change-Id: I6682f3e3f19ffa65a2bc4593b3d04722fa625999
CRs-Fixed: 3757711
2024-03-20 17:50:53 -07:00
Vinod Kumar Pirla
01ea7de481 qcacld-3.0: Validate peer's EHT capability along ML cap
If for any reason EHT capability of peer is not properly
parsed from (re)assoc request but MLO IE is proper, the
creation of peer is happening as MLO without EHT capability.

Also in the assoc response frame, the EHT CAP and EHT OP IEs
are filled based on SAP EHT capability but not considering
the peer's EHT capability. This can lead to memory overflow.

Always determine that peer is EHT capable before checking for
MLO capability.

Change-Id: I46fa97610ed6252d48b9d52721fa307ed01b388f
CRs-Fixed: 3752411
2024-03-20 17:50:47 -07:00
Ravindra Konda
296e5ca57c Release 5.2.1.88J
Release 5.2.1.88J

Change-Id: I64fa63c375350146c6458681d661bd5da65eab85
CRs-Fixed: 774533
2024-03-20 15:06:39 -07:00
Abhinav Kumar
c4ee4f2055 qcacld-3.0: sae auth cleanup for roaming vdev
Expectation is on every commit/confirm request
from supplicant, host should start SAE retry
timer and, on every commit/confirm response
from AP, host should stop SAE retry timer.
But currently while processing SAE confirm
confirmation from AP, host fails to stop timer
for roamed VDEV. This results to SAE retry timer
timeout.

Fix is to stop SAE retry timer while processing
SAE confirm confirmation from AP for roamed VDEV.

Change-Id: Idfb8e8d5271b5c1c9f37b06ba3fa178ee69b4130
CRs-Fixed: 3752963
2024-03-20 15:06:38 -07:00
Abhinav Kumar
2610e0b2e7 qcacld-3.0: Disable UL MIMO feature as per INI
Host update “UL MU-MIMO” bit as HE cap in assoc request
based on below 2 things:
1. "enable_ul_mimo" INI
2. FW capability WMI_HECAP_PHY_ULMUMIMOOFDMA_GET

Fix is to overwrite he_cap->ul_mu feature in assoc request
configured via above FW capability with value of ini
"enable_ul_mimo".

Change-Id: I6ede13ec107a194f11a094ccd954155e859c02ec
CRs-Fixed: 3750038
2024-03-20 15:06:27 -07:00
Pragaspathi Thilagaraj
1b03ebf40c qcacld-3.0: Release TDLS wakelock upon peer teardown
Currently TDLS module acquires WIFI_POWER_EVENT_WAKELOCK_TDLS
wakelock and prevents run time suspend when TDLS is enabled for
a peer. While releasing the wakelock and allowing suspend, it
checks for the connected peer count in tdls_update_pmo_status().
But the peer count is not decremented here yet.

Below is the current call sequence:
tdls_disable_offchan_and_teardown_links()
	-> 1. Call tdls_reset_peer() -> this calls
	      tdls_set_peer_link_status() ->
	      tdls_update_pmo_status()
	-> 2. tdls_decrement_peer_count() - Sets the
	      connected peer count to 0

Update the sequence as below:
call tdls_decrement_peer_count() first and then call
tdls_reset_peer().

CRs-Fixed: 3735021
Change-Id: Idf91a0c96c9660df466143f8ac115f694b3070d2
2024-03-20 15:06:17 -07:00
Ravindra Konda
48b67ca706 Release 5.2.1.88I
Release 5.2.1.88I

Change-Id: I6ee796cc6becb8f6ff0dc15c53a9e3db468ade8f
CRs-Fixed: 774533
2024-03-19 17:30:11 -07:00
Deeksha Gupta
8dc963e473 qcacld-3.0: increase the link state command timeout
Whenever the driver link state command is issued the system
could be in or entering the RTPM suspend/resume, The current timeout
of driver link state command is only 800msec which could not be enough
for the RTPM suspend/resume sequence to complete.

Increase the link state command timeout value to account for RTPM
suspend/resume sequence.

Change-Id: Ieced72ae330e9820c6ba1f4fb874d4b600c18656
CRs-Fixed: 3730449
2024-03-19 17:30:10 -07:00
Ravindra Konda
18f0d0deec Release 5.2.1.88H
Release 5.2.1.88H

Change-Id: Ib556c076ce3a202aae896adea9432fb2d85d0505
CRs-Fixed: 774533
2024-03-18 10:44:36 -07:00
Surya Prakash Sivaraj
1b781053a7 qcacld-3.0: Ignore PCL scoring for non-DBS STA
HW is non-DBS. SAP is UP in 6 GHz. Now, when a STA connection is
attempted, the pcl for the second connection would have SAP SCC
channel with highest priority, all the 5 GHz channels with 2nd
highest priority and the 6 GHz channels with least priority.
Therefore, even if there is a strong 6 GHz candidate for STA, the
5 GHz candidate would be chosen and the SAP moves to SCC in 5 GHz.

To fix this, ignore the pcl scoring for the non-DBS concurrency
cases as the SAP can move to the channel of the best STA interface.

If the SAP is in legacy band, and if still a 6 GHz STA is chosen,
then the legacy SAP would be torn down. So, give STA the best
possible in non-DBS case.

Change-Id: If268b61c61e77db96b499437cdbc95188240fba8
CRs-Fixed: 3749399
2024-03-18 10:44:35 -07:00
Ravindra Konda
7688d07d0e Release 5.2.1.88G
Release 5.2.1.88G

Change-Id: Ie4eb3247fdf4df43d33fde5b8ce0d2bc6977aa93
CRs-Fixed: 774533
2024-03-18 01:55:48 -07:00
Amit Mehta
4e253feb66 qcacld-3.0: Export API to store monitor interface flags
Currently STA+Mon mode is not supported in LPC case
as both mode uses monitor interface to capture
packets. So to distinguish between two different
monitor modes export new API to store monitor interface flags

Change-Id: I463353a1a01f53d48e004f60c52c24f1d8084154
CRs-Fixed: 3739289
2024-03-18 01:55:48 -07:00
Amit Mehta
075324580c qcacld-3.0: Add changes to check and store monitor interface flags
Currently STA+Mon mode is not supported in LPC case
as both mode uses monitor interface to capture
packets. So to distinguish between two different
monitor modes.
Add changes to distinguish between two different
monitor mode based upon monitor flags bit.

Change-Id: If916b777fb0c3247c3dd2b8561001d1e2a59a4e6
CRs-Fixed: 3739285
2024-03-18 01:55:40 -07:00
Ravindra Konda
7bf58fd3a5 Release 5.2.1.88F
Release 5.2.1.88F

Change-Id: Ica925425abc448cae24b5aed6467163f93b17f78
CRs-Fixed: 774533
2024-03-17 06:18:16 -07:00
Abhinav Kumar
dbcb2217fa qcacld-3.0: Drop BTM frame based on BTM cap in assoc req
As per new requirement, If DUT associates with an AP does
not support BTM then when host receives BTM req frame
from FW. Instead of forwarding the BTM req frame to
supplicant, host should drop it.

Change-Id: Ie6b6c27c01b072fac19dc039327cb9a86370b535
CRs-Fixed: 3746758
2024-03-17 06:18:15 -07:00
Ravindra Konda
11081de764 Release 5.2.1.88E
Release 5.2.1.88E

Change-Id: I171638fa80457960abca2bd61ef21b0874a423ec
CRs-Fixed: 774533
2024-03-17 02:24:33 -07:00
Jianmin Zhu
8ccbca35ef qcacld-3.0: Avoid RSO start during OWE link connecting
When OWE roamed to 2 links AP:
1. Set vdev1 connect_req bitmap.
2. Trigger vdev1 disconnect.
3. Clear vdev1 connected_links bitmap.
4. Clear vdev1 connect_req bitmap.
5. Trigger vdev1 connect.
6. Set vdev1 connected_links bitmap.

between #3 and #6, App can send RSO start to F/W before vdev1 up,
F/W will assert during next roaming.

To fix it, if vdev connect_req bitmap is set, don't allow RSO start,
clear vdev1 connect_req bitmap in last step.
1. Set vdev1 connect_req bitmap.
2. Trigger vdev1 disconnect.
3. Clear vdev1 connect_req bitmap.
4. Trigger vdev1 connect.
5. Set vdev1 connected_links bitmap.
6. Clear vdev1 connect_req bitmap.

Change-Id: I4157a5adcf4e41995bdb92a888bd8d2fcb5994a3
CRs-Fixed: 3719140
2024-03-17 02:24:33 -07:00
Ravindra Konda
4f3b807b1a Release 5.2.1.88D
Release 5.2.1.88D

Change-Id: I3f0db68fc507b20eae35cfa40256bd3d3b291548
CRs-Fixed: 774533
2024-03-14 22:48:22 -07:00
Abhishek Singh
d90518dcbe qcacld-3.0: Fix filling peer mac in lim_prepare_and_send_deauth
Peer mac is filled from struct wlan_cm_vdev_discon_req, which
can be 0 or previous AP in case of roaming.
While handling disconnect the bssid and peer mac needs to be copied
from pe session for STA mode to avoid this mismatch and thus
disconnect failure.

Peer mac updating from pe session was missed, so to fix the issue
populate the peer mac from pe session.

Change-Id: If0598791887fb6fe46fe6ea238320876f6f57fa9
CRs-Fixed: 3708294
2024-03-14 22:48:22 -07:00
Ravindra Konda
7e68d390ed Release 5.2.1.88C
Release 5.2.1.88C

Change-Id: I49eed475992404621f7baecb394836d4860d88ab
CRs-Fixed: 774533
2024-03-12 20:34:46 -07:00
Lin Bai
080e85188d qcacld-3.0: Enable wlan BAZEL compilation for volcano
Enable wlan BAZEL compilation for volcano.

Change-Id: I5da7d1546607dd57e66b76f6925b424953ec8a3c
CRs-Fixed: 3744660
2024-03-12 20:34:46 -07:00
CNSS_WLAN Service
0dfaf6c428 Merge "Release 5.2.1.88B" into wlan-cld3.driver.lnx.2.0.14 2024-03-12 11:32:35 -07:00
Aasir Rasheed
d3484777fb qcacld-3.0: Add check for out of bound reads
In wlan_mlo_parse_t2lm_info, there are no length checks on
the various optional TID-to-link mapping IE elements which
can lead to out-of-bound reads.

This change is to prevent out of bond reads by checking
the length of t2lm_ie->elem_len.

CRs-Fixed: 3704762
Change-Id: Ia31153882a670ea909fc3cac1f5a2e2252fa76ee
2024-03-12 06:40:07 -07:00
Ravindra Konda
22e4466cd9 Release 5.2.1.88B
Release 5.2.1.88B

Change-Id: I8d5642e2cb2ba2ffb67e328a9acab257d9adcad4
CRs-Fixed: 774533
2024-03-12 06:40:07 -07:00
Ravindra Konda
0be3c189d7 Release 5.2.1.88A
Release 5.2.1.88A

Change-Id: Ib54a19b54683ce2d1b082eef5d6f6af2f0f1c9c5
CRs-Fixed: 774533
2024-03-12 02:02:31 -07:00
Surya Prakash Sivaraj
6336092bcd qcacld-3.0: Support dynamic FILS enablement for dual SAP
For Dual SAP(legacy SAP + 6 GHz SAP), WFA  HE-4.1.1 cert
case requires the following:
a) If Dual SAP is enabled, the 6 GHz SSID should be
discovered via the RNR IE of the colocated legacy SAP.
b) If a co-located neighbor is present, the  6 GHz SAP
should not send FD or unsolicited probe responses.

Add support for the above the cert case by configuring the
FD support for the 6 GHz SAP based on the operation of the
co-located SAP.

Change-Id: I045911cd34bceccdb08248ae7b99beb8454a2c98
CRs-Fixed: 3732649
2024-03-12 02:02:30 -07:00
Ravindra Konda
6cb5c5f9a7 Release 5.2.1.88
Release 5.2.1.88

Change-Id: I79c24d1a7c4002115074693cf61b1036396bb7d2
CRs-Fixed: 774533
2024-03-11 21:18:49 -07:00
Aditya Kodukula
949885e505 qcacld-3.0: Add support for size 1 flexible length arrays
Convert size 1 variable length arrays to flexible
length arrays.

Change-Id: I348d479c94a27f4cecc02c8fc9fa98cfb9572baa
CRs-Fixed: 3690224
2024-03-11 21:18:49 -07:00
Ravindra Konda
a445b05367 Release 5.2.1.87Z
Release 5.2.1.87Z

Change-Id: I3e992aebb1d7d19da58ecb0610a9530037ef81eb
CRs-Fixed: 774533
2024-03-11 09:07:48 -07:00
Amit Mehta
1d0a7af857 qcacld-3.0: Export new API to update default link
Currently default link update is only done in link switch
or dynamic mac address update case.
There is other scenario also where default link case become
inactive and update to DP will not happen.

So, to handle those scenarios, expert new API to update
DP default link.

CRs-Fixed: 3733584
Change-Id: Iab24c38c454cc5cb9f568de680531b38e4d3da45
2024-03-11 09:07:47 -07:00
Ravindra Konda
998bdc2630 Release 5.2.1.87Y
Release 5.2.1.87Y

Change-Id: I88a43ea0f00453f7168fdb4e24bf209dd1d10d88
CRs-Fixed: 774533
2024-03-11 00:42:02 -07:00
Jianmin Zhu
b66eaa3cc9 qcacld-3.0: Avoid assert for bad TPE of IoT AP
If connected AP has bad TPE IE, max tx power count is out of range,
OOB will happen.

To fix it, check max tx power count per spec to avoid OOB, also consider
current bandwidth.

Change-Id: I96789dc9226680128d49dfe35d7a8b7499d30ea5
CRs-Fixed: 3725413
2024-03-11 00:42:01 -07:00
Karthik Kantamneni
34d6142c5d qcacld-3.0: Fix race between suspend sequence and request resume
Currently when suspend sequence is going on and WOW handshake with
F.W is completed, then we check for wow initial wakeup flag if it
is not set then we proceed for suspend. But if this wow initial
wake flag is set just after it being checked in suspend sequence
then we miss honoring the wake message and host will be stuck in
suspend state.

So to avoid this make sure we are requesting resume from wow initial
wakeup setting context. So that resume request is posted properly.

Change-Id: Idd082ef82a4d7dbd62d7762f10debe1db9baed88
CRs-Fixed: 3743425
2024-03-11 00:41:55 -07:00
Ravindra Konda
7f7f79c47d Release 5.2.1.87X
Release 5.2.1.87X

Change-Id: I0fe96337c7b1f8b49ed89c9d4a8674f73892aaa8
CRs-Fixed: 774533
2024-03-09 16:02:57 -08:00
Jianmin Zhu
89e709e7af qcacld-3.0: Clear user disabled_roaming flag for new connection
User/wpa_supplicant disable roaming flag is only effective for current
 connection, it will be cleared during new connection.
 APP/wpa_supplicant can uses QCA_NL80211_VENDOR_SUBCMD_ROAMING to change
 roaming behavior for current connection.

Change-Id: If9f439f51e25e3d67f5db5557c0d8f468b071596
CRs-Fixed: 3737996
2024-03-09 16:02:57 -08:00
Abhinav Kumar
da0bd5531c qcacld-3.0: Disable BTM flag in EXT caps IE
Host sends WMI_VDEV_SET_IE_CMDID to FW to enable
disable BTM ext cap after association.

If host receives disable btm request from userspace,
host should disable BTM flag in EXT caps IE. FW uses
same ext cap in re-association request.

Change-Id: Id85a4328e41742e4eb6c7f5fe3d5a9267c248c75
CRs-Fixed: 3747320
2024-03-09 16:02:50 -08:00
Abhinav Kumar
4e25adfa76 qcacld-3.0: Process disable btm roaming req from userspace
On receiving QCA_WLAN_VENDOR_ATTR_CONFIG_BTM_SUPPORT vendor
command, do below action in host:

1. Disable btm_offload_config in FW via RSO command.
2. If btm_offload_config disabled in FW at step #1,
   FW forwards BTM frame to Host, Host needs to drop frame.
3. Disable btm ext capability (p_ext_cap->bss_transition)
   bit in assoc request and unicast probe request to AP.
4. On disconnection, restore BTM configuration.

Change-Id: I228bafe243c43bc055f19d472c2f2d986225f577
CRs-Fixed: 3742276
2024-03-09 16:02:43 -08:00
Abhinav Kumar
ce1a095d7d qcacld-3.0: Handle CONFIG_BTM_SUPPORT vendor cmd
Add support to process newly added vendor command
QCA_WLAN_VENDOR_ATTR_CONFIG_BTM_SUPPORT.

User space use this vendor command to disable/enable
BTM roaming for STA interface.

If host receives this vendor command in connected
state, host should return failure to user space.

Change-Id: Iafadc2fab2ee30a0eb2e8e7ebb7178c1d36fe1c9
CRs-Fixed: 3715920
2024-03-09 16:02:37 -08:00
Ravindra Konda
c67122b912 Release 5.2.1.87W
Release 5.2.1.87W

Change-Id: I3d968af82585c4298113897e386b8663845e6d3a
CRs-Fixed: 774533
2024-03-08 03:25:15 -08:00
Abhishek Singh
a3b98ba725 qcacld-3.0: Do not update the phymode of SAP after SAP is started
In ACS, SAP phymode is updated as per the ACS request, but actual
phymode is calculated during start bss, which check the IEs etc.
In pe session the ht/vht/he/eht capability flags are not updated
as per the new phymode/dot11mode and thus even if phymode is
11ac, he flag is set and send he caps to firmware.

So once SAP is started, don't allow phymode update from ACS.
Also update the ht/vht/he/eht capability as per the new dot11mode
so that there is no mismatch in dot11mode and
ht/vht/he/eht capability flag.

CRs-Fixed: 3696205
Change-Id: I73e5f8ed0fbdc17b423bcba6fd3cbf2acc221fc2
2024-03-08 03:25:15 -08:00
Ravindra Konda
d77d648308 Release 5.2.1.87V
Release 5.2.1.87V

Change-Id: Ibe68fcd471b1e67e3983a07a57f84a80dca96d15
CRs-Fixed: 774533
2024-03-06 22:19:59 -08:00
Aasir Rasheed
bb6e26f046 qcacld-3.0: Update phymode along with ch_width update to FW
AP sends "Operating Mode Notification" IE contains max supported
channel width indication (ap operating channel bandwidth) via
beacon/probe response/association/re-association response frame.
After sending OMN IE to DUT, AP expects DUT should do Tx/Rx of
data packet on ap operating channel bandwidth.

Due a recent change in FW (via CR/3701633), FW combined BW and
PHYMODE update requests into single message to avoid race condition
and assert in FW. It means whenever host updates ch_width to FW,
should also update corresponding phymode immediately via same
command WMI_PEER_SET_PARAM_CMDID with param id WMI_HOST_PEER_PHYMODE.

Currently on detecting OMN IE in any of above frame,
host sends WMI_PEER_SET_PARAM_CMDID command only once with
param id WMI_HOST_PEER_CHWIDTH to update ch_width only with
expectation “FW should use same ch_width for further Tx/Rx
of data packet”. But FW ignoring only ch_width updates (without
followed by phymode update), this results DUT fails to do Tx/Rx
of data packet on ch_width present in OMN IE.

Fix is to make sure on detection of OMN IE (contains valid ch_width)
in above frame(s), host should send WMI_PEER_SET_PARAM_CMDID command
two times to FW to update ch_width and corresponding phymode.

Change-Id: Ic23205bb6c164b1bcb9c183d0f7818b082b84583
CRs-Fixed: 3734683
2024-03-06 22:19:59 -08:00
Ravindra Konda
18a52ad0fe Release 5.2.1.87U
Release 5.2.1.87U

Change-Id: I97c2b12aa4c7abd74457af07edd2a9cacf9098d8
CRs-Fixed: 774533
2024-03-06 02:24:26 -08:00
Sheenam Monga
97bf376926 qcacld-3.0: Select transmit power as per 11.7.6 IEEE Section
Currently, if power constraint is advertised by AP then local
max tx power is calculated as per the rule defined in 9.4.2.13
(Power Constraint element) i.e regulatory power - local constraint
advertised by AP. As per the rule defined in 11.7.6
(Transmit power selection) transmit power for STA should be less
than or equal to the minimum of the local maximum transmit power
level and regulatory client maximum power.

Fix is instead of populating max_tx_power as diff of regulatory power
and derived local max tx power, populate max_tx_power to the MIN
of regulatory power and local max tx power to align with IEEE
standard.

Change-Id: I65fe4c9c6a4c7dd80540530c25b7ac2b1952633c
CRs-Fixed: 3740468
2024-03-06 02:24:26 -08:00
Ravindra Konda
6a838f6df8 Release 5.2.1.87T
Release 5.2.1.87T

Change-Id: I3199d83afa004435e702a0271a73ad97e7d0db4a
CRs-Fixed: 774533
2024-03-05 22:17:30 -08:00
Abhinav Kumar
36b79ad01e qcacld-3.0: Process update ch_width request as per omn ie
AP sends "Operating Mode Notification" IE having max supported
channel width (say ap operating bw) via beacon/probe response/
association/re-association response frame.

When datapath detect leaky AP, to enable/disable, userspace
sends ch_width update to host.

Step 1. If STA founds OMN IE present in above frame, host
sends update channel width (say new AP operating BW is
80 MHz) ind via WMI_PEER_SET_PARAM_CMDID with param id 4
(WMI_HOST_PEER_CHWIDTH).

Step 2: After ch_width update to 80 MHz in FW at step 1,
if host receives a update ch_width (to 160 MHz) request
from userspace on leaky AP detection disable. Host updates
its internal channel info structure with new BW and sends
update indication to FW via WMI_VDEV_SET_PARAM_CMDID
with param id WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY.

In case, if host allows ch_width update greater than ch_width
present in OMN IE (ap operating bw), FW only disable leaky
detection but did not update Rx/Tx BW as per new ch_width as
ap operating bw is still 80 MHz (configured at step 1).
This leads to out of sync for value of ch_width in host and
FW and IOT issues.

To keep host and FW in sync with current AP's operating BW,
add a sanity check and reject request before updating internal
channel info structure in host if new ch_width (coming from
user space) is greater than ap operating bw present OMN IE.

Change-Id: Iedc1706e32b9e08512ca6c9b98162902cd32f976
CRs-Fixed: 3732557
2024-03-05 22:17:29 -08:00