qcacld-3.0: Introduce cdf_suspend_type
Introduce an enum for use by multiple layers to suspend slightly differently when doing a runtime suspend versus a system suspend. Change-Id: I753bbe909e53558fe592defdca021331ec6feb88 CRs-Fixed: 935300
This commit is contained in:

gecommit door
Akash Patel

bovenliggende
d2d9bd96b7
commit
dbfb7ad84d
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2015 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||||
*
|
*
|
||||||
@@ -508,4 +508,14 @@ struct cdf_tso_info_t {
|
|||||||
*/
|
*/
|
||||||
#define CDF_CE_TX_PKT_OFFSET_BIT_M 0x0fff0000
|
#define CDF_CE_TX_PKT_OFFSET_BIT_M 0x0fff0000
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum cdf_suspend_type - type of suspend
|
||||||
|
* CDF_SYSTEM_SUSPEND: System suspend triggered wlan suspend
|
||||||
|
* CDF_RUNTIME_SUSPEND: Runtime pm inactivity timer triggered wlan suspend
|
||||||
|
*/
|
||||||
|
enum cdf_suspend_type {
|
||||||
|
CDF_SYSTEM_SUSPEND,
|
||||||
|
CDF_RUNTIME_SUSPEND
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* if !defined __CDF_TYPES_H */
|
#endif /* if !defined __CDF_TYPES_H */
|
||||||
|
Verwijs in nieuw issue
Block a user