<div dir="ltr">I have installed iw 3.15 and done the modifications you proposed but that does not help at all as it can&#39;t find anymore the channel 48 now <div><br></div><div>Here are the config + output trace + iw list : <a href="https://gist.github.com/cmoulliard/a246bc7c52240acbd309">https://gist.github.com/cmoulliard/a246bc7c52240acbd309</a><br>
<div><br></div><div>Question : As I would like to use the USB Wifi adapted as a Transmitter, which bps could I expect to have as the manufacturer claims that it should be 300mbps for USB2 and 867mbps for USB3 ?</div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 2:05 PM, Janusz Dziedzic <span dir="ltr">&lt;<a href="mailto:janusz.dziedzic@gmail.com" target="_blank">janusz.dziedzic@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2014-06-24 10:04 GMT+02:00 Charles Moulliard &lt;<a href="mailto:ch007m@gmail.com">ch007m@gmail.com</a>&gt;:<br>
<div class="">&gt; Thx Janusz for your reply and your help.<br>
&gt;<br>
&gt; Here is more info collected based on your input. I have created a gist<br>
&gt; ticket with hostapd config, result to run the command &#39;iw list&#39; and what is<br>
&gt; displayed in debug mode by hostapd --&gt;<br>
&gt; <a href="https://gist.github.com/cmoulliard/17eba8ed42b81afb064d" target="_blank">https://gist.github.com/cmoulliard/17eba8ed42b81afb064d</a><br>
&gt;<br>
&gt; Remark : The new config does not work now and I don&#39;t get an error in the<br>
&gt; log<br>
&gt;<br>
<br>
</div>           * 5230 MHz [46] (20.0 dBm) (passive scanning, no IBSS)<br>
            * 5240 MHz [48] (20.0 dBm)<br>
            * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS,<br>
radar detection)<br>
<br>
Seems using your HW you can setup AP only on channel 48 and only with<br>
VHT20 - such HW limitation (btw you have old iw).<br>
Seems DFS is also not supported.<br>
<br>
Change your config file:<br>
#ieee80211h=1<br>
#ieee80211d=1<br>
<br>
ht_capab=[SHORT-GI-20]<br>
vht_oper_chwidth=0<br>
vht_oper_centr_freq_seg0_idx=48<br>
<br>
You should get VHT20, with your 2 spacial streams you will have max tp<br>
about 173Mbps (20MHz width and 2 spacial streams and SGI) - for 80211n<br>
that was 144,4Mbps.<br>
<br>
To be sure connected station will use ht you can setup:<br>
require_ht=1<br>
<div><div class="h5"><br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jun 24, 2014 at 9:18 AM, Janusz Dziedzic &lt;<a href="mailto:janusz.dziedzic@tieto.com">janusz.dziedzic@tieto.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 23 June 2014 13:09, Charles Moulliard &lt;<a href="mailto:ch007m@gmail.com">ch007m@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Something goes wrong with my config of hostapd 2.2 on a linux kernel<br>
&gt;&gt; &gt; (3.14.7-200.fc20.x86_64). I have plugged an Edmix AC200 (WIFI USB) and<br>
&gt;&gt; &gt; it<br>
&gt;&gt; &gt; works fine using this driver<br>
&gt;&gt; &gt; (<a href="https://github.com/abperiasamy/rtl8812AU_8821AU_linux" target="_blank">https://github.com/abperiasamy/rtl8812AU_8821AU_linux</a>) and setup<br>
&gt;&gt; &gt; (hostapd<br>
&gt;&gt; &gt; 2.2 + dnsmaq) but I can&#39;t change the channel to a value higher than 48<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; bitrate is around 24Mbits/s (measured with iperf) between this machine<br>
&gt;&gt; &gt; and a<br>
&gt;&gt; &gt; client (=MacBook pro)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; What is the issue ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; 64 - is DFS channel, so required HW that support radar detection +<br>
&gt;&gt; hostap config (country_code=, ieee80211d=1, ieee80211h=1)<br>
&gt;&gt;<br>
&gt;&gt; &gt; sudo ./hostapd config_test.conf<br>
&gt;&gt; &gt; Configuration file: config_test.conf<br>
&gt;&gt; &gt; wlp0s20u2: IEEE 802.11 Configured channel (64) not found from the<br>
&gt;&gt; &gt; channel<br>
&gt;&gt; &gt; list of current mode (2) IEEE 802.11a<br>
&gt;&gt; &gt; wlp0s20u2: IEEE 802.11 Hardware does not support configured channel<br>
&gt;&gt; &gt; Could not select hw_mode and channel. (-3)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; More debug output available here :<br>
&gt;&gt; &gt; <a href="https://gist.github.com/cmoulliard/81aa9c7dc60c366f4724" target="_blank">https://gist.github.com/cmoulliard/81aa9c7dc60c366f4724</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; iwlist wlp0s20u2 channel<br>
&gt;&gt; &gt; wlp0s20u2  32 channels in total; available frequencies :<br>
&gt;&gt; &gt;           Channel 01 : 2.412 GHz<br>
&gt;&gt; &gt;           Channel 02 : 2.417 GHz<br>
&gt;&gt; &gt;           Channel 03 : 2.422 GHz<br>
&gt;&gt; &gt;           Channel 04 : 2.427 GHz<br>
&gt;&gt; &gt;           Channel 05 : 2.432 GHz<br>
&gt;&gt; &gt;           Channel 06 : 2.437 GHz<br>
&gt;&gt; &gt;           Channel 07 : 2.442 GHz<br>
&gt;&gt; &gt;           Channel 08 : 2.447 GHz<br>
&gt;&gt; &gt;           Channel 09 : 2.452 GHz<br>
&gt;&gt; &gt;           Channel 10 : 2.457 GHz<br>
&gt;&gt; &gt;           Channel 11 : 2.462 GHz<br>
&gt;&gt; &gt;           Channel 12 : 2.467 GHz<br>
&gt;&gt; &gt;           Channel 13 : 2.472 GHz<br>
&gt;&gt; &gt;           Channel 36 : 5.18 GHz<br>
&gt;&gt; &gt;           Channel 40 : 5.2 GHz<br>
&gt;&gt; &gt;           Channel 44 : 5.22 GHz<br>
&gt;&gt; &gt;           Channel 48 : 5.24 GHz<br>
&gt;&gt; &gt;           Channel 52 : 5.26 GHz<br>
&gt;&gt; &gt;           Channel 56 : 5.28 GHz<br>
&gt;&gt; &gt;           Channel 60 : 5.3 GHz<br>
&gt;&gt; &gt;           Channel 64 : 5.32 GHz<br>
&gt;&gt; &gt;           Channel 100 : 5.5 GHz<br>
&gt;&gt; &gt;           Channel 104 : 5.52 GHz<br>
&gt;&gt; &gt;           Channel 108 : 5.54 GHz<br>
&gt;&gt; &gt;           Channel 112 : 5.56 GHz<br>
&gt;&gt; &gt;           Channel 116 : 5.58 GHz<br>
&gt;&gt; &gt;           Channel 120 : 5.6 GHz<br>
&gt;&gt; &gt;           Channel 124 : 5.62 GHz<br>
&gt;&gt; &gt;           Channel 128 : 5.64 GHz<br>
&gt;&gt; &gt;           Channel 132 : 5.66 GHz<br>
&gt;&gt; &gt;           Channel 136 : 5.68 GHz<br>
&gt;&gt; &gt;           Channel 140 : 5.7 GHz<br>
&gt;&gt; &gt;           Current Frequency:5.24 GHz (Channel 48)<br>
&gt;&gt; &gt;<br>
&gt;&gt; Please use iw list instead.<br>
&gt;&gt;<br>
&gt;&gt; &gt; dabou@localhost Temp$ iwconfig<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; wlp0s20u2  IEEE 802.11a  ESSID:&quot;fuselab&quot;  Nickname:&quot;&lt;WIFI@REALTEK&gt;&quot;<br>
&gt;&gt; &gt;           Mode:Master  Frequency:5.24 GHz  Access Point:<br>
&gt;&gt; &gt; D8:50:E6:F3:96:C7<br>
&gt;&gt; &gt;           Bit Rate:54 Mb/s   Sensitivity:0/0<br>
&gt;&gt; &gt;           Retry:off   RTS thr:off   Fragment thr:off<br>
&gt;&gt; &gt;           Power Management:off<br>
&gt;&gt; &gt;           Link Quality=66/100  Signal level=48/100  Noise level=0/100<br>
&gt;&gt; &gt;           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0<br>
&gt;&gt; &gt;           Tx excessive retries:0  Invalid misc:0   Missed beacon:0<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Config used :<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; interface=wlp0s20u2<br>
&gt;&gt; &gt; ssid=fuselab<br>
&gt;&gt; &gt; #channel=48<br>
&gt;&gt; &gt; channel=64<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # WPA and WPA2 configuration<br>
&gt;&gt; &gt; macaddr_acl=0<br>
&gt;&gt; &gt; auth_algs=1<br>
&gt;&gt; &gt; ignore_broadcast_ssid=0<br>
&gt;&gt; &gt; wpa=3<br>
&gt;&gt; &gt; wpa_passphrase=fuselab987<br>
&gt;&gt; &gt; wpa_key_mgmt=WPA-PSK<br>
&gt;&gt; &gt; wpa_pairwise=TKIP<br>
&gt;&gt; &gt; rsn_pairwise=CCMP<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # Hardware configuration<br>
&gt;&gt; &gt; driver=nl80211<br>
&gt;&gt; &gt; wme_enabled=1<br>
&gt;&gt; &gt; ieee80211n=0<br>
&gt;&gt; &gt; ieee80211ac=1<br>
&gt;&gt; &gt; hw_mode=a<br>
&gt;&gt; &gt;<br>
&gt;&gt; Here you can use (v)ht40/vht80 - as I remember correctly 80211ac=1<br>
&gt;&gt; required also 80211n=1.<br>
&gt;&gt;<br>
&gt;&gt; BR<br>
&gt;&gt; Janusz<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Charles Moulliard<br>
&gt; Apache Committer / Architect @RedHat<br>
&gt; Twitter : @cmoulliard | Blog :  <a href="http://cmoulliard.github.io" target="_blank">http://cmoulliard.github.io</a><br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; HostAP mailing list<br>
&gt; <a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
&gt; <a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Janusz Dziedzic<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Charles Moulliard</div><div>Apache Committer / Architect @RedHat</div><div>Twitter : @cmoulliard | Blog : <a href="http://cmoulliard.github.io" target="_blank"> http://cmoulliard.github.io</a></div>
<div><br></div></div>
</div>