[wireless-regdb] [RFC] wireless-regdb: Update 5 GHz rules for Canada
Johannes Berg
johannes at sipsolutions.net
Wed Mar 1 07:35:17 PST 2017
> >
> > > static inline int
> > > ieee80211_chandef_max_power(struct cfg80211_chan_def *chandef)
> > > {
> > > switch (chandef->width) {
> > > case NL80211_CHAN_WIDTH_5:
> > > return min(chandef->chan->max_reg_power - 6,
> > > chandef->chan->max_power);
> > > case NL80211_CHAN_WIDTH_10:
> > > return min(chandef->chan->max_reg_power - 3,
> > > chandef->chan->max_power);
> > > default:
> > > break;
> > > }
> > > return chandef->chan->max_power;
> > > }
> >
> > This looks to me like it already handles the reduction of power
> > according to bandwidth.
>
> Johannes, just wanted to confirm that based on this you no longer
> have any objection to the changes.
Yep, looks fine.
johannes
More information about the wireless-regdb
mailing list