]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/net/wireless/ath/ath9k/ar9003_mac.h
2 * Copyright (c) 2010 Atheros Communications Inc.
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 #define AR_DescId 0xffff0000
21 #define AR_DescId_S 16
22 #define AR_CtrlStat 0x00004000
23 #define AR_TxRxDesc 0x00008000
40 void ar9003_hw_attach_mac_ops(struct ath_hw
*hw
);
41 void ath9k_hw_set_rx_bufsize(struct ath_hw
*ah
, u16 buf_size
);
42 void ath9k_hw_addrxbuf_edma(struct ath_hw
*ah
, u32 rxdp
,
43 enum ath9k_rx_qtype qtype
);
45 int ath9k_hw_process_rxdesc_edma(struct ath_hw
*ah
,
46 struct ath_rx_status
*rxs
,