Home
last modified time | relevance | path

Searched refs:HAL_OK (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/sys/dev/ath/ath_hal/
H A Dah.c708 return HAL_OK; in ath_hal_getcapability()
711 return HAL_OK; in ath_hal_getcapability()
718 return pCap->halHwPhyCounterSupport ? HAL_OK : HAL_ENXIO; in ath_hal_getcapability()
725 return HAL_OK; in ath_hal_getcapability()
728 return HAL_OK; in ath_hal_getcapability()
730 return pCap->halVEOLSupport ? HAL_OK : HAL_ENOTSUPP; in ath_hal_getcapability()
732 return pCap->halPSPollBroken ? HAL_ENOTSUPP : HAL_OK; in ath_hal_getcapability()
734 return pCap->halCompressSupport ? HAL_OK : HAL_ENOTSUPP; in ath_hal_getcapability()
736 return pCap->halBurstSupport ? HAL_OK : HAL_ENOTSUPP; in ath_hal_getcapability()
738 return pCap->halFastFramesSupport ? HAL_OK : HAL_ENOTSUPP; in ath_hal_getcapability()
[all …]
H A Dah_eeprom_v14.c41 return HAL_OK; in v14EepromGet()
44 return HAL_OK; in v14EepromGet()
57 return HAL_OK; in v14EepromGet()
89 return HAL_OK; in v14EepromGet()
90 return pBase->fastClk5g ? HAL_OK : HAL_EIO; in v14EepromGet()
93 return pBase->openLoopPwrCntl ? HAL_OK : HAL_EIO; in v14EepromGet()
97 return HAL_OK; in v14EepromGet()
105 return HAL_OK; in v14EepromGet()
109 HAL_OK : HAL_EIO; in v14EepromGet()
114 HAL_OK : HAL_EIO; in v14EepromGet()
[all …]
H A Dah_eeprom_9287.c42 return HAL_OK; in v9287EepromGet()
55 return HAL_OK; in v9287EepromGet()
72 return pBase->openLoopPwrCntl ? HAL_OK : HAL_EIO; in v9287EepromGet()
79 HAL_OK : HAL_EIO; in v9287EepromGet()
95 return HAL_OK; in v9287EepromGet()
98 return HAL_OK; in v9287EepromGet()
101 return HAL_OK; in v9287EepromGet()
107 return HAL_OK; in v9287EepromGet()
113 return HAL_OK; in v9287EepromGet()
131 return HAL_OK; in v9287EepromSet()
[all …]
H A Dah_eeprom_v4k.c43 return HAL_OK; in v4kEepromGet()
56 return HAL_OK; in v4kEepromGet()
85 HAL_OK : HAL_EIO; in v4kEepromGet()
90 HAL_OK : HAL_EIO; in v4kEepromGet()
105 return HAL_OK; in v4kEepromGet()
108 return HAL_OK; in v4kEepromGet()
126 return HAL_OK; in v4kEepromSet()
395 return HAL_OK; in ath_hal_v4kEepromAttach()
H A Dah_eeprom_v3.c1568 return HAL_OK; in legacyEepromGet()
1571 return HAL_OK; in legacyEepromGet()
1576 return HAL_OK; in legacyEepromGet()
1597 return HAL_OK; in legacyEepromGet()
1600 return ee->ee_rfKill ? HAL_OK : HAL_EIO; in legacyEepromGet()
1603 return ee->ee_Amode ? HAL_OK : HAL_EIO; in legacyEepromGet()
1606 return ee->ee_Bmode ? HAL_OK : HAL_EIO; in legacyEepromGet()
1609 return ee->ee_Gmode ? HAL_OK : HAL_EIO; in legacyEepromGet()
1612 return ee->ee_turbo5Disable ? HAL_OK : HAL_EIO; in legacyEepromGet()
1615 return ee->ee_turbo2Disable ? HAL_OK : HAL_EIO; in legacyEepromGet()
[all …]
H A Dah_eeprom_v1.c54 return HAL_OK; in v1EepromGet()
57 return HAL_OK; in v1EepromGet()
60 return ee->ee_rfKill ? HAL_OK : HAL_EIO; in v1EepromGet()
64 HAL_OK : HAL_EIO; in v1EepromGet()
252 return HAL_OK; in ath_hal_v1EepromAttach()
H A Dah_regdomain.c360 return HAL_OK; in getregstate()
673 if (status != HAL_OK) in getchannels()
712 return HAL_OK; in getchannels()
825 if (status == HAL_OK && in ath_hal_init_channels()
875 if (status == HAL_OK && assignPrivateChannels(ah, chans, nchans, rd)) { in ath_hal_set_channels()
885 if (status == HAL_OK) { in ath_hal_set_channels()
/freebsd/sys/dev/ath/
H A Dif_athvar.h1212 (ath_hal_getcapability(_ah, HAL_CAP_CIPHER, _cipher, NULL) == HAL_OK)
1214 (ath_hal_getcapability(_ah, HAL_CAP_REG_DMN, 0, (_prd)) == HAL_OK)
1220 (ath_hal_getcapability(_ah, HAL_CAP_TKIP_MIC, 1, NULL) == HAL_OK)
1224 (ath_hal_getcapability(_ah, HAL_CAP_TKIP_SPLIT, 0, NULL) == HAL_OK)
1226 (ath_hal_getcapability(_ah, HAL_CAP_TKIP_SPLIT, 1, NULL) == HAL_OK)
1230 (ath_hal_getcapability(_ah, HAL_CAP_WME_TKIPMIC, 0, NULL) == HAL_OK)
1232 (ath_hal_getcapability(_ah, HAL_CAP_PHYCOUNTERS, 0, NULL) == HAL_OK)
1234 (ath_hal_getcapability(_ah, HAL_CAP_DIVERSITY, 0, NULL) == HAL_OK)
1236 (ath_hal_getcapability(_ah, HAL_CAP_DIVERSITY, 1, NULL) == HAL_OK)
1244 (ath_hal_getcapability(_ah, HAL_CAP_DIAG, 0, _pv) == HAL_OK)
[all …]
H A Dif_ath_rx.c205 0, NULL) == HAL_OK && in ath_calcrxfilter()
842 ath_printrxbuf(sc, bf, 0, status == HAL_OK); in ath_rx_pkt()
1165 ath_printrxbuf(sc, bf, 0, status == HAL_OK); in ath_rx_proc()
1424 if (status == HAL_OK || (sc->sc_debug & ATH_DEBUG_FATAL)) in ath_legacy_stoprecv()
1425 ath_printrxbuf(sc, bf, ix, status == HAL_OK); in ath_legacy_stoprecv()
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c647 return HAL_OK; in ar5212SetQuiet()
806 HAL_OK : HAL_ENOTSUPP; in ar5212GetCapability()
812 return HAL_OK; in ar5212GetCapability()
819 return HAL_OK; in ar5212GetCapability()
822 AR_STA_ID1_CRPT_MIC_ENABLE) ? HAL_OK : HAL_ENXIO; in ar5212GetCapability()
829 HAL_ENXIO : HAL_OK; in ar5212GetCapability()
832 AR_MISC_MODE_MIC_NEW_LOC_ENABLE) ? HAL_ENXIO : HAL_OK; in ar5212GetCapability()
839 AH_PRIVATE(ah)->ah_macRev >= 8) ? HAL_OK : HAL_ENOTSUPP; in ar5212GetCapability()
843 return HAL_OK; in ar5212GetCapability()
845 return ahp->ah_diversity ? HAL_OK : HAL_ENXIO; in ar5212GetCapability()
[all …]
H A Dar5212_attach.c495 if (ecode != HAL_OK) { in ar5212Attach()
527 if (ecode != HAL_OK) { in ar5212Attach()
561 if (ecode != HAL_OK) { in ar5212Attach()
726 if (ath_hal_eepromGet(ah, AR_EEP_OPCAP, &capField) != HAL_OK) { in ar5212FillCapabilityInfo()
864 if (ath_hal_eepromGet(ah, AR_EEP_MAXQCU, &val) == HAL_OK) in ar5212FillCapabilityInfo()
869 if (ath_hal_eepromGet(ah, AR_EEP_KCENTRIES, &val) == HAL_OK) in ar5212FillCapabilityInfo()
884 ath_hal_eepromGet(ah, AR_EEP_RFSILENT, &ahpriv->ah_rfsilent) == HAL_OK) { in ar5212FillCapabilityInfo()
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_misc.c39 if (ar9300_get_capability(ah, HAL_CAP_BB_RIFS_HANG, 0, AH_NULL) == HAL_OK) { in ar9300_get_hw_hangs()
42 if (ar9300_get_capability(ah, HAL_CAP_BB_DFS_HANG, 0, AH_NULL) == HAL_OK) { in ar9300_get_hw_hangs()
46 == HAL_OK) in ar9300_get_hw_hangs()
50 if (ar9300_get_capability(ah, HAL_CAP_MAC_HANG, 0, AH_NULL) == HAL_OK) { in ar9300_get_hw_hangs()
54 == HAL_OK) in ar9300_get_hw_hangs()
636 status = HAL_OK; in ar9300_set_quiet()
646 status = HAL_OK; in ar9300_set_quiet()
700 return HAL_OK; in ar9300_get_capability()
707 return HAL_OK; in ar9300_get_capability()
710 AR_STA_ID1_CRPT_MIC_ENABLE) ? HAL_OK : HAL_ENXIO; in ar9300_get_capability()
[all …]
H A Deeprom.diff58 return HAL_OK;
66 return HAL_OK;
70 return HAL_OK;
84 return HAL_OK;
H A Dar9300_radio.c277 *status = HAL_OK; in ar9300_rf_attach()
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_misc.c442 return HAL_OK; in ar5416SetQuiet()
454 return (AR_SREV_HOWL(ah) || AR_SREV_SOWL(ah)) ? HAL_OK : HAL_ENOTSUPP; in ar5416GetCapability()
456 return (AR_SREV_HOWL(ah) || AR_SREV_SOWL(ah)) ? HAL_OK : HAL_ENOTSUPP; in ar5416GetCapability()
458 return AR_SREV_MERLIN(ah) ? HAL_OK : HAL_ENOTSUPP; in ar5416GetCapability()
465 HAL_OK : HAL_ENOTSUPP; in ar5416GetCapability()
470 return (HAL_OK); in ar5416GetCapability()
475 return (HAL_OK); in ar5416GetCapability()
H A Dar5416_attach.c374 if (ecode != HAL_OK) in ar5416Attach()
439 if (ecode != HAL_OK) { in ar5416Attach()
955 if (ath_hal_eepromGet(ah, AR_EEP_MAXQCU, &val) == HAL_OK) in ar5416FillCapabilityInfo()
960 if (ath_hal_eepromGet(ah, AR_EEP_KCENTRIES, &val) == HAL_OK) in ar5416FillCapabilityInfo()
1030 ath_hal_eepromGet(ah, AR_EEP_RFSILENT, &ahpriv->ah_rfsilent) == HAL_OK) { in ar5416FillCapabilityInfo()
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_attach.c313 if (ecode != HAL_OK) { in ar5211Attach()
341 if (ecode != HAL_OK) { in ar5211Attach()
359 if (ecode != HAL_OK) { in ar5211Attach()
520 ath_hal_eepromGet(ah, AR_EEP_RFSILENT, &ahpriv->ah_rfsilent) == HAL_OK) { in ar5211FillCapabilityInfo()
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_attach.c262 if (ecode != HAL_OK) { in ar5210Attach()
266 if (ecode != HAL_OK) { in ar5210Attach()
274 if (ecode != HAL_OK) { in ar5210Attach()
/freebsd/tools/tools/ath/athrd/
H A Dathrd.c982 return HAL_OK; in getCapability()
1165 HAL_MODE_11G, cc, rd, extendedChanMode) == HAL_OK) { in main()
1176 HAL_MODE_11B, cc, rd, extendedChanMode) == HAL_OK) { in main()
1187 HAL_MODE_11A, cc, rd, extendedChanMode) == HAL_OK) { in main()
1198 HAL_MODE_TURBO, cc, rd, extendedChanMode) == HAL_OK) { in main()
1209 HAL_MODE_108G, cc, rd, extendedChanMode) == HAL_OK) { in main()
1220 modes & HAL_MODE_HT, cc, rd, extendedChanMode) == HAL_OK) { in main()
/freebsd/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c203 if (ecode != HAL_OK) { in ar5312Attach()
235 if (ecode != HAL_OK) { in ar5312Attach()
/freebsd/sys/dev/ath/ath_hal/ar9001/
H A Dar9160_attach.c195 if (ecode != HAL_OK) in ar9160Attach()
259 if (ecode != HAL_OK) { in ar9160Attach()
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9287_attach.c239 if (ecode != HAL_OK) in ar9287Attach()
326 if (ecode != HAL_OK) { in ar9287Attach()
H A Dar9280_attach.c257 if (ecode != HAL_OK) in ar9280Attach()
318 if (AR_SREV_MERLIN_20_OR_LATER(ah) && ecode == HAL_OK && pwr == 0) { in ar9280Attach()
381 if (ecode != HAL_OK) { in ar9280Attach()
H A Dar9285_attach.c247 if (ecode != HAL_OK) in ar9285Attach()
354 if (ecode != HAL_OK) { in ar9285Attach()
/freebsd/sys/dev/ath/ath_dfs/null/
H A Ddfs_null.c109 HAL_CAP_PHYDIAG, 0, NULL) != HAL_OK) in ath_dfs_radar_enable()

123