Lines Matching refs:listenTime
517 aniState->listenTime = 0;
819 int32_t listenTime = 0;
848 listenTime = 0;
861 listenTime = (ccdelta - rfdelta - tfdelta) / CLOCK_RATE;
873 return listenTime;
934 int32_t listenTime;
937 listenTime = ar5416AniGetListenTime(ah);
946 if (listenTime < 0) {
948 /* restart ANI period if listenTime is invalid */
949 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: invalid listenTime\n",
957 aniState->listenTime += listenTime;
959 OS_MARK(ah, AH_MARK_ANI_POLL, aniState->listenTime);
962 if (aniState->listenTime > 5*params->period) {
968 if (aniState->ofdmPhyErrCount <= aniState->listenTime *
970 aniState->cckPhyErrCount <= aniState->listenTime *
976 } else if (aniState->listenTime > params->period) {
979 if (aniState->ofdmPhyErrCount > aniState->listenTime *
982 "%s: OFDM err %u listenTime %u\n", __func__,
983 aniState->ofdmPhyErrCount, aniState->listenTime);
986 } else if (aniState->cckPhyErrCount > aniState->listenTime *
989 "%s: CCK err %u listenTime %u\n", __func__,
990 aniState->cckPhyErrCount, aniState->listenTime);