<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">&gt; 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">&gt; 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&#39;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>&gt;     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&#39;t set htmode, I&#39;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">&lt;<a href="mailto:antonio@meshcoding.com" target="_blank">antonio@meshcoding.com</a>&gt;</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>
&gt; Hi every one,<br>
&gt;<br>
&gt;   I need to make Wi-Fi connections between my device and I require a<br>
&gt; high throughput. I mainly target IBSS network. For IBSS, I&#39;m using<br>
&gt; wpa_supplicant with USB dongle Asus N53 (RT3572, here is my<br>
&gt; configuration file:<br>
&gt;<br>
&gt; ap_scan=2<br>
&gt; network={<br>
&gt;     scan_ssid=1<br>
&gt;     ssid=&quot;MySsid&quot;<br>
&gt;     frequency=5200<br>
&gt;     mode=1<br>
&gt;     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>
&gt;     proto=WPA<br>
&gt;     psk=&quot;MyKey&quot;<br>
&gt;     pairwise=NONE<br>
&gt;     group=CCMP<br>
<br>
</div>How can you use CCMP with WPA-NONE?<br>
<br>
&gt;     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&#39;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>
&gt; }<br>
&gt;<br>
&gt; The maximum throughput I can reach is about 22Mbps (iperf TCP between 2<br>
&gt; 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>