Hostapd disconnects clients

ravin goyal ravirocks1021 at gmail.com
Sun Feb 12 23:33:51 PST 2017


Hello, I have an banana pi m2+ running raspian lite 3.4.112-sun8i
I am using using hostapd-1:2.3-1+deb8u4
I have managed to configure and run successfully on my wlan0 interface
and for that I have to do

modprobe -v bcmdhd op_mode=2

command before starting it.

I am able to connect to the AP and it works well but after sometime I
noticed in syslog that it disconnects my connected client and following are
the messages which i noticed in syslog when it disconnects client and
afterwards.

Feb 13 12:13:03 bpi-iot-ros-ai kernel: [ 2710.222339] _dhd_wlfc_deque_afq:
queue is empty
Feb 13 12:13:03 bpi-iot-ros-ai kernel: [ 2710.222360] _dhd_wlfc_deque_afq:
queue is empty
Feb 13 12:13:03 bpi-iot-ros-ai kernel: [ 2710.222373] _dhd_wlfc_deque_afq:
queue is empty
Feb 13 12:13:03 bpi-iot-ros-ai kernel: [ 2710.222386] _dhd_wlfc_deque_afq:
queue is empty
Feb 13 12:13:03 bpi-iot-ros-ai kernel: [ 2710.222398] _dhd_wlfc_deque_afq:
queue is empty
Feb 13 12:13:03 bpi-iot-ros-ai rsyslogd-2007: action 'action 17' suspended,
next retry is Mon Feb 13 12:14:03 2017 [try http://www.rsyslog.com/e/2007 ]

Feb 13 12:13:57 bpi-iot-ros-ai kernel: [ 2764.101568] CFGP2P-ERROR)
wl_cfgp2p_do_ioctl : wl_cfgp2p_do_ioctl: IOCTL req 0x8b03 on p2p0 I/F.
Ignoring.
Feb 13 12:13:57 bpi-iot-ros-ai kernel: [ 2764.101688] CFGP2P-ERROR)
wl_cfgp2p_do_ioctl : wl_cfgp2p_do_ioctl: IOCTL req 0x8b1d on p2p0 I/F.
Ignoring.
Feb 13 12:13:57 bpi-iot-ros-ai kernel: [ 2764.102750] CFGP2P-ERROR)
wl_cfgp2p_do_ioctl : wl_cfgp2p_do_ioctl: IOCTL req 0x8b09 on p2p0 I/F.
Ignoring.
Feb 13 12:14:16 bpi-iot-ros-ai kernel: [ 2783.576532] CFGP2P-ERROR)
wl_cfgp2p_do_ioctl : wl_cfgp2p_do_ioctl: IOCTL req 0x8b03 on p2p0 I/F.
Ignoring.
Feb 13 12:14:16 bpi-iot-ros-ai kernel: [ 2783.576652] CFGP2P-ERROR)
wl_cfgp2p_do_ioctl : wl_cfgp2p_do_ioctl: IOCTL req 0x8b1d on p2p0 I/F.
Ignoring.
Feb 13 12:14:16 bpi-iot-ros-ai kernel: [ 2783.577508] CFGP2P-ERROR)
wl_cfgp2p_do_ioctl : wl_cfgp2p_do_ioctl: IOCTL req 0x8b09 on p2p0 I/F.
Ignoring


"p2p0 is ethernet link which is currently in disabled state on the device";

Feb 13 12:18:11 bpi-iot-ros-ai kernel: [ 3018.854504] Disconnect STA :
00:73:8d:43:87:2e scb_val.val 3
Feb 13 12:18:11 bpi-iot-ros-ai kernel: [ 3018.857989] Disconnect STA :
00:73:8d:43:87:2e scb_val.val 3
Feb 13 12:18:11 bpi-iot-ros-ai rsyslogd-2007: action 'action 17' suspended,
next retry is Mon Feb 13 12:19:11 2017 [try http://www.rsyslog.com/e/2007 ]
Feb 13 12:18:16 bpi-iot-ros-ai hostapd: wlan0: STA 00:73:8d:43:87:2e IEEE
802.11: deauthenticated due to local deauth request
Feb 13 12:18:16 bpi-iot-ros-ai kernel: [ 3023.862329] Disconnect STA :
00:73:8d:43:87:2e scb_val.val 3
Feb 13 12:18:19 bpi-iot-ros-ai hostapd: wlan0: STA 00:73:8d:43:87:2e IEEE
802.11: disassociated
Feb 13 12:18:19 bpi-iot-ros-ai hostapd: wlan0: STA 00:73:8d:43:87:2e IEEE
802.11: disassociated

Feb 13 12:18:19 bpi-iot-ros-ai kernel: [ 3026.385717] CFG80211-ERROR)
wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Feb 13 12:18:19 bpi-iot-ros-ai kernel: [ 3026.385777]
wl_notify_connect_status_ap: deauthenticated device 00:73:8d:43:87:2e
Feb 13 12:18:19 bpi-iot-ros-ai kernel: [ 3026.385899] CFG80211-ERROR)
wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Feb 13 12:18:19 bpi-iot-ros-ai kernel: [ 3026.385932]
wl_notify_connect_status_ap: deauthenticated device 00:73:8d:43:87:2e
Feb 13 12:18:19 bpi-iot-ros-ai kernel: [ 3026.385985] CFG80211-ERROR)
wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Feb 13 12:18:19 bpi-iot-ros-ai kernel: [ 3026.386038]
wl_notify_connect_status_ap: deauthenticated device 00:73:8d:43:87:2e
Feb 13 12:18:19 bpi-iot-ros-ai hostapd: wlan0: STA 00:73:8d:43:87:2e IEEE
802.11: disassociated

I tried to connect again but device failed to connect and when i restart
the hostapd it starts and connect to the client automatically
strange ?

I am not able to understand the errors in syslog and what have i done wrong
here?
Can someone please help me on this?

link to the hostapd conf file

http://sprunge.us/jeXa

And worse is that I sometime faced kernel crash in the middle when hostapd
is running.

Regards
Ravin Goyal



More information about the Hostap mailing list