Commit b622a720 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

ath9k_hw: move AR9002 mac ops to its own file

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 744d4025
......@@ -30,6 +30,7 @@ ath9k_hw-y:= \
ani.o \
btcoex.o \
mac.o \
ar9002_mac.o \
ar9003_mac.o \
ar9003_eeprom.o
......
This diff is collapsed.
......@@ -15,6 +15,7 @@
*/
#include "hw.h"
#include "ar9003_mac.h"
#include "ar9003_initvals.h"
/* General hardware code for the AR9003 hadware family */
......
......@@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "hw.h"
#include "ar9003_mac.h"
static void ar9003_hw_rx_enable(struct ath_hw *hw)
{
......
......@@ -20,6 +20,7 @@
#include "hw.h"
#include "hw-ops.h"
#include "rc.h"
#include "ar9003_mac.h"
#define ATH9K_CLOCK_RATE_CCK 22
#define ATH9K_CLOCK_RATE_5GHZ_OFDM 40
......
......@@ -28,7 +28,6 @@
#include "reg.h"
#include "phy.h"
#include "btcoex.h"
#include "ar9003_mac.h"
#include "../regd.h"
#include "../debug.h"
......
This diff is collapsed.
......@@ -354,7 +354,6 @@ struct ar5416_desc {
#define AR_DestIdxValid 0x40000000
#define AR_CTSEnable 0x80000000
#define AR_BufLen 0x00000fff
#define AR_TxMore 0x00001000
#define AR_DestIdx 0x000fe000
#define AR_DestIdx_S 13
......@@ -494,7 +493,6 @@ struct ar5416_desc {
#define AR_RxCTLRsvd00 0xffffffff
#define AR_BufLen 0x00000fff
#define AR_RxCtlRsvd00 0x00001000
#define AR_RxIntrReq 0x00002000
#define AR_RxCtlRsvd01 0xffffc000
......
......@@ -15,6 +15,7 @@
*/
#include "ath9k.h"
#include "ar9003_mac.h"
#define SKB_CB_ATHBUF(__skb) (*((struct ath_buf **)__skb->cb))
......
......@@ -15,6 +15,7 @@
*/
#include "ath9k.h"
#include "ar9003_mac.h"
#define BITS_PER_BYTE 8
#define OFDM_PLCP_BITS 22
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment