[PATCH] hostapd: nl80211: Driver does not support authentication/association or connect commands

Eugene wifi.mailing.list
Fri Jan 11 05:18:37 PST 2013


The hostapd do not require connection stuff of STA.

The following commands is not required for AP:
- NL80211_CMD_CONNECT
- NL80211_CMD_DISCONNECT
- NL80211_CMD_ASSOCIATE
- NL80211_CMD_DISASSOCIATE
- NL80211_CMD_AUTHENTICATE
- NL80211_CMD_DEAUTHENTICATE

But the common code require support some of them.
As result the devices with AP only mode can not be initialized, with
error "nl80211: Driver does not support authentication/association or
connect commands".
That patch solve that problem.

BTW:
I think that more parts of nl80211 driver code can be hidden by
"#ifndef HOSTAPD".
Am I right?

Or there are present some internal rules, like minimize conditional compilation?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver_nl80211.c.patch
Type: application/octet-stream
Size: 1544 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20130111/9aa6155b/attachment.obj 



More information about the Hostap mailing list