adding a new station with hostapd_cli

Dries Naudts dries.naudts
Fri Nov 18 00:23:38 PST 2011

On 17-nov-2011, at 14:30, Jouni Malinen wrote:

> On Thu, Nov 17, 2011 at 11:38:52AM +0100, Dries Naudts wrote:
>> 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.
> OK. Is this with or without security?

Currently, no security is needed.

>> 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?
> Well, you could do that if you do not care about security implications.
> Though, you would need to transfer quite a bit more information than
> just the MAC address of the station (e.g., supported TX rates, etc.).

I managed to add a call to the driver (NL80211_CMD_NEW_STATION ). The station is now added in the driver. Indeed, you need more than just the MAC address. For now, I use some default values for the other parameters. 

Thanks for your help!

Best regards, 

> -- 
> Jouni Malinen                                            PGP id EFC895FA

Dries Naudts
IBCN - IBBT - Universiteit Gent 
Gaston Crommenlaan 8 bus 201
B-9050 Ghent
Tel: +32 9 331 49 46 
Fax: +32 9 331 48 99 
Email: dries.naudts at

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Hostap mailing list