Johannes Berg wrote: > On Sat, 2008-12-20 at 18:31 +0000, David Kilroy wrote: >> While refactorring orinoco I found I was encapsulating the static >> channel frequency table. A quick poll of drivers showed that a number of >> the older driver have their own version of the table, and use it in the >> same way. So rather than keep this to orinoco I added the function to >> the ieee80211 header. >> >> To be complete I've added conversion routines for all the >> bands/modulations in IEEE 802.11-2007 >> >> Does this seem reasonable? Should they go somewhere else? > > Seems fine, though maybe lib80211 would be appropriate? I'd hate using > lib80211 in cfg80211 though since that pulls in all crypto bits that we > don't need there. OTOH, the code really isn't big, so I wouldn't worry > about inlining them. I didn't quite get what you meant by that last statement - did you mean that the inlining is OK, or that you'd prefer them not inlined? If you meant the former (and there aren't any strong opinions about lib80211), I'll just submit as is. Regards, Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html