Other Parts Discussed in Thread: WL1837
We are having trouble getting simultaneous Wifi station and AP to work. We are following instructions in processors.wiki.ti.com/.../WiLink8_WLAN_Demo:_Linux
Configuration:
Beaglebone Black + Element14 WL Gateway cape with WL1837
TI SDK 05_01_00_11, arago-base-tisdk-image with packagegroup-arago-tisdk-connectivity, and Enable-TI-WiFi-Bluetooth-am335x-boneblack-WL1837.patch ( link to patch obtained from TI E2E forum post )
The following tests work fine:
- Station only, connecting to 2 GHz and 5 GHz APs using ./sta_connect-ex.sh script and our office WiFi router ( both 2 GHz and 5GHz )
- AP only, either 2 GHz ( hw_mode=g, channel=11 ) or 5 GHz ( hw_mode=a, channel=36 ) connecting from another BBB with same cape & OS.
Does not work:
MultiRole Setup Procedure in processors.wiki.ti.com/.../WiLink8_WLAN_Demo:_Linux
Have tried 2 GHz for both station and ap, 5 GHz for station and ap, 2 GHz for station and 5 GHz for AP
root@am335x-evm:/usr/share/wl18xx# ./ap_start.sh
Configuration file: /usr/share/wl18xx/hostapd.conf
[ 2705.496885] wlan0: deauthenticating from 48:f8:b3:d4:7e:68 by local choice (Reason: 3=DEAUTH_LEAVING)
wlan0: CTRL-EVENT-DISCONNECTED bssid=48:f8:b3:d4:7e:68 reason=3 [ 2705.562957] wlcore: down
locally_generated=1
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
[ 2705.657125] wlcore: down
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
root@am335x-evm:/usr/share/wl18xx# wlan0: SME: Trying to authenticate with 48:f8:b3:d4:7e:68 (SSID=[ 2709.507153] wlan0: authenticate with 48:f8:b3:d4:7e:68
'eqware-5g' freq=5180 MHz)
[ 2709.523190] wlan0: send auth to 48:f8:b3:d4:7e:68 (try 1/3)
[ 2709.620897] wlan0: authenticated
wlan0: Trying to associate with 48:f8:b3:d4:7e:68 (SSID='eqware-5g' freq=5180 MHz)
[ 2709.636636] wlan0: associate with 48:f8:b3:d4:7e:68 (try 1/3)
[ 2709.665871] wlan0: RX AssocResp from 48:f8:b3:d4:7e:68 (capab=0x1011 status=0 aid=5)
[ 2709.704371] wlan0: associated
wlan0: Associated with 48:f8:b3:d4:7e:68
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with 48:f8:b3:d4:7e:68 [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 48:f8:b3:d4:7e:68 completed [id=1 id_str=]
[ 2709.776642] wlcore: Association completed.
It appears to disconnect the station, then fails to start the AP, then re-connects the station.
I also tried to disable ELP according to processors.wiki.ti.com/.../WiLink_Troubleshooting
Ultimately, our desired configuration is 2 GHz station and 5 GHz AP with 8 connected stations, coexisting with bt audio at a low sample rate.