AP and mesh creation order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to bring up an AP and a mesh point on a wireless device
that supports:
         * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{
P2P-client, P2P-GO } <= 1,
           total <= 2048, #channels <= 1, STA/AP BI must match

I create a second interface for mesh.
If I run wpa_supplicant creating the AP first, mesh second, everything
goes as expected:
# wpa_supplicant -B -iwlan0 -c ~v/wpa_supplicant_ap.conf -N -imesh0 -c
~v/wpa_supplicant_mesh.conf -u -ffile -dd
# iw dev
phy#0
    Interface mesh0
        ifindex 5
        wdev 0x2
        addr f8:d1:11:7a:d5:89
        type mesh point
        txpower 14.00 dBm
    Interface wlan0
        ifindex 4
        wdev 0x1
        addr f8:d1:11:7a:d5:88
        ssid ceepbc:asdf
        type AP
        channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
        txpower 14.00 dBm

Both networks are OK.
However when I create mesh first, then AP:
# wpa_supplicant -B -imesh0 -c ~v/wpa_supplicant_mesh.conf -N -iwlan0
-c ~v/wpa_supplicant_ap.conf -u -ffile -dd

AP is not set up. According to debug output:
nl80211: Set beacon (beacon_set=0)
[...]
nl80211: Beacon set failed: -16 (Device or resource busy)
Failed to set beacon parameters

I experience this behavior on two different setups (wifi devices:
ath9k and TI). I do not see it with mac80211_hwsim.

Is this a hardware related issue? Or some wpa_supplicant settings?
Any help is welcome,
Viktor

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux