So I have a new-ish Mirabox with Wheezy (3.2.x kernel) and a newer wireless module, the 88W8766P which does dual-band, yay!
How do I get the access point to operate on the 5Ghz band though? iwconfig confusingly shows 4 interfaces: uap0, uap1, mlan0 and wfd0. mlan0 is for client mode, wfd0 for wifi-direct, and uap0/uap1 for simultaneous access points on 2 channels, I'm guessing? When you power on a brand new Mirabox it's in AP mode with uap0 on channel 6 (2.4Ghz).
Now "iwlist mlan0 channel" shows both 2.4Ghz and 5Ghz channels, "iwlist uap0 channel" worryingly only shows 2.4Ghz channels. Why should channels for client and AP mode be different? Now if I try to force uap0 into, say, channel 36 which is a 5Ghz channel, by issuing "uaputl bss_stop", then "uaputl -i uap0 sys_cfg_channel 36" and "uaputl bss_start" I get the following error and BSS broadcast doesn't start:
ERR: Invalid rate for A band channel!
ERR: Wrong system configuration!
So I have a dual-band wireless module but can't use it in dual-band AP mode? SRSLY?