hostapd deauth code 6

Ben Greear greearb at
Fri Apr 1 13:26:59 PDT 2016

On 03/30/2016 07:36 PM, Ann Lo wrote:
> Hi,
> Would you provide some information on deauth code 6? A client of my AP
> disconnects frequently. Using "-d" option to run hostapd, stdout is as
> follow:
> nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for uap0
> nl80211: RX frame sa=a4:2b:8c:04:6d:a8 freq=2447 ssi_signal=-38
> fc=0xc0 seq_ctrl=0x8f40 stype=12 (WLAN_FC_STYPE_DEAUTH) len=26
> uap0: Event RX_MGMT (19) received
> uap0: mgmt::deauth
> uap0: deauthentication: STA=a4:2b:8c:04:6d:a8 reason_code=6
> uap0: AP-STA-DISCONNECTED a4:2b:8c:04:6d:a8
> Is there a solution to the above problem? Another client has no
> problem to keep its connection with my AP.

This is a good place to go for reason codes:

Looks like reason 6 means it thinks the station is not authenticated and sent a frame to the AP,
but I am not sure exactly what can cause that.


Ben Greear <greearb at>
Candela Technologies Inc

More information about the Hostap mailing list