> > I guess you could add a helper function that allocates a channels array
> > based on a frequency range.
> 
> This is true but also it would be nice as it is the end points which
> drivers may want
> to access every now and then. I think its worth the few bytes.

I'm not really worried about the space that needs, but I don't see why
the wiphy would need that information. Couldn't you keep it in your
driver's per-hw structure as it is? Would cfg80211 be required to keep
them updated according to regulatory rules when the allowed channels
change? I'm much more worried about all the code that would result in :)
But since you're not doing that right now anyway I'll just wait and see
what you come up with ;)

johannes

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to