ieee80211_create_tpt_led_trigger
Prev | Chapter 7. LED support | Next

## 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`.

Prev | Up | Next
enum ieee80211_tpt_led_trigger_flags | Home | Chapter 8. Hardware crypto acceleration