<div>Hi Jouni:</div>
<div>&nbsp;</div>
<div>I try to setup two BSSIDs with Madwifi driver, I create two hostapd configure files. One with interface ath0, the other interface ath1,</div>
<div>The encryption method for the first BSSID is WPA, the encryption method for the second BSSID is WPA2.</div>
<div>I use hostapd -B hostapd.conf hostapd1.conf, start up two BSSID by hostapd.</div>
<div>&nbsp;</div>
<div>The client can associate the AP successfully, but the connection is very very unstable, the client connet and disconnect and try to connect again, and then disconnect again. The behaviour is strange.</div>
<div>&nbsp;</div>
<div>Do you know why this happen? Thanks very much.</div>
<div>&nbsp;</div>
<div>BR</div>
<div>Elvis Sun<br><br></div>
<div class="gmail_quote">2009/12/29 sun keyong <span dir="ltr">&lt;<a href="mailto:sunkeyong@gmail.com">sunkeyong@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>
<div class="gmail_quote">
<div class="im">2009/12/28 Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>&gt;</span><br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>On Mon, Dec 28, 2009 at 05:34:26PM +0800, sun keyong wrote: 
<div class="im"><br><br>&gt; I wrote the adaptor of BCM driver with Hostapd, and the hostapd can support<br>&gt; the bcm driver with one bssid.<br><br></div></div>
<div class="im">OK.<br>
<div><br>&gt; But I want to set up two BSSIDs with encryption method, the Hostapd can only<br>&gt; support first one with encryption, cliet cannot associate the other one.<br><br></div><font style="BACKGROUND-COLOR: #ffffff" color="#000000">Are you sure the driver you use supports this?<br>
</font></div></blockquote>
<div><strong><font style="BACKGROUND-COLOR: #ffffff" color="#3333ff">Yes&nbsp; I am sure of this, this driver support this.</font></strong></div>
<div><strong><font color="#3333ff"></font></strong>&nbsp;</div>
<div><font style="BACKGROUND-COLOR: #ffffff" color="#3333ff"><strong>I try to run two hostapd processes with two different hostapd.conf file for each created interface sperately, it can</strong><strong>support 2BSSIDS with encryption method,&nbsp; but the performance is very low, the client can associate the AP, but when I use ping from client to AP, almost 50% packet loss. </strong></font></div>

<div class="im">
<div><strong><font color="#3333ff"></font></strong><br>&gt; I try to use Madwifi driver with Atheros chipset, I configure two BSSIDs,<br>&gt; and startup the hostapd, the first BSSID with WPA encryption method, the<br>&gt; second BSSID with WPA2 encryption, the client can associate the first BSSID<br>
&gt; successfully, but the client cannot associate the second BSSID.<br>&gt; I don&#39;t know why, dose hostapd support this or not?<br><br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hostapd supports multiple BSSIDs internally (bss=&lt;ifname&gt; option) with<br>mac80211-based drivers. madwifi does not use this design; with it, one<br>
would create the interfaces first and then run hostapd for each created<br>interface separately (i.e., not using bss=&lt;ifname&gt;, but multiple<br>hostapd.conf files).<br><font color="#888888"><br>--<br></font>
<div>
<div></div>
<div>Jouni Malinen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PGP id EFC895FA<br>_______________________________________________<br>HostAP mailing list<br><a href="mailto:HostAP@lists.shmoo.com" target="_blank">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></div></div></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>改变命运就得改变自己!<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>改变命运就得改变自己!<br>