/* * 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 "hw.h" #include <linux/export.h> #define AR_BufLen … static void ar9002_hw_rx_enable(struct ath_hw *ah) { … } static void ar9002_hw_set_desc_link(void *ds, u32 ds_link) { … } static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, u32 *sync_cause_p) { … } static void ar9002_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) { … } static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) { … } static int ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) { … } void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, u32 size, u32 flags) { … } EXPORT_SYMBOL(…); void ar9002_hw_attach_mac_ops(struct ath_hw *ah) { … }