نمودار کامیت

2318 کامیت‌ها

مولف SHA1 پیام تاریخ
Jeff Johnson
c4741f08f7 qcacld-3.0: Remove hdd_is_sta_authenticated()
All usage of hdd_is_sta_authenticated() was removed by the patch:
  qcacld-3.0: Code cleanup from HDD module
  Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

Since hdd_is_sta_authenticated() is unused, remove it.

Change-Id: I777b8bb1ecda596d71744aa62be4b14dba71fe0e
CRs-Fixed: 3428727
2023-03-12 07:28:37 -07:00
Jeff Johnson
3fac0e7be8 qcacld-3.0: Remove hdd_update_eht_cap_in_cfg() prototype
A prototype for hdd_update_eht_cap_in_cfg() was added as part of:
  qcacld-3.0: Add APIs to update 11be target capabilities
  Change-Id Ib3baa41ea3d8ef2ce49b88e4b48d8bc29556cd66

But no actual function was added, so remove the unused prototype.

Change-Id: Ie96c86f9028f39438e6a135c9733465aaf52c12b
CRs-Fixed: 3428468
2023-03-11 17:48:16 -08:00
Jeff Johnson
b731c3a5ed qcacld-3.0: Remove hdd_sme_open_session_callback() prototype
Function hdd_sme_open_session_callback() was removed by:
  qcacld-3.0: Send the vdev create to firmware in the caller thread
  Change-Id Iafb186b13d948e421d152c3142cb8614fdbbffa6

However, the prototype was not removed, so remove it now.

Change-Id: Iffa96f51b2e274ba3540dbeac3011819285f50a0
CRs-Fixed: 3428757
2023-03-11 00:04:43 -08:00
Jeff Johnson
f4c0c27af2 qcacld-3.0: Remove hdd_max_sta_vdev_count_reached() prototype
The function hdd_max_sta_vdev_count_reached() was removed by:
  qcacld-3.0: Check for max allowed STA vdevs in hdd_start_adapter()
  Change-Id I5b2dd09fb58aa3135743a029889e689729bd05a7

However, the prototype was not removed, so remove it now.

Change-Id: I3ca75963bb69f0d2fc5a27687566e70b11f02058
CRs-Fixed: 3428740
2023-03-11 00:04:37 -08:00
Jeff Johnson
23b2f70362 qcacld-3.0: Remove enum oem_capability_mask
The enum oem_capability_mask was introduced by:
  qcacld-3.0: Add support for get and set OEM capability
  Change-Id I8c4a8c19633845750ec9d2492632471c68ba410d

However, the enum wasn't actually used by that patch, and instead
struct sme_oem_capability represents that information, so remove the
enum.

Change-Id: Ie52fa8d69c95c1021bf94b052f373e3e75da6f80
CRs-Fixed: 3425038
2023-03-08 11:06:37 -08:00
Jeff Johnson
726b2cba56 qcacld-3.0: Remove hdd_sysfs_*_adapter_root_obj() stubs
The functions hdd_sysfs_create_adapter_root_obj() and
hdd_sysfs_destroy_adapter_root_obj() were removed in the
following patch, replaced with mode-specific APIs:
  qcacld-3.0: Add a sysfs replacement for reassoc
  Change-Id Ib4f3582bb8c164dd4f3ab739367520b9aeb0f5b9

However the stubs for when WLAN_SYSFS is not defined were
not removed, so remove them now.

Change-Id: I8c82b410d2891cbf8f3d619fcb6c1c60a5a0a9ca
CRs-Fixed: 3425058
2023-03-08 07:41:32 -08:00
Jeff Johnson
af6cc9c688 qcacld-3.0: Remove obsolete hdd_context packet capture members
Usage of the enable_pkt_capture_support and val_pkt_capture_mode
members of struct hdd_context was removed by the following patch as
part of packet capture componentization:
  qcacld-3.0: Remove packet capture ini's in cds
  Change-Id Ice4765c7eb697743b1dccc8a70be1b7ce766e037

Since these are obsolete, remove them

Change-Id: I28ffd0fe209b1d663046e8dec96d18ef5e269755
CRs-Fixed: 3424981
2023-03-08 05:59:03 -08:00
Jeff Johnson
dd5dca9ea3 qcacld-3.0: Remove struct hdd_roaming_info::defer_key_complete
The following patch removed all usage of the defer_key_complete member
in struct hdd_roaming_info:
    qcacld-3.0: Remove unused code for defer key
    Change-Id I8afcebf00b00bcf39ba7da999c55e5eacdf26aaa

Since it is obsolete, remove it.

Change-Id: I4ed0eeba29ed74ddc82bf2a6723d73b49a9b907f
CRs-Fixed: 3424957
2023-03-08 04:18:40 -08:00
Jeff Johnson
29beb1eb3e qcacld-3.0: Remove struct hdd_config::enable_fisa_lru_deletion
The following patch added logic to HDD to read the value of the
CFG_DP_RX_FISA_LRU_DEL_ENABLE configuration item and store it in
struct hdd_config:
  qcacld-3.0: Add ini to enable FISA LRU eviction
  Change-Id I9930ec260bcab5ba8c8f1e594dbfde35965dff2e

However, the datapath maintains this configuration item on its own, and
the copy maintained by HDD is not used, so remove that logic.

Change-Id: I970195cf199c33802db5f84eeea4f622306703cd
CRs-Fixed: 3424797
2023-03-07 16:39:21 -08:00
Jeff Johnson
f442688267 qcacld-3.0: Remove hdd_txrx_get_tx_ack_count()
The functionality that called hdd_txrx_get_tx_ack_count() was remove by:
  qcacld-3.0: Code cleanup from HDD module
  Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

Since datapath componentization made hdd_txrx_get_tx_ack_count()
obsolete, remove it.

Change-Id: I86cb82794f6ae324034d8a4fb76ac5084aced3aa
CRs-Fixed: 3424800
2023-03-07 16:39:10 -08:00
Jeff Johnson
9f728c40cb qcacld-3.0: Remove struct hdd_context::disconnect_for_sta_mon_conc
The logic that used struct hdd_context::disconnect_for_sta_mon_conc
was removed with:
  qcacld-3.0: Code cleanup for connection manager in HDD
  Change-Id I2934e4a867458561c50170b0e786e63f20f1af4a

This member is now only written and never read, hence it is obsolete,
so remove it.

Change-Id: Iff1b4a1e508bc193c9d40c11f31317f353874b52
CRs-Fixed: 3424792
2023-03-07 12:08:53 -08:00
Jeff Johnson
020a97dec1 qcacld-3.0: Remove dp_protect_entry_count atomic variable
The following patch removed the use of hdd_wait_for_dp_tx():
    qcacld-3.0: Update HDD to use DP component APIs
    Change-Id I377aecc4343e75dd17d279a2eb84fc49e737e784

Since the function is obsolete, remove it.

Note that this removes the only code that depends upon the
dp_protect_entry_count atomic variable, which means that is also
obsolete, as are the hdd_dp_ssr_protect() and hdd_dp_ssr_unprotect()
functions that increment and decrement it.

Change-Id: I02621dabf2e67a39259c4a51a604312f1927f72d
CRs-Fixed: 3424826
2023-03-07 07:51:07 -08:00
Jeff Johnson
e987317234 qcacld-3.0: Remove enum hdd_auth_key_mgmt
The last usage of enum hdd_auth_key_mgmt was removed with the patch:
    Change-Id I2934e4a867458561c50170b0e786e63f20f1af4a
    qcacld-3.0: Code cleanup for connection manager in HDD

Since this is unused, remove it.

Change-Id: I96a2f82e229ca73061da3ed781518d43c940cfa7
CRs-Fixed: 3422049
2023-03-02 22:27:35 -08:00
Divyajyothi Goparaju
8a5fcd2a58 qcacld-3.0: Include header file at the beginning
DEBUGFS_LLSTATS_BUF_SIZE is defined for both ML and non-ML
cases separately under WLAN_FEATURE_11BE_MLO & CFG80211_11BE_BASIC 
feature flags. CFG80211_11BE_BASIC is set to 1 based on 11BE 
supported kernel versions in wlan_osif_features.h and it's included
in wlan_hdd_main header file.So, this header file should be included
before its usage for above length calculations.
Otherwise, it results DEBUGFS_LLSTATS_BUF_SIZE as 16384 instead 
of 32768 as CFG80211_11BE_BASIC becomes 0.

When ll_stats requested for station connected with ML-AP
because of insuffient buffer size stats are getting truncated.
from hdd_debugfs_process_radio_stats.

To fix this issue move header file inclusion to beginning
of header file.

Change-Id: I962d81057680dab07b6569fff49a8711c0c628e8
CRs-Fixed: 3387517
2023-02-01 09:29:18 -08:00
Ashish Kumar Dhanotiya
21ec244877 qcacld-3.0: Trigger SSR on wakeup from pagefault
According to new requirement, use INIs
max_pagefault_wakeups_for_ssr,
interval_for_pagefault_wakeup_counts and
ssr_frequency_on_pagefault
to trigger SSR if host wakes up because of pagefault.
For ex: If max_pagefault_wakeups_for_ssr = 30,
interval_for_pagefault_wakeup_counts = 180000 (3 mins) and
ssr_frequency_on_pagefault = 3600000 (1hr), in this case host
will trigger the SSR if it receives 30 wakeups because of
pagefaults in 3 mins, host will trigger SSR only once in 1 hr.
Once the SSR is triggered, host will not trigger next SSR for
next 1 hr even if it receives 30 wakeups from fw because of
pagefaults. This 1 hr time is getting monitored from last SSR.

Change-Id: Ia06f87aff6d1552e37c582e7464f1b2451543502
CRs-Fixed: 3378502
2023-01-17 07:33:48 -08:00
Asutosh Mohapatra
89c2d25ba1 qcacld-3.0: Use mac_addr pointer as constant
Use mac_addr pointer as constant in wlan_hdd_ml_sap_get_peer,
hdd_set_mld_address and use the same for consecutive APIs.

Change-Id: Ie1b959b14d42b4040b7f960ee3a13b355210e6fd
CRs-Fixed: 3331292
2023-01-17 05:29:07 -08:00
Amit Mehta
3d43f1c6fe qcacld-3.0: Move TSF related variables to single structure
Move TSF related variables to single structure

Change-Id: Id358774d96c07162537407fbc04142b52b48e0e8
CRs-Fixed: 3366522
2023-01-13 10:38:11 -08:00
Bingkui Liu
1b746c479c qcacld-3.0: Remove wowlAddPtrn input limit
wowl_add_ptrn sysfs interface can't accept the full length of
pattern command. This change fixes the problem through dynamic
memory allocation.

Change-Id: Iddeee56cf4ed675bc7578dd9ce976028fae77b3c
CRs-Fixed: 3358847
2023-01-11 17:23:37 -08:00
Sheenam Monga
ac14a3912b qcacld-3.0: Send async event to userspace for NAN concurrency
As part of Spatial Reuse, host has to send SR Suspend and resume
events based on concurrency which is not sent in case of NAN
concurrency.

Fix is to send SR Suspend in case NAN comes up and any STA that
supports SR is already present because SR is not supported in
case of NAN concurrency. Similarly during NAN disable check
if any other vdev apart from NAN is sharing mac with STA that
supports SR and SR support on same mac is disabled then don't
send SR resume event as there is already a concurrent vdev that
will take care of SR Suspend event otherwise send SR Resume event.

Change-Id: I56a9b455dd0166bc3997f8306992e46da759e992
CRs-Fixed: 3339713
2022-12-13 17:24:16 -08:00
Vinod Kumar Pirla
5f609834c4 qcacld-3.0: Remove unused session open event variable
In hdd_adapter structure, the qdf_session_open_event is
a declared as event type which is initialized but not used.
Remove this unused event variable and all its references.

Change-Id: Iec1ece36153a3c9986195bbc2cc19bf8a469f2ee
CRs-Fixed: 3354149
2022-12-09 07:32:04 -08:00
Aditya Kodukula
ae8eee9988 qcacld-3.0: Update ll_stats request pending flag properly
In the current driver implementation, host honors LL_STATS request
even in disconnected state. But in disconnected state, the ll_stats
request pending flag is not updated properly, which results in allowing
multiple LL_STATS requests being sent to FW. So, to avoid this issue,
update the flag properly.

Change-Id: I318455492dc69bd540044b593a405eacdf185ff1
CRs-Fixed: 3339867
2022-12-08 02:48:24 -08:00
Roopavathi Lingampalli
81e2d7813a qcacld-3.0: Add Rx thread feature support for HDD module
Add resume and suspend support for rx thread, rx refill threads
in HDD module through DP componentization.

Change-Id: I0cdd0d43ac742ef55fad2155bc8df063c5bb8657
CRs-Fixed: 3316821
2022-12-06 07:35:26 -08:00
Tiger Yu
d57c2820e1 qcacld-3.0: Refine the TX flow info setting for legacy TX flow control
Refine the TX flow info setting independent on the IPA module to enable
the TX flow control feature for the TCP/UDP when IPA module is disabled.

Change-Id: Ib5d708e405dc93f410f100a5c335875b30601981
CRs-Fixed: 3346767
2022-12-05 14:59:26 -08:00
Liangwei Dong
0047371885 qcacld-3.0: Move Action OUI INI config to component
Move Action OUI INI config to component.
Add ucfg API to load/parse the configuration.

Change-Id: Ibaab5428bc575394b9a5b464639d24f80f042e93
CRs-Fixed: 3310697
2022-12-04 15:25:52 -08:00
Jeff Johnson
db8100e67e qcacld-3.0: Fix hdd/inc documentation
The kernel-doc script identified documentation issues in the hdd
layer, so fix the ones in the "inc" folder.

Change-Id: I0fda8ea1ce929ad5e0cc54f86a9de5a46b3f7d38
CRs-Fixed: 3346527
2022-12-01 04:17:25 -08:00
Jeff Johnson
dd8340e82c qcacld-3.0: Rename wlan_hdd_cfg80211_spectral_scam_get_config()
Rename wlan_hdd_cfg80211_spectral_scam_get_config() to replace
incorrect term "scam" with "scan". In addition, clean up existing
documentation issues.

Change-Id: I1d7f11e274bcb0e1e09e8292b75554d256a5c6fd
CRs-Fixed: 3344908
2022-12-01 04:17:20 -08:00
Jeff Johnson
e27691cfb8 qcacld-3.0: Rename hdd_get_ml_adater()
Rename hdd_get_ml_adater() to fix misspelling of "adapter".

Change-Id: If2d13823308042c60cd4c16208a21142fa41ffd6
CRs-Fixed: 3343876
2022-12-01 02:25:12 -08:00
Chaoli Zhou
a00721bb91 qcacld-3.0: Fix compile error if CONFIG_WLAN_SYSFS not enable
Fix 'defined but not used' compile issue for some
sysfs functions if CONFIG_WLAN_SYSFS not set.

Change-Id: If067afe95ae98355e92a5b914bdce34b3c7c2342
CRs-Fixed: 3345060
2022-11-28 22:07:43 -08:00
Amit Mehta
c3b6c10ab4 qcacld-3.0: Add vendor cmd attribute to upgrade UDP QoS
Introduce a new attribute to configure access category override
for UDP frames of BE/BK category. Unlike, the earlier attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE which will override
for all UDP frames, this attribute is for overriding only for
BE/BK based UDP frames.

CRs-Fixed: 3169564
Change-Id: I7c345c3dc7912dbfb68407e654c2c2b79bc20964
2022-11-23 10:52:21 -08:00
Rahul Gusain
5c9d7e5c13 qcacld-3.0: Reconfig OBSS periodicity upon NDP create/delete
When STA is connected to an 11ax AP, driver issues a scan request(OBSS)
to firmware with certain periodicity(it's 120 seconds currently).
Firmware shall do a scan for every 120 seconds irrespective of the
device activity. This causes data glitches throughout the scan duration
when data is going on a concurrent interface.
It's observed that the OBSS scan interrupts NDP data traffic from NDP
applications and causes glitches in file sharing/music sharing use cases.

Configure the OBSS scan periodicity with a larger value(1200 seconds) to
mitigate the glitches when first NDP forms. Reconfigure the original
scan duration(120 seconds) once all NDPs tear down.

Change-Id: Ie0c8228ff3b26f8d9a091909c710928e7ae2a787
CRs-Fixed: 3323193
2022-11-18 11:52:08 -08:00
Asutosh Mohapatra
6a753e7002 qcacld-3.0: Advertise unspecified SAR versions as default to userspace
Currently, if fw sends any SAR version that is not having mapping
in host, host advertises SAR version unspecified to userspace.
And if userspace sends set SAR V1 to host, host converts it
to SAR V2 only if fw is configured to SAR V2 or Sar V3.

Instead of SAR version unspecified advertise SAR V1 to userspace
and add changes in host to convert SAR V1 to SAR V2 if fw is not
configured to SAR V1.

Change-Id: Ifd862cf9107ae3bbac9a4336b5c2a03c1bd5bb98
CRs-Fixed: 3326711
2022-11-14 18:05:26 -08:00
Liangwei Dong
ecf0bf58e4 qcacld-3.0: Hold wake lock for set MAC address command
The update MAC address WMI command response is not WOW event.
If there is suspend before the response comes back, the
response will be delayed to host and host may wait timeout.
Fix by acquire the wake lock and runtime pm lock for set
MAC address command.

Change-Id: Id6090a589b0bbf5e67f934ecc28270d76186b88a
CRs-Fixed: 3326753
2022-11-10 11:34:59 -08:00
Vinod Kumar Pirla
370fadfee0 qcacld-3.0: Enable ML support for virtual interface
For virtual interface, add support to create the interface
as ML capable.
Currently implementation will create a single link ML interface.
This ML capability will only be enabled for STA/SAP type mode.

Change-Id: I11263460ee8404c8ea319cd139d92b080035b416
CRs-Fixed: 3315353
2022-11-10 02:22:57 -08:00
Vinod Kumar Pirla
fec271cfb2 qcacld-3.0: Add changes to support ML-SAP dynamic MAC update
Current implementation for MAC address update for SAP
doesn't check if the adapter is ML capable or not.
Add the logic to check if the adapter is ML capable
in SAP mode and update MLD address if it is true.

Change-Id: I06ce99e53439904acbc1f96f3aedba816d58f0da
CRs-Fixed: 3323654
2022-11-10 02:22:51 -08:00
Vishal Miskin
4e95648b6f qcacld-3.0: Measure TSF latency between host TSF sync enabled devices
The feature raises a pulses at specified interval in TSF time domain.
The pulses can be used to determine driver level latency between hosts
as they are operating in same TSF time domain.
Add ini "g_tsf_accuracy_configs" to configure parameters for TSF accuracy
feature to customize GPIO pins and interval.

Change-Id: I49609d5beba8043ac2ecc086e97b01d1e0b2d3f6
CRs-Fixed: 3277992
2022-10-31 09:09:19 -07:00
Jianmin Zhu
5fb29aca2e qcacld-3.0: Clear connection info of both ml and assoc link when disconnect
When wlan0 connect, connect info as bssid are saved to both ML adapter and
assoc link adapter.
When wlan0 disconnect, connect info as bssid isn't cleared in both adapter.

When 2nd sta connected same bssid, in __wlan_hdd_cfg80211_get_station old
wlan0 adapter is got by hdd_get_adapter_by_bssid, but it is disconnected,
so no right rssi reported.

Change-Id: I5dd2b6dcdd063509ee42088270cc85f2466e3b67
CRs-Fixed: 3317428
2022-10-21 23:25:49 -07:00
Ashish Kumar Dhanotiya
a8ab2a6735 qcacld-3.0: Remove unused wifi kobject lock
Host driver does not use wifi kobject lock.
With this change remove this unused kobject lock.

Change-Id: I40a6bb026a4c766c13a2a4f76a2e6ac9ce14ec1c
CRs-Fixed: 3310777
2022-10-21 21:30:47 -07:00
Ben Wang
dafdfb98ff qcacld-3.0: Support SAP fast BSS transition in driver
When driver receive auth request frame with FT algorithm,
offload it to hostapd.

When driver receive (re)assoc request whith FT-PSK in RSN IE.
offload it to hostapd.

Filter FT related IE from hostapd, and append it to the end
of the (re)assoc response frame

Change-Id: Id11cce6898615bb6b0cb361ea7b23ea2014f0bae
CRs-Fixed: 4202696
2022-10-18 01:42:14 -07:00
Liangwei Dong
74aa28da73 qcacld-3.0: Add 802.11be allowed AP OUI INI support
Add INI g11be_oui_allow_list to config 802.11be AP oui which
is allowed to get connected in 802.11be mode.
If the INI is empty, all the ap are allowed to get connected
in 802.11be mode. If INI is set to "ffffff 00 01", then STA
is not allowed to connect to any AP in 802.11be mode.

Change-Id: I98e545ba909c1746237a20c365f8297f16fe666f
CRs-Fixed: 3304021
2022-10-17 12:57:45 -07:00
Rachit Kankane
14e356b81e qcacld-3.0: Add async event for Spatial Reuse
Add async event for Spatial Reuse and also send Spatial Reuse
enable / disable event to upper layer due to same MAC concurrency.

Change-Id: Idcb5b99e39f1810e63ae7ac1e8d2eab6028a163f
CRs-Fixed: 3307801
2022-10-17 06:47:43 -07:00
Sheenam Monga
c4c40f5217 qcacld-3.0: Handle VENDOR_SUBCMD_SR and operation
Add support to parse VENDOR_SUBCMD_SR and to parse
nested attributes OPERATION and PARAMS and to handle
ENABLE operation, Disable operation and prohibit
operation. Enable opeartion may have PD threshold
or in case vendor command doesn't provide PD threshold
host will send PD threshold advertised by AP.

Change-Id: Ie98a1b8681f41f3a63523ac40b5cfb688a7b0cb0
CRs-Fixed: 3299042
2022-10-17 06:47:00 -07:00
Vishal Miskin
b1ca831353 qcacld-3.0: Restart TSF sync timer post wlan resume
TSF sync routine stopped due to host suspend and post wlan resume the TSF
sync peridic timer resumes. Old host to TSF mapping data being used for
use cases which may be invalid as it was captured long back. Hence Restart
the TSF sync soon afer wlan resume to synchronize at the earliest.

Change-Id: I141755e23fe288fb31925c8d87f37cfccced0203
CRs-Fixed: 3303130
2022-10-16 06:14:56 -07:00
Jia Ding
1b3e7ed476 qcacld-3.0: Fix WLAN_SYSFS componentization
Move 11be_rate sysfs entry implementation from HDD EHT main body
to separate source files and define WLAN_SYSFS_EHT_RATE feature
flag accordingly in Kbuild.

All sysfs implementations shall be built only if CONFIG_WLAN_SYSFS=y.
Hence correct dp_tx_delay_stats and the closing endif.

Change-Id: I84aa7fc34aeff932bb51800e70c4c3611bf0d627
CRs-Fixed: 3309689
2022-10-14 08:31:09 -07:00
Vinod Kumar Pirla
0799f11b12 qcacld-3.0: Flush inet notifier work before set ps
User can modify power save value which will be sent to FW.
IPv4/IPv6 notifier work will also checks this user configured
power save to send set ps request to FW, a possibility of
race condition exists when both user request and inet notifier
work are running at the same time.

Flush the inet notifier work to ensure the set PS calls are
serialized.

Change-Id: Ib7def61c961835682a6f72d6fb4bd97bd7ffff0f
CRs-Fixed: 3310057
2022-10-13 19:57:03 -07:00
Ashish Kumar Dhanotiya
61c25c8f84 qcacld-3.0: Make OEM data as static instead of dynamic
Currently host allocates OEM data with memalloc and frees
this memory at stop modules. Because of this host driver
is not able to share the oem data information when wifi
is off.
Based on new requirement driver needs to share this oem data
information on wifi off as well so change the oem data as
static allocation so that this information will remain intact.

Change-Id: I839c4da0c589afe0e0ace1138c568b2a07d66ef6
CRs-Fixed: 3311089
2022-10-13 08:07:17 -07:00
Vinod Kumar Pirla
093d9e5262 qcacld-3.0: Use provision/derived list for MLD address
In current implementation ML adapter will get MLD address
from a separate pool of addresses rather than provision or
derived list.

Remove this separate pool for MLD address and get MLD address
from the provision list or derived list.

Change-Id: I11a10fe1331dba6d16f82cbd1ab4c04ada70acb6
CRs-Fixed: 3308051
2022-10-11 17:35:02 -07:00
Ashish Kumar Dhanotiya
8e3f52f67b qcacld-3.0: Create feature sysfs node at driver load
Currently host driver creates feature sysfs node at the
timne of start modules.
Based on the new requirement create sysfs node at driver load.

Change-Id: I0030295e69af451eae1c02d6dfae2bcdc2df9cad
CRs-Fixed: 3306174
2022-10-11 08:28:38 -07:00
Ashish Kumar Dhanotiya
47e58bc4dd qcacld-3.0: Increase max length of OEM_DATA vendor command buffer
Currently data length for oem data vendor command is 1024 bytes,
based on new requirement, increase this length to 1500 bytes.

Change-Id: I7c1df5420ed1ac6f3e4ada9ef6779c3fc0b4182b
CRs-Fixed: 3296076
2022-10-07 19:13:56 -07:00
Jeff Johnson
fad321d206 qcacld-3.0: core: hdd: Fix spelling errors
Fix spelling errors in core/hdd/...

Change-Id: I3152f5f92251596859361ee3754933bee260152f
CRs-Fixed: 3303621
2022-10-04 20:34:36 -07:00
Yu Ouyang
85f34a3bb9 qcacld-3.0: Shutdown WLAN in system suspend prepare
This re-introduces the orignal patch which shutdowns WLAN in system
suspend prepare.

Orignal patch Id1f5172a7fc1792c83c8c1c20127de815f7e4980 is reverted by
Ic82db9dc0ca9d6686df99926335af27abc61cdb5 for deadlock issue.

However, deadlock between cnss_pm_notify and unregister_pm_notifier is
not caused by Id1f5172a7fc1792c83c8c1c20127de815f7e4980. So restore it
and add flag to enable/disable feature shutdown wlan in system suspend.

Deadlock issue is caused by "up_write(&cnss_pm_sem) is invoked before
down_write(&cnss_pm_sem) in function cnss_pm_notify". The issue can be
fixed by changes I533c373b85f554fbcceb562d9f56c6b88e5155bb and
I7768fdbeb1fa8cd6ef3b260eb0aafb231aeed324.

Change-Id: I25e4398a8d3b1a52cf7bc554af74d123ec797c6e
CRs-Fixed: 3287742
2022-09-27 11:57:08 -07:00