aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2011-11-30 00:11:17 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-30 15:08:43 -0500
commitbbefb8715298ce8c6a1da03da16efaa6f1ff4237 (patch)
tree73f048140c84fc293a6acc064fd1249ccbe3a3f2 /drivers/net/wireless/ath/ath9k/hw.h
parent16659f6ad86b0e73ef0409a87b74170fbaeda344 (diff)
ath9k_hw: Add MCI h/w code and state machine
Cc: Wilson Tsao <wtsao@qca.qualcomm.com> Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com> Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index cd43d5904567..c9c3b1889965 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -1203,6 +1203,32 @@ void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning);
1203void ath9k_hw_proc_mib_event(struct ath_hw *ah); 1203void ath9k_hw_proc_mib_event(struct ath_hw *ah);
1204void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan); 1204void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan);
1205 1205
1206bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag,
1207 u32 *payload, u8 len, bool wait_done,
1208 bool check_bt);
1209void ar9003_mci_mute_bt(struct ath_hw *ah);
1210u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type, u32 *p_data);
1211void ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf,
1212 u16 len, u32 sched_addr);
1213void ar9003_mci_cleanup(struct ath_hw *ah);
1214void ar9003_mci_send_coex_halt_bt_gpm(struct ath_hw *ah, bool halt,
1215 bool wait_done);
1216u32 ar9003_mci_wait_for_gpm(struct ath_hw *ah, u8 gpm_type,
1217 u8 gpm_opcode, int time_out);
1218void ar9003_mci_2g5g_changed(struct ath_hw *ah, bool is_2g);
1219void ar9003_mci_disable_interrupt(struct ath_hw *ah);
1220void ar9003_mci_enable_interrupt(struct ath_hw *ah);
1221void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool wait_done);
1222void ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
1223 bool is_full_sleep);
1224bool ar9003_mci_check_int(struct ath_hw *ah, u32 ints);
1225void ar9003_mci_remote_reset(struct ath_hw *ah, bool wait_done);
1226void ar9003_mci_send_sys_waking(struct ath_hw *ah, bool wait_done);
1227void ar9003_mci_send_lna_transfer(struct ath_hw *ah, bool wait_done);
1228void ar9003_mci_sync_bt_state(struct ath_hw *ah);
1229void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr,
1230 u32 *rx_msg_intr);
1231
1206#define ATH9K_CLOCK_RATE_CCK 22 1232#define ATH9K_CLOCK_RATE_CCK 22
1207#define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 1233#define ATH9K_CLOCK_RATE_5GHZ_OFDM 40
1208#define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 1234#define ATH9K_CLOCK_RATE_2GHZ_OFDM 44