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

/*
 * Copyright (c) 2010-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.
 */

#define pr_fmt(fmt)

#include "htc.h"

MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_DESCRIPTION();

static unsigned int ath9k_debug =;
module_param_named(debug, ath9k_debug, uint, 0);
MODULE_PARM_DESC();

int htc_modparam_nohwcrypt;
module_param_named(nohwcrypt, htc_modparam_nohwcrypt, int, 0444);
MODULE_PARM_DESC();

static int ath9k_htc_btcoex_enable;
module_param_named(btcoex_enable, ath9k_htc_btcoex_enable, int, 0444);
MODULE_PARM_DESC();

static int ath9k_ps_enable;
module_param_named(ps_enable, ath9k_ps_enable, int, 0444);
MODULE_PARM_DESC();

int htc_use_dev_fw =;
module_param_named(use_dev_fw, htc_use_dev_fw, int, 0444);
MODULE_PARM_DESC();

#ifdef CONFIG_MAC80211_LEDS
int ath9k_htc_led_blink =;
module_param_named(blink, ath9k_htc_led_blink, int, 0444);
MODULE_PARM_DESC();

static const struct ieee80211_tpt_blink ath9k_htc_tpt_blink[] =;
#endif

static void ath9k_htc_op_ps_wakeup(struct ath_common *common)
{}

static void ath9k_htc_op_ps_restore(struct ath_common *common)
{}

static const struct ath_ps_ops ath9k_htc_ps_ops =;

static int ath9k_htc_wait_for_target(struct ath9k_htc_priv *priv)
{}

static void ath9k_deinit_priv(struct ath9k_htc_priv *priv)
{}

static void ath9k_deinit_device(struct ath9k_htc_priv *priv)
{}

static inline int ath9k_htc_connect_svc(struct ath9k_htc_priv *priv,
					u16 service_id,
					void (*tx) (void *,
						    struct sk_buff *,
						    enum htc_endpoint_id,
						    bool txok),
					enum htc_endpoint_id *ep_id)
{}

static int ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid,
				   u32 drv_info)
{}

static void ath9k_reg_notifier(struct wiphy *wiphy,
			       struct regulatory_request *request)
{}

static unsigned int ath9k_regread(void *hw_priv, u32 reg_offset)
{}

static void ath9k_multi_regread(void *hw_priv, u32 *addr,
				u32 *val, u16 count)
{}

static void ath9k_regwrite_multi(struct ath_common *common)
{}

static void ath9k_regwrite_single(void *hw_priv, u32 val, u32 reg_offset)
{}

static void ath9k_regwrite_buffer(void *hw_priv, u32 val, u32 reg_offset)
{}

static void ath9k_regwrite(void *hw_priv, u32 val, u32 reg_offset)
{}

static void ath9k_enable_regwrite_buffer(void *hw_priv)
{}

static void ath9k_regwrite_flush(void *hw_priv)
{}

static void ath9k_reg_rmw_buffer(void *hw_priv,
				 u32 reg_offset, u32 set, u32 clr)
{}

static void ath9k_reg_rmw_flush(void *hw_priv)
{}

static void ath9k_enable_rmw_buffer(void *hw_priv)
{}

static void ath9k_reg_rmw_single(void *hw_priv,
				 u32 reg_offset, u32 set, u32 clr)
{}

static u32 ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr)
{}

static void ath_usb_read_cachesize(struct ath_common *common, int *csz)
{}

static bool ath_usb_eeprom_read(struct ath_common *common, u32 off, u16 *data)
{}

static const struct ath_bus_ops ath9k_usb_bus_ops =;

static int ath9k_init_queues(struct ath9k_htc_priv *priv)
{}

static void ath9k_init_misc(struct ath9k_htc_priv *priv)
{}

static int ath9k_init_priv(struct ath9k_htc_priv *priv,
			   u16 devid, char *product,
			   u32 drv_info)
{}

static const struct ieee80211_iface_limit if_limits[] =;

static const struct ieee80211_iface_combination if_comb =;

static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
			       struct ieee80211_hw *hw)
{}

static int ath9k_init_firmware_version(struct ath9k_htc_priv *priv)
{}

static int ath9k_init_device(struct ath9k_htc_priv *priv,
			     u16 devid, char *product, u32 drv_info)
{}

int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,
			   u16 devid, char *product, u32 drv_info)
{}

void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug)
{}

#ifdef CONFIG_PM

void ath9k_htc_suspend(struct htc_target *htc_handle)
{}

int ath9k_htc_resume(struct htc_target *htc_handle)
{}
#endif

static int __init ath9k_htc_init(void)
{}
module_init();

static void __exit ath9k_htc_exit(void)
{}
module_exit(ath9k_htc_exit);