adding a new station with hostapd_cli

Dries Naudts dries.naudts
Thu Nov 17 02:50:56 PST 2011


On 17-nov-2011, at 11:22, Jouni Malinen wrote:

> On Thu, Nov 17, 2011 at 11:01:57AM +0100, Dries Naudts wrote:
>> I'd like to manually add a station to hostapd.
> 
> Could you please describe what you are trying to accomplish with this?

This is for a research project. The idea is that as soon as a STA associates with an AP, this AP notifies another AP (at that moment out of range for the STA) to also add the STA. I won't go into much detail, but the idea is to enable seamless mobility for the STA when moving between AP's.

> 
>> I was wondering, when a station is added via the 'new_sta' command with hostapd_cli the station is added to hostapd state, but will the driver be notified as well (via nl80211 - NL80211_CMD_NEW_STATION )?
> 
> Probably not. That mechanism is only meant for wired network to trigger
> IEEE 802.1X/EAPOL authentication.
> 

Could this be extended for wireless network? Would it be straightforward to just add a call to the driver (via nl80211) in function "hostapd_ctrl_iface_new_sta" (ctrl_iface.c), or do you think there are any pitfalls?

Best regards, 
Dries



> -- 
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap











-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20111117/41023226/attachment.htm 



More information about the Hostap mailing list