#ifndef AR9003_MCI_H
#define AR9003_MCI_H
#define MCI_FLAG_DISABLE_TIMESTAMP …
#define MCI_RECOVERY_DUR_TSF …
#define MCI_GPM_COEX_MAJOR_VERSION_DEFAULT …
#define MCI_GPM_COEX_MINOR_VERSION_DEFAULT …
#define MCI_GPM_COEX_MAJOR_VERSION_WLAN …
#define MCI_GPM_COEX_MINOR_VERSION_WLAN …
enum mci_gpm_coex_query_type { … };
enum mci_gpm_coex_halt_bt_gpm { … };
enum mci_gpm_coex_bt_update_flags_op { … };
#define MCI_NUM_BT_CHANNELS …
#define MCI_BT_MCI_FLAGS_UPDATE_CORR …
#define MCI_BT_MCI_FLAGS_UPDATE_HDR …
#define MCI_BT_MCI_FLAGS_UPDATE_PLD …
#define MCI_BT_MCI_FLAGS_LNA_CTRL …
#define MCI_BT_MCI_FLAGS_DEBUG …
#define MCI_BT_MCI_FLAGS_SCHED_MSG …
#define MCI_BT_MCI_FLAGS_CONT_MSG …
#define MCI_BT_MCI_FLAGS_COEX_GPM …
#define MCI_BT_MCI_FLAGS_CPU_INT_MSG …
#define MCI_BT_MCI_FLAGS_MCI_MODE …
#define MCI_BT_MCI_FLAGS_AR9462_MODE …
#define MCI_BT_MCI_FLAGS_OTHER …
#define MCI_DEFAULT_BT_MCI_FLAGS …
#define MCI_TOGGLE_BT_MCI_FLAGS …
#define MCI_2G_FLAGS_CLEAR_MASK …
#define MCI_2G_FLAGS_SET_MASK …
#define MCI_2G_FLAGS …
#define MCI_5G_FLAGS_CLEAR_MASK …
#define MCI_5G_FLAGS_SET_MASK …
#define MCI_5G_FLAGS …
#define ATH_MCI_CONFIG_CONCUR_TX …
#define ATH_MCI_CONFIG_MCI_OBS_MCI …
#define ATH_MCI_CONFIG_MCI_OBS_TXRX …
#define ATH_MCI_CONFIG_MCI_OBS_BT …
#define ATH_MCI_CONFIG_DISABLE_MCI_CAL …
#define ATH_MCI_CONFIG_DISABLE_OSLA …
#define ATH_MCI_CONFIG_DISABLE_FTP_STOMP …
#define ATH_MCI_CONFIG_AGGR_THRESH …
#define ATH_MCI_CONFIG_AGGR_THRESH_S …
#define ATH_MCI_CONFIG_DISABLE_AGGR_THRESH …
#define ATH_MCI_CONFIG_CLK_DIV …
#define ATH_MCI_CONFIG_CLK_DIV_S …
#define ATH_MCI_CONFIG_DISABLE_TUNING …
#define ATH_MCI_CONFIG_DISABLE_AIC …
#define ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN …
#define ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN_S …
#define ATH_MCI_CONFIG_NO_QUIET_ACK …
#define ATH_MCI_CONFIG_NO_QUIET_ACK_S …
#define ATH_MCI_CONFIG_ANT_ARCH …
#define ATH_MCI_CONFIG_ANT_ARCH_S …
#define ATH_MCI_CONFIG_FORCE_QUIET_ACK …
#define ATH_MCI_CONFIG_FORCE_QUIET_ACK_S …
#define ATH_MCI_CONFIG_FORCE_2CHAIN_ACK …
#define ATH_MCI_CONFIG_MCI_STAT_DBG …
#define ATH_MCI_CONFIG_MCI_WEIGHT_DBG …
#define ATH_MCI_CONFIG_DISABLE_MCI …
#define ATH_MCI_CONFIG_MCI_OBS_MASK …
#define ATH_MCI_CONFIG_MCI_OBS_GPIO …
#define ATH_MCI_ANT_ARCH_1_ANT_PA_LNA_NON_SHARED …
#define ATH_MCI_ANT_ARCH_1_ANT_PA_LNA_SHARED …
#define ATH_MCI_ANT_ARCH_2_ANT_PA_LNA_NON_SHARED …
#define ATH_MCI_ANT_ARCH_2_ANT_PA_LNA_SHARED …
#define ATH_MCI_ANT_ARCH_3_ANT …
#define MCI_ANT_ARCH_PA_LNA_SHARED(mci) …
enum mci_message_header { … };
enum ath_mci_gpm_coex_profile_type { … };
enum { … };
enum mci_gpm_subtype { … };
enum mci_bt_state { … };
enum mci_ps_state { … };
enum mci_state_type { … };
enum mci_gpm_coex_opcode { … };
#define MCI_GPM_NOMORE …
#define MCI_GPM_MORE …
#define MCI_GPM_INVALID …
#define MCI_GPM_RECYCLE(_p_gpm) …
#define MCI_GPM_TYPE(_p_gpm) …
#define MCI_GPM_OPCODE(_p_gpm) …
#define MCI_GPM_SET_CAL_TYPE(_p_gpm, _cal_type) …
#define MCI_GPM_SET_TYPE_OPCODE(_p_gpm, _type, _opcode) …
#define MCI_GPM_IS_CAL_TYPE(_type) …
bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag,
u32 *payload, u8 len, bool wait_done,
bool check_bt);
u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type);
int ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf,
u16 len, u32 sched_addr);
void ar9003_mci_cleanup(struct ath_hw *ah);
void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr,
u32 *rx_msg_intr);
u32 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, u32 *more);
void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor);
void ar9003_mci_send_wlan_channels(struct ath_hw *ah);
#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep);
void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable);
void ar9003_mci_init_cal_done(struct ath_hw *ah);
void ar9003_mci_set_full_sleep(struct ath_hw *ah);
void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool force);
void ar9003_mci_check_bt(struct ath_hw *ah);
bool ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan);
int ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan,
struct ath9k_hw_cal_data *caldata);
int ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
bool is_full_sleep);
void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked);
void ar9003_mci_bt_gain_ctrl(struct ath_hw *ah);
void ar9003_mci_set_power_awake(struct ath_hw *ah);
void ar9003_mci_check_gpm_offset(struct ath_hw *ah);
u16 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode);
#else
static inline void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep)
{
}
static inline void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable)
{
}
static inline void ar9003_mci_init_cal_done(struct ath_hw *ah)
{
}
static inline void ar9003_mci_set_full_sleep(struct ath_hw *ah)
{
}
static inline void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool wait_done)
{
}
static inline void ar9003_mci_check_bt(struct ath_hw *ah)
{
}
static inline bool ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan)
{
return false;
}
static inline int ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan,
struct ath9k_hw_cal_data *caldata)
{
return 0;
}
static inline void ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
bool is_full_sleep)
{
}
static inline void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
{
}
static inline void ar9003_mci_bt_gain_ctrl(struct ath_hw *ah)
{
}
static inline void ar9003_mci_set_power_awake(struct ath_hw *ah)
{
}
static inline void ar9003_mci_check_gpm_offset(struct ath_hw *ah)
{
}
static inline u16 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode)
{
return -1;
}
#endif
#endif