[PATCH] libertas: add LED control TLV to types.h
Holger Schurig
hs4233 at mail.mn-solutions.de
Mon Mar 3 06:16:42 EST 2008
From: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
diff --git a/drivers/net/wireless/libertas/types.h b/drivers/net/wireless/libertas/types.h
index f0d5795..4031be4 100644
--- a/drivers/net/wireless/libertas/types.h
+++ b/drivers/net/wireless/libertas/types.h
@@ -239,4 +239,17 @@ struct mrvlietypes_ledgpio {
struct led_pin ledpin[1];
} __attribute__ ((packed));
+struct led_bhv {
+ uint8_t firmwarestate;
+ uint8_t led;
+ uint8_t ledstate;
+ uint8_t ledarg;
+} __attribute__ ((packed));
+
+
+struct mrvlietypes_ledbhv {
+ struct mrvlietypesheader header;
+ struct led_bhv ledbhv[1];
+} __attribute__ ((packed));
+
#endif
More information about the libertas-dev
mailing list