Lines Matching defs:ath_hal

25  * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal
1100 #include "ath_hal/ah_btcoex.h"
1190 * ath_hal structure for use with the device. Hardware-related operations
1196 struct ath_hal {
1221 const HAL_RATE_TABLE *__ahdecl(*ah_getRateTable)(struct ath_hal *,
1223 void __ahdecl(*ah_detach)(struct ath_hal*);
1226 HAL_BOOL __ahdecl(*ah_reset)(struct ath_hal *, HAL_OPMODE,
1231 HAL_BOOL __ahdecl(*ah_phyDisable)(struct ath_hal *);
1232 HAL_BOOL __ahdecl(*ah_disable)(struct ath_hal *);
1233 void __ahdecl(*ah_configPCIE)(struct ath_hal *, HAL_BOOL restore,
1235 void __ahdecl(*ah_disablePCIE)(struct ath_hal *);
1236 void __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
1237 HAL_BOOL __ahdecl(*ah_perCalibration)(struct ath_hal*,
1239 HAL_BOOL __ahdecl(*ah_perCalibrationN)(struct ath_hal *,
1242 HAL_BOOL __ahdecl(*ah_resetCalValid)(struct ath_hal *,
1244 HAL_BOOL __ahdecl(*ah_setTxPower)(struct ath_hal *,
1246 HAL_BOOL __ahdecl(*ah_setTxPowerLimit)(struct ath_hal *, uint32_t);
1247 HAL_BOOL __ahdecl(*ah_setBoardValues)(struct ath_hal *,
1251 HAL_BOOL __ahdecl(*ah_updateTxTrigLevel)(struct ath_hal*,
1253 int __ahdecl(*ah_setupTxQueue)(struct ath_hal *, HAL_TX_QUEUE,
1255 HAL_BOOL __ahdecl(*ah_setTxQueueProps)(struct ath_hal *, int q,
1257 HAL_BOOL __ahdecl(*ah_getTxQueueProps)(struct ath_hal *, int q,
1259 HAL_BOOL __ahdecl(*ah_releaseTxQueue)(struct ath_hal *ah, u_int q);
1260 HAL_BOOL __ahdecl(*ah_resetTxQueue)(struct ath_hal *ah, u_int q);
1261 uint32_t __ahdecl(*ah_getTxDP)(struct ath_hal*, u_int);
1262 HAL_BOOL __ahdecl(*ah_setTxDP)(struct ath_hal*, u_int, uint32_t txdp);
1263 uint32_t __ahdecl(*ah_numTxPending)(struct ath_hal *, u_int q);
1264 HAL_BOOL __ahdecl(*ah_startTxDma)(struct ath_hal*, u_int);
1265 HAL_BOOL __ahdecl(*ah_stopTxDma)(struct ath_hal*, u_int);
1266 HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_desc *,
1274 HAL_BOOL __ahdecl(*ah_setupXTxDesc)(struct ath_hal *, struct ath_desc*,
1278 HAL_BOOL __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_desc *,
1282 HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *,
1284 void __ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, uint32_t *);
1285 void __ahdecl(*ah_reqTxIntrDesc)(struct ath_hal *, struct ath_desc*);
1286 HAL_BOOL __ahdecl(*ah_getTxCompletionRates)(struct ath_hal *,
1288 void __ahdecl(*ah_setTxDescLink)(struct ath_hal *ah, void *ds,
1290 void __ahdecl(*ah_getTxDescLink)(struct ath_hal *ah, void *ds,
1292 void __ahdecl(*ah_getTxDescLinkPtr)(struct ath_hal *ah, void *ds,
1294 void __ahdecl(*ah_setupTxStatusRing)(struct ath_hal *,
1297 void __ahdecl(*ah_getTxRawTxDesc)(struct ath_hal *, u_int32_t *);
1300 uint32_t __ahdecl(*ah_getRxDP)(struct ath_hal*, HAL_RX_QUEUE);
1301 void __ahdecl(*ah_setRxDP)(struct ath_hal*, uint32_t rxdp, HAL_RX_QUEUE);
1302 void __ahdecl(*ah_enableReceive)(struct ath_hal*);
1303 HAL_BOOL __ahdecl(*ah_stopDmaReceive)(struct ath_hal*);
1304 void __ahdecl(*ah_startPcuReceive)(struct ath_hal*);
1305 void __ahdecl(*ah_stopPcuReceive)(struct ath_hal*);
1306 void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*,
1308 HAL_BOOL __ahdecl(*ah_setMulticastFilterIndex)(struct ath_hal*,
1310 HAL_BOOL __ahdecl(*ah_clrMulticastFilterIndex)(struct ath_hal*,
1312 uint32_t __ahdecl(*ah_getRxFilter)(struct ath_hal*);
1313 void __ahdecl(*ah_setRxFilter)(struct ath_hal*, uint32_t);
1314 HAL_BOOL __ahdecl(*ah_setupRxDesc)(struct ath_hal *, struct ath_desc *,
1316 HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *,
1320 void __ahdecl(*ah_rxMonitor)(struct ath_hal *,
1323 void __ahdecl(*ah_aniPoll)(struct ath_hal *,
1325 void __ahdecl(*ah_procMibEvent)(struct ath_hal *,
1329 HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
1332 HAL_BOOL __ahdecl(*ah_setCapability)(struct ath_hal *,
1335 HAL_BOOL __ahdecl(*ah_getDiagState)(struct ath_hal *, int request,
1338 void __ahdecl(*ah_getMacAddress)(struct ath_hal *, uint8_t *);
1339 HAL_BOOL __ahdecl(*ah_setMacAddress)(struct ath_hal *, const uint8_t*);
1340 void __ahdecl(*ah_getBssIdMask)(struct ath_hal *, uint8_t *);
1341 HAL_BOOL __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const uint8_t*);
1342 HAL_BOOL __ahdecl(*ah_setRegulatoryDomain)(struct ath_hal*,
1344 void __ahdecl(*ah_setLedState)(struct ath_hal*, HAL_LED_STATE);
1345 void __ahdecl(*ah_writeAssocid)(struct ath_hal*,
1347 HAL_BOOL __ahdecl(*ah_gpioCfgOutput)(struct ath_hal *,
1349 HAL_BOOL __ahdecl(*ah_gpioCfgInput)(struct ath_hal *, uint32_t gpio);
1350 uint32_t __ahdecl(*ah_gpioGet)(struct ath_hal *, uint32_t gpio);
1351 HAL_BOOL __ahdecl(*ah_gpioSet)(struct ath_hal *,
1353 void __ahdecl(*ah_gpioSetIntr)(struct ath_hal*, u_int, uint32_t);
1354 uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*);
1355 uint64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
1356 void __ahdecl(*ah_setTsf64)(struct ath_hal *, uint64_t);
1357 void __ahdecl(*ah_resetTsf)(struct ath_hal*);
1358 HAL_BOOL __ahdecl(*ah_detectCardPresent)(struct ath_hal*);
1359 void __ahdecl(*ah_updateMibCounters)(struct ath_hal*,
1361 HAL_RFGAIN __ahdecl(*ah_getRfGain)(struct ath_hal*);
1362 u_int __ahdecl(*ah_getDefAntenna)(struct ath_hal*);
1363 void __ahdecl(*ah_setDefAntenna)(struct ath_hal*, u_int);
1364 HAL_ANT_SETTING __ahdecl(*ah_getAntennaSwitch)(struct ath_hal*);
1365 HAL_BOOL __ahdecl(*ah_setAntennaSwitch)(struct ath_hal*,
1367 HAL_BOOL __ahdecl(*ah_setSifsTime)(struct ath_hal*, u_int);
1368 u_int __ahdecl(*ah_getSifsTime)(struct ath_hal*);
1369 HAL_BOOL __ahdecl(*ah_setSlotTime)(struct ath_hal*, u_int);
1370 u_int __ahdecl(*ah_getSlotTime)(struct ath_hal*);
1371 HAL_BOOL __ahdecl(*ah_setAckTimeout)(struct ath_hal*, u_int);
1372 u_int __ahdecl(*ah_getAckTimeout)(struct ath_hal*);
1373 HAL_BOOL __ahdecl(*ah_setAckCTSRate)(struct ath_hal*, u_int);
1374 u_int __ahdecl(*ah_getAckCTSRate)(struct ath_hal*);
1375 HAL_BOOL __ahdecl(*ah_setCTSTimeout)(struct ath_hal*, u_int);
1376 u_int __ahdecl(*ah_getCTSTimeout)(struct ath_hal*);
1377 HAL_BOOL __ahdecl(*ah_setDecompMask)(struct ath_hal*, uint16_t, int);
1378 void __ahdecl(*ah_setCoverageClass)(struct ath_hal*, uint8_t, int);
1379 HAL_STATUS __ahdecl(*ah_setQuiet)(struct ath_hal *ah, uint32_t period,
1382 void __ahdecl(*ah_setChainMasks)(struct ath_hal *,
1386 void __ahdecl(*ah_enableDfs)(struct ath_hal *ah,
1388 void __ahdecl(*ah_getDfsThresh)(struct ath_hal *ah,
1390 HAL_BOOL __ahdecl(*ah_getDfsDefaultThresh)(struct ath_hal *ah,
1392 HAL_BOOL __ahdecl(*ah_procRadarEvent)(struct ath_hal *ah,
1395 HAL_BOOL __ahdecl(*ah_isFastClockEnabled)(struct ath_hal *ah);
1398 void __ahdecl(*ah_spectralConfigure)(struct ath_hal *ah,
1400 void __ahdecl(*ah_spectralGetConfig)(struct ath_hal *ah,
1402 void __ahdecl(*ah_spectralStart)(struct ath_hal *);
1403 void __ahdecl(*ah_spectralStop)(struct ath_hal *);
1404 HAL_BOOL __ahdecl(*ah_spectralIsEnabled)(struct ath_hal *);
1405 HAL_BOOL __ahdecl(*ah_spectralIsActive)(struct ath_hal *);
1409 uint32_t __ahdecl(*ah_getKeyCacheSize)(struct ath_hal*);
1410 HAL_BOOL __ahdecl(*ah_resetKeyCacheEntry)(struct ath_hal*, uint16_t);
1411 HAL_BOOL __ahdecl(*ah_isKeyCacheEntryValid)(struct ath_hal *,
1413 HAL_BOOL __ahdecl(*ah_setKeyCacheEntry)(struct ath_hal*,
1416 HAL_BOOL __ahdecl(*ah_setKeyCacheEntryMac)(struct ath_hal*,
1420 HAL_BOOL __ahdecl(*ah_setPowerMode)(struct ath_hal*,
1422 HAL_POWER_MODE __ahdecl(*ah_getPowerMode)(struct ath_hal*);
1423 int16_t __ahdecl(*ah_getChanNoise)(struct ath_hal *,
1427 void __ahdecl(*ah_setBeaconTimers)(struct ath_hal*,
1430 void __ahdecl(*ah_beaconInit)(struct ath_hal *,
1432 void __ahdecl(*ah_setStationBeaconTimers)(struct ath_hal*,
1434 void __ahdecl(*ah_resetStationBeaconTimers)(struct ath_hal*);
1435 uint64_t __ahdecl(*ah_getNextTBTT)(struct ath_hal *);
1438 HAL_BOOL __ahdecl(*ah_chainTxDesc)(struct ath_hal *,
1445 HAL_BOOL __ahdecl(*ah_setupFirstTxDesc)(struct ath_hal *,
1448 HAL_BOOL __ahdecl(*ah_setupLastTxDesc)(struct ath_hal *,
1450 void __ahdecl(*ah_set11nRateScenario)(struct ath_hal *,
1460 void __ahdecl(*ah_set11nTxDesc)(struct ath_hal *,
1463 void __ahdecl(*ah_set11nAggrFirst)(struct ath_hal *,
1465 void __ahdecl(*ah_set11nAggrMiddle)(struct ath_hal *,
1467 void __ahdecl(*ah_set11nAggrLast)(struct ath_hal *,
1469 void __ahdecl(*ah_clr11nAggr)(struct ath_hal *,
1471 void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *,
1473 void __ahdecl(*ah_set11nVirtMoreFrag)(struct ath_hal *,
1476 HAL_BOOL __ahdecl(*ah_getMibCycleCounts) (struct ath_hal *,
1479 uint32_t __ahdecl(*ah_get11nExtBusy)(struct ath_hal *);
1480 void __ahdecl(*ah_set11nMac2040)(struct ath_hal *,
1482 HAL_HT_RXCLEAR __ahdecl(*ah_get11nRxClear)(struct ath_hal *ah);
1483 void __ahdecl(*ah_set11nRxClear)(struct ath_hal *,
1487 HAL_BOOL __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
1488 HAL_BOOL __ahdecl(*ah_getPendingInterrupts)(struct ath_hal*, HAL_INT*);
1489 HAL_INT __ahdecl(*ah_getInterrupts)(struct ath_hal*);
1490 HAL_INT __ahdecl(*ah_setInterrupts)(struct ath_hal*, HAL_INT);
1493 void __ahdecl(*ah_btCoexSetInfo)(struct ath_hal *,
1495 void __ahdecl(*ah_btCoexSetConfig)(struct ath_hal *,
1497 void __ahdecl(*ah_btCoexSetQcuThresh)(struct ath_hal *,
1499 void __ahdecl(*ah_btCoexSetWeights)(struct ath_hal *,
1501 void __ahdecl(*ah_btCoexSetBmissThresh)(struct ath_hal *,
1503 void __ahdecl(*ah_btCoexSetParameter)(struct ath_hal *,
1505 void __ahdecl(*ah_btCoexDisable)(struct ath_hal *);
1506 int __ahdecl(*ah_btCoexEnable)(struct ath_hal *);
1509 void __ahdecl(*ah_btMciSetup)(struct ath_hal *,
1511 HAL_BOOL __ahdecl(*ah_btMciSendMessage)(struct ath_hal *,
1514 uint32_t __ahdecl(*ah_btMciGetInterrupt)(struct ath_hal *,
1516 uint32_t __ahdecl(*ah_btMciState)(struct ath_hal *,
1518 void __ahdecl(*ah_btMciDetach)(struct ath_hal *);
1521 void __ahdecl(*ah_divLnaConfGet)(struct ath_hal *,
1523 void __ahdecl(*ah_divLnaConfSet)(struct ath_hal *,
1547 extern struct ath_hal * __ahdecl ath_hal_attach(uint16_t devid, HAL_SOFTC,
1551 extern const char *ath_hal_mac_name(struct ath_hal *);
1552 extern const char *ath_hal_rf_name(struct ath_hal *);
1576 extern HAL_STATUS __ahdecl ath_hal_getchannels(struct ath_hal *,
1585 extern HAL_STATUS __ahdecl ath_hal_init_channels(struct ath_hal *,
1594 extern HAL_STATUS __ahdecl ath_hal_set_channels(struct ath_hal *,
1602 extern int __ahdecl ath_hal_get_mimo_chan_noise(struct ath_hal *ah,
1610 extern void __ahdecl ath_hal_process_noisefloor(struct ath_hal *ah);
1615 extern u_int __ahdecl ath_hal_getwirelessmodes(struct ath_hal*);
1620 extern int ath_hal_get_curmode(struct ath_hal *ah,
1626 extern uint32_t __ahdecl ath_hal_pkt_txtime(struct ath_hal *ah,
1639 extern uint16_t __ahdecl ath_hal_computetxtime(struct ath_hal *,
1646 extern void __ahdecl ath_hal_adjusttsf(struct ath_hal *ah, int32_t tsfdelta);
1651 void __ahdecl ath_hal_setcca(struct ath_hal *ah, int ena);
1656 int __ahdecl ath_hal_getcca(struct ath_hal *ah);
1661 HAL_BOOL __ahdecl ath_hal_EepromDataRead(struct ath_hal *ah,
1668 ath_hal_get_mfp_qos(struct ath_hal *ah)