Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
htc_drv_txrx.c File Reference
#include "htc.h"

Go to the source code of this file.

Macros

#define ATH9K_HTC_INIT_TXQ(subtype)
 
#define RX_FILTER_PRESERVE   (ATH9K_RX_FILTER_PHYERR | ATH9K_RX_FILTER_PHYRADAR)
 

Functions

int get_hw_qnum (u16 queue, int *hwq_map)
 
void ath9k_htc_check_stop_queues (struct ath9k_htc_priv *priv)
 
void ath9k_htc_check_wake_queues (struct ath9k_htc_priv *priv)
 
int ath9k_htc_tx_get_slot (struct ath9k_htc_priv *priv)
 
void ath9k_htc_tx_clear_slot (struct ath9k_htc_priv *priv, int slot)
 
int ath_htc_txq_update (struct ath9k_htc_priv *priv, int qnum, struct ath9k_tx_queue_info *qinfo)
 
int ath9k_htc_tx_start (struct ath9k_htc_priv *priv, struct ieee80211_sta *sta, struct sk_buff *skb, u8 slot, bool is_cab)
 
void ath9k_htc_tx_drain (struct ath9k_htc_priv *priv)
 
void ath9k_tx_failed_tasklet (unsigned long data)
 
void ath9k_htc_txstatus (struct ath9k_htc_priv *priv, void *wmi_event)
 
void ath9k_htc_txep (void *drv_priv, struct sk_buff *skb, enum htc_endpoint_id ep_id, bool txok)
 
void ath9k_htc_tx_cleanup_timer (unsigned long data)
 
int ath9k_tx_init (struct ath9k_htc_priv *priv)
 
void ath9k_tx_cleanup (struct ath9k_htc_priv *priv)
 
bool ath9k_htc_txq_setup (struct ath9k_htc_priv *priv, int subtype)
 
int ath9k_htc_cabq_setup (struct ath9k_htc_priv *priv)
 
u32 ath9k_htc_calcrxfilter (struct ath9k_htc_priv *priv)
 
void ath9k_host_rx_init (struct ath9k_htc_priv *priv)
 
void ath9k_rx_tasklet (unsigned long data)
 
void ath9k_htc_rxep (void *drv_priv, struct sk_buff *skb, enum htc_endpoint_id ep_id)
 
void ath9k_rx_cleanup (struct ath9k_htc_priv *priv)
 
int ath9k_rx_init (struct ath9k_htc_priv *priv)
 

Macro Definition Documentation

#define ATH9K_HTC_INIT_TXQ (   subtype)
Value:
do { \
qi.tqi_subtype = subtype_txq_to_hwq[subtype]; \
qi.tqi_aifs = ATH9K_TXQ_USEDEFAULT; \
qi.tqi_cwmin = ATH9K_TXQ_USEDEFAULT; \
qi.tqi_cwmax = ATH9K_TXQ_USEDEFAULT; \
qi.tqi_physCompBuf = 0; \
qi.tqi_qflags = TXQ_FLAG_TXEOLINT_ENABLE | \
TXQ_FLAG_TXDESCINT_ENABLE; \
} while (0)

Definition at line 30 of file htc_drv_txrx.c.

#define RX_FILTER_PRESERVE   (ATH9K_RX_FILTER_PHYERR | ATH9K_RX_FILTER_PHYRADAR)

Function Documentation

void ath9k_host_rx_init ( struct ath9k_htc_priv priv)

Definition at line 915 of file htc_drv_txrx.c.

int ath9k_htc_cabq_setup ( struct ath9k_htc_priv priv)

Definition at line 831 of file htc_drv_txrx.c.

u32 ath9k_htc_calcrxfilter ( struct ath9k_htc_priv priv)

Definition at line 848 of file htc_drv_txrx.c.

void ath9k_htc_check_stop_queues ( struct ath9k_htc_priv priv)

Definition at line 56 of file htc_drv_txrx.c.

void ath9k_htc_check_wake_queues ( struct ath9k_htc_priv priv)

Definition at line 68 of file htc_drv_txrx.c.

void ath9k_htc_rxep ( void drv_priv,
struct sk_buff skb,
enum htc_endpoint_id  ep_id 
)

Definition at line 1150 of file htc_drv_txrx.c.

void ath9k_htc_tx_cleanup_timer ( unsigned long  data)

Definition at line 742 of file htc_drv_txrx.c.

void ath9k_htc_tx_clear_slot ( struct ath9k_htc_priv priv,
int  slot 
)

Definition at line 95 of file htc_drv_txrx.c.

void ath9k_htc_tx_drain ( struct ath9k_htc_priv priv)

Definition at line 521 of file htc_drv_txrx.c.

int ath9k_htc_tx_get_slot ( struct ath9k_htc_priv priv)

Definition at line 79 of file htc_drv_txrx.c.

int ath9k_htc_tx_start ( struct ath9k_htc_priv priv,
struct ieee80211_sta sta,
struct sk_buff skb,
u8  slot,
bool  is_cab 
)

Definition at line 335 of file htc_drv_txrx.c.

void ath9k_htc_txep ( void drv_priv,
struct sk_buff skb,
enum htc_endpoint_id  ep_id,
bool  txok 
)

Definition at line 671 of file htc_drv_txrx.c.

bool ath9k_htc_txq_setup ( struct ath9k_htc_priv priv,
int  subtype 
)

Definition at line 806 of file htc_drv_txrx.c.

void ath9k_htc_txstatus ( struct ath9k_htc_priv priv,
void wmi_event 
)

Definition at line 629 of file htc_drv_txrx.c.

void ath9k_rx_cleanup ( struct ath9k_htc_priv priv)

Definition at line 1185 of file htc_drv_txrx.c.

int ath9k_rx_init ( struct ath9k_htc_priv priv)

Definition at line 1197 of file htc_drv_txrx.c.

void ath9k_rx_tasklet ( unsigned long  data)

Definition at line 1096 of file htc_drv_txrx.c.

void ath9k_tx_cleanup ( struct ath9k_htc_priv priv)

Definition at line 801 of file htc_drv_txrx.c.

void ath9k_tx_failed_tasklet ( unsigned long  data)

Definition at line 560 of file htc_drv_txrx.c.

int ath9k_tx_init ( struct ath9k_htc_priv priv)

Definition at line 789 of file htc_drv_txrx.c.

int ath_htc_txq_update ( struct ath9k_htc_priv priv,
int  qnum,
struct ath9k_tx_queue_info qinfo 
)

Definition at line 188 of file htc_drv_txrx.c.

int get_hw_qnum ( u16  queue,
int hwq_map 
)

Definition at line 40 of file htc_drv_txrx.c.