22 #define RTT_RESTORE_TIMEOUT 1000
23 #define RTT_ACCESS_TIMEOUT 100
24 #define RTT_BAD_VALUE 0x0bad0bad
112 ar9003_hw_rtt_load_hist_entry(ah, chain, i,
113 ah->
caldata->rtt_table[chain][i]);
114 ath_dbg(ath9k_hw_common(ah), CALIBRATE,
115 "Load RTT value at idx %d, chain %d: 0x%x\n",
116 i, chain, ah->
caldata->rtt_table[chain][i]);
121 static int ar9003_hw_rtt_fill_hist_entry(
struct ath_hw *ah,
u8 chain,
u32 index)
157 ar9003_hw_rtt_fill_hist_entry(ah, chain, i);
158 ath_dbg(ath9k_hw_common(ah), CALIBRATE,
159 "RTT value at idx %d, chain %d is: 0x%x\n",
160 i, chain, ah->
caldata->rtt_table[chain][i]);
175 ar9003_hw_rtt_load_hist_entry(ah, chain, i, 0);
195 if (!ath9k_hw_rfbus_req(ah)) {
196 ath_err(ath9k_hw_common(ah),
"Could not stop baseband\n");
205 ath9k_hw_rfbus_done(ah);