linux/drivers/net/wireless/ath/ath9k/gpio.c

/*
 * Copyright (c) 2008-2011 Atheros Communications Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#include "ath9k.h"

/********************************/
/*	 LED functions		*/
/********************************/

#ifdef CONFIG_MAC80211_LEDS

static void ath_fill_led_pin(struct ath_softc *sc)
{}

static void ath_led_brightness(struct led_classdev *led_cdev,
			       enum led_brightness brightness)
{}

void ath_deinit_leds(struct ath_softc *sc)
{}

void ath_init_leds(struct ath_softc *sc)
{}
#endif

/*******************/
/*	Rfkill	   */
/*******************/

static bool ath_is_rfkill_set(struct ath_softc *sc)
{}

void ath9k_rfkill_poll_state(struct ieee80211_hw *hw)
{}

void ath_start_rfkill_poll(struct ath_softc *sc)
{}

#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT

/******************/
/*     BTCOEX     */
/******************/

/*
 * Detects if there is any priority bt traffic
 */
static void ath_detect_bt_priority(struct ath_softc *sc)
{}

static void ath_mci_ftp_adjust(struct ath_softc *sc)
{}

/*
 * This is the master bt coex timer which runs for every
 * 45ms, bt traffic will be given priority during 55% of this
 * period while wlan gets remaining 45%
 */
static void ath_btcoex_period_timer(struct timer_list *t)
{}

/*
 * Generic tsf based hw timer which configures weight
 * registers to time slice between wlan and bt traffic
 */
static void ath_btcoex_no_stomp_timer(struct timer_list *t)
{}

static void ath_init_btcoex_timer(struct ath_softc *sc)
{}

/*
 * (Re)start btcoex timers
 */
void ath9k_btcoex_timer_resume(struct ath_softc *sc)
{}

/*
 * Pause btcoex timer and bt duty cycle timer
 */
void ath9k_btcoex_timer_pause(struct ath_softc *sc)
{}

void ath9k_btcoex_stop_gen_timer(struct ath_softc *sc)
{}

u16 ath9k_btcoex_aggr_limit(struct ath_softc *sc, u32 max_4ms_framelen)
{}

void ath9k_btcoex_handle_interrupt(struct ath_softc *sc, u32 status)
{}

void ath9k_start_btcoex(struct ath_softc *sc)
{}

void ath9k_stop_btcoex(struct ath_softc *sc)
{}

void ath9k_deinit_btcoex(struct ath_softc *sc)
{}

int ath9k_init_btcoex(struct ath_softc *sc)
{}

static int ath9k_dump_mci_btcoex(struct ath_softc *sc, u8 *buf, u32 size)
{}

static int ath9k_dump_legacy_btcoex(struct ath_softc *sc, u8 *buf, u32 size)
{}

int ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size)
{}

#endif /* CONFIG_ATH9K_BTCOEX_SUPPORT */