From owner-freebsd-wireless@freebsd.org Mon Apr 17 17:46:10 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90B95D4222B for ; Mon, 17 Apr 2017 17:46:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A45B1D77 for ; Mon, 17 Apr 2017 17:46:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id t189so36902589wmt.1 for ; Mon, 17 Apr 2017 10:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=82m0xAoV74n45j51hdojTPFAze5Wsmvce3iekmaKm+k=; b=WFYpx7abOugwBhDpsQIawPf7QApH5d8JIHzeNJX23twHV0U4BU+2gKKh35U+3H/sA9 5F9tY3s4v8AG4ul6FCM/tCL5QrL36O8Y3vkW6jOnMqySisd0hrfinV5LSFi3BlSnR8w+ I+WWh1sihQCtFZMqSJerkvJ/s462E+9nOEs8jf9YZexLVPWI5ANA7pbaxlvC0RgWQJTP 7zh/hc9RgKz4u3P+P+3tAwgbV6XL0F24Y6WQuNGCw6e2QtNcqPlgvr+nFCsXElvWiC9R 73quDtl924sajjqtlVz8Mt5fPjOIFtFldkp2vim5yS4zrLSxsQ3MQ6x4CJc2WeAN+U18 jlIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=82m0xAoV74n45j51hdojTPFAze5Wsmvce3iekmaKm+k=; b=QGv2Ffkx6LLzuGJ7v18To3VZdUcm6z8RhcO4T8plB06R5fjFgMR3T5pRhCUF/t9U4a KpCqQmammtazNmLLTiWOlzSmXBDxHJQH27D0bz3NmEX2We1wD6RM50sOpRpbGZ/JN8tV SRDQpk4eULNokaxVO4XlBURlM40F0dhufsQYAWNv2nVi0WoqYAZ2PHOq0X/p967WRytU m9uiOIEpeDwuZn2kXe/WfvY5WDKghK5DppVrI385zI5+PmFXu9rJhqQTTMa/0UYmiGoO csgJathiYFKFjmrwz5Jh94RoA1x9kNuaasbwicvEbmCrerrH4eoPB84GXfj7tUl2/Snn +hDQ== X-Gm-Message-State: AN3rC/5WtZZCB9ZtOT/Tys9IqEI401KJZmDkiteAYph4Eysu0xCKIHOu WksVSEDmgsecOIilNRETkViqa+uKBw== X-Received: by 10.28.132.134 with SMTP id g128mr5637868wmd.106.1492451167736; Mon, 17 Apr 2017 10:46:07 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.185.66 with HTTP; Mon, 17 Apr 2017 10:46:05 -0700 (PDT) Received: by 10.28.185.66 with HTTP; Mon, 17 Apr 2017 10:46:05 -0700 (PDT) In-Reply-To: <445614309.2487658.1492450691731@mail.yahoo.com> References: <445614309.2487658.1492450691731.ref@mail.yahoo.com> <445614309.2487658.1492450691731@mail.yahoo.com> From: Adrian Chadd Date: Mon, 17 Apr 2017 10:46:05 -0700 X-Google-Sender-Auth: PMp4g5er4v7iWVuyuIngYF2yhhI Message-ID: Subject: Re: streaming with ath To: Zsolt SZASZ , freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2017 17:46:10 -0000 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.chadd@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 0xffffff00 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" > >> > >> > > > > > > >