[PATCH] libertas: add LED control TLV to types.h

Dan Williams dcbw at redhat.com
Tue Mar 4 12:12:04 EST 2008


On Mon, 2008-03-03 at 12:16 +0100, Holger Schurig wrote:
> From: David Woodhouse <dwmw2 at infradead.org>
> 
> Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

Acked-by: Dan Williams <dcbw at redhat.com>

> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html




More information about the libertas-dev mailing list