---
name: "ieee80211_create_tpt_led_trigger"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ieee80211_create_tpt_led_trigger"
---

# ieee80211\_create\_tpt\_led\_trigger(9)

create throughput LED trigger

## NAME

ieee80211\_create\_tpt\_led\_trigger - create throughput LED trigger

## SYNOPSIS

**char \* ieee80211\_create\_tpt\_led\_trigger(struct ieee80211\_hw \*** *hw***, unsigned int** *flags***, const struct ieee80211\_tpt\_blink \*** *blink\_table***, unsigned int** *blink\_table\_len***);**

## ARGUMENTS

*hw*

the hardware to create the trigger for

*flags*

trigger flags, see enum ieee80211\_tpt\_led\_trigger\_flags

*blink\_table*

the blink table -- needs to be ordered by throughput

*blink\_table\_len*

size of the blink table

## RETURN

**NULL** (in case of error, or if no LED triggers are configured) or the name of the new trigger.

## NOTE

This function must be called before **ieee80211\_register\_hw**.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
