This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WILINK-SW: wl18xx + R8.4 + kernel 2.6.37 + DM385 --> enabling acs support killing hostapd & wlcore down?

Part Number: WILINK-SW

Tool/software: Linux

Hi Guys,

i have use

above guide for backporting, it has backported perfectly i'm able to get wifi working.

I have created hostapd.conf and udhcpd.conf, with change i reuired,

So far i was using stationary channel in by setting channel=9 in hostapd.conf. it was working, we have checked with other channel also.

echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig wlan0 192.168.1.1
hostapd -B /etc/hostapd.conf -P /var/run/hostapd.pid
udhcpd /etc/udhcpd.conf

message log:

wlcore: PHY firmware version: Rev 8.2.0.0.212
wlcore: firmware booted (Rev 8.9.0.0.17)
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Configuration file: /etc/hostapd.conf
rfkill: Cannot open RFKILL control device
wlcore: down
Using interface wlan0 with hwaddr 00:0c:0c:a0:06:4c and ssid "DM385_SSID"
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 0/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when the firADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
st station connects
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED 

Now my real task is to enable ACS[Auto channel selection], which i have enabled by setting channel=0 in hostapd.conf.

echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig wlan0 192.168.1.1
hostapd -B /etc/hostapd.conf -P /var/run/hostapd.pid
udhcpd /etc/udhcpd.conf

Message log:

wlcore: PHY firmware version: Rev 8.2.0.0.212
wlcore: firmware booted (Rev 8.9.0.0.17)
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Configuration file: /etc/hostapd.conf
rfkill: Cannot open RFKILL control device
wlcore: down
CONFIG_ACS was not set. use custom ACS

As you can see wlcore is getting down and hostapd -B /etc/hostapd.conf -P /var/run/hostapd.pid which should run in background as process is also killed(by checking ps command).

if i run once again hostapd command wifi interface is up and ssid is also getting broadcasted. 

can anyone tell me what could be the reason and how to avoid it.

regards,

Ganesh