Explorar o código

libertas: add LED control TLV to types.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
David Woodhouse %!s(int64=17) %!d(string=hai) anos
pai
achega
c5562e9833
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      drivers/net/wireless/libertas/types.h

+ 13 - 0
drivers/net/wireless/libertas/types.h

@@ -239,4 +239,17 @@ struct mrvlietypes_ledgpio {
 	struct led_pin ledpin[1];
 	struct led_pin ledpin[1];
 } __attribute__ ((packed));
 } __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
 #endif