openwrt/package/kernel
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
..
acx-mac80211 acx-mac80211: fails to build on cobalt 2015-03-12 10:05:54 +00:00
ar7-atm ar7-atm: make it compile under 3.18 2015-02-09 12:12:09 +00:00
avila-wdt packages: clean up the package folder 2013-06-21 16:54:37 +00:00
brcm2708-gpu-fw brcm2708: fix imagebuilder 2015-05-29 11:28:54 +00:00
broadcom-wl package/*: replace occurences of 'ln -sf' to '$(LN)' 2014-11-06 19:35:34 +00:00
button-hotplug button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels 2014-05-23 22:13:13 +00:00
ep80579-drivers packages: clean up the package folder 2013-06-21 16:54:37 +00:00
gpio-button-hotplug build: drop obsolete kernel version dependencies 2015-01-24 20:02:09 +00:00
hostap-driver hostapd: move old wifi setup scripts to hostapd-common-old 2013-12-16 18:42:43 +00:00
i2c-gpio-custom package/i2c-gpio-custom: fix checkpatch errors in module source 2013-09-02 08:45:30 +00:00
lantiq ltq-hcd: remove ar10 and vr9 support 2015-03-17 09:43:01 +00:00
linux kernel: kmod-stmmac depends on kmod-libphy 2015-05-30 13:57:54 +00:00
mac80211 mac80211: make netifd script create AP interface directly 2015-05-30 23:08:57 +00:00
mmc_over_gpio kernel: make most modules use AutoProbe 2013-09-17 21:45:17 +00:00
mt76 mt76: include generated mac80211 config file and add an appropriate define for mesh support (fixes #19474) 2015-05-08 21:46:42 +00:00
mwlwifi mwlwifi: upgrade to 10.3.0.1-20150525 2015-05-26 13:24:46 +00:00
om-watchdog package/om-watchdog: add OpenMesh OM5P-AN support 2015-03-17 09:43:47 +00:00
rotary-gpio-custom package/rotary-gpio-custom: fix checkpatch errors module source 2013-09-02 08:45:32 +00:00
rtc-rv5c386a packages: clean up the package folder 2013-06-21 16:54:37 +00:00
spi-gpio-custom package/kernel: add spi-gpio-custom module 2013-09-02 08:45:29 +00:00
trelay trelay: add conffiles section 2015-04-02 14:53:41 +00:00
w1-gpio-custom w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO 2015-05-23 15:29:20 +00:00
wrt55agv2-spidevs Rename 'atheros' target to 'ath25' 2015-03-13 03:02:28 +00:00