コミットグラフ

29929 コミット

作成者 SHA1 メッセージ 日付
Rahul Choudhary
e9bf6c7c81 Release 5.2.1.77L
Release 5.2.1.77L

Change-Id: I7261a6ea00f07f17606497d7b50a4bae543b6548
CRs-Fixed: 774533
2023-08-22 08:07:59 -07:00
Ashish Kumar Dhanotiya
3f3c1854d8 qcacld-3.0: Force 11n mode for ll_lt sap
Based on the new requirement, force 11n mode for ll_lt SAP.

Change-Id: I841c7af68178be94302ca259d6269dd00321bddc
CRs-Fixed: 3591464
2023-08-22 08:07:58 -07:00
Deeksha Gupta
8903d71a2b qcacld-3.0: Handle T2LM mapping validation for standby link
Currently, if AP is sending T2LM action frame with standby
link mapping then STA host is rejecting the T2LM mapping and
sending status as WLAN_T2LM_RESP_TYPE_DENIED_TID_TO_LINK_MAPPING
to AP.

Fix is, STA handles T2Lm mapping if AP sends on standby link.

Change-Id: I8492fbaff7bffb32afa142bb11767e6202137cf5
CRs-Fixed: 3589843
2023-08-22 08:07:51 -07:00
Rahul Choudhary
5a90eb3b5d Release 5.2.1.77K
Release 5.2.1.77K

Change-Id: I14f1be23cb838c1fe381ce8fc65d8bdf331cb85f
CRs-Fixed: 774533
2023-08-21 10:57:43 -07:00
Aravind Kishore Sukla
30cac76709 qcacld-3.0: Reject partner link based on security check
For multi link connection there might be the case where
rsnxe of the AP is not present on the link vdev.
This causes the link vdev alone to downgrade to 11ax
mode and assoc vdev is in 11be dot11 mode.
So for vdev with ML peer, the dot11mode is 11ax,
which causes abnormal firmware behavior.

Reject the partner link that doesn’t pass the security
check and validate the next available partner link.
if none of the partner link passes the security check,
proceed connection with single link.

Change-Id: I07239f06e2fa166cb472e1f24d66b44929d58cbf
CRs-Fixed: 3583522
2023-08-21 10:57:42 -07:00
Rahul Choudhary
d2793a1459 Release 5.2.1.77J
Release 5.2.1.77J

Change-Id: I8bdb2031720f353172a89a827f9b5cefdf9496a1
CRs-Fixed: 774533
2023-08-18 21:43:38 -07:00
Amruta Kulkarni
ccc3316187 qcacld-3.0: Do not assert when dumping state info
When memory dump config is enabled, the lim/sme state info
dump api's are invoked. These api's are also invoked after wlan
modules are stopped.
Change is to remove the assert and return if mac context is null.

Change-Id: Ie1b71bb62c490b9c79430dd997db3f09bbe6ef31
CRs-Fixed: 3579391
2023-08-18 21:43:38 -07:00
Ananya Gupta
3b7bf0f80f qcacld-3.0: Add enum for max test commands
Add enum for max test command and replace the check for
WFDS_GET_STATS cmd with WFDS_CMD_MAX.
Also, put end of struct at the end of the structure in
struct wfds_ut_cmd_req_msg_v01_ei.

Change-Id: Icc1075fb10d92fba17ffbd71a97904c6c8d866d0
CRs-Fixed: 3591854
2023-08-18 21:43:33 -07:00
Rahul Choudhary
28cc4a738c Release 5.2.1.77I
Release 5.2.1.77I

Change-Id: I6381d71b17bda48f57fbff754990e55c0869de6e
CRs-Fixed: 774533
2023-08-18 18:09:49 -07:00
Vinod Kumar Pirla
54c0b31d7c qcacld-3.0: Remove HDD wait for ops in link switch notify
VDEV is moved to INIT state as part of link switch disconnect,
before set MAC address response is received, north bound
disconnect is received which also increment pending OSIF
ops.

MLO manager is notified about this userspace disconnect to
terminate link switch and in this process, OSIF/HDD is notified
to change back deflink by waiting for OSIF ops to complete on
that adapter. Deadlock situation araises as the same thread
that initiated ops is waiting for completion.

Don't wait for ops in OSIF as part of link switch notification.

Change-Id: I53ce3da7e9cfbc1dea9422766f81c33254b357a0
CRs-Fixed: 3591342
2023-08-18 18:09:49 -07:00
Yu Ouyang
501591ed99 qcacld-3.0: Remove idle shutdown suspend delay
If wifi turn/off and suspend command come simultaneously, idle shutdown
timer will delay long time to go into suspend mode. The time is
(gInterfaceChangeWait + HDD_PSOC_IDLE_SHUTDOWN_SUSPEND_DELAY)ms.

The delay is ensuring idle shutdown can be called and completed before
suspending. Otherwise wifi chip is not in power off state even all
adapters stopped.

Change c797c6e is ensuring that we can go into idle shutdown case when
system suspend is happening and all interfaces are down.
So, we can remove the delay and restore gInterfaceChangeWait default
value to 10s. No delay and no current leakage in FW.

Change-Id: I04cc6f2dd9720105e0302874022603eeb4fccfe5
CRs-Fixed: 3513404
2023-08-18 18:09:44 -07:00
Yu Ouyang
9b8714e492 qcacld-3.0: Shutdown WLAN in suspend prepare if wow mode
Change ec797c6e shutdown WLAN in suspend prepare if shutdown_suspend mode.
For WoW_suspend mode, we need to do this too if all adapters stopped. And
do nothing if has adapter open.

Change-Id: I551354d4a906799c6279c10f05be799459110a45
CRs-Fixed: 3549654
2023-08-18 18:09:39 -07:00
Pragaspathi Thilagaraj
62e8fc78a0 qcacld-3.0: Update version for some supported feature set
Update version for vendor request 1 and vendor request 2 as
below:
vendor_req_1_version: WMI_HOST_VENDOR1_REQ1_VERSION_4_00
vendor_req_2_version: WMI_HOST_VENDOR1_REQ2_VERSION_3_50

Change-Id: Ieaa25a9c2b98f4c73cb89462463dd88ba5d11b53
CRs-Fixed: 3590251
2023-08-18 18:09:34 -07:00
Rahul Choudhary
32a6b86311 Release 5.2.1.77H
Release 5.2.1.77H

Change-Id: I17825b82c341e12789a7a45a09bab8ef31df0163
CRs-Fixed: 774533
2023-08-17 21:01:22 -07:00
Ashish Kumar Dhanotiya
fe6d7d0625 qcacld-3.0: Add support for LL_LT_SAP_MODE in policy mgr
Currently PM_LL_LT_SAP_MODE is not handled in policy manager.
With this change add support for PM_LL_LT_SAP_MODE in the policy
manager.

Change-Id: Icfbb3a95dc65225fc7dad5df7dca9306a5029402
CRs-Fixed: 3536491
2023-08-17 21:01:21 -07:00
Rahul Choudhary
84a9b935b3 Release 5.2.1.77G
Release 5.2.1.77G

Change-Id: I414d83c60edc33015fe1c5b500412dc90e4c1ad1
CRs-Fixed: 774533
2023-08-17 18:06:52 -07:00
Sheenam Monga
294d99a4f6 qcacld-3.0: Populate Measurement Report for STA STATISTICS type
Add support to populate measurement report with sta statistics
IEs. Update data based on the requested group id and update
flags in optional IE reporting_reson based on calculated data.

Change-Id: Ic9824d7e4d0ae925a00f3737d0b816923728ccc6
CRs-Fixed: 3583981
2023-08-17 18:06:52 -07:00
Rahul Choudhary
6163713354 Release 5.2.1.77F
Release 5.2.1.77F

Change-Id: Ibb0aa12dc80952add881d84a5ba171dd456805cd
CRs-Fixed: 774533
2023-08-17 12:39:17 -07:00
Sheenam Monga
7aa3e49d6d qcacld-3.0: Add support to handle RRM sta stats req
Add support to handle RRM Station statistics request (type == 7)
from AP. Based on the received group id, collect the corresponding
stats and send the RRM station statistics response to AP.

Send Report with incapable/Refused bit in below cases:
a.) Meas duration > threshold which is 10 seconds
b.) Groupid apart from 0, 1 or 10.
c.) Failure to start Timer.
d.) Response not received from FW for previous request.
e.) Another RRM STA STATS Request in progress.
f.) Another CP stats request in progress.

Change-Id: If93e9c51363daf9704a14df5822c8f7bfbd4b216
CRs-Fixed: 3583973
2023-08-17 12:39:16 -07:00
Abhinav Kumar
f89f0e2de0 qcacld-3.0: Send chan load response to AP
If a DUT accept channel load request, the STA should
response with a channel load report with channel
utilization measurement as observed by the measuring
STA.

Change-Id: Ic8faa45e24d7cd296e44828370b1b1088d46ddda
CRs-Fixed: 3580203
2023-08-17 12:39:11 -07:00
Rahul Choudhary
b89f7f0dde Release 5.2.1.77E
Release 5.2.1.77E

Change-Id: Ib267123baf5205849ce9ff169819f2767503c591
CRs-Fixed: 774533
2023-08-17 09:42:52 -07:00
Shailendra Singh
cb5e7915c5 qcacld-3.0: Change to set SAR index at init time
Changes to set SAR safety index at the driver init time.
Enhance gEnableSarSafety ini to enable timer / init
based SAR index configuration.

Change-Id: Ie50a887d566427fe4e4ff589bf3594c6b78e8c00
CRs-Fixed: 3576752
2023-08-17 09:42:51 -07:00
Jyoti Kumari
28576e40fc qcacld-3.0: Modify sap_select_channel() api
Separate sap_select_channel() into sap_sort_channel() and
sap_select_channel()

Change-Id: I1535b1e7d74fdb0c88f39bede822a7bac1acd05d
CRs-Fixed: 3561190
2023-08-17 09:42:44 -07:00
Nijun Gong
edd87d46eb qcacld-3.0: Enable wow add/del pattern sysfs commands
Enable WLAN_WOWL_ADD_PTRN and WLAN_WOWL_DEL_PTRN for rome.

Change-Id: Ief930bd387e523998cdf459bb45a2c76e3228f98
CRs-Fixed: 3590466
2023-08-17 09:42:39 -07:00
Abhinav Kumar
d9819e03a2 qcacld-3.0: Calculate rx_clear_count in case of wide band scan
In case of wide band scan, FW sends cca_busy_subband_info tlvs
via WMI_CHAN_INFO_EVENTID, which contains value of rx_clear_count
for each 20 MHz freq space.

Fix is to calculate average of rx_clear_count coming via above
tlvs and update same to cp stats component.

Change-Id: Ifec35f2ca256aabd8ef08a5ca52a53dc1c89e297
CRs-Fixed: 3580240
2023-08-17 09:42:33 -07:00
jinbao liu
e422b88c9d qcacld-3.0: Take MLO into account when getting linkSpeed
This change takes MLO connection into account when running getLinkSpeed

Change-Id: I7a62fac5b987718c55544e28e8f7f71ef637242d
CRs-Fixed: 3564681
2023-08-17 09:42:28 -07:00
Rahul Choudhary
7752b4a0d1 Release 5.2.1.77D
Release 5.2.1.77D

Change-Id: I1219f48917f5a80fbc89c41b774ca7dd76f193ea
CRs-Fixed: 774533
2023-08-17 01:39:00 -07:00
Abhinav Kumar
be6f4c4190 qcacld-3.0: Add support for Channel load request frame
As per new requirement, to improve Wi-Fi Roaming behavior
DUT should support channel load request received as part
of rrm measurement.

The Channel Load request/report pair returns the channel
utilization measurement to AP as observed by the measuring
STA.

Change-Id: Idf1b5581222e1fbed3426d94edd8768234ff6a43
CRs-Fixed: 3580180
2023-08-17 01:39:00 -07:00
Abhinav Kumar
da7a492dcd qcacld-3.0: Add support to process channel load rrm frame
Add support to process channel load request and response
rrm frame.

Measurement Request field format for Channel Load request:
1. Operating Class --> 1 bytes
2. Channel Number --> 1 bytes
3. Randomization Interval --> 2 bytes
4. Measurement Duration --> 2 bytes
5. Optional Subelements --> variable length

Optional subelement IDs for Channel Load request:
1. Channel Load Reporting (ID = 1)

Measurement Report field format for Channel Load report:
Operating Class --> 1 bytes
Channel Number  --> 1 bytes
Actual Measurement Start Time --> 8 bytes
Measurement Duration --> 2 bytes
Channel Load  --> 1 bytes

Change-Id: I692040266e4294f58e492dac6f32002461c0efd3
CRs-Fixed: 3580157
2023-08-17 01:38:54 -07:00
Rahul Choudhary
52a7e4db6c Release 5.2.1.77C
Release 5.2.1.77C

Change-Id: Id9ad37f36100c94f78e22a3d31cd066e04d385e3
CRs-Fixed: 774533
2023-08-16 19:16:26 -07:00
Aditya Kodukula
d82b9641ac qcacld-3.0: Add sysfs replacement for set bitrates
Add a sysfs replacement for the deprecated WEXT commands
set11NRates, set11ACRates and set_11ax_rate.

Change-Id: I7823660f377d4d4aeb8df2d88b6a871b9ec33ec2
CRs-Fixed: 3588225
2023-08-16 19:16:26 -07:00
Rahul Choudhary
e9ba7dbdc4 Release 5.2.1.77B
Release 5.2.1.77B

Change-Id: I78d277c71087db9f99e14f89f6b79e349aba42bb
CRs-Fixed: 774533
2023-08-16 13:35:43 -07:00
Sheenam Monga
59dda31a80 qcacld-3.0: Add support to get and parse Measurement Req for STA stats
Add support to get STA statistics Request element from Measurement
Report Request and to parse the IE, so that measurement report can
be created accordingly.

Change-Id: I249238076498c23234de79f5064d7638a46746ab
CRs-Fixed: 3583986
2023-08-16 13:35:43 -07:00
Jyoti Kumari
4f6b354391 qcacld-3.0: Move tSapChSelSpectInfo structure to mlme component
Move tSapChSelSpectInfo structure from sap component to mlme
component so that it can be use by LL_SAP as well

Change-Id: Ic3c2919054326aca3530071df27d425bb78a699a
CRs-Fixed: 3561182
2023-08-16 13:35:37 -07:00
Jinwei Chen
5368fdf91e qcacld-3.0: skip sending DHCP indication message if host suspended
Scenario:
(1) Host entered into system suspend.
(2) FW received DHCP Req and trigger WOW wake up.
(3) Host send WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID to FW.
(4) FW reinject RX DHCP Req to REO, send WMI_WOW_WAKEUP_HOST_EVENTID
    to host.
(5) Since DP RX thread has been disabled, host DP receives DHCP Req
    and do DHCP inspection directly, send DHCP indication message
    to FW, but wmi_handle->is_target_suspended is true,
    trigger crash.
(6) Host set wmi_handle->is_target_suspended to false only after receiving
    WMI_WOW_WAKEUP_HOST_EVENTID.

Solution:
skip sending DHCP indication message if host suspended and DP RX
thread is not enabled, do not update sta_info->dhcp_nego_status,
then TX DHCP ACK won't do dp_post_dhcp_ind() in this case as well.

Change-Id: Ie4c414357ed7547ee9b882f3ec659bfe91b6b20d
CRs-Fixed: 3585743
2023-08-16 13:35:31 -07:00
Sheenam Monga
bfb9c2812c qcacld-3.0: Add support to send Measurement Report for STA stats
Add support to send Measurement Report in response of STA statistics
Measurement Request.

Change-Id: I4671129a5352f2f96ae21606a8af671859013113
CRs-Fixed: 3583989
2023-08-16 13:35:26 -07:00
Amruta Kulkarni
8b495ff353 qcacld-3.0: Update mlo_support_link_num from cfg to ini
Change made to mlo_support_link_num from cfg to ini parameter.

Change-Id: I02251725fca7d0d550e87d806dda82f542e18879
CRs-Fixed: 3588980
2023-08-16 13:35:20 -07:00
Will Huang
4428d4840a qcacld-3.0: Allow DFS channel if band restriction restore
Currently if SAP start on DFS channel and band restrict to 2 GHz, it
will move to 2 GHz channel and when band restore it can not move back
to original DFS channel, it may lead to concurrency fail in some 4 SAP
scenario.

Because wlan_reg_is_enable_in_secondary_list_for_freq() only check
channel ENABLE state and ignore DFS state, replace it to
!wlan_reg_is_disable_in_secondary_list_for_freq() so that original
DFS channel can be selected.

Change-Id: Ie39564c51a4a54e76a5df6e639961f82f30d9e16
CRs-Fixed: 3586421
2023-08-16 13:35:15 -07:00
Rahul Choudhary
f1dca6aae8 Release 5.2.1.77A
Release 5.2.1.77A

Change-Id: Idf85d65221a3afede14f6b9fce2c6a7c8d0e83e9
CRs-Fixed: 774533
2023-08-16 02:16:45 -07:00
Chunquan Luo
84e5c78f0e qcacld-3.0: Revert RSSI vendor attr api to nla_put_u32
The reverts commit 35160f2ec7 ("qcacld-3.0: Signal value on
p2p-go mode error").
Since vendor command attribute already submit to open source,
we can't change the QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_RSSI_MGMT
and QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_RSSI_DATA and
QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_RSSI_ACK to signed 32 bit.
So, revert the api of nla_put_s32 to nla_put_u32.

Change-Id: I70514c4edfd12a401a3549839075b657ed5e6a5a
CRs-Fixed: 3566162
2023-08-16 02:16:45 -07:00
Rahul Choudhary
c37ebe5212 Release 5.2.1.77
Release 5.2.1.77

Change-Id: I1db7454ae03511eaaeb52d5a00f1526a39d15ec7
CRs-Fixed: 774533
2023-08-15 15:09:25 -07:00
Aditya Kodukula
6f08e2feb6 qcacld-3.0: Disable Hide Mac address feature in consolidate builds
Currently, WLAN_TRACE_HIDE_MAC_ADDRESS feature is enabled in both GKI
and consolidate builds. But, this feature is needed only in GKI builds.
So, disable this feature in consolidate builds.

Change-Id: Iaca5c693746a2b57acdf3bb730be4dbbc34649f0
CRs-Fixed: 3588354
2023-08-15 15:09:25 -07:00
Rahul Choudhary
2b91d230dc Release 5.2.1.76Z
Release 5.2.1.76Z

Change-Id: Iea462b90ea1b078a6327e3ab0a4e99b4bd29d403
CRs-Fixed: 774533
2023-08-15 12:13:44 -07:00
Sheenam Monga
1a9e02c65f qcacld-3.0: Validate on going CP stats request
Currently, there is no check to stop new CP
stats request if any other CP request is in progress
which may cause issue due to updation of callback
function infra_cp_stats_resp_cb as per new request
before getting stats from FW for previous request.

Change-Id: Id31fd9e6bba7c1130af7bbc29b18baaa07b5bf04
CRs-Fixed: 3580194
2023-08-15 12:13:43 -07:00
Rahul Choudhary
3ff12d1e69 Release 5.2.1.76Y
Release 5.2.1.76Y

Change-Id: I78a0f01940b264d49cda75b997408d1eaf4f1b8b
CRs-Fixed: 774533
2023-08-15 06:28:31 -07:00
Nijun Gong
75b8edf980 qcacld-3.0: Add support for contiguous multi-page allocation
Add config option for enabling physically contiguous multi-page
allocation, and enable the same for qca6174.

CRs-Fixed: 3588484
Change-Id: Ib649cbb6e3d3e5b00a5e8f94cde99f621fa9b124
2023-08-15 06:28:31 -07:00
Rahul Choudhary
04ca4777e9 Release 5.2.1.76X
Release 5.2.1.76X

Change-Id: Ie88c0ac1bab03740f2c4579aa4eb8c9c2481f933
CRs-Fixed: 774533
2023-08-14 21:57:34 -07:00
Namita Nair
0f8629ae12 qcacld-3.0: Add check to find IPA iface_ctx based on vdev_id
IPA APIs currently depend on the net_dev value to distinguish
between the IPA iface_contexts, during setup and cleanup calls.
Due to single net_dev multi vdev change, this check is not
valid anymore and causes overwrite of the IPA iface contexts.
This change adds a check to also compare the vdev_id along with
net_dev to properly distinguish between the iface contexts.

Change-Id: I9cbd827f0d6393a83a9aedb17d68c5f8fe143e05
CRs-Fixed: 3585635
2023-08-14 21:57:34 -07:00
Pragaspathi Thilagaraj
a32d78eca4 qcacld-3.0: Validate CSA frequency and bandwidth
Check if the provided channel width and center frequency
are valid in current regulatory domain for CSA. If its not
valid reject the CSA request, since invalid center frequency
sent to firmware in vdev start command can cause abnormal
behavior.

Validate the STA csa frequency in lim_is_csa_channel_allowed()

Change-Id: I40de080bb7a929a350d28eb45352bce4f60a9f1d
CRs-Fixed: 3541748
2023-08-14 21:57:28 -07:00
Aditya Kodukula
7ed5313613 qcacld-3.0: Add a sanity check before sending mlo ll_stats
Currently in the function wlan_hdd_send_ll_stats_req, we send
mlo_ll_stats to userspace without checking the response for
ll_stats request. This causes an issue, when we the ll_stats
request is unsuccessful and host tries to send the stats to
userspace. So, to avoid this issue, add a sanity check before
sending mlo_ll_stats to userspace.

Change-Id: I71ad4938551dc7be49c15f95b81ea37cf0c9c731
CRs-Fixed: 3587011
2023-08-14 21:57:23 -07:00