1 /******************************************************************************
3 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * Intel Linux Wireless <linuxwifi@intel.com>
19 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
21 *****************************************************************************/
23 #ifndef __iwl_leds_h__
24 #define __iwl_leds_h__
29 #define IWL_LED_SOLID 11
30 #define IWL_DEF_LED_INTRVL cpu_to_le32(1000)
32 #define IWL_LED_ACTIVITY (0<<1)
33 #define IWL_LED_LINK (1<<1)
35 #ifdef CONFIG_IWLWIFI_LEDS
36 void iwlagn_led_enable(struct iwl_priv *priv);
37 void iwl_leds_init(struct iwl_priv *priv);
38 void iwl_leds_exit(struct iwl_priv *priv);
40 static inline void iwlagn_led_enable(struct iwl_priv *priv)
43 static inline void iwl_leds_init(struct iwl_priv *priv)
46 static inline void iwl_leds_exit(struct iwl_priv *priv)
51 #endif /* __iwl_leds_h__ */