Hello Respective,
I have wl1271 Wireless device on Sitara AM335x starter kit.
I have tried multirole feature by following below link.
http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_Multi_Role_Configuration
but its not working in multirole.
I am able to set first mode successfully, that is I can connect wlan0 to my wifi internet router.
Now I have followed steps to start wlan1 as Access point using hostapd.
All steps are followed in the same sequence of reference url: http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_Multi_Role_Configuration (section: Scenario 1)
In that sequence, when we reached to run hostapd to make access point and we are getting below messages from hostapd.
root@am335x-evm:~# hostapd -B /etc/hostapd.conf -P /var/run/hostapd.pid
Configuration file: /etc/hostapd.conf
[ 115.780700] wl12xx: down
[ 115.783966] wl12xx: open_count=1, add=0, current_fw=2
[ 115.790588] wl12xx: Reading FW panic log
[ 115.804840] wl12xx: Hardware recovery in progress. FW ver: Rev 6.5.5.0.21_2 pc: 0x0
[ 115.812927] wl12xx: down
[ 115.828308] ieee80211 phy0: Hardware restart was requested
[ 115.835632] wl12xx: open_count=1, add=1, current_fw=0
[ 115.840972] wl12xx: state: 0
[ 116.309631] wl12xx: firmware booted (Rev 6.3.8.0.111_1)
[ 116.315093] wl12xx: Driver version: R5_00_18
[ 116.330322] wl12xx: open_count=1, add=1, current_fw=1
[ 116.335601] wl12xx: Reading FW panic log
[ 116.341094] cfg80211: Calling CRDA for country: US
[ 116.348693] wl12xx: Hardware recovery in progress. FW ver: Rev 6.3.8.0.111_1 pc: 0x0
[ 116.356842] wl12xx: down
[ 116.367004] ieee80211 phy0: Hardware restart was requested
[ 116.372772] wl12xx: open_count=1, add=1, current_fw=0
[ 116.378051] wl12xx: state: 0
[ 116.829528] wl12xx: firmware booted (Rev 6.5.5.0.21_2)
[ 116.834899] wl12xx: Driver version: R5_00_18
[ 116.851196] wl12xx: ERROR beacon info change failed: -22
[ 116.857910] wl12xx: open_count=1, add=1, current_fw=2
[ 116.863189] wl12xx: state: 1
[ 116.936614] wl12xx: Association completed.
[ 116.959960] wl12xx: ERROR beacon info change failed: -22
Could not set channel for kernel driver
wlan1: Unable to setup interface.
rmdir[ctrl_interface[ 116.975616] cfg80211: Regulatory domain changed to country: US
]: No such file [ 116.982025] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
or directory
[ 116.992095] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 117.001556] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 117.009826] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 117.018096] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 117.026367] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 117.034606] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 117.045257] wl12xx: down
[ 117.053771] wl12xx: open_count=1, add=0, current_fw=2
[ 117.063018] wl12xx: Reading FW panic log
root@am335x-evm:~# [ 117.077545] wl12xx: Hardware recovery in progress. FW ver: Rev 6.5.5.0.21_2 pc: 0x0
[ 117.085540] wl12xx: down
[ 117.100708] ieee80211 phy0: Hardware restart was requested
[ 117.107635] wl12xx: open_count=0, add=1, current_fw=0
[ 117.112884] wl12xx: state: 0
[ 117.579437] wl12xx: firmware booted (Rev 6.3.8.0.111_1)
[ 117.584899] wl12xx: Driver version: R5_00_18
[ 117.656616] wl12xx: Association completed.
Please help us to verify multiple role feature of wl1271 module, your inputs will help us to get feasibility of wl1271 module.
Thanks,
Girish