Lines Matching refs:aniState
959 struct ar5416AniState *aniState = &ah->ani; in ar5008_hw_ani_control_new() local
977 aniState->iniDef.m1ThreshLow : m1ThreshLow_off; in ar5008_hw_ani_control_new()
979 aniState->iniDef.m2ThreshLow : m2ThreshLow_off; in ar5008_hw_ani_control_new()
981 aniState->iniDef.m1Thresh : m1Thresh_off; in ar5008_hw_ani_control_new()
983 aniState->iniDef.m2Thresh : m2Thresh_off; in ar5008_hw_ani_control_new()
985 aniState->iniDef.m2CountThr : m2CountThr_off; in ar5008_hw_ani_control_new()
987 aniState->iniDef.m2CountThrLow : m2CountThrLow_off; in ar5008_hw_ani_control_new()
989 aniState->iniDef.m1ThreshLowExt : m1ThreshLowExt_off; in ar5008_hw_ani_control_new()
991 aniState->iniDef.m2ThreshLowExt : m2ThreshLowExt_off; in ar5008_hw_ani_control_new()
993 aniState->iniDef.m1ThreshExt : m1ThreshExt_off; in ar5008_hw_ani_control_new()
995 aniState->iniDef.m2ThreshExt : m2ThreshExt_off; in ar5008_hw_ani_control_new()
1029 if (on != aniState->ofdmWeakSigDetect) { in ar5008_hw_ani_control_new()
1033 aniState->ofdmWeakSigDetect ? in ar5008_hw_ani_control_new()
1040 aniState->ofdmWeakSigDetect = on; in ar5008_hw_ani_control_new()
1053 if (level != aniState->firstepLevel) { in ar5008_hw_ani_control_new()
1057 aniState->firstepLevel, in ar5008_hw_ani_control_new()
1061 aniState->iniDef.firstep); in ar5008_hw_ani_control_new()
1065 aniState->firstepLevel, in ar5008_hw_ani_control_new()
1069 aniState->iniDef.firstepLow); in ar5008_hw_ani_control_new()
1070 if (level > aniState->firstepLevel) in ar5008_hw_ani_control_new()
1072 else if (level < aniState->firstepLevel) in ar5008_hw_ani_control_new()
1074 aniState->firstepLevel = level; in ar5008_hw_ani_control_new()
1088 if (level != aniState->spurImmunityLevel) { in ar5008_hw_ani_control_new()
1092 aniState->spurImmunityLevel, in ar5008_hw_ani_control_new()
1096 aniState->iniDef.cycpwrThr1); in ar5008_hw_ani_control_new()
1100 aniState->spurImmunityLevel, in ar5008_hw_ani_control_new()
1104 aniState->iniDef.cycpwrThr1Ext); in ar5008_hw_ani_control_new()
1105 if (level > aniState->spurImmunityLevel) in ar5008_hw_ani_control_new()
1107 else if (level < aniState->spurImmunityLevel) in ar5008_hw_ani_control_new()
1109 aniState->spurImmunityLevel = level; in ar5008_hw_ani_control_new()
1127 aniState->spurImmunityLevel, in ar5008_hw_ani_control_new()
1128 aniState->ofdmWeakSigDetect ? "on" : "off", in ar5008_hw_ani_control_new()
1129 aniState->firstepLevel, in ar5008_hw_ani_control_new()
1130 aniState->mrcCCK ? "on" : "off", in ar5008_hw_ani_control_new()
1131 aniState->listenTime, in ar5008_hw_ani_control_new()
1132 aniState->ofdmPhyErrCount, in ar5008_hw_ani_control_new()
1133 aniState->cckPhyErrCount); in ar5008_hw_ani_control_new()
1173 struct ar5416AniState *aniState = &ah->ani; in ar5008_hw_ani_cache_ini_regs() local
1177 iniDef = &aniState->iniDef; in ar5008_hw_ani_cache_ini_regs()
1214 aniState->spurImmunityLevel = ATH9K_ANI_SPUR_IMMUNE_LVL; in ar5008_hw_ani_cache_ini_regs()
1215 aniState->firstepLevel = ATH9K_ANI_FIRSTEP_LVL; in ar5008_hw_ani_cache_ini_regs()
1216 aniState->ofdmWeakSigDetect = true; in ar5008_hw_ani_cache_ini_regs()
1217 aniState->mrcCCK = false; /* not available on pre AR9003 */ in ar5008_hw_ani_cache_ini_regs()