blob: 6f305abd0b9fd2236981fa3a1aaf35aaf52fb027 [file] [log] [blame]
Mohammed Shafi Shajakhan2ee4bd12011-11-30 10:41:13 +05301/*
2 * Copyright (c) 2010-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
16
17#ifndef AR9003_MCI_H
18#define AR9003_MCI_H
19
20#define MCI_FLAG_DISABLE_TIMESTAMP 0x00000001 /* Disable time stamp */
Rajkumar Manoharan2097fdd2012-10-15 15:29:50 +053021#define MCI_RECOVERY_DUR_TSF (100 * 1000) /* 100 ms */
Mohammed Shafi Shajakhan2ee4bd12011-11-30 10:41:13 +053022
23/* Default remote BT device MCI COEX version */
24#define MCI_GPM_COEX_MAJOR_VERSION_DEFAULT 3
25#define MCI_GPM_COEX_MINOR_VERSION_DEFAULT 0
26
27/* Local WLAN MCI COEX version */
28#define MCI_GPM_COEX_MAJOR_VERSION_WLAN 3
29#define MCI_GPM_COEX_MINOR_VERSION_WLAN 0
30
31enum mci_gpm_coex_query_type {
32 MCI_GPM_COEX_QUERY_BT_ALL_INFO = BIT(0),
33 MCI_GPM_COEX_QUERY_BT_TOPOLOGY = BIT(1),
34 MCI_GPM_COEX_QUERY_BT_DEBUG = BIT(2),
35};
36
37enum mci_gpm_coex_halt_bt_gpm {
38 MCI_GPM_COEX_BT_GPM_UNHALT,
39 MCI_GPM_COEX_BT_GPM_HALT
40};
41
42enum mci_gpm_coex_bt_update_flags_op {
43 MCI_GPM_COEX_BT_FLAGS_READ,
44 MCI_GPM_COEX_BT_FLAGS_SET,
45 MCI_GPM_COEX_BT_FLAGS_CLEAR
46};
47
48#define MCI_NUM_BT_CHANNELS 79
49
50#define MCI_BT_MCI_FLAGS_UPDATE_CORR 0x00000002
51#define MCI_BT_MCI_FLAGS_UPDATE_HDR 0x00000004
52#define MCI_BT_MCI_FLAGS_UPDATE_PLD 0x00000008
53#define MCI_BT_MCI_FLAGS_LNA_CTRL 0x00000010
54#define MCI_BT_MCI_FLAGS_DEBUG 0x00000020
55#define MCI_BT_MCI_FLAGS_SCHED_MSG 0x00000040
56#define MCI_BT_MCI_FLAGS_CONT_MSG 0x00000080
57#define MCI_BT_MCI_FLAGS_COEX_GPM 0x00000100
58#define MCI_BT_MCI_FLAGS_CPU_INT_MSG 0x00000200
59#define MCI_BT_MCI_FLAGS_MCI_MODE 0x00000400
60#define MCI_BT_MCI_FLAGS_AR9462_MODE 0x00001000
61#define MCI_BT_MCI_FLAGS_OTHER 0x00010000
62
63#define MCI_DEFAULT_BT_MCI_FLAGS 0x00011dde
64
65#define MCI_TOGGLE_BT_MCI_FLAGS (MCI_BT_MCI_FLAGS_UPDATE_CORR | \
66 MCI_BT_MCI_FLAGS_UPDATE_HDR | \
67 MCI_BT_MCI_FLAGS_UPDATE_PLD | \
68 MCI_BT_MCI_FLAGS_MCI_MODE)
69
70#define MCI_2G_FLAGS_CLEAR_MASK 0x00000000
71#define MCI_2G_FLAGS_SET_MASK MCI_TOGGLE_BT_MCI_FLAGS
72#define MCI_2G_FLAGS MCI_DEFAULT_BT_MCI_FLAGS
73
74#define MCI_5G_FLAGS_CLEAR_MASK MCI_TOGGLE_BT_MCI_FLAGS
75#define MCI_5G_FLAGS_SET_MASK 0x00000000
76#define MCI_5G_FLAGS (MCI_DEFAULT_BT_MCI_FLAGS & \
77 ~MCI_TOGGLE_BT_MCI_FLAGS)
78
79/*
80 * Default value for AR9462 is 0x00002201
81 */
82#define ATH_MCI_CONFIG_CONCUR_TX 0x00000003
83#define ATH_MCI_CONFIG_MCI_OBS_MCI 0x00000004
84#define ATH_MCI_CONFIG_MCI_OBS_TXRX 0x00000008
85#define ATH_MCI_CONFIG_MCI_OBS_BT 0x00000010
86#define ATH_MCI_CONFIG_DISABLE_MCI_CAL 0x00000020
87#define ATH_MCI_CONFIG_DISABLE_OSLA 0x00000040
88#define ATH_MCI_CONFIG_DISABLE_FTP_STOMP 0x00000080
89#define ATH_MCI_CONFIG_AGGR_THRESH 0x00000700
90#define ATH_MCI_CONFIG_AGGR_THRESH_S 8
91#define ATH_MCI_CONFIG_DISABLE_AGGR_THRESH 0x00000800
92#define ATH_MCI_CONFIG_CLK_DIV 0x00003000
93#define ATH_MCI_CONFIG_CLK_DIV_S 12
94#define ATH_MCI_CONFIG_DISABLE_TUNING 0x00004000
Sujith Manoharand1d07812015-02-16 10:49:55 +053095#define ATH_MCI_CONFIG_DISABLE_AIC 0x00008000
96#define ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN 0x007f0000
97#define ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN_S 16
98#define ATH_MCI_CONFIG_NO_QUIET_ACK 0x00800000
99#define ATH_MCI_CONFIG_NO_QUIET_ACK_S 23
100#define ATH_MCI_CONFIG_ANT_ARCH 0x07000000
101#define ATH_MCI_CONFIG_ANT_ARCH_S 24
102#define ATH_MCI_CONFIG_FORCE_QUIET_ACK 0x08000000
103#define ATH_MCI_CONFIG_FORCE_QUIET_ACK_S 27
104#define ATH_MCI_CONFIG_FORCE_2CHAIN_ACK 0x10000000
105#define ATH_MCI_CONFIG_MCI_STAT_DBG 0x20000000
Mohammed Shafi Shajakhan2ee4bd12011-11-30 10:41:13 +0530106#define ATH_MCI_CONFIG_MCI_WEIGHT_DBG 0x40000000
107#define ATH_MCI_CONFIG_DISABLE_MCI 0x80000000
108
109#define ATH_MCI_CONFIG_MCI_OBS_MASK (ATH_MCI_CONFIG_MCI_OBS_MCI | \
110 ATH_MCI_CONFIG_MCI_OBS_TXRX | \
111 ATH_MCI_CONFIG_MCI_OBS_BT)
Sujith Manoharane18e1642015-02-16 10:49:56 +0530112
Mohammed Shafi Shajakhan2ee4bd12011-11-30 10:41:13 +0530113#define ATH_MCI_CONFIG_MCI_OBS_GPIO 0x0000002F
114
Sujith Manoharane18e1642015-02-16 10:49:56 +0530115#define ATH_MCI_ANT_ARCH_1_ANT_PA_LNA_NON_SHARED 0x00
116#define ATH_MCI_ANT_ARCH_1_ANT_PA_LNA_SHARED 0x01
117#define ATH_MCI_ANT_ARCH_2_ANT_PA_LNA_NON_SHARED 0x02
118#define ATH_MCI_ANT_ARCH_2_ANT_PA_LNA_SHARED 0x03
119#define ATH_MCI_ANT_ARCH_3_ANT 0x04
120
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530121enum mci_message_header { /* length of payload */
122 MCI_LNA_CTRL = 0x10, /* len = 0 */
123 MCI_CONT_NACK = 0x20, /* len = 0 */
124 MCI_CONT_INFO = 0x30, /* len = 4 */
125 MCI_CONT_RST = 0x40, /* len = 0 */
126 MCI_SCHD_INFO = 0x50, /* len = 16 */
127 MCI_CPU_INT = 0x60, /* len = 4 */
128 MCI_SYS_WAKING = 0x70, /* len = 0 */
129 MCI_GPM = 0x80, /* len = 16 */
130 MCI_LNA_INFO = 0x90, /* len = 1 */
131 MCI_LNA_STATE = 0x94,
132 MCI_LNA_TAKE = 0x98,
133 MCI_LNA_TRANS = 0x9c,
134 MCI_SYS_SLEEPING = 0xa0, /* len = 0 */
135 MCI_REQ_WAKE = 0xc0, /* len = 0 */
136 MCI_DEBUG_16 = 0xfe, /* len = 2 */
137 MCI_REMOTE_RESET = 0xff /* len = 16 */
138};
139
140enum ath_mci_gpm_coex_profile_type {
141 MCI_GPM_COEX_PROFILE_UNKNOWN,
142 MCI_GPM_COEX_PROFILE_RFCOMM,
143 MCI_GPM_COEX_PROFILE_A2DP,
144 MCI_GPM_COEX_PROFILE_HID,
145 MCI_GPM_COEX_PROFILE_BNEP,
146 MCI_GPM_COEX_PROFILE_VOICE,
Rajkumar Manoharan7bf7a71e2012-10-15 15:29:55 +0530147 MCI_GPM_COEX_PROFILE_A2DPVO,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530148 MCI_GPM_COEX_PROFILE_MAX
149};
150
151/* MCI GPM/Coex opcode/type definitions */
152enum {
153 MCI_GPM_COEX_W_GPM_PAYLOAD = 1,
154 MCI_GPM_COEX_B_GPM_TYPE = 4,
155 MCI_GPM_COEX_B_GPM_OPCODE = 5,
156 /* MCI_GPM_WLAN_CAL_REQ, MCI_GPM_WLAN_CAL_DONE */
157 MCI_GPM_WLAN_CAL_W_SEQUENCE = 2,
158
159 /* MCI_GPM_COEX_VERSION_QUERY */
160 /* MCI_GPM_COEX_VERSION_RESPONSE */
161 MCI_GPM_COEX_B_MAJOR_VERSION = 6,
162 MCI_GPM_COEX_B_MINOR_VERSION = 7,
163 /* MCI_GPM_COEX_STATUS_QUERY */
164 MCI_GPM_COEX_B_BT_BITMAP = 6,
165 MCI_GPM_COEX_B_WLAN_BITMAP = 7,
166 /* MCI_GPM_COEX_HALT_BT_GPM */
167 MCI_GPM_COEX_B_HALT_STATE = 6,
168 /* MCI_GPM_COEX_WLAN_CHANNELS */
169 MCI_GPM_COEX_B_CHANNEL_MAP = 6,
170 /* MCI_GPM_COEX_BT_PROFILE_INFO */
171 MCI_GPM_COEX_B_PROFILE_TYPE = 6,
172 MCI_GPM_COEX_B_PROFILE_LINKID = 7,
173 MCI_GPM_COEX_B_PROFILE_STATE = 8,
174 MCI_GPM_COEX_B_PROFILE_ROLE = 9,
175 MCI_GPM_COEX_B_PROFILE_RATE = 10,
176 MCI_GPM_COEX_B_PROFILE_VOTYPE = 11,
177 MCI_GPM_COEX_H_PROFILE_T = 12,
178 MCI_GPM_COEX_B_PROFILE_W = 14,
179 MCI_GPM_COEX_B_PROFILE_A = 15,
180 /* MCI_GPM_COEX_BT_STATUS_UPDATE */
181 MCI_GPM_COEX_B_STATUS_TYPE = 6,
182 MCI_GPM_COEX_B_STATUS_LINKID = 7,
183 MCI_GPM_COEX_B_STATUS_STATE = 8,
184 /* MCI_GPM_COEX_BT_UPDATE_FLAGS */
185 MCI_GPM_COEX_W_BT_FLAGS = 6,
186 MCI_GPM_COEX_B_BT_FLAGS_OP = 10
187};
188
189enum mci_gpm_subtype {
190 MCI_GPM_BT_CAL_REQ = 0,
191 MCI_GPM_BT_CAL_GRANT = 1,
192 MCI_GPM_BT_CAL_DONE = 2,
193 MCI_GPM_WLAN_CAL_REQ = 3,
194 MCI_GPM_WLAN_CAL_GRANT = 4,
195 MCI_GPM_WLAN_CAL_DONE = 5,
196 MCI_GPM_COEX_AGENT = 0x0c,
197 MCI_GPM_RSVD_PATTERN = 0xfe,
198 MCI_GPM_RSVD_PATTERN32 = 0xfefefefe,
199 MCI_GPM_BT_DEBUG = 0xff
200};
201
202enum mci_bt_state {
203 MCI_BT_SLEEP,
204 MCI_BT_AWAKE,
205 MCI_BT_CAL_START,
206 MCI_BT_CAL
207};
208
Sujith Manoharanb39adc62015-02-05 10:22:41 +0530209enum mci_ps_state {
210 MCI_PS_DISABLE,
211 MCI_PS_ENABLE,
212 MCI_PS_ENABLE_OFF,
213 MCI_PS_ENABLE_ON
214};
215
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530216/* Type of state query */
217enum mci_state_type {
218 MCI_STATE_ENABLE,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530219 MCI_STATE_INIT_GPM_OFFSET,
220 MCI_STATE_CHECK_GPM_OFFSET,
221 MCI_STATE_NEXT_GPM_OFFSET,
222 MCI_STATE_LAST_GPM_OFFSET,
223 MCI_STATE_BT,
224 MCI_STATE_SET_BT_SLEEP,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530225 MCI_STATE_SET_BT_AWAKE,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530226 MCI_STATE_SET_BT_CAL_START,
227 MCI_STATE_SET_BT_CAL,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530228 MCI_STATE_LAST_SCHD_MSG_OFFSET,
229 MCI_STATE_REMOTE_SLEEP,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530230 MCI_STATE_CONT_STATUS,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530231 MCI_STATE_RESET_REQ_WAKE,
232 MCI_STATE_SEND_WLAN_COEX_VERSION,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530233 MCI_STATE_SET_BT_COEX_VERSION,
234 MCI_STATE_SEND_WLAN_CHANNELS,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530235 MCI_STATE_SEND_VERSION_QUERY,
236 MCI_STATE_SEND_STATUS_QUERY,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530237 MCI_STATE_NEED_FLUSH_BT_INFO,
238 MCI_STATE_SET_CONCUR_TX_PRI,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530239 MCI_STATE_RECOVER_RX,
240 MCI_STATE_NEED_FTP_STOMP,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530241 MCI_STATE_NEED_TUNING,
242 MCI_STATE_NEED_STAT_DEBUG,
243 MCI_STATE_SHARED_CHAIN_CONCUR_TX,
244 MCI_STATE_AIC_CAL,
245 MCI_STATE_AIC_START,
246 MCI_STATE_AIC_CAL_RESET,
247 MCI_STATE_AIC_CAL_SINGLE,
248 MCI_STATE_IS_AR9462,
249 MCI_STATE_IS_AR9565_1ANT,
250 MCI_STATE_IS_AR9565_2ANT,
251 MCI_STATE_WLAN_WEAK_SIGNAL,
252 MCI_STATE_SET_WLAN_PS_STATE,
253 MCI_STATE_GET_WLAN_PS_STATE,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530254 MCI_STATE_DEBUG,
Sujith Manoharanff6f0c02015-02-05 10:22:40 +0530255 MCI_STATE_STAT_DEBUG,
256 MCI_STATE_ALLOW_FCS,
257 MCI_STATE_SET_2G_CONTENTION,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530258 MCI_STATE_MAX
259};
260
261enum mci_gpm_coex_opcode {
262 MCI_GPM_COEX_VERSION_QUERY,
263 MCI_GPM_COEX_VERSION_RESPONSE,
264 MCI_GPM_COEX_STATUS_QUERY,
265 MCI_GPM_COEX_HALT_BT_GPM,
266 MCI_GPM_COEX_WLAN_CHANNELS,
267 MCI_GPM_COEX_BT_PROFILE_INFO,
268 MCI_GPM_COEX_BT_STATUS_UPDATE,
Rajkumar Manoharand92bb982012-09-12 18:59:21 +0530269 MCI_GPM_COEX_BT_UPDATE_FLAGS,
270 MCI_GPM_COEX_NOOP,
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530271};
272
273#define MCI_GPM_NOMORE 0
274#define MCI_GPM_MORE 1
275#define MCI_GPM_INVALID 0xffffffff
276
277#define MCI_GPM_RECYCLE(_p_gpm) do { \
278 *(((u32 *)_p_gpm) + MCI_GPM_COEX_W_GPM_PAYLOAD) = \
279 MCI_GPM_RSVD_PATTERN32; \
280} while (0)
281
282#define MCI_GPM_TYPE(_p_gpm) \
283 (*(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) & 0xff)
284
285#define MCI_GPM_OPCODE(_p_gpm) \
286 (*(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_OPCODE) & 0xff)
287
288#define MCI_GPM_SET_CAL_TYPE(_p_gpm, _cal_type) do { \
289 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) = (_cal_type) & 0xff;\
290} while (0)
291
292#define MCI_GPM_SET_TYPE_OPCODE(_p_gpm, _type, _opcode) do { \
293 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) = (_type) & 0xff; \
294 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_OPCODE) = (_opcode) & 0xff;\
295} while (0)
296
297#define MCI_GPM_IS_CAL_TYPE(_type) ((_type) <= MCI_GPM_WLAN_CAL_DONE)
298
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530299/*
300 * Functions that are available to the MCI driver core.
301 */
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530302bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag,
303 u32 *payload, u8 len, bool wait_done,
304 bool check_bt);
Rajkumar Manoharanb98ccec2012-06-12 20:18:20 +0530305u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type);
Sujith Manoharan69c6ac62012-09-26 07:54:43 +0530306int ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf,
307 u16 len, u32 sched_addr);
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530308void ar9003_mci_cleanup(struct ath_hw *ah);
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530309void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr,
310 u32 *rx_msg_intr);
Rajkumar Manoharan506847a2012-06-12 20:18:16 +0530311u32 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, bool first, u32 *more);
Rajkumar Manoharane1763d32012-06-12 20:18:17 +0530312void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor);
Rajkumar Manoharan2d340ac2012-06-12 20:18:18 +0530313void ar9003_mci_send_wlan_channels(struct ath_hw *ah);
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530314/*
315 * These functions are used by ath9k_hw.
316 */
317
318#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
319
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530320void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep);
321void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable);
322void ar9003_mci_init_cal_done(struct ath_hw *ah);
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530323void ar9003_mci_set_full_sleep(struct ath_hw *ah);
Rajkumar Manoharan1bde95fa2012-06-11 12:19:33 +0530324void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool force);
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530325void ar9003_mci_check_bt(struct ath_hw *ah);
326bool ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan);
327int ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan,
328 struct ath9k_hw_cal_data *caldata);
Sujith Manoharan69c6ac62012-09-26 07:54:43 +0530329int ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
330 bool is_full_sleep);
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530331void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked);
Rajkumar Manoharan9dd9b0d2012-06-11 12:19:31 +0530332void ar9003_mci_bt_gain_ctrl(struct ath_hw *ah);
333void ar9003_mci_set_power_awake(struct ath_hw *ah);
Rajkumar Manoharan506847a2012-06-12 20:18:16 +0530334void ar9003_mci_check_gpm_offset(struct ath_hw *ah);
Rajkumar Manoharane82cb032012-10-12 14:07:25 +0530335u16 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode);
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530336
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530337#else
338
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530339static inline void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep)
340{
341}
342static inline void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable)
343{
344}
345static inline void ar9003_mci_init_cal_done(struct ath_hw *ah)
346{
347}
348static inline void ar9003_mci_set_full_sleep(struct ath_hw *ah)
349{
350}
351static inline void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool wait_done)
352{
353}
354static inline void ar9003_mci_check_bt(struct ath_hw *ah)
355{
356}
357static inline bool ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan)
358{
359 return false;
360}
361static inline int ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan,
362 struct ath9k_hw_cal_data *caldata)
363{
364 return 0;
365}
366static inline void ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
367 bool is_full_sleep)
368{
369}
370static inline void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
371{
372}
Rajkumar Manoharan9dd9b0d2012-06-11 12:19:31 +0530373static inline void ar9003_mci_bt_gain_ctrl(struct ath_hw *ah)
374{
375}
376static inline void ar9003_mci_set_power_awake(struct ath_hw *ah)
377{
378}
Rajkumar Manoharan506847a2012-06-12 20:18:16 +0530379static inline void ar9003_mci_check_gpm_offset(struct ath_hw *ah)
380{
381}
Rajkumar Manoharane82cb032012-10-12 14:07:25 +0530382static inline u16 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode)
383{
384 return -1;
385}
Sujith Manoharandbccdd12012-02-22 17:55:47 +0530386#endif /* CONFIG_ATH9K_BTCOEX_SUPPORT */
Sujith Manoharanf4701b52012-02-22 12:41:18 +0530387
Mohammed Shafi Shajakhan2ee4bd12011-11-30 10:41:13 +0530388#endif