rt2x00leds.h (590B)
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 4 <http://rt2x00.serialmonkey.com> 5 6 */ 7 8/* 9 Module: rt2x00lib 10 Abstract: rt2x00 led datastructures and routines 11 */ 12 13#ifndef RT2X00LEDS_H 14#define RT2X00LEDS_H 15 16enum led_type { 17 LED_TYPE_RADIO, 18 LED_TYPE_ASSOC, 19 LED_TYPE_ACTIVITY, 20 LED_TYPE_QUALITY, 21}; 22 23struct rt2x00_led { 24 struct rt2x00_dev *rt2x00dev; 25 struct led_classdev led_dev; 26 27 enum led_type type; 28 unsigned int flags; 29#define LED_INITIALIZED ( 1 << 0 ) 30#define LED_REGISTERED ( 1 << 1 ) 31}; 32 33#endif /* RT2X00LEDS_H */