On 04/16/2012 10:17 PM, Seth Forshee wrote:
Hi Arnd, Here's the latest update to the brcmsmac regulatory rework that I've been working on. I've broken it up into a series of smaller patches, cleaned things up, and finished what changes I can with the information available to me.
I will go through the individual patches and comment on them. This code could use some cleanup so it is appreciated.
I've attempted to maintain the same high-level behavior that the brcmsmac internal regulatory support currently enforces. I find a couple of these to be questionable however, those being: the setting of the radio disable state based on whether or not there are any channels allowed by regulatory, and the handling of enabling/disabling OFDM. Perhaps you can comment on whether or not these actions are needed.
Regarding questionable things, you mean the transmit mute or is there another radio disable that I have not found yet. I only recall that channel 14 (JP only) does not allow OFDM so it may be to accommodate that. It may not be explicitly needed as mac80211 provides the rate and/or modulation to use for the transmit frame.
All use of the internal regulatory data has been eliminated except for the use of the MIMO power limits for filling out the txpwr_limits data. I'm anticipating that you'll provide information on how this needs to be handled. Otherwise I think these patches are very nearly complete, so please let me know if you see anything that needs to be changed.
I asked for this internally, but I do not recall getting an answer. I will make another attempt.
So far these changes are testing well on a MacBook Air 4,1 with BCM43224 wireless. I'm now able to see and associate with my AP on channel 52, which was not possible previously.
I will try to organize some regulatory testing over here with your patches. Gr. AvS -- 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