Re: streaming with ath

2017-04-18 Thread Adrian Chadd
hi,

ok, it looks like there's something wrong in the A-MPDU TX handling.
Interesting!

Ok, leave it with me. I'll go see what I can elicit at home. In the
meantime, you have a workaround!

Poke me in a week if you haven't heard back from me. I get snowed in with work.


-adrian


On 18 April 2017 at 09:16, zsolty szasz  wrote:
> Well, ifconfig wlan0 ampdu -ampdutx it's okey
> but
> ifconfig wlan0 ampdu ampdutx -ampdurx it's not okey!
>
>
>
> On Monday, April 17, 2017 8:46 PM, Adrian Chadd  wrote:
>
>
> Ok. Its good to know its ampdu. Try enabling ampdu then disable ampdutx and
> test. Then enable ampdutx and disable ampdurx and try.
>
>
> Adrian
>
>
> On Apr 17, 2017 10:38 AM, "zsolty szasz"  wrote:
>
>
> With ifconfig wlan0 -ampdu it's stable in HT/40! I watched 2 movies without
> issues. I observed its a little bit slow thought... lots of loading's on
> TV... I checked with iperf from a laptop and all I got is 33Mbit/sec
> although laptop is connected to 300Mbit/sec. Normally I got like 16MB/sec in
> HT/40.
>
> I think we are on the right track :)
>
>
> On Sunday, April 16, 2017 7:18 PM, Adrian Chadd 
> wrote:
>
>
> oh it's fine! the fact 11n fails but 11g dosn't is a good start.
>
> Do ifconfig wlan0 -ampdu and see if that makes a change. Clients will
> have to reconnect first.
>
>
> -adrian
>
>
> On 16 April 2017 at 01:45, zsolty szasz  wrote:
>> I switched to ht20 like this: ifconfig wlan0 channel 1:ht/20 - but nothing
>> had changed. TV disconnected after like 10 minutes of streaming. I really
>> cant see any error messages. I mean nothing in dmesg or /var/log/messages,
>> besides the usual: ath0: stuck beacon; resetting (bmiss count 4). For
>> streaming I am using minidlna, the only messages I receive is that the
>> client disconnected form the streaming. Is there any debug tool in ath to
>> turn on to check the reason why TV disconnected?
>>
>> Sorry, but that's all I know about wireless in freebsd, so please have
>> patients with me.
>>
>>
>>
>> On Sunday, April 16, 2017 6:31 AM, Adrian Chadd 
>> wrote:
>>
>>
>> Is anything logged?
>>
>> Can you try HT20 instead of HT40 please?
>>
>>
>>
>>
>> -adrian
>>
>>
>> On 15 April 2017 at 05:32, zsolty szasz  wrote:
>>> Hi Adrian,
>>> I updated to head! But the problem is same.
>>>
>>> root@server:~ # uname -v
>>> FreeBSD 12.0-CURRENT #0 r316577: Sun Apr  9 23:54:39 EEST 2017
>>> root@server:/usr/obj/usr/src/ sys/GENERIC
>>>
>>> Television(s) disconnects from wifi for 10 seconds, checked with ping
>>> while
>>> streaming. Tell me what to do next please.
>>>
>>>
>>>
>>> On Monday, March 27, 2017 10:12 PM, Adrian Chadd 
>>> wrote:
>>>
>>>
>>> hi,
>>>
>>> i fixed bugs in -head. please update!
>>>
>>>
>>> -a
>>>
>>>
>>> On 27 March 2017 at 10:28, zsolty szasz via freebsd-wireless
>>>  wrote:
 Hello people,

 I have ar9227 in hostap mode in my home server. My config is:

 wlan0: flags=8843 metric 0 mtu
>
 1500
ether 30:b5:c2:63:51:77
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng 
status: running
ssid freebsdap channel 1 (2412 MHz 11g ht/40+) bssid
 30:b5:c2:63:51:77
regdomain 32924 country CN indoor ecm authmode WPA2/802.11i
privacy MIXED deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit
txpower 20 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8
shortgi wme burst dtimperiod 1 -dfs
groups: wlan
 Server is running: 11.0-RELEASE-p8
 I setup minidlna in the server. Problem is that my 2 TV-s (1xSamsung and
 1xLG) disconnects from wireless after a period of time while wathing
 movies.
 But, if I setup the wireless in the server in 11g then I can watch all
 movies from start to finish without problems. Sometimes the movies are
 buffering for a couple of seconds but are stable 100% in 11g mode. Sadly
 not
 in 11n.

 Can you help me? What to check? Zsolt
 __ _
 freebsd-wireless@freebsd.org mailing list
 https://lists.freebsd.org/ mailman/listinfo/freebsd- wireless
 To unsubscribe, send any mail to
 "freebsd-wireless-unsubscribe@ freebsd.org"
>>>
>>>
>>
>>
>
>
>
>
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: streaming with ath

2017-04-17 Thread Adrian Chadd
Ok. Its good to know its ampdu. Try enabling ampdu then disable ampdutx and
test. Then enable ampdutx and disable ampdurx and try.


Adrian


On Apr 17, 2017 10:38 AM, "zsolty szasz"  wrote:

>
> With ifconfig wlan0 -ampdu it's stable in HT/40! I watched 2 movies
> without issues. I observed its a little bit slow thought... lots of
> loading's on TV... I checked with iperf from a laptop and all I got is
> 33Mbit/sec although laptop is connected to 300Mbit/sec. Normally I got like
> 16MB/sec in HT/40.
>
> I think we are on the right track :)
>
>
> On Sunday, April 16, 2017 7:18 PM, Adrian Chadd 
> wrote:
>
>
> oh it's fine! the fact 11n fails but 11g dosn't is a good start.
>
> Do ifconfig wlan0 -ampdu and see if that makes a change. Clients will
> have to reconnect first.
>
>
> -adrian
>
>
> On 16 April 2017 at 01:45, zsolty szasz  wrote:
> > I switched to ht20 like this: ifconfig wlan0 channel 1:ht/20 - but
> nothing
> > had changed. TV disconnected after like 10 minutes of streaming. I really
> > cant see any error messages. I mean nothing in dmesg or
> /var/log/messages,
> > besides the usual: ath0: stuck beacon; resetting (bmiss count 4). For
> > streaming I am using minidlna, the only messages I receive is that the
> > client disconnected form the streaming. Is there any debug tool in ath to
> > turn on to check the reason why TV disconnected?
> >
> > Sorry, but that's all I know about wireless in freebsd, so please have
> > patients with me.
> >
> >
> >
> > On Sunday, April 16, 2017 6:31 AM, Adrian Chadd 
> > wrote:
> >
> >
> > Is anything logged?
> >
> > Can you try HT20 instead of HT40 please?
> >
> >
> >
> >
> > -adrian
> >
> >
> > On 15 April 2017 at 05:32, zsolty szasz  wrote:
> >> Hi Adrian,
> >> I updated to head! But the problem is same.
> >>
> >> root@server:~ # uname -v
> >> FreeBSD 12.0-CURRENT #0 r316577: Sun Apr  9 23:54:39 EEST 2017
> >> root@server:/usr/obj/usr/src/sys/GENERIC
> >>
> >> Television(s) disconnects from wifi for 10 seconds, checked with ping
> >> while
> >> streaming. Tell me what to do next please.
> >>
> >>
> >>
> >> On Monday, March 27, 2017 10:12 PM, Adrian Chadd <
> adrian.ch...@gmail.com>
> >> wrote:
> >>
> >>
> >> hi,
> >>
> >> i fixed bugs in -head. please update!
> >>
> >>
> >> -a
> >>
> >>
> >> On 27 March 2017 at 10:28, zsolty szasz via freebsd-wireless
> >>  wrote:
> >>> Hello people,
> >>>
> >>> I have ar9227 in hostap mode in my home server. My config is:
> >>>
> >>> wlan0: flags=8843 metric 0 mtu
> >>> 1500
> >>>ether 30:b5:c2:63:51:77
> >>>inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
> >>>nd6 options=29
> >>>media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng 
> >>>status: running
> >>>ssid freebsdap channel 1 (2412 MHz 11g ht/40+) bssid
> 30:b5:c2:63:51:77
> >>>regdomain 32924 country CN indoor ecm authmode WPA2/802.11i
> >>>privacy MIXED deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit
> >>>txpower 20 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8
> >>>shortgi wme burst dtimperiod 1 -dfs
> >>>groups: wlan
> >>> Server is running: 11.0-RELEASE-p8
> >>> I setup minidlna in the server. Problem is that my 2 TV-s (1xSamsung
> and
> >>> 1xLG) disconnects from wireless after a period of time while wathing
> >>> movies.
> >>> But, if I setup the wireless in the server in 11g then I can watch all
> >>> movies from start to finish without problems. Sometimes the movies are
> >>> buffering for a couple of seconds but are stable 100% in 11g mode.
> Sadly
> >>> not
> >>> in 11n.
> >>>
> >>> Can you help me? What to check? Zsolt
> >>> ___
> >>> freebsd-wireless@freebsd.org mailing list
> >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> >>> To unsubscribe, send any mail to
> >>> "freebsd-wireless-unsubscr...@freebsd.org"
> >>
> >>
> >
> >
>
>
>
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: streaming with ath

2017-03-27 Thread Adrian Chadd
hi,

i fixed bugs in -head. please update!


-a


On 27 March 2017 at 10:28, zsolty szasz via freebsd-wireless
 wrote:
> Hello people,
>
> I have ar9227 in hostap mode in my home server. My config is:
>
> wlan0: flags=8843 metric 0 mtu 1500
> ether 30:b5:c2:63:51:77
> inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
> nd6 options=29
> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng 
> status: running
> ssid freebsdap channel 1 (2412 MHz 11g ht/40+) bssid 30:b5:c2:63:51:77
> regdomain 32924 country CN indoor ecm authmode WPA2/802.11i
> privacy MIXED deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit
> txpower 20 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8
> shortgi wme burst dtimperiod 1 -dfs
> groups: wlan
> Server is running: 11.0-RELEASE-p8
> I setup minidlna in the server. Problem is that my 2 TV-s (1xSamsung and 
> 1xLG) disconnects from wireless after a period of time while wathing movies. 
> But, if I setup the wireless in the server in 11g then I can watch all movies 
> from start to finish without problems. Sometimes the movies are buffering for 
> a couple of seconds but are stable 100% in 11g mode. Sadly not in 11n.
>
> Can you help me? What to check? Zsolt
> ___
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"