İşleme Grafiği

26874 İşleme

Yazar SHA1 Mesaj Tarih
Mohammed Ahmed
8e6a33e431 qcacld-3.0: Add Ref Leak related flags under CONFIG_CNSS2_DEBUG
Currently Vdev Ref leak functions (eg: wlan_objmgr_print_ref_func_line)
are not being compiled in defconfig due to compilation flags.
Fix this by moving appropriate flags under the CONFIG_CNSS2_DEBUG flag.

Change-Id: I34e69680b3959232be17d1a10cd581903ad1a64a
CRs-Fixed: 3292744
2022-09-16 21:02:53 -07:00
Madan Koyyalamudi
775f907588 Release 5.2.1.37J
Release 5.2.1.37J

Change-Id: I45867452ed108997a69a1f5238332d4fc9123170
CRs-Fixed: 774533
2022-09-16 19:38:41 -07:00
Ashish Kumar Dhanotiya
c8d57a7023 qcacld-3.0: Parse tx and rx packet per MCS from peer extd stats
Based on the new requirement, fw fills the tx packet counts per mcs
and rx packet count per mcs index in the peer extd stats event.
Add logic to parse tx packet count per mcs and rx packet count per mcs
from peer extd stats event.

Change-Id: I4cd8c1ed5dd6942022d9f930f8de0bcbcb679eb5
CRs-Fixed: 3289683
2022-09-16 19:38:41 -07:00
Madan Koyyalamudi
8d24d5cc65 Release 5.2.1.37I
Release 5.2.1.37I

Change-Id: Ibf63e66e3495fc3541b4def3f82015cd3a3981ee
CRs-Fixed: 774533
2022-09-16 16:31:04 -07:00
Qun Zhang
8767353043 qcacld-3.0: Let non-DBS chips pass STA+STA concurrency check during reassoc
During reassociation, cm_check_for_reassoc_hw_mode_change() is called
to check the coming concurrency is supported or not after preauth is
done. For non-DBS chip, due to STA+STA concurrency is not supported
by FW, the connection manager will run into state disconnecting from
roaming and disconnect current connection by sending disassociate frame,
then do new connection again. It's not normal roaming flow in which
disassociate frame should not be seen over the air.

Per the reassociation flow, it will internally delete previous connection
first, so can call policy_mgr_store_and_del_conn_info_by_vdev_id first to
make sure concurrency checking can pass even if a new STA connection is
coming up.

Change-Id: I5f9f3e1151cb5402405042e3e9f2bec95f0b094c
CRs-Fixed: 3246822
2022-09-16 16:31:04 -07:00
Paul Zhang
1b38d7fb95 qcacld-3.0: Send pmk cmd even PMKSA entry is found
Currently, supplicant uses two different ways to delete PMKSA entry,
one uses SSID and cache ID as keywords, another one uses BSSID as
keywords. It causes out of sync between fw and host if driver adds
PMKSA entry with BSSID and supplicant deletes PMKSA entry with SSID
and cache ID.

To resolve this issue, send pmk cmd to fw even the PMKSA entry is
found.

Change-Id: I211da3c86085567592ee9244ae27a4a8189a6626
CRs-Fixed: 3285073
2022-09-16 16:30:58 -07:00
Madan Koyyalamudi
e1ef85d1f3 Release 5.2.1.37H
Release 5.2.1.37H

Change-Id: I1bdeb0f05d96fa974c14913e0bace31e90b87dcf
CRs-Fixed: 774533
2022-09-16 14:58:52 -07:00
Meng Yuan
0fce1cafb7 qcacld-3.0: Support RRM action frame for SAP mode
Support neighbor response and beacon request
transmit from driver and deliver received
neighbor request and beacon report to hostapd.

Change-Id: I6a27d04ab4b558c4af799cc185b92f011194233d
CRs-Fixed: 3279625
2022-09-16 14:58:52 -07:00
Madan Koyyalamudi
4263e18cdc Release 5.2.1.37G
Release 5.2.1.37G

Change-Id: I868a33043883fcc8ad4cb9bf629a04508db9fd69
CRs-Fixed: 774533
2022-09-16 13:27:24 -07:00
Jeff Johnson
d5403c42a4 qcacld-3.0: Rename wlan_cm_ese_populate_addtional_ies()
Rename wlan_cm_ese_populate_addtional_ies() to fix misspelling in the
name: addtional ==> additional

Change-Id: I3a5528d09804628cc665ee882ced3af2581b0f34
CRs-Fixed: 3281750
2022-09-16 13:27:23 -07:00
Madan Koyyalamudi
ddb86c457e Release 5.2.1.37F
Release 5.2.1.37F

Change-Id: I994bc21362ee35b0f6fbb8d244607cf94262df79
CRs-Fixed: 774533
2022-09-16 11:52:27 -07:00
Gururaj Pandurangi
3187673cf9 qcacld-3.0: Fill number of links in set link req
Fill the number of links that need to be forced inactive
when the force mode is MLO_LINK_FORCE_MODE_INACTIVE_NUM.

Change-Id: Ifd24ba213a9cf011535bfd3662dd83e5b584aa51
CRs-Fixed: 3277465
2022-09-16 11:52:26 -07:00
Roopavathi Lingampalli
c817de55b6 qcacld-3.0: Modify Pre_alloc memory support for HDD module
Modify Pre_alloc memory support for HDD module
through DP componentization

Change-Id: Ic40d5f4ae07d4fcaa86f2e8784a532303e6f3c9a
CRs-Fixed: 3285958
2022-09-16 11:52:21 -07:00
Roopavathi Lingampalli
b0f2063e21 qcacld-3.0: Modify Pre_alloc memory support for CDS module
Modify Pre_alloc memory support for CDS module
through DP componentization

Change-Id: I1f7265d2f98d62a090dc326cbdfb2ed67b747483
CRs-Fixed: 3285955
2022-09-16 11:52:15 -07:00
Roopavathi Lingampalli
6d4df6c2da qcacld-3.0: Modify Pre_alloc memory support for Dp component
Modify Pre_alloc memory support for DP componentization.

Change-Id: I274e3163bc6623a7a4e08f8ce30d3bc17a0b444b
CRs-Fixed: 3285947
2022-09-16 11:52:08 -07:00
Madan Koyyalamudi
62f33df4f6 Release 5.2.1.37E
Release 5.2.1.37E

Change-Id: Ief7ad70859ffc8ef0256de8aa7439708fa7086af
CRs-Fixed: 774533
2022-09-16 07:27:09 -07:00
Bing Sun
94bde882f6 qcacld-3.0: Fix NULL pointer access issue in lim_tx_mgmt_frame
In lim_tx_mgmt_frame, if opmode is QDF_NAN_DISC_MODE, pointer session
is NULL. Pointer session is used later in LFR2 code.

The LFR2 code in lim_tx_mgmt_frame should be called when the opmode is
not QDF_NAN_DISC_MODE.

Change-Id: If9848782473b7b38c3a0cbec30d7d870aceb619f
CRs-Fixed: 3287894
2022-09-16 07:27:09 -07:00
Ashish Kumar Dhanotiya
598a31450c qcacld-3.0: Check band capability as well to decide wifi standard
Currently host does not consider band capability when it decides
supported wifi standard info. This results in incorrect supported
wifi standard info. For example if dot11 mode ini is set to auto
and 6 GHz is disabled from band capability and if host does not
support 11BE, in this case if host does not consider band
capability it reports supported wifi standard as wifi 6E, but
ideally it should not report wifi 6E as it wifi 6E mandates
6 GHz support.

To address above issue, consider band capability as well to
decide supported wifi standard.

Change-Id: Iae7804a73d8ba36ec855fdc4c00ca3106e43b350
CRs-Fixed: 3282169
2022-09-16 07:27:03 -07:00
Rahul Gusain
f9bf5e7610 qcacld-3.0: Support dummy TWT API when 11AX or TWT feature not define
Currently, in host drivers, compilation fails for some TWT API when
definition is not available for either of 11AX feature flag
(WLAN_FEATURE_11AX) or TWT feature flag (WLAN_SUPPORT_TWT).

Add support for the dummy TWT API to resolve the compilation error
when 11AX and TWT feature flags and are not defined.

Change-Id: I3fa96393d5cdac9e5222b3978108601e1a651143
CRs-Fixed: 3292454
2022-09-16 07:26:56 -07:00
Madan Koyyalamudi
b71dbaa3e2 Release 5.2.1.37D
Release 5.2.1.37D

Change-Id: I523b293c49e3c6b6794dc74e1028842f46f709c0
CRs-Fixed: 774533
2022-09-14 22:19:08 -07:00
Srinivas Girigowda
21f3233946 qcacld-3.0: Allocate memory of size matching its variable type
dp_stats is of type struct dp_tx_rx_stats, but memory is allocated of type
struct hdd_tx_rx_stats. Both structs are of different size and
sizeof(struct hdd_tx_rx_stats) is lesser than sizeof(struct dp_tx_rx_stats)
which is causing access out of bounds.

Fix this issue by allocating memory of size matching its type.

Change-Id: Iccc04c38fb64d65f3483ae9b128dc316e7036ec5
CRs-Fixed: 3290287
2022-09-14 22:19:08 -07:00
Madan Koyyalamudi
076156ace9 Release 5.2.1.37C
Release 5.2.1.37C

Change-Id: I5ded60e268233c7b15c21bd1b425cb7a197a3945
CRs-Fixed: 774533
2022-09-14 17:28:06 -07:00
Gururaj Pandurangi
adf026f655 Revert "qcacld-3.0: Fix MU EDCA iot AP issue"
This reverts commit I0ad26214417d33bafcbb6939a247bebe4f4637f8.

Change-Id: I5fd3f449557e7db1c6abfdcc6db199636d25884a
CRs-Fixed: 3283064
2022-09-14 17:28:05 -07:00
Madan Koyyalamudi
7942502dbf Release 5.2.1.37B
Release 5.2.1.37B

Change-Id: I2b5ff628a070847990765f3d98105dff5cc7894b
CRs-Fixed: 774533
2022-09-14 11:06:13 -07:00
Sheenam Monga
a81c00192d qcacld-3.0: Don't prefer DBS channel over SCC
Currently in case STA is up on 5 GHz channel,
2 GHz band is preferred for P2P CLI and SAP when
concurrency priority is throughput and power
instead of SCC channel.

Fix is to prefer SCC channel in case of
throughput an power instead of moving
to another mac.

Change-Id: I0a2eef10e92f277b38e6ae80961e8d6e27047169
CRs-Fixed: 3289767
2022-09-14 11:06:12 -07:00
Madan Koyyalamudi
473f705e8b Release 5.2.1.37A
Release 5.2.1.37A

Change-Id: I59659f3efc226be556cf0b309eb523c62ce249da
CRs-Fixed: 774533
2022-09-14 09:36:01 -07:00
Pragaspathi Thilagaraj
95cd4fde59 qcacld-3.0: Add new ini for R-STA secure LTF support
Add new ini "enable_responder_secure_ltf_support" for R-STA
secure LTF support. Enable this ini for R-STA to advertise
secure LTF support in extended capabilities & RSNXE.

Change-Id: I474b06c52c47b5a54dc827031bf9ff7c0d2f7d05
CRs-Fixed: 3283083
2022-09-14 09:36:01 -07:00
Madan Koyyalamudi
d0afe7718c Release 5.2.1.37
Release 5.2.1.37

Change-Id: I07fdeb0a2f5255f775bf31c966d0fddc8763f067
CRs-Fixed: 774533
2022-09-14 00:40:49 -07:00
Aditya Kodukula
8bc148d726 qcacld-3.0: Fix race condition between CND and UI
Currently when Zeta feature is enabled, there is a
race condition between WiFi DISABLE from TZ/CND, and
WiFi ON from UI.

Whenever TZ/CND sends WiFi DISABLE, driver will initiate
idle_psoc_shutdown, and sets is_wlan_disabled flag in the
hdd context, which will block WiFi from turning on.
But if the driver receives WiFi ON from UI before setting
the flag, it leads to a race condition.

To avoid this issue, set the is_wlan_disabled flag before
initiating idle_psoc_shutdown, and reset it if idle shutdown
isn't successful.

Change-Id: Ie643b02ebd492f637cc910be00d8226a843c2884
CRs-Fixed: 3282845
2022-09-14 00:40:49 -07:00
Madan Koyyalamudi
749291ea8c Release 5.2.1.36Z
Release 5.2.1.36Z

Change-Id: I12739a885aef8a1e19cd055dd27561832d396dac
CRs-Fixed: 774533
2022-09-13 23:02:32 -07:00
Jianmin Zhu
c5b2a64098 qcacld-3.0: Clean up legacy wma_roam_auth_offload_event_handler
Clean up useless legacy code wma_roam_auth_offload_event_handler.
It is replaced by target_if_cm_roam_auth_offload_event already.

Change-Id: I473d20f70c00c7d0e4c390a19b4ec6fdf9c0268b
CRs-Fixed: 3290006
2022-09-13 23:02:32 -07:00
Madan Koyyalamudi
8bfabf1605 Release 5.2.1.36Y
Release 5.2.1.36Y

Change-Id: I3f44065afdd2c3fd14f4b5f4322e414fb1e4b664
CRs-Fixed: 774533
2022-09-13 21:27:28 -07:00
Liangwei Dong
091666830d qcacld-3.0: Send ROAM MLO config to target
Send MLO Roam config to target, including:
support_link_num: Configure max number of link mlo connection supports.
support_link_band: Configure the band bitmap of mlo connection supports
Bit 0: 2.4 GHz band support if 1
Bit 1: 5 GHz band support if 1
Bit 2: 6 GHz band support if 1

Change-Id: Id59fc93cc271266ff794702d997ffc5113de5bc1
CRs-Fixed: 3273012
2022-09-13 21:27:28 -07:00
Madan Koyyalamudi
2e7f1b384a Release 5.2.1.36X
Release 5.2.1.36X

Change-Id: I5f07651c4319e8c3f4125a36613f059337be5bd8
CRs-Fixed: 774533
2022-09-13 13:51:16 -07:00
abhinav kumar
ca7969c1c2 qcacld-3.0: Update Association Id from pe_session
Issue is: Invalid pointer access (unmapped address) in
gpLimCnfWaitTimer deactivate due to invalid assoc Id.

With change If62a6082f073ce4f7084a48a4f8e60407ddfeec8,
Host directly updates the sta_ds->assocId as
assoc id given by ap in assoc request. As this is
related to the way  host store the peer in internal
data structure, In case if value of assoc id coming
from AP is greater than the array size of CNF_WAIT
timer.

Fixes are:
1. Remove changes introduced by the commit:
   If62a6082f073ce4f7084a48a4f8e60407ddfeec8
2. Update Association Identifier from pe_session
   for STA.

Change-Id: Ib0c9facb70c459b7ca62454f2e92b33f51443f01
CRs-Fixed: 3274812
2022-09-13 13:51:16 -07:00
Liangwei Dong
86a7824781 qcacld-3.0: Fix vdev count leak in pre CAC
At present Pre CAC work queue callback pre_cac_handle_failure
doesn't release the vdev ref count. And the pre_cac_handle_radar_ind
doesn't take ref count before schedule work pre_cac_work.
To fix inconsistency by using psoc as work queue callback parameter
and get pre CAC vdev id from psoc context.

Change-Id: I65339ca9f3ac4b91faf31090978337d041320f99
CRs-Fixed: 3288125
2022-09-13 13:51:11 -07:00
Madan Koyyalamudi
f844af3bfc Release 5.2.1.36W
Release 5.2.1.36W

Change-Id: Ia7f0d59fd28bf5fdb20ce2f200b7fef777e2113a
CRs-Fixed: 774533
2022-09-13 06:34:54 -07:00
sandhu
7d757e6431 qcacld-3.0: Fill MCS rates for TDLS off-channel 160 MHz
fill the MCS rates for TDLS off channel, update wma pouplate
to fill peer assoc mcs values in peer assoc command.

Change-Id: I16073a51a8949093872f7a421e0ad01648b63e92
CRs-Fixed: 3275175
2022-09-13 06:34:54 -07:00
Madan Koyyalamudi
1bf60ee2ac Release 5.2.1.36V
Release 5.2.1.36V

Change-Id: Iea546cb80c45b797bd51857576dee89bb23d18fc
CRs-Fixed: 774533
2022-09-12 13:58:24 -07:00
Amruta Kulkarni
65f19e6dae qcacld-3.0: Use link address and channel to update phymode after roam
After roam sync is recevied the phymode will be updated for bss peer.
For MLO roaming use link address and channel to find the bss peer and
update the phymode.

Change-Id: Ic181fdb73ceeb8dfb980a4121a7569b12d3361dd
CRs-Fixed: 3280059
2022-09-12 13:58:24 -07:00
Madan Koyyalamudi
429a3a338e Release 5.2.1.36U
Release 5.2.1.36U

Change-Id: I88817a9ab82ccc160aa691cc772ffec8566e2978
CRs-Fixed: 774533
2022-09-12 11:53:35 -07:00
Jeff Johnson
b50c8fa285 qcacld-3.0: Rename __lim_is_defered_msg_for_radar()
Rename __lim_is_defered_msg_for_radar() to
__lim_is_deferred_msg_for_radar() to fix misspelling: defered ==>
deferred. In additional, fix other instances of that misspelling in
code comments.

Change-Id: I333fcb7a728bc9defce9e55e39153898f9b5035a
CRs-Fixed: 3281814
2022-09-12 11:53:34 -07:00
Madan Koyyalamudi
2651cfff9d Release 5.2.1.36T
Release 5.2.1.36T

Change-Id: I640d025afbc619aa5276b3fcb244bade4b83f69c
CRs-Fixed: 774533
2022-09-12 10:15:11 -07:00
Ananya Gupta
32625de061 qcacld-3.0: Enable HAL_RECORD_SUSPEND_WRITE in debug mode
Enable FEATURE_HAL_RECORD_SUSPEND_WRITE when SLUB_DEBUG
mode is enabled.

Change-Id: I10b2ba6cf3d8c736926f1bc1a1eb281d9277b5c1
CRs-Fixed: 3284508
2022-09-12 10:15:11 -07:00
Madan Koyyalamudi
f0cec6de17 Release 5.2.1.36S
Release 5.2.1.36S

Change-Id: I4b5b33957554fe544f79985dcf6c3b374ce33a4d
CRs-Fixed: 774533
2022-09-12 00:27:52 -07:00
Rakesh Pillai
4419bf30e6 qcacld-3.0: Update prealloc size for srng from CFG
Update the prealloc size for RXDMA_BUF and REO_DST
rings using the ini values which have been configured.

Change-Id: Idc53bf8626017dd234767da65e131557f3a5600d
CRs-Fixed: 3283991
2022-09-12 00:27:52 -07:00
Asutosh Mohapatra
daaf54b443 qcacld-3.0: Add support to advertise SAR version to userspace
Currently there is no support to advertise SAR
version to user space for new QCA vendor command
QCA_NL80211_VENDOR_SUBCMD_GET_SAR_CAPABILITY.

Add support for the new vendor command to send
SAR version to user space.

Change-Id: I6890da31d2e60c1a363fd8fbc8d0d0bddd29ef74
CRs-Fixed: 3273690
2022-09-12 00:27:46 -07:00
Madan Koyyalamudi
55cc762b76 Release 5.2.1.36R
Release 5.2.1.36R

Change-Id: Ic99b7492f33eaa059d57b41d0b47cb4789ba4f03
CRs-Fixed: 774533
2022-09-10 09:19:18 -07:00
abhinav kumar
b91c689b0a qcacld-3.0: Send roaming feature indication to FW
To enable the below 2 features in FW:
1. IDLE roam scan
2. Roam triggered due to high channel utilization
   in the currently connected channel

Currently, if "roam_triggers" bitmap is set for above
features, Host indicates FW that "IDLE roam scan"
and "roam trigger due to BSS load" features are
enabled irrespective of corresponding INI
'enable_idle_roam' and 'enable_bss_load_roam_trigger'
respectively.

Consider the value of corresponding INI also while
sending enable indication to FW.

Change-Id: I0d59e0a32df4aa95850f12a99bae439fea40acf5
CRs-Fixed: 3281952
2022-09-10 09:19:18 -07:00
Madan Koyyalamudi
2629355337 Release 5.2.1.36Q
Release 5.2.1.36Q

Change-Id: I8c6e75b66974bd1f59fc8c7dbdf1c89fc0a69182
CRs-Fixed: 774533
2022-09-10 06:24:58 -07:00