openwrtv3/package
Felix Fietkau fa2dfdb74b mac80211: make netifd script create AP interface directly
Before starting hostapd we create interface for it. The problem is we
try to create STA interface just to let hostapd change it to AP later.

It may fail if device doesn't support STA interfaces or if we already
hit a limit. Consider following phy (it's from BCM43602 and brcmfmac):
$ iw phy phy0 info | tail
        valid interface combinations:
                 * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
                   total <= 3, #channels <= 1

Trying to setup 2 interfaces: STA + AP results in:
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf
radio0 (1101): Could not read interface wlan0-1 flags: No such device

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45856
2015-05-30 23:08:57 +00:00
..
base-files base-files: remove ubi tool 2015-05-29 08:14:38 +00:00
boot uboot-omap: allow generating dummy ipks, fixes omap imagebuilder 2015-05-29 15:08:29 +00:00
devel gdb: disable liblzma explictly 2015-05-24 19:15:54 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel mac80211: make netifd script create AP interface directly 2015-05-30 23:08:57 +00:00
libs libubox: update to the latest version, adds a base64 implementation 2015-05-08 12:35:41 +00:00
network uhttpd: use 307 for HTTPS redirections to retain request method 2015-05-30 21:14:33 +00:00
system feeds: use common macro "FeedSourcesAppend" to populate opkg configurations 2015-05-28 09:47:37 +00:00
utils fuse: fix exec environment for mount and umount 2015-05-24 17:56:26 +00:00
Makefile build: trigger pacakge index creation for all feeds if required 2015-05-26 11:37:05 +00:00