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