~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/wireless/ath/ath9k/mac.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2008-2009 Atheros Communications Inc.
 
2
 * Copyright (c) 2008-2011 Atheros Communications Inc.
3
3
 *
4
4
 * Permission to use, copy, modify, and/or distribute this software for any
5
5
 * purpose with or without fee is hereby granted, provided that the above
239
239
        void *ds_vdata;
240
240
} __packed __aligned(4);
241
241
 
242
 
#define ATH9K_TXDESC_CLRDMASK           0x0001
243
242
#define ATH9K_TXDESC_NOACK              0x0002
244
243
#define ATH9K_TXDESC_RTSENA             0x0004
245
244
#define ATH9K_TXDESC_CTSENA             0x0008
639
638
        ATH9K_RX_FILTER_PHYERR = 0x00000100,
640
639
        ATH9K_RX_FILTER_MYBEACON = 0x00000200,
641
640
        ATH9K_RX_FILTER_COMP_BAR = 0x00000400,
 
641
        ATH9K_RX_FILTER_COMP_BA = 0x00000800,
 
642
        ATH9K_RX_FILTER_UNCOMP_BA_BAR = 0x00001000,
642
643
        ATH9K_RX_FILTER_PSPOLL = 0x00004000,
643
644
        ATH9K_RX_FILTER_PHYRADAR = 0x00002000,
644
645
        ATH9K_RX_FILTER_MCAST_BCAST_ALL = 0x00008000,
674
675
void ath9k_hw_cleartxdesc(struct ath_hw *ah, void *ds);
675
676
u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q);
676
677
bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel);
677
 
bool ath9k_hw_stoptxdma(struct ath_hw *ah, u32 q);
 
678
bool ath9k_hw_stop_dma_queue(struct ath_hw *ah, u32 q);
 
679
void ath9k_hw_abort_tx_dma(struct ath_hw *ah);
678
680
void ath9k_hw_gettxintrtxqs(struct ath_hw *ah, u32 *txqs);
679
681
bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q,
680
682
                            const struct ath9k_tx_queue_info *qinfo);
692
694
void ath9k_hw_putrxbuf(struct ath_hw *ah, u32 rxdp);
693
695
void ath9k_hw_startpcureceive(struct ath_hw *ah, bool is_scanning);
694
696
void ath9k_hw_abortpcurecv(struct ath_hw *ah);
695
 
bool ath9k_hw_stopdmarecv(struct ath_hw *ah);
 
697
bool ath9k_hw_stopdmarecv(struct ath_hw *ah, bool *reset);
696
698
int ath9k_hw_beaconq_setup(struct ath_hw *ah);
697
699
 
698
700
/* Interrupt Handling */