From owner-freebsd-wireless@freebsd.org Tue Apr 18 16:25:12 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 E145FD43703 for ; Tue, 18 Apr 2017 16:25:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (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 6EFBBA71 for ; Tue, 18 Apr 2017 16:25:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x235.google.com with SMTP id z109so106234133wrb.1 for ; Tue, 18 Apr 2017 09:25:12 -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=+Qsft+fvFFIcnvYZDj0U7kUu4JKLBQO26shnnmLu1EQ=; b=EmtM7/bn/h7U5pm9mIBkYZ3IFghmxjT6irQQytjLZp79bSAGPzMc6vXird/NGSZ/Hg CC+YU8KscZfExP3BtLrosk4IJ9tl7O2to350k3w2zW07f+EBjFOI1SQ54mWXbcnU2s0e MXY9WvYbVWj+9qqc3zVHvo/TSgjYAkIL76mTYoq6Oci1q8CFkpFXXQFALrIHebfBzbIE lQFJsgXwSerrY5fCiPB8k1X1DbVTn4gr5YoJC3MVe084ZNsQFAZU1/3GZvFJFFsPgGgD rtoAlWM64TAf0VjBrHh9qL2/WThCOeyY7gCIFraYSrzC7ZZ6oDdebNL9De4bc/nst6XD i1dA== 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=+Qsft+fvFFIcnvYZDj0U7kUu4JKLBQO26shnnmLu1EQ=; b=GZnfAE1ddKZJk4zW9QuRWkzK70zSY93gE4uZrt0T6lQbgBowf4W4RWGXiItj6xtUhc WIuPoV6Y6RsbnXcBK3cRw5nGbdQVisdDUgdRF3ZdAq9YeJ32MA8BXtsxtg3MQXlEjq3f fprwkaUZN/dsqH7/vimXByWYCu5ui/xozv6dxI8xbRJYlKaRy64SyHFGULpmgJjznb8P YrHaieaUCJ82qQ5UnRlO/LU8INQIHtdpk6EFWTt/4q39QxVDQmYs0nBq4GYc8BNxmY7e MdIwg+SF54jII8zssSurr0UYMy/zizEnyrwSHPCPhVBoz025Qj95KQgt2BpY0r5Aj4A9 uMqQ== X-Gm-Message-State: AN3rC/4JpoOFG6kJp4cSBH4LNe0jT+5YPQrKQcw2Xel8mV1teQ3ZpN6B gjHRnuhLzTTDmGBVHXGCpJ0i6JRiIg== X-Received: by 10.223.130.150 with SMTP id 22mr24002768wrc.89.1492532710667; Tue, 18 Apr 2017 09:25:10 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.185.66 with HTTP; Tue, 18 Apr 2017 09:25:10 -0700 (PDT) In-Reply-To: <1446139249.3528912.1492532163623@mail.yahoo.com> References: <445614309.2487658.1492450691731.ref@mail.yahoo.com> <445614309.2487658.1492450691731@mail.yahoo.com> <1446139249.3528912.1492532163623@mail.yahoo.com> From: Adrian Chadd Date: Tue, 18 Apr 2017 09:25:10 -0700 X-Google-Sender-Auth: JGnQ-a8IJJ7Cr4it3XvxsF34emY Message-ID: Subject: Re: streaming with ath To: zsolty szasz , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Tue, 18 Apr 2017 16:25:13 -0000 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 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" >>> >>> >> >> > > > >