Lines Matching refs:ath_hal

145 struct ath_hal;
147 extern void ar5211Detach(struct ath_hal *);
149 extern HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE,
152 extern HAL_BOOL ar5211PhyDisable(struct ath_hal *);
153 extern HAL_BOOL ar5211Disable(struct ath_hal *);
154 extern HAL_BOOL ar5211ChipReset(struct ath_hal *,
156 extern HAL_BOOL ar5211PerCalibration(struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *);
157 extern HAL_BOOL ar5211PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan,
159 extern HAL_BOOL ar5211ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *);
160 extern HAL_BOOL ar5211SetTxPowerLimit(struct ath_hal *, uint32_t limit);
161 extern HAL_BOOL ar5211CalNoiseFloor(struct ath_hal *,
163 extern HAL_BOOL ar5211SetAntennaSwitchInternal(struct ath_hal *,
165 extern int16_t ar5211GetNfAdjust(struct ath_hal *,
167 extern HAL_BOOL ar5211ResetDma(struct ath_hal *, HAL_OPMODE);
168 extern void ar5211InitializeGainValues(struct ath_hal *);
169 extern HAL_RFGAIN ar5211GetRfgain(struct ath_hal *);
170 extern void ar5211SetPCUConfig(struct ath_hal *);
172 extern HAL_BOOL ar5211SetTxQueueProps(struct ath_hal *ah, int q,
174 extern HAL_BOOL ar5211GetTxQueueProps(struct ath_hal *ah, int q,
176 extern int ar5211SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type,
178 extern HAL_BOOL ar5211ReleaseTxQueue(struct ath_hal *ah, u_int q);
179 extern HAL_BOOL ar5211ResetTxQueue(struct ath_hal *ah, u_int q);
180 extern uint32_t ar5211GetTxDP(struct ath_hal *, u_int);
181 extern HAL_BOOL ar5211SetTxDP(struct ath_hal *, u_int, uint32_t txdp);
182 extern HAL_BOOL ar5211UpdateTxTrigLevel(struct ath_hal *, HAL_BOOL);
183 extern HAL_BOOL ar5211StartTxDma(struct ath_hal *, u_int);
184 extern HAL_BOOL ar5211StopTxDma(struct ath_hal *, u_int);
185 extern uint32_t ar5211NumTxPending(struct ath_hal *, u_int qnum);
186 extern HAL_BOOL ar5211IsTxQueueStopped(struct ath_hal *, u_int);
187 extern HAL_BOOL ar5211GetTransmitFilterIndex(struct ath_hal *, uint32_t);
188 extern HAL_BOOL ar5211SetupTxDesc(struct ath_hal *, struct ath_desc *,
194 extern HAL_BOOL ar5211SetupXTxDesc(struct ath_hal *, struct ath_desc *,
198 extern HAL_BOOL ar5211FillTxDesc(struct ath_hal *, struct ath_desc *,
202 extern HAL_STATUS ar5211ProcTxDesc(struct ath_hal *,
204 extern void ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
205 extern void ar5211IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
206 extern HAL_BOOL ar5211GetTxCompletionRates(struct ath_hal *ah,
208 extern void ar5211SetTxDescLink(struct ath_hal *ah, void *ds,
210 extern void ar5211GetTxDescLink(struct ath_hal *ah, void *ds,
212 extern void ar5211GetTxDescLinkPtr(struct ath_hal *ah, void *ds,
215 extern uint32_t ar5211GetRxDP(struct ath_hal *, HAL_RX_QUEUE);
216 extern void ar5211SetRxDP(struct ath_hal *, uint32_t rxdp, HAL_RX_QUEUE);
217 extern void ar5211EnableReceive(struct ath_hal *);
218 extern HAL_BOOL ar5211StopDmaReceive(struct ath_hal *);
219 extern void ar5211StartPcuReceive(struct ath_hal *);
220 extern void ar5211StopPcuReceive(struct ath_hal *);
221 extern void ar5211SetMulticastFilter(struct ath_hal *,
223 extern HAL_BOOL ar5211ClrMulticastFilterIndex(struct ath_hal *, uint32_t);
224 extern HAL_BOOL ar5211SetMulticastFilterIndex(struct ath_hal *, uint32_t);
225 extern uint32_t ar5211GetRxFilter(struct ath_hal *);
226 extern void ar5211SetRxFilter(struct ath_hal *, uint32_t);
227 extern HAL_BOOL ar5211SetupRxDesc(struct ath_hal *, struct ath_desc *,
229 extern HAL_STATUS ar5211ProcRxDesc(struct ath_hal *, struct ath_desc *,
233 extern void ar5211GetMacAddress(struct ath_hal *, uint8_t *);
234 extern HAL_BOOL ar5211SetMacAddress(struct ath_hal *ah, const uint8_t *);
235 extern void ar5211GetBssIdMask(struct ath_hal *, uint8_t *);
236 extern HAL_BOOL ar5211SetBssIdMask(struct ath_hal *, const uint8_t *);
237 extern HAL_BOOL ar5211EepromRead(struct ath_hal *, u_int off, uint16_t *data);
238 extern HAL_BOOL ar5211EepromWrite(struct ath_hal *, u_int off, uint16_t data);
239 extern HAL_BOOL ar5211SetRegulatoryDomain(struct ath_hal *,
241 extern u_int ar5211GetWirelessModes(struct ath_hal *);
242 extern void ar5211EnableRfKill(struct ath_hal *);
243 extern uint32_t ar5211GpioGet(struct ath_hal *, uint32_t gpio);
244 extern void ar5211GpioSetIntr(struct ath_hal *, u_int, uint32_t ilevel);
245 extern HAL_BOOL ar5211GpioCfgOutput(struct ath_hal *, uint32_t gpio,
247 extern HAL_BOOL ar5211GpioCfgInput(struct ath_hal *, uint32_t gpio);
248 extern HAL_BOOL ar5211GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val);
249 extern void ar5211SetLedState(struct ath_hal *, HAL_LED_STATE);
250 extern u_int ar5211AntennaGet(struct ath_hal *);
251 extern void ar5211WriteAssocid(struct ath_hal *,
253 extern uint64_t ar5211GetTsf64(struct ath_hal *);
254 extern uint32_t ar5211GetTsf32(struct ath_hal *);
255 extern void ar5211ResetTsf(struct ath_hal *);
256 extern uint32_t ar5211GetMaxTurboRate(struct ath_hal *);
257 extern uint32_t ar5211GetRandomSeed(struct ath_hal *);
258 extern HAL_BOOL ar5211DetectCardPresent(struct ath_hal *);
259 extern void ar5211UpdateMibCounters(struct ath_hal *, HAL_MIB_STATS *);
260 extern void ar5211EnableHwEncryption(struct ath_hal *);
261 extern void ar5211DisableHwEncryption(struct ath_hal *);
262 extern HAL_BOOL ar5211SetSlotTime(struct ath_hal *, u_int);
263 extern u_int ar5211GetSlotTime(struct ath_hal *);
264 extern HAL_BOOL ar5211SetAckTimeout(struct ath_hal *, u_int);
265 extern u_int ar5211GetAckTimeout(struct ath_hal *);
266 extern HAL_BOOL ar5211SetAckCTSRate(struct ath_hal *, u_int);
267 extern u_int ar5211GetAckCTSRate(struct ath_hal *);
268 extern HAL_BOOL ar5211SetCTSTimeout(struct ath_hal *, u_int);
269 extern u_int ar5211GetCTSTimeout(struct ath_hal *);
270 extern HAL_BOOL ar5211SetSifsTime(struct ath_hal *, u_int);
271 extern u_int ar5211GetSifsTime(struct ath_hal *);
272 extern HAL_BOOL ar5211SetDecompMask(struct ath_hal *, uint16_t, int);
273 extern void ar5211SetCoverageClass(struct ath_hal *, uint8_t, int);
274 extern uint32_t ar5211GetCurRssi(struct ath_hal *);
275 extern u_int ar5211GetDefAntenna(struct ath_hal *);
276 extern void ar5211SetDefAntenna(struct ath_hal *ah, u_int antenna);
277 extern HAL_ANT_SETTING ar5211GetAntennaSwitch(struct ath_hal *);
278 extern HAL_BOOL ar5211SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
279 extern HAL_STATUS ar5211GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
281 extern HAL_BOOL ar5211SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
283 extern HAL_BOOL ar5211GetDiagState(struct ath_hal *ah, int request,
286 extern uint32_t ar5211Get11nExtBusy(struct ath_hal *);
287 extern HAL_BOOL ar5211GetMibCycleCounts(struct ath_hal *,
289 extern void ar5211SetChainMasks(struct ath_hal *ah, uint32_t, uint32_t);
291 extern void ar5211EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
292 extern void ar5211GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
294 extern u_int ar5211GetKeyCacheSize(struct ath_hal *);
295 extern HAL_BOOL ar5211IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
296 extern HAL_BOOL ar5211ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
297 extern HAL_BOOL ar5211SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
300 extern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *,
303 extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, uint32_t powerRequest,
305 extern HAL_POWER_MODE ar5211GetPowerMode(struct ath_hal *);
307 extern void ar5211SetBeaconTimers(struct ath_hal *,
309 extern void ar5211BeaconInit(struct ath_hal *, uint32_t, uint32_t);
310 extern void ar5211SetStaBeaconTimers(struct ath_hal *,
312 extern void ar5211ResetStaBeaconTimers(struct ath_hal *);
313 extern uint64_t ar5211GetNextTBTT(struct ath_hal *);
315 extern HAL_BOOL ar5211IsInterruptPending(struct ath_hal *);
316 extern HAL_BOOL ar5211GetPendingInterrupts(struct ath_hal *, HAL_INT *);
317 extern HAL_INT ar5211GetInterrupts(struct ath_hal *);
318 extern HAL_INT ar5211SetInterrupts(struct ath_hal *, HAL_INT ints);
320 extern const HAL_RATE_TABLE *ar5211GetRateTable(struct ath_hal *, u_int mode);
322 extern HAL_BOOL ar5211AniControl(struct ath_hal *, HAL_ANI_CMD, int );
323 extern void ar5211RxMonitor(struct ath_hal *, const HAL_NODE_STATS *,
325 extern void ar5211AniPoll(struct ath_hal *, const struct ieee80211_channel *);
326 extern void ar5211MibEvent(struct ath_hal *, const HAL_NODE_STATS *);