]> err.no Git - linux-2.6/commitdiff
libertas: add LED control TLV to types.h
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 3 Mar 2008 11:16:42 +0000 (12:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2008 22:09:49 +0000 (17:09 -0500)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/types.h

index f0d57958b34b141f5c6274ebf59d5f89bc9e56f5..4031be4208624cce879ffa734d1db5d71bf932fb 100644 (file)
@@ -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