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

/*
 * Copyright (c) 2009-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 <linux/export.h>
#include <linux/types.h>
#include <linux/ath9k_platform.h>
#include "hw.h"

enum ath_bt_mode {};

struct ath_btcoex_config {};

static const u32 ar9003_wlan_weights[ATH_BTCOEX_STOMP_MAX]
				    [AR9300_NUM_WLAN_WEIGHTS] =;

static const u32 mci_wlan_weights[ATH_BTCOEX_STOMP_MAX]
				 [AR9300_NUM_WLAN_WEIGHTS] =;

void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum)
{}
EXPORT_SYMBOL();

static void ath9k_hw_btcoex_pin_init(struct ath_hw *ah, u8 wlanactive_gpio,
				     u8 btactive_gpio, u8 btpriority_gpio)
{}

void ath9k_hw_btcoex_init_scheme(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

void ath9k_hw_btcoex_init_2wire(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

void ath9k_hw_btcoex_init_3wire(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

void ath9k_hw_btcoex_deinit(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

void ath9k_hw_btcoex_init_mci(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

static void ath9k_hw_btcoex_enable_2wire(struct ath_hw *ah)
{}

/*
 * For AR9002, bt_weight/wlan_weight are used.
 * For AR9003 and above, stomp_type is used.
 */
void ath9k_hw_btcoex_set_weight(struct ath_hw *ah,
				u32 bt_weight,
				u32 wlan_weight,
				enum ath_stomp_type stomp_type)
{}
EXPORT_SYMBOL();


static void ath9k_hw_btcoex_enable_3wire(struct ath_hw *ah)
{}

static void ath9k_hw_btcoex_enable_mci(struct ath_hw *ah)
{}

static void ath9k_hw_btcoex_disable_mci(struct ath_hw *ah)
{}

void ath9k_hw_btcoex_enable(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

void ath9k_hw_btcoex_disable(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

/*
 * Configures appropriate weight based on stomp type.
 */
void ath9k_hw_btcoex_bt_stomp(struct ath_hw *ah,
			      enum ath_stomp_type stomp_type)
{}
EXPORT_SYMBOL();

void ath9k_hw_btcoex_set_concur_txprio(struct ath_hw *ah, u8 *stomp_txprio)
{}
EXPORT_SYMBOL();