linux/net/mac80211/led.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2006, Johannes Berg <[email protected]>
 */

/* just for IFNAMSIZ */
#include <linux/if.h>
#include <linux/slab.h>
#include <linux/export.h>
#include "led.h"

void ieee80211_led_assoc(struct ieee80211_local *local, bool associated)
{}

void ieee80211_led_radio(struct ieee80211_local *local, bool enabled)
{}

void ieee80211_alloc_led_names(struct ieee80211_local *local)
{}

void ieee80211_free_led_names(struct ieee80211_local *local)
{}

static int ieee80211_tx_led_activate(struct led_classdev *led_cdev)
{}

static void ieee80211_tx_led_deactivate(struct led_classdev *led_cdev)
{}

static int ieee80211_rx_led_activate(struct led_classdev *led_cdev)
{}

static void ieee80211_rx_led_deactivate(struct led_classdev *led_cdev)
{}

static int ieee80211_assoc_led_activate(struct led_classdev *led_cdev)
{}

static void ieee80211_assoc_led_deactivate(struct led_classdev *led_cdev)
{}

static int ieee80211_radio_led_activate(struct led_classdev *led_cdev)
{}

static void ieee80211_radio_led_deactivate(struct led_classdev *led_cdev)
{}

static int ieee80211_tpt_led_activate(struct led_classdev *led_cdev)
{}

static void ieee80211_tpt_led_deactivate(struct led_classdev *led_cdev)
{}

void ieee80211_led_init(struct ieee80211_local *local)
{}

void ieee80211_led_exit(struct ieee80211_local *local)
{}

const char *__ieee80211_get_radio_led_name(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

const char *__ieee80211_get_assoc_led_name(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

const char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

const char *__ieee80211_get_rx_led_name(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static unsigned long tpt_trig_traffic(struct ieee80211_local *local,
				      struct tpt_led_trigger *tpt_trig)
{}

static void tpt_trig_timer(struct timer_list *t)
{}

const 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)
{}
EXPORT_SYMBOL();

static void ieee80211_start_tpt_led_trig(struct ieee80211_local *local)
{}

static void ieee80211_stop_tpt_led_trig(struct ieee80211_local *local)
{}

void ieee80211_mod_tpt_led_trig(struct ieee80211_local *local,
				unsigned int types_on, unsigned int types_off)
{}