Lines Matching refs:ath_hal
128 struct ath_hal;
130 extern void ar5210Detach(struct ath_hal *ah);
131 extern HAL_BOOL ar5210Reset(struct ath_hal *, HAL_OPMODE,
134 extern void ar5210SetPCUConfig(struct ath_hal *);
135 extern HAL_BOOL ar5210PhyDisable(struct ath_hal *);
136 extern HAL_BOOL ar5210Disable(struct ath_hal *);
137 extern HAL_BOOL ar5210ChipReset(struct ath_hal *, struct ieee80211_channel *);
138 extern HAL_BOOL ar5210PerCalibration(struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *);
139 extern HAL_BOOL ar5210PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan,
141 extern HAL_BOOL ar5210ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *);
142 extern int16_t ar5210GetNoiseFloor(struct ath_hal *);
143 extern int16_t ar5210GetNfAdjust(struct ath_hal *,
145 extern HAL_BOOL ar5210SetTxPowerLimit(struct ath_hal *, uint32_t limit);
146 extern HAL_BOOL ar5210SetTransmitPower(struct ath_hal *,
148 extern HAL_BOOL ar5210CalNoiseFloor(struct ath_hal *, HAL_CHANNEL_INTERNAL *);
149 extern HAL_BOOL ar5210ResetDma(struct ath_hal *, HAL_OPMODE);
151 extern HAL_BOOL ar5210SetTxQueueProps(struct ath_hal *ah, int q,
153 extern HAL_BOOL ar5210GetTxQueueProps(struct ath_hal *ah, int q,
155 extern int ar5210SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type,
157 extern HAL_BOOL ar5210ReleaseTxQueue(struct ath_hal *ah, u_int q);
158 extern HAL_BOOL ar5210ResetTxQueue(struct ath_hal *ah, u_int q);
159 extern uint32_t ar5210GetTxDP(struct ath_hal *, u_int);
160 extern HAL_BOOL ar5210SetTxDP(struct ath_hal *, u_int, uint32_t txdp);
161 extern HAL_BOOL ar5210UpdateTxTrigLevel(struct ath_hal *, HAL_BOOL);
162 extern uint32_t ar5210NumTxPending(struct ath_hal *, u_int);
163 extern HAL_BOOL ar5210StartTxDma(struct ath_hal *, u_int);
164 extern HAL_BOOL ar5210StopTxDma(struct ath_hal *, u_int);
165 extern HAL_BOOL ar5210SetupTxDesc(struct ath_hal *, struct ath_desc *,
171 extern HAL_BOOL ar5210SetupXTxDesc(struct ath_hal *, struct ath_desc *,
175 extern HAL_BOOL ar5210FillTxDesc(struct ath_hal *, struct ath_desc *,
179 extern HAL_STATUS ar5210ProcTxDesc(struct ath_hal *,
181 extern void ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
182 extern void ar5210IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
183 extern HAL_BOOL ar5210GetTxCompletionRates(struct ath_hal *ah,
185 extern void ar5210SetTxDescLink(struct ath_hal *ah, void *ds,
187 extern void ar5210GetTxDescLink(struct ath_hal *ah, void *ds,
189 extern void ar5210GetTxDescLinkPtr(struct ath_hal *ah, void *ds,
192 extern uint32_t ar5210GetRxDP(struct ath_hal *, HAL_RX_QUEUE);
193 extern void ar5210SetRxDP(struct ath_hal *, uint32_t rxdp, HAL_RX_QUEUE);
194 extern void ar5210EnableReceive(struct ath_hal *);
195 extern HAL_BOOL ar5210StopDmaReceive(struct ath_hal *);
196 extern void ar5210StartPcuReceive(struct ath_hal *, HAL_BOOL);
197 extern void ar5210StopPcuReceive(struct ath_hal *);
198 extern void ar5210SetMulticastFilter(struct ath_hal *,
200 extern HAL_BOOL ar5210ClrMulticastFilterIndex(struct ath_hal *, uint32_t);
201 extern HAL_BOOL ar5210SetMulticastFilterIndex(struct ath_hal *, uint32_t);
202 extern uint32_t ar5210GetRxFilter(struct ath_hal *);
203 extern void ar5210SetRxFilter(struct ath_hal *, uint32_t);
204 extern HAL_BOOL ar5210SetupRxDesc(struct ath_hal *, struct ath_desc *,
206 extern HAL_STATUS ar5210ProcRxDesc(struct ath_hal *, struct ath_desc *,
210 extern void ar5210GetMacAddress(struct ath_hal *, uint8_t *);
211 extern HAL_BOOL ar5210SetMacAddress(struct ath_hal *ah, const uint8_t *);
212 extern void ar5210GetBssIdMask(struct ath_hal *, uint8_t *);
213 extern HAL_BOOL ar5210SetBssIdMask(struct ath_hal *, const uint8_t *);
214 extern HAL_BOOL ar5210EepromRead(struct ath_hal *, u_int off, uint16_t *data);
215 extern HAL_BOOL ar5210EepromWrite(struct ath_hal *, u_int off, uint16_t data);
216 extern HAL_BOOL ar5210SetRegulatoryDomain(struct ath_hal *,
218 extern u_int ar5210GetWirelessModes(struct ath_hal *ah);
219 extern void ar5210EnableRfKill(struct ath_hal *);
220 extern HAL_BOOL ar5210GpioCfgInput(struct ath_hal *, uint32_t gpio);
221 extern HAL_BOOL ar5210GpioCfgOutput(struct ath_hal *, uint32_t gpio,
223 extern uint32_t ar5210GpioGet(struct ath_hal *, uint32_t gpio);
224 extern HAL_BOOL ar5210GpioSet(struct ath_hal *, uint32_t gpio, uint32_t);
225 extern void ar5210Gpio0SetIntr(struct ath_hal *, u_int, uint32_t ilevel);
226 extern void ar5210SetLedState(struct ath_hal *, HAL_LED_STATE);
227 extern u_int ar5210GetDefAntenna(struct ath_hal *);
228 extern void ar5210SetDefAntenna(struct ath_hal *, u_int);
229 extern HAL_ANT_SETTING ar5210GetAntennaSwitch(struct ath_hal *);
230 extern HAL_BOOL ar5210SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
231 extern void ar5210WriteAssocid(struct ath_hal *,
233 extern uint32_t ar5210GetTsf32(struct ath_hal *);
234 extern uint64_t ar5210GetTsf64(struct ath_hal *);
235 extern void ar5210ResetTsf(struct ath_hal *);
236 extern uint32_t ar5210GetRandomSeed(struct ath_hal *);
237 extern HAL_BOOL ar5210DetectCardPresent(struct ath_hal *);
238 extern void ar5210UpdateMibCounters(struct ath_hal *, HAL_MIB_STATS *);
239 extern void ar5210EnableHwEncryption(struct ath_hal *);
240 extern void ar5210DisableHwEncryption(struct ath_hal *);
241 extern HAL_RFGAIN ar5210GetRfgain(struct ath_hal *);
242 extern HAL_BOOL ar5210SetSifsTime(struct ath_hal *, u_int);
243 extern u_int ar5210GetSifsTime(struct ath_hal *);
244 extern HAL_BOOL ar5210SetSlotTime(struct ath_hal *, u_int);
245 extern u_int ar5210GetSlotTime(struct ath_hal *);
246 extern HAL_BOOL ar5210SetAckTimeout(struct ath_hal *, u_int);
247 extern u_int ar5210GetAckTimeout(struct ath_hal *);
248 extern HAL_BOOL ar5210SetAckCTSRate(struct ath_hal *, u_int);
249 extern u_int ar5210GetAckCTSRate(struct ath_hal *);
250 extern HAL_BOOL ar5210SetCTSTimeout(struct ath_hal *, u_int);
251 extern u_int ar5210GetCTSTimeout(struct ath_hal *);
252 extern HAL_BOOL ar5210SetDecompMask(struct ath_hal *, uint16_t, int);
253 void ar5210SetCoverageClass(struct ath_hal *, uint8_t, int);
254 extern HAL_STATUS ar5210SetQuiet(struct ath_hal *, uint32_t, uint32_t,
256 extern HAL_STATUS ar5210GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
258 extern HAL_BOOL ar5210SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
260 extern HAL_BOOL ar5210GetDiagState(struct ath_hal *ah, int request,
263 extern uint32_t ar5210Get11nExtBusy(struct ath_hal *);
264 extern HAL_BOOL ar5210GetMibCycleCounts(struct ath_hal *,
266 extern void ar5210SetChainMasks(struct ath_hal *, uint32_t, uint32_t);
267 extern void ar5210EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
268 extern void ar5210GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
269 extern void ar5210UpdateDiagReg(struct ath_hal *ah, uint32_t val);
270 extern void ar5210SetNav(struct ath_hal *ah, u_int val);
271 extern u_int ar5210GetNav(struct ath_hal *ah);
273 extern u_int ar5210GetKeyCacheSize(struct ath_hal *);
274 extern HAL_BOOL ar5210IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
275 extern HAL_BOOL ar5210ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
276 extern HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
278 extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
281 extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, HAL_POWER_MODE mode,
283 extern HAL_POWER_MODE ar5210GetPowerMode(struct ath_hal *);
285 extern void ar5210SetBeaconTimers(struct ath_hal *,
287 extern void ar5210BeaconInit(struct ath_hal *, uint32_t, uint32_t);
288 extern void ar5210SetStaBeaconTimers(struct ath_hal *,
290 extern void ar5210ResetStaBeaconTimers(struct ath_hal *);
291 extern uint64_t ar5210GetNextTBTT(struct ath_hal *);
293 extern HAL_BOOL ar5210IsInterruptPending(struct ath_hal *);
294 extern HAL_BOOL ar5210GetPendingInterrupts(struct ath_hal *, HAL_INT *);
295 extern HAL_INT ar5210GetInterrupts(struct ath_hal *);
296 extern HAL_INT ar5210SetInterrupts(struct ath_hal *, HAL_INT ints);
298 extern const HAL_RATE_TABLE *ar5210GetRateTable(struct ath_hal *, u_int mode);
300 extern HAL_BOOL ar5210AniControl(struct ath_hal *, HAL_ANI_CMD, int );
301 extern void ar5210AniPoll(struct ath_hal *, const struct ieee80211_channel *);
302 extern void ar5210RxMonitor(struct ath_hal *, const HAL_NODE_STATS *,
304 extern void ar5210MibEvent(struct ath_hal *, const HAL_NODE_STATS *);