Lines Matching refs:max_P
132 u32 max_P; /* probability, [0 .. 1.0] 32 scaled */ member
231 u8 Scell_log, u8 *stab, u32 max_P) in red_set_parms() argument
243 if (!max_P) { in red_set_parms()
244 max_P = red_maxp(Plog); in red_set_parms()
245 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms()
247 p->max_P = max_P; in red_set_parms()
248 max_p_delta = max_P / delta; in red_set_parms()
456 if (qavg > p->target_max && p->max_P <= MAX_P_MAX) in red_adaptative_algo()
457 p->max_P += MAX_P_ALPHA(p->max_P); /* maxp = maxp + alpha */ in red_adaptative_algo()
458 else if (qavg < p->target_min && p->max_P >= MAX_P_MIN) in red_adaptative_algo()
459 p->max_P = (p->max_P/10)*9; /* maxp = maxp * Beta */ in red_adaptative_algo()
461 max_p_delta = DIV_ROUND_CLOSEST(p->max_P, p->qth_delta); in red_adaptative_algo()