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

Go to the source code of this file.

Data Structures

struct  ath9k_hw_mci
 
struct  ath_btcoex_hw
 

Macros

#define ATH_WLANACTIVE_GPIO_9280   5
 
#define ATH_BTACTIVE_GPIO_9280   6
 
#define ATH_BTPRIORITY_GPIO_9285   7
 
#define ATH_WLANACTIVE_GPIO_9300   5
 
#define ATH_BTACTIVE_GPIO_9300   4
 
#define ATH_BTPRIORITY_GPIO_9300   8
 
#define ATH_BTCOEX_DEF_BT_PERIOD   45
 
#define ATH_BTCOEX_DEF_DUTY_CYCLE   55
 
#define ATH_BTCOEX_BTSCAN_DUTY_CYCLE   90
 
#define ATH_BTCOEX_BMISS_THRESH   50
 
#define ATH_BT_PRIORITY_TIME_THRESHOLD   1000 /* ms */
 
#define ATH_BT_CNT_THRESHOLD   3
 
#define ATH_BT_CNT_SCAN_THRESHOLD   15
 
#define ATH_BTCOEX_RX_WAIT_TIME   100
 
#define ATH_BTCOEX_STOMP_FTP_THRESH   5
 
#define AR9300_NUM_BT_WEIGHTS   4
 
#define AR9300_NUM_WLAN_WEIGHTS   4
 

Enumerations

enum  ath_stomp_type {
  ATH_BTCOEX_STOMP_ALL, ATH_BTCOEX_STOMP_LOW, ATH_BTCOEX_STOMP_NONE, ATH_BTCOEX_STOMP_LOW_FTP,
  ATH_BTCOEX_STOMP_MAX
}
 
enum  ath_btcoex_scheme { ATH_BTCOEX_CFG_NONE, ATH_BTCOEX_CFG_2WIRE, ATH_BTCOEX_CFG_3WIRE }
 

Functions

void ath9k_hw_btcoex_init_scheme (struct ath_hw *ah)
 
void ath9k_hw_btcoex_init_2wire (struct ath_hw *ah)
 
void ath9k_hw_btcoex_init_3wire (struct ath_hw *ah)
 
void ath9k_hw_btcoex_init_mci (struct ath_hw *ah)
 
void ath9k_hw_init_btcoex_hw (struct ath_hw *ah, int qnum)
 
void ath9k_hw_btcoex_set_weight (struct ath_hw *ah, u32 bt_weight, u32 wlan_weight, enum ath_stomp_type stomp_type)
 
void ath9k_hw_btcoex_disable (struct ath_hw *ah)
 
void ath9k_hw_btcoex_bt_stomp (struct ath_hw *ah, enum ath_stomp_type stomp_type)
 

Macro Definition Documentation

#define AR9300_NUM_BT_WEIGHTS   4

Definition at line 42 of file btcoex.h.

#define AR9300_NUM_WLAN_WEIGHTS   4

Definition at line 43 of file btcoex.h.

#define ATH_BT_CNT_SCAN_THRESHOLD   15

Definition at line 37 of file btcoex.h.

#define ATH_BT_CNT_THRESHOLD   3

Definition at line 36 of file btcoex.h.

#define ATH_BT_PRIORITY_TIME_THRESHOLD   1000 /* ms */

Definition at line 35 of file btcoex.h.

#define ATH_BTACTIVE_GPIO_9280   6

Definition at line 23 of file btcoex.h.

#define ATH_BTACTIVE_GPIO_9300   4

Definition at line 27 of file btcoex.h.

#define ATH_BTCOEX_BMISS_THRESH   50

Definition at line 33 of file btcoex.h.

#define ATH_BTCOEX_BTSCAN_DUTY_CYCLE   90

Definition at line 32 of file btcoex.h.

#define ATH_BTCOEX_DEF_BT_PERIOD   45

Definition at line 30 of file btcoex.h.

#define ATH_BTCOEX_DEF_DUTY_CYCLE   55

Definition at line 31 of file btcoex.h.

#define ATH_BTCOEX_RX_WAIT_TIME   100

Definition at line 39 of file btcoex.h.

#define ATH_BTCOEX_STOMP_FTP_THRESH   5

Definition at line 40 of file btcoex.h.

#define ATH_BTPRIORITY_GPIO_9285   7

Definition at line 24 of file btcoex.h.

#define ATH_BTPRIORITY_GPIO_9300   8

Definition at line 28 of file btcoex.h.

#define ATH_WLANACTIVE_GPIO_9280   5

Definition at line 22 of file btcoex.h.

#define ATH_WLANACTIVE_GPIO_9300   5

Definition at line 26 of file btcoex.h.

Enumeration Type Documentation

Enumerator:
ATH_BTCOEX_CFG_NONE 
ATH_BTCOEX_CFG_2WIRE 
ATH_BTCOEX_CFG_3WIRE 

Definition at line 53 of file btcoex.h.

Enumerator:
ATH_BTCOEX_STOMP_ALL 
ATH_BTCOEX_STOMP_LOW 
ATH_BTCOEX_STOMP_NONE 
ATH_BTCOEX_STOMP_LOW_FTP 
ATH_BTCOEX_STOMP_MAX 

Definition at line 45 of file btcoex.h.

Function Documentation

void ath9k_hw_btcoex_bt_stomp ( struct ath_hw ah,
enum ath_stomp_type  stomp_type 
)

Definition at line 361 of file btcoex.c.

void ath9k_hw_btcoex_disable ( struct ath_hw ah)

Definition at line 324 of file btcoex.c.

void ath9k_hw_btcoex_init_2wire ( struct ath_hw ah)

Definition at line 130 of file btcoex.c.

void ath9k_hw_btcoex_init_3wire ( struct ath_hw ah)

Definition at line 152 of file btcoex.c.

void ath9k_hw_btcoex_init_mci ( struct ath_hw ah)

Definition at line 178 of file btcoex.c.

void ath9k_hw_btcoex_init_scheme ( struct ath_hw ah)

Definition at line 98 of file btcoex.c.

void ath9k_hw_btcoex_set_weight ( struct ath_hw ah,
u32  bt_weight,
u32  wlan_weight,
enum ath_stomp_type  stomp_type 
)

Definition at line 215 of file btcoex.c.

void ath9k_hw_init_btcoex_hw ( struct ath_hw ah,
int  qnum 
)

Definition at line 54 of file btcoex.c.