Searched refs:max_th (Results 1 – 8 of 8) sorted by relevance
116 int max_th ; /* maximum threshold for queue (scaled) */ member428 fs->max_th = f->max_th; in dn_compat_config_queue()650 fs->max_th = f->max_th; in dn_c_copy_pipe()703 fs->max_th = f->max_th; in dn_c_copy_fs()
222 int max_th ; /* maximum threshold for queue (scaled) */ member
1234 fs->max_th = SCALE(fs->fs.max_th); in config_red()1236 if (fs->fs.max_th == fs->fs.min_th) in config_red()1239 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th); in config_red()1243 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th; in config_red()
362 if (q->avg >= fs->max_th) { /* average queue >= max threshold */ in red_drops()
496 fs->max_th, in print_flowset_parms()1613 fs->max_th = strtoul(end, &end, 0); in ipfw_config_pipe()1615 fs->max_th *= 1024; in ipfw_config_pipe()1781 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th)) in ipfw_config_pipe()1783 fs->min_th, fs->max_th); in ipfw_config_pipe()1784 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th)) in ipfw_config_pipe()1786 fs->min_th, fs->max_th); in ipfw_config_pipe()1788 if (fs->max_th == 0) in ipfw_config_pipe()
167 int max_th ; /* maximum threshold for queue (scaled) */ member
3370 u8 max_th = 82, non_srg_max_th = 62; in mt7996_mcu_set_obss_spr_pd() local3392 .obss_pd_min = cpu_to_le16(max_th), in mt7996_mcu_set_obss_spr_pd()3393 .obss_pd_min_srg = cpu_to_le16(max_th), in mt7996_mcu_set_obss_spr_pd()3406 req.pd_th_non_srg = max_th; in mt7996_mcu_set_obss_spr_pd()3408 req.pd_th_non_srg = max_th - he_obss_pd->non_srg_max_offset; in mt7996_mcu_set_obss_spr_pd()3413 req.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7996_mcu_set_obss_spr_pd()
3467 u8 max_th = 82, non_srg_max_th = 62; in mt7915_mcu_set_obss_spr_pd() local3476 req.param.pd_th_non_srg = max_th; in mt7915_mcu_set_obss_spr_pd()3478 req.param.pd_th_non_srg = max_th - he_obss_pd->non_srg_max_offset; in mt7915_mcu_set_obss_spr_pd()3483 req.param.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7915_mcu_set_obss_spr_pd()