On Dec 14, 2007 6:16 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > Hi, > > This patch creates new cfg80211 wiphy API for channel and bitrate > registration and converts mac80211 (and, as an example and for testing, > b43) to the new API. The old mac80211 API is completely ripped out. > > So far, it has survived all my testing: only active scanning :) > > Note that this has one major regression: with this patch you will have > all hardware channels available because I completely ripped out the > regulatory "enforcement" code. I believe that is for the better because > then we can cleanly add new regulatory enforcement code to cfg80211. > > I've also ripped out all power adjustment and antenna gain fields/code, > this too will have to be added back, again I believe part of new > regulatory enforcement code. > > Along with the regulatory code I've also ripped out the > IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED flag, I believe it to be > unnecessary if the hardware simply gives us whatever channels it wants > to support and we then enable/disable them as required, which is pretty > much required for travelling. Those with varying EEPROMs will obviously > have to allocate the array dynamically for each wiphy. > > Here are a few more TODOs: > * do ERP stuff again, this is currently pretty broken (even before the > patch) > * do basic rate handling again, this is probably broken before the > patch > * do mandatory rate handling again (probably broken as well, partially > done) > * reimplement channel use calculations... they looked too broken to > worry about right now > > Luis, please see the API in include/net/wireless.h. You'll have to add > to that for the regulatory stuff. Looks great, I'm glad I don't have to deal with these changes now :) just a few questions and observations: * I didn't see the definition for ieee80211_channel_to_frequency() and its counter part, where are those defined? * This patch didn't have b43 changes * I'd like to base work on these patches, where can I find them the complete series to wget Luis - 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