[RFC] wireless-regdb: Update 5 GHz rules for Canada

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 
> > > 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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux