]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Add ctrl_iface message for AP mode connection rejection
authorRaja Mani <rmani@qca.qualcomm.com>
Thu, 7 Feb 2013 13:24:53 +0000 (15:24 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 7 Feb 2013 13:24:53 +0000 (15:24 +0200)
commit3140803b6d004c32c9e1bbb6288d04a14eb75a9b
treeafc75439844eed2386a41e64b1e0e5e6309d527c
parent409ca9a84daee279d743d87f9b78d61ecccbc401
nl80211: Add ctrl_iface message for AP mode connection rejection

When AP mode operation reject the client, nl80211 layer advertises the
connect failed event with the reason for failures (for example, max
client reached, etc.) using NL80211_CMD_CONN_FAILED.

This patch adds some debug messages whenever such an event is received
from the nl80211 layer and also the same event is posted to the upper
layer via wpa_msg().

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
src/ap/drv_callbacks.c
src/ap/hostapd.h
src/common/wpa_ctrl.h
src/drivers/driver.h
src/drivers/driver_common.c
src/drivers/driver_nl80211.c
wpa_supplicant/events.c