<div dir="ltr">Hi Antonio,<div><br></div><div> Thank you for your answer. Please find my comments below:</div><div><br></div><div><b><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">> why using WPA-NONE when you can use RSN ? WPA-NONE is not really WPA..<br>
</span><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">> How can you use CCMP with WPA-NONE?</span></b><br></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</span></div><div><font face="arial, sans-serif">To be honest I didn't focus on key / ciphering configuration, and I copy an existing configuration found somewhere. However </font><a href="http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/wpa_supplicant.conf">http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/wpa_supplicant.conf</a> states:</div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap"># mode: IEEE 802.11 operation mode</span></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"># 0 = infrastructure (Managed) mode, i.e., associate with an AP (default)
# 1 = IBSS (ad-hoc, peer-to-peer)
# 2 = AP (access point)
# Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). WPA-None requires
# following network block options:
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
# both), and psk must also be set.</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;white-space:normal"><b>> htmode=HT40-</b></span><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;white-space:normal">If I don't set htmode, I'm stuck with 54Mbps. If i set htmode=HT20, I can use 72.2Mbps, if I set htmode=HT40- I can use 150Mbps. And you guess right I am using openwrt, sorry for not mentionning it...</span></pre>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">ht_capa file of my peer:</font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<font face="courier new, monospace">ht supported
cap: 0x02f2
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 2-streams
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
ampdu factor/density: 3/4
MCS mask: ff ff 00 00 01 00 00 00 00 00
MCS tx params: 7</font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">I am not sure I understand everything here. Why bit 19 is set in MCS mask? What MCS tx params is? Only one stream in Tx?</pre>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"> Cheers</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
Alban</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><br></pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 6:11 PM, Antonio Quartulli <span dir="ltr"><<a href="mailto:antonio@meshcoding.com" target="_blank">antonio@meshcoding.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alban,<br>
<div class="im"><br>
On 13/12/13 18:06, Alban JEANTHEAU wrote:<br>
> Hi every one,<br>
><br>
> I need to make Wi-Fi connections between my device and I require a<br>
> high throughput. I mainly target IBSS network. For IBSS, I'm using<br>
> wpa_supplicant with USB dongle Asus N53 (RT3572, here is my<br>
> configuration file:<br>
><br>
> ap_scan=2<br>
> network={<br>
> scan_ssid=1<br>
> ssid="MySsid"<br>
> frequency=5200<br>
> mode=1<br>
> key_mgmt=WPA-NONE<br>
<br>
</div>why using WPA-NONE when you can use RSN ? WPA-NONE is not really WPA..<br>
<div class="im"><br>
> proto=WPA<br>
> psk="MyKey"<br>
> pairwise=NONE<br>
> group=CCMP<br>
<br>
</div>How can you use CCMP with WPA-NONE?<br>
<br>
> htmode=HT40-<br>
<br>
where have you seen this parameter? This is not supported by<br>
wpa_supplicant as it is nl80211 specific....and we didn't find a<br>
reasonable way to push into the configuration engine any driver-specific<br>
parameter.<br>
<br>
Are you using openwrt by any chance?<br>
<div class="im"><br>
> }<br>
><br>
> The maximum throughput I can reach is about 22Mbps (iperf TCP between 2<br>
> devices 2 meters away).<br>
<br>
</div>My guess is that the IBSS connection is not exploiting the HT<br>
capabilities. Please, look for a file called ht_capa in /sys/ (you<br>
should have one of this file for each peer you have) and check its content.<br>
<br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Antonio Quartulli<br>
<br>
</font></span></blockquote></div><br></div>