On Wed, 2018-03-28 at 10:29 -0700, Peter Oh wrote: > > + if (sdata->vif.type == NL80211_IFTYPE_AP) > > + wmm_ac = &rrule->wmm_rule->ap[ac]; > > + else > > + wmm_ac = &rrule->wmm_rule->client[ac]; > > + qparam->cw_min = max_t(u16, qparam->cw_min, wmm_ac->cw_min); > > + qparam->cw_max = max_t(u16, qparam->cw_max, wmm_ac->cw_max); > > not min_t() for cw_max? No, the regulations say you have to use a long content window, hence limiting both min and max at the lower end (hence max_t). johannes