Lines Matching refs:ath_hal

127 struct ath_hal;
129 extern void ar5210Detach(struct ath_hal *ah);
130 extern HAL_BOOL ar5210Reset(struct ath_hal *, HAL_OPMODE,
132 extern void ar5210SetPCUConfig(struct ath_hal *);
133 extern HAL_BOOL ar5210PhyDisable(struct ath_hal *);
134 extern HAL_BOOL ar5210Disable(struct ath_hal *);
135 extern HAL_BOOL ar5210ChipReset(struct ath_hal *, struct ieee80211_channel *);
136 extern HAL_BOOL ar5210PerCalibration(struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *);
137 extern HAL_BOOL ar5210PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan,
139 extern HAL_BOOL ar5210ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *);
140 extern int16_t ar5210GetNoiseFloor(struct ath_hal *);
141 extern int16_t ar5210GetNfAdjust(struct ath_hal *,
143 extern HAL_BOOL ar5210SetTxPowerLimit(struct ath_hal *, uint32_t limit);
144 extern HAL_BOOL ar5210SetTransmitPower(struct ath_hal *,
146 extern HAL_BOOL ar5210CalNoiseFloor(struct ath_hal *, HAL_CHANNEL_INTERNAL *);
147 extern HAL_BOOL ar5210ResetDma(struct ath_hal *, HAL_OPMODE);
149 extern HAL_BOOL ar5210SetTxQueueProps(struct ath_hal *ah, int q,
151 extern HAL_BOOL ar5210GetTxQueueProps(struct ath_hal *ah, int q,
153 extern int ar5210SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type,
155 extern HAL_BOOL ar5210ReleaseTxQueue(struct ath_hal *ah, u_int q);
156 extern HAL_BOOL ar5210ResetTxQueue(struct ath_hal *ah, u_int q);
157 extern uint32_t ar5210GetTxDP(struct ath_hal *, u_int);
158 extern HAL_BOOL ar5210SetTxDP(struct ath_hal *, u_int, uint32_t txdp);
159 extern HAL_BOOL ar5210UpdateTxTrigLevel(struct ath_hal *, HAL_BOOL);
160 extern uint32_t ar5210NumTxPending(struct ath_hal *, u_int);
161 extern HAL_BOOL ar5210StartTxDma(struct ath_hal *, u_int);
162 extern HAL_BOOL ar5210StopTxDma(struct ath_hal *, u_int);
163 extern HAL_BOOL ar5210SetupTxDesc(struct ath_hal *, struct ath_desc *,
169 extern HAL_BOOL ar5210SetupXTxDesc(struct ath_hal *, struct ath_desc *,
173 extern HAL_BOOL ar5210FillTxDesc(struct ath_hal *, struct ath_desc *,
177 extern HAL_STATUS ar5210ProcTxDesc(struct ath_hal *,
179 extern void ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
180 extern void ar5210IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
181 extern HAL_BOOL ar5210GetTxCompletionRates(struct ath_hal *ah,
183 extern void ar5210SetTxDescLink(struct ath_hal *ah, void *ds,
185 extern void ar5210GetTxDescLink(struct ath_hal *ah, void *ds,
187 extern void ar5210GetTxDescLinkPtr(struct ath_hal *ah, void *ds,
190 extern uint32_t ar5210GetRxDP(struct ath_hal *, HAL_RX_QUEUE);
191 extern void ar5210SetRxDP(struct ath_hal *, uint32_t rxdp, HAL_RX_QUEUE);
192 extern void ar5210EnableReceive(struct ath_hal *);
193 extern HAL_BOOL ar5210StopDmaReceive(struct ath_hal *);
194 extern void ar5210StartPcuReceive(struct ath_hal *);
195 extern void ar5210StopPcuReceive(struct ath_hal *);
196 extern void ar5210SetMulticastFilter(struct ath_hal *,
198 extern HAL_BOOL ar5210ClrMulticastFilterIndex(struct ath_hal *, uint32_t);
199 extern HAL_BOOL ar5210SetMulticastFilterIndex(struct ath_hal *, uint32_t);
200 extern uint32_t ar5210GetRxFilter(struct ath_hal *);
201 extern void ar5210SetRxFilter(struct ath_hal *, uint32_t);
202 extern HAL_BOOL ar5210SetupRxDesc(struct ath_hal *, struct ath_desc *,
204 extern HAL_STATUS ar5210ProcRxDesc(struct ath_hal *, struct ath_desc *,
208 extern void ar5210GetMacAddress(struct ath_hal *, uint8_t *);
209 extern HAL_BOOL ar5210SetMacAddress(struct ath_hal *ah, const uint8_t *);
210 extern void ar5210GetBssIdMask(struct ath_hal *, uint8_t *);
211 extern HAL_BOOL ar5210SetBssIdMask(struct ath_hal *, const uint8_t *);
212 extern HAL_BOOL ar5210EepromRead(struct ath_hal *, u_int off, uint16_t *data);
213 extern HAL_BOOL ar5210EepromWrite(struct ath_hal *, u_int off, uint16_t data);
214 extern HAL_BOOL ar5210SetRegulatoryDomain(struct ath_hal *,
216 extern u_int ar5210GetWirelessModes(struct ath_hal *ah);
217 extern void ar5210EnableRfKill(struct ath_hal *);
218 extern HAL_BOOL ar5210GpioCfgInput(struct ath_hal *, uint32_t gpio);
219 extern HAL_BOOL ar5210GpioCfgOutput(struct ath_hal *, uint32_t gpio,
221 extern uint32_t ar5210GpioGet(struct ath_hal *, uint32_t gpio);
222 extern HAL_BOOL ar5210GpioSet(struct ath_hal *, uint32_t gpio, uint32_t);
223 extern void ar5210Gpio0SetIntr(struct ath_hal *, u_int, uint32_t ilevel);
224 extern void ar5210SetLedState(struct ath_hal *, HAL_LED_STATE);
225 extern u_int ar5210GetDefAntenna(struct ath_hal *);
226 extern void ar5210SetDefAntenna(struct ath_hal *, u_int);
227 extern HAL_ANT_SETTING ar5210GetAntennaSwitch(struct ath_hal *);
228 extern HAL_BOOL ar5210SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
229 extern void ar5210WriteAssocid(struct ath_hal *,
231 extern uint32_t ar5210GetTsf32(struct ath_hal *);
232 extern uint64_t ar5210GetTsf64(struct ath_hal *);
233 extern void ar5210ResetTsf(struct ath_hal *);
234 extern uint32_t ar5210GetRandomSeed(struct ath_hal *);
235 extern HAL_BOOL ar5210DetectCardPresent(struct ath_hal *);
236 extern void ar5210UpdateMibCounters(struct ath_hal *, HAL_MIB_STATS *);
237 extern void ar5210EnableHwEncryption(struct ath_hal *);
238 extern void ar5210DisableHwEncryption(struct ath_hal *);
239 extern HAL_RFGAIN ar5210GetRfgain(struct ath_hal *);
240 extern HAL_BOOL ar5210SetSifsTime(struct ath_hal *, u_int);
241 extern u_int ar5210GetSifsTime(struct ath_hal *);
242 extern HAL_BOOL ar5210SetSlotTime(struct ath_hal *, u_int);
243 extern u_int ar5210GetSlotTime(struct ath_hal *);
244 extern HAL_BOOL ar5210SetAckTimeout(struct ath_hal *, u_int);
245 extern u_int ar5210GetAckTimeout(struct ath_hal *);
246 extern HAL_BOOL ar5210SetAckCTSRate(struct ath_hal *, u_int);
247 extern u_int ar5210GetAckCTSRate(struct ath_hal *);
248 extern HAL_BOOL ar5210SetCTSTimeout(struct ath_hal *, u_int);
249 extern u_int ar5210GetCTSTimeout(struct ath_hal *);
250 extern HAL_BOOL ar5210SetDecompMask(struct ath_hal *, uint16_t, int);
251 void ar5210SetCoverageClass(struct ath_hal *, uint8_t, int);
252 extern HAL_STATUS ar5210GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
254 extern HAL_BOOL ar5210SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
256 extern HAL_BOOL ar5210GetDiagState(struct ath_hal *ah, int request,
259 extern uint32_t ar5210Get11nExtBusy(struct ath_hal *);
260 extern HAL_BOOL ar5210GetMibCycleCounts(struct ath_hal *,
262 extern void ar5210SetChainMasks(struct ath_hal *, uint32_t, uint32_t);
263 extern void ar5210EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
264 extern void ar5210GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
265 extern void ar5210UpdateDiagReg(struct ath_hal *ah, uint32_t val);
267 extern u_int ar5210GetKeyCacheSize(struct ath_hal *);
268 extern HAL_BOOL ar5210IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
269 extern HAL_BOOL ar5210ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
270 extern HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
272 extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
275 extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, uint32_t powerRequest,
277 extern HAL_POWER_MODE ar5210GetPowerMode(struct ath_hal *);
279 extern void ar5210SetBeaconTimers(struct ath_hal *,
281 extern void ar5210BeaconInit(struct ath_hal *, uint32_t, uint32_t);
282 extern void ar5210SetStaBeaconTimers(struct ath_hal *,
284 extern void ar5210ResetStaBeaconTimers(struct ath_hal *);
285 extern uint64_t ar5210GetNextTBTT(struct ath_hal *);
287 extern HAL_BOOL ar5210IsInterruptPending(struct ath_hal *);
288 extern HAL_BOOL ar5210GetPendingInterrupts(struct ath_hal *, HAL_INT *);
289 extern HAL_INT ar5210GetInterrupts(struct ath_hal *);
290 extern HAL_INT ar5210SetInterrupts(struct ath_hal *, HAL_INT ints);
292 extern const HAL_RATE_TABLE *ar5210GetRateTable(struct ath_hal *, u_int mode);
294 extern HAL_BOOL ar5210AniControl(struct ath_hal *, HAL_ANI_CMD, int );
295 extern void ar5210AniPoll(struct ath_hal *, const struct ieee80211_channel *);
296 extern void ar5210RxMonitor(struct ath_hal *, const HAL_NODE_STATS *,
298 extern void ar5210MibEvent(struct ath_hal *, const HAL_NODE_STATS *);