Hi jouni thank you for your feedback. Is there another means by which I can extend the code base to achieve what I want? The deployment scenario is an auditorium ( high density ). I wanted to stop beaconing so neighbouring nodes would continue to beacon and a client station would select a neighbouring node to connect to. On an aside I don't understand why just manipulating ignore_broadcast_request doesn't achieve my hack. Is there another area that controls the beaconing outside of beacon.c? Your help is greatly appreciated.<br>
<br>On Wednesday, October 23, 2013, Jouni Malinen wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Oct 23, 2013 at 12:37:36AM -0400, Amit Shah wrote:<br>
> Im trying to write a simple connection saturation algorithm for a bunch of linux nodes running hostapd. On having max_num_sta connection, I want hostapd to move into hidden ssid mode (ignore_broadcast_ssid = 0). I have updated src/ap/beacon.c to include a simple conditional statement and recompiled successfully, but my ssid still keeps showing up when the node is "saturated":<br>
><br>
> if ( hapd->num_sta >= hapd->conf->max_num_sta){<br>
> hapd->conf->ignore_broadcast_ssid = 1;<br>
> }else{<br>
> hapd->conf->ignore_broadcast_ssid = 0;<br>
> }<br>
<br>
In general, I would not recommend using hidden SSID design for anything<br>
taken into account it is a horrible hack, not compliant with the<br>
standard, can cause issues with number of clients, and does not really<br>
do what you are trying to do here. The AP continues to beacon and is<br>
available in scan results even if it were not to reply to Probe Request<br>
frames with broadcast SSID.<br>
<br>
--<br>
Jouni Malinen PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'HostAP@lists.shmoo.com')">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</blockquote>