mac80211 vs. hostapd
Hello all,
can somebody explain the relationship between hostapd and mac80211? To = be more specific:
I'm used to the Madwifi driver where one could create a virtual interfa= ce in AP mode and the net80211
stack included in Madwifi would then provide the AP functionality. I understand that things are differently with mac80211 based drivers. T= he kernel part of the stack does
not include the AP functionality at all. Handling of associated station= s is done by hostapd. Is this
correct so far? Does "iwconfig wlan0 mode master" have any meaning? How=
does one create multiple
virtual interfaces (the equivalent of Madwifis wlanconfig command)?
If so, I could not find a sample configuration for hostapd that provide= s a simple, unsecured AP.
I suspect that this is because traditionally hostapd has only been used=
to provide a WPA secured AP.
Is this the right list to ask for such a sample configuration? =20
--=20
Thanks in advance and kind regards
Joerg
=09
=09
___________________________________________________________=20 Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! =
Mail: http://mail.yahoo.de
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Joerg Pommnitz
The kernel part of the stack does
not include the AP functionality at all.
Well, it includes some of the required functionality obviously...
Quoted 2 lines
Handling of associated stations is done by hostapd. Is this
correct so far?
If I understand you correctly, then yes.
Quoted 1 line
Does "iwconfig wlan0 mode master" have any meaning?
It prepares mac80211 to accept hostapd commands on the interface.
Quoted 2 lines
How does one create multiple
virtual interfaces (the equivalent of Madwifis wlanconfig command)?
Through nl80211 or cfg80211's sysfs.
Quoted 2 lines
If so, I could not find a sample configuration for hostapd that provides a simple, unsecured AP. I suspect that this is because traditionally hostapd has only been used to provide a WPA secured AP.
The hostapd config file is well commented. Go read it.
johannes