qcacld-3.0: Add PMO config for PCIe bus suspend in beaconing mode
By default, PCIe bus suspend is not allowed in beaconing modes (SAP/P2PGO/NDP) with one or more clients connected. Some OEMs need PCIe bus suspend in this mode. Hence, add a config item to serve both types of requests. Change-Id: Ia2d990f17f605036d43db75ecd4df57701b4ba1f CRs-Fixed: 2860495
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -893,3 +893,12 @@ ucfg_pmo_get_gpio_wakeup_mode(struct wlan_objmgr_psoc *psoc)
|
||||
return pmo_psoc_ctx->psoc_cfg.gpio_wakeup_mode;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool
|
||||
ucfg_pmo_get_beaconing_mode_bus_suspend(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct pmo_psoc_priv_obj *pmo_psoc_ctx = pmo_psoc_get_priv(psoc);
|
||||
|
||||
return pmo_psoc_ctx->psoc_cfg.is_bus_suspend_enabled_in_beaconing_mode;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user