Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /******************************************************************************
0003  *
0004  * Copyright(c) 2007 - 2014 Intel Corporation. All rights reserved.
0005  *
0006  * Portions of this file are derived from the ipw3945 project, as well
0007  * as portions of the ieee80211 subsystem header files.
0008  *****************************************************************************/
0009 #ifndef __iwl_power_setting_h__
0010 #define __iwl_power_setting_h__
0011 
0012 #include "commands.h"
0013 
0014 struct iwl_power_mgr {
0015     struct iwl_powertable_cmd sleep_cmd;
0016     struct iwl_powertable_cmd sleep_cmd_next;
0017     int debug_sleep_level_override;
0018     bool bus_pm;
0019 };
0020 
0021 int iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd,
0022                bool force);
0023 int iwl_power_update_mode(struct iwl_priv *priv, bool force);
0024 void iwl_power_initialize(struct iwl_priv *priv);
0025 
0026 extern bool no_sleep_autoadjust;
0027 
0028 #endif  /* __iwl_power_setting_h__ */