This series of 11 patches goes on top of the fixes I've just sent,
and consists of some more cleanups, and support for 2.4GHz channels
12-14.
Also, it adds support for doing rx ring and other initialization based
on whether the firmware image we've loaded identifies itself as an AP
or a STA image. In other words, it can now deal at runtime with being
given either type of firmware image. This makes it possible to add
logic to decide on the fly which type of firmware image to load later
on.
I think it should be safe to apply this set, but if you'd rather wait,
I'll hold them in my local tree for the next window.