diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2011-11-30 00:11:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-30 15:08:43 -0500 |
commit | bbefb8715298ce8c6a1da03da16efaa6f1ff4237 (patch) | |
tree | 73f048140c84fc293a6acc064fd1249ccbe3a3f2 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 16659f6ad86b0e73ef0409a87b74170fbaeda344 (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.h | 26 |
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); | |||
1203 | void ath9k_hw_proc_mib_event(struct ath_hw *ah); | 1203 | void ath9k_hw_proc_mib_event(struct ath_hw *ah); |
1204 | void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan); | 1204 | void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan); |
1205 | 1205 | ||
1206 | bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag, | ||
1207 | u32 *payload, u8 len, bool wait_done, | ||
1208 | bool check_bt); | ||
1209 | void ar9003_mci_mute_bt(struct ath_hw *ah); | ||
1210 | u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type, u32 *p_data); | ||
1211 | void ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf, | ||
1212 | u16 len, u32 sched_addr); | ||
1213 | void ar9003_mci_cleanup(struct ath_hw *ah); | ||
1214 | void ar9003_mci_send_coex_halt_bt_gpm(struct ath_hw *ah, bool halt, | ||
1215 | bool wait_done); | ||
1216 | u32 ar9003_mci_wait_for_gpm(struct ath_hw *ah, u8 gpm_type, | ||
1217 | u8 gpm_opcode, int time_out); | ||
1218 | void ar9003_mci_2g5g_changed(struct ath_hw *ah, bool is_2g); | ||
1219 | void ar9003_mci_disable_interrupt(struct ath_hw *ah); | ||
1220 | void ar9003_mci_enable_interrupt(struct ath_hw *ah); | ||
1221 | void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool wait_done); | ||
1222 | void ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g, | ||
1223 | bool is_full_sleep); | ||
1224 | bool ar9003_mci_check_int(struct ath_hw *ah, u32 ints); | ||
1225 | void ar9003_mci_remote_reset(struct ath_hw *ah, bool wait_done); | ||
1226 | void ar9003_mci_send_sys_waking(struct ath_hw *ah, bool wait_done); | ||
1227 | void ar9003_mci_send_lna_transfer(struct ath_hw *ah, bool wait_done); | ||
1228 | void ar9003_mci_sync_bt_state(struct ath_hw *ah); | ||
1229 | void 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 |