On Fri, 2019-08-30 at 12:40 +0200, Arend Van Spriel wrote:

> > +EXPORT_SYMBOL(ieee80211_channel_op_class_to_frequency);
> 
> The function ieee80211_operating_class_to_band() uses ranges within 
> switch statement, eg.:
> 
>          case 128 ... 130:
>                  *band = NL80211_BAND_5GHZ;
>                  return true;

No that you remind me - how is this new function not just a composition
of the existing ones?

i.e. just convert the op_class to band first, and then (band, channel)
to freq?

johannes

Reply via email to