/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************** * * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. * * Modifications for inclusion into the Linux staging tree are * Copyright(c) 2010 Larry Finger. All rights reserved. * * Contact information: * WLAN FAE <[email protected]> * Larry Finger <[email protected]> * ******************************************************************************/ #ifndef __RTL8712_LED_H #define __RTL8712_LED_H #include "osdep_service.h" #include "drv_types.h" /*=========================================================================== * LED customization. *=========================================================================== */ enum LED_CTL_MODE { … }; #define IS_LED_WPS_BLINKING(_LED_871x) … #define IS_LED_BLINKING(_LED_871x) … enum LED_PIN_871x { … }; /*=========================================================================== * LED customization. *=========================================================================== */ enum LED_STRATEGY_871x { … }; struct LED_871x { … }; struct led_priv { … }; /*=========================================================================== * Interface to manipulate LED objects. *=========================================================================== */ void r8712_InitSwLeds(struct _adapter *padapter); void r8712_DeInitSwLeds(struct _adapter *padapter); void LedControl871x(struct _adapter *padapter, enum LED_CTL_MODE LedAction); void r8712_flush_led_works(struct _adapter *padapter); #endif