<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'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"><<a href="mailto:janusz.dziedzic@gmail.com" target="_blank">janusz.dziedzic@gmail.com</a>></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 <<a href="mailto:ch007m@gmail.com">ch007m@gmail.com</a>>:<br>
<div class="">> Thx Janusz for your reply and your help.<br>
><br>
> Here is more info collected based on your input. I have created a gist<br>
> ticket with hostapd config, result to run the command 'iw list' and what is<br>
> displayed in debug mode by hostapd --><br>
> <a href="https://gist.github.com/cmoulliard/17eba8ed42b81afb064d" target="_blank">https://gist.github.com/cmoulliard/17eba8ed42b81afb064d</a><br>
><br>
> Remark : The new config does not work now and I don't get an error in the<br>
> log<br>
><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>
> Regards,<br>
><br>
><br>
><br>
> On Tue, Jun 24, 2014 at 9:18 AM, Janusz Dziedzic <<a href="mailto:janusz.dziedzic@tieto.com">janusz.dziedzic@tieto.com</a>><br>
> wrote:<br>
>><br>
>> On 23 June 2014 13:09, Charles Moulliard <<a href="mailto:ch007m@gmail.com">ch007m@gmail.com</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > Something goes wrong with my config of hostapd 2.2 on a linux kernel<br>
>> > (3.14.7-200.fc20.x86_64). I have plugged an Edmix AC200 (WIFI USB) and<br>
>> > it<br>
>> > works fine using this driver<br>
>> > (<a href="https://github.com/abperiasamy/rtl8812AU_8821AU_linux" target="_blank">https://github.com/abperiasamy/rtl8812AU_8821AU_linux</a>) and setup<br>
>> > (hostapd<br>
>> > 2.2 + dnsmaq) but I can't change the channel to a value higher than 48<br>
>> > and<br>
>> > bitrate is around 24Mbits/s (measured with iperf) between this machine<br>
>> > and a<br>
>> > client (=MacBook pro)<br>
>> ><br>
>> > What is the issue ?<br>
>> ><br>
>> 64 - is DFS channel, so required HW that support radar detection +<br>
>> hostap config (country_code=, ieee80211d=1, ieee80211h=1)<br>
>><br>
>> > sudo ./hostapd config_test.conf<br>
>> > Configuration file: config_test.conf<br>
>> > wlp0s20u2: IEEE 802.11 Configured channel (64) not found from the<br>
>> > channel<br>
>> > list of current mode (2) IEEE 802.11a<br>
>> > wlp0s20u2: IEEE 802.11 Hardware does not support configured channel<br>
>> > Could not select hw_mode and channel. (-3)<br>
>> ><br>
>> > More debug output available here :<br>
>> > <a href="https://gist.github.com/cmoulliard/81aa9c7dc60c366f4724" target="_blank">https://gist.github.com/cmoulliard/81aa9c7dc60c366f4724</a><br>
>> ><br>
>> > iwlist wlp0s20u2 channel<br>
>> > wlp0s20u2 32 channels in total; available frequencies :<br>
>> > Channel 01 : 2.412 GHz<br>
>> > Channel 02 : 2.417 GHz<br>
>> > Channel 03 : 2.422 GHz<br>
>> > Channel 04 : 2.427 GHz<br>
>> > Channel 05 : 2.432 GHz<br>
>> > Channel 06 : 2.437 GHz<br>
>> > Channel 07 : 2.442 GHz<br>
>> > Channel 08 : 2.447 GHz<br>
>> > Channel 09 : 2.452 GHz<br>
>> > Channel 10 : 2.457 GHz<br>
>> > Channel 11 : 2.462 GHz<br>
>> > Channel 12 : 2.467 GHz<br>
>> > Channel 13 : 2.472 GHz<br>
>> > Channel 36 : 5.18 GHz<br>
>> > Channel 40 : 5.2 GHz<br>
>> > Channel 44 : 5.22 GHz<br>
>> > Channel 48 : 5.24 GHz<br>
>> > Channel 52 : 5.26 GHz<br>
>> > Channel 56 : 5.28 GHz<br>
>> > Channel 60 : 5.3 GHz<br>
>> > Channel 64 : 5.32 GHz<br>
>> > Channel 100 : 5.5 GHz<br>
>> > Channel 104 : 5.52 GHz<br>
>> > Channel 108 : 5.54 GHz<br>
>> > Channel 112 : 5.56 GHz<br>
>> > Channel 116 : 5.58 GHz<br>
>> > Channel 120 : 5.6 GHz<br>
>> > Channel 124 : 5.62 GHz<br>
>> > Channel 128 : 5.64 GHz<br>
>> > Channel 132 : 5.66 GHz<br>
>> > Channel 136 : 5.68 GHz<br>
>> > Channel 140 : 5.7 GHz<br>
>> > Current Frequency:5.24 GHz (Channel 48)<br>
>> ><br>
>> Please use iw list instead.<br>
>><br>
>> > dabou@localhost Temp$ iwconfig<br>
>> ><br>
>> > wlp0s20u2 IEEE 802.11a ESSID:"fuselab" Nickname:"<WIFI@REALTEK>"<br>
>> > Mode:Master Frequency:5.24 GHz Access Point:<br>
>> > D8:50:E6:F3:96:C7<br>
>> > Bit Rate:54 Mb/s Sensitivity:0/0<br>
>> > Retry:off RTS thr:off Fragment thr:off<br>
>> > Power Management:off<br>
>> > Link Quality=66/100 Signal level=48/100 Noise level=0/100<br>
>> > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0<br>
>> > Tx excessive retries:0 Invalid misc:0 Missed beacon:0<br>
>> ><br>
>> > Config used :<br>
>> ><br>
>> > interface=wlp0s20u2<br>
>> > ssid=fuselab<br>
>> > #channel=48<br>
>> > channel=64<br>
>> ><br>
>> > # WPA and WPA2 configuration<br>
>> > macaddr_acl=0<br>
>> > auth_algs=1<br>
>> > ignore_broadcast_ssid=0<br>
>> > wpa=3<br>
>> > wpa_passphrase=fuselab987<br>
>> > wpa_key_mgmt=WPA-PSK<br>
>> > wpa_pairwise=TKIP<br>
>> > rsn_pairwise=CCMP<br>
>> ><br>
>> > # Hardware configuration<br>
>> > driver=nl80211<br>
>> > wme_enabled=1<br>
>> > ieee80211n=0<br>
>> > ieee80211ac=1<br>
>> > hw_mode=a<br>
>> ><br>
>> Here you can use (v)ht40/vht80 - as I remember correctly 80211ac=1<br>
>> required also 80211n=1.<br>
>><br>
>> BR<br>
>> Janusz<br>
><br>
><br>
><br>
><br>
> --<br>
> Charles Moulliard<br>
> Apache Committer / Architect @RedHat<br>
> Twitter : @cmoulliard | Blog : <a href="http://cmoulliard.github.io" target="_blank">http://cmoulliard.github.io</a><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> HostAP mailing list<br>
> <a href="mailto: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>
><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>