Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
rtl8712_led.c File Reference
#include "drv_types.h"

Go to the source code of this file.

Macros

#define LED_BLINK_NORMAL_INTERVAL   100
 
#define LED_BLINK_SLOWLY_INTERVAL   200
 
#define LED_BLINK_LONG_INTERVAL   400
 
#define LED_BLINK_NO_LINK_INTERVAL_ALPHA   1000
 
#define LED_BLINK_LINK_INTERVAL_ALPHA   500
 
#define LED_BLINK_SCAN_INTERVAL_ALPHA   180
 
#define LED_BLINK_FASTER_INTERVAL_ALPHA   50
 
#define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA   5000
 

Enumerations

enum  _LED_STATE_871x {
  LED_UNKNOWN = 0, LED_ON = 1, LED_OFF = 2, LED_BLINK_NORMAL = 3,
  LED_BLINK_SLOWLY = 4, LED_POWER_ON_BLINK = 5, LED_SCAN_BLINK = 6, LED_NO_LINK_BLINK = 7,
  LED_BLINK_StartToBlink = 8, LED_BLINK_WPS = 9, LED_TXRX_BLINK = 10, LED_BLINK_WPS_STOP = 11,
  LED_BLINK_WPS_STOP_OVERLAP = 12
}
 

Functions

void r8712_InitSwLeds (struct _adapter *padapter)
 
void r8712_DeInitSwLeds (struct _adapter *padapter)
 
void LedControl871x (struct _adapter *padapter, enum LED_CTL_MODE LedAction)
 

Macro Definition Documentation

#define LED_BLINK_FASTER_INTERVAL_ALPHA   50

Definition at line 45 of file rtl8712_led.c.

#define LED_BLINK_LINK_INTERVAL_ALPHA   500

Definition at line 43 of file rtl8712_led.c.

#define LED_BLINK_LONG_INTERVAL   400

Definition at line 40 of file rtl8712_led.c.

#define LED_BLINK_NO_LINK_INTERVAL_ALPHA   1000

Definition at line 42 of file rtl8712_led.c.

#define LED_BLINK_NORMAL_INTERVAL   100

Definition at line 38 of file rtl8712_led.c.

#define LED_BLINK_SCAN_INTERVAL_ALPHA   180

Definition at line 44 of file rtl8712_led.c.

#define LED_BLINK_SLOWLY_INTERVAL   200

Definition at line 39 of file rtl8712_led.c.

#define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA   5000

Definition at line 46 of file rtl8712_led.c.

Enumeration Type Documentation

Enumerator:
LED_UNKNOWN 
LED_ON 
LED_OFF 
LED_BLINK_NORMAL 
LED_BLINK_SLOWLY 
LED_POWER_ON_BLINK 
LED_SCAN_BLINK 
LED_NO_LINK_BLINK 
LED_BLINK_StartToBlink 
LED_BLINK_WPS 
LED_TXRX_BLINK 
LED_BLINK_WPS_STOP 
LED_BLINK_WPS_STOP_OVERLAP 

Definition at line 52 of file rtl8712_led.c.

Function Documentation

void LedControl871x ( struct _adapter padapter,
enum LED_CTL_MODE  LedAction 
)

Definition at line 1785 of file rtl8712_led.c.

void r8712_DeInitSwLeds ( struct _adapter padapter)

Definition at line 193 of file rtl8712_led.c.

void r8712_InitSwLeds ( struct _adapter padapter)

Definition at line 181 of file rtl8712_led.c.