From owner-freebsd-wireless@freebsd.org Sat Nov 28 22:14:01 2015 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 5CCB7A3BD54 for ; Sat, 28 Nov 2015 22:14:01 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3357A1364; Sat, 28 Nov 2015 22:14:01 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from [10.0.1.96] (cpe-071-065-239-148.nc.res.rr.com [71.65.239.148] (may be forged)) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id tASMDmG2081893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 28 Nov 2015 22:13:54 GMT (envelope-from swills@FreeBSD.org) Subject: Re: urtwn broken at r291262 To: Andriy Voskoboinyk References: <5659ED1D.70003@FreeBSD.org> Cc: "freebsd-wireless@freebsd.org" From: Steve Wills Message-ID: <565A271C.6070107@FreeBSD.org> Date: Sat, 28 Nov 2015 17:13:48 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Sat, 28 Nov 2015 22:13:55 +0000 (UTC) X-Spam-Status: No, score=-1.0 required=4.5 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.98.7 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 28 Nov 2015 22:14:01 -0000 On 11/28/2015 13:43, Andriy Voskoboinyk wrote: > > Hi, > 1) chip name? urtwn0: on usbus0 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > 2) have you tried to run 'tcpdump -y IEEE802_11_RADIO > --no-promiscuous-mode'? > No. Wasn't sure how to interpret the output when I did, but I don't think I saw any receive. >> but not transmitting > Which device is used to monitor the traffic? If this is the same device, > then you will not know about transmission failure/success, > since tcpdump uses info from ieee80211_radiotap_tx(). Ok, same device, so no help. >> Any suggestions or should I just bisect to the exact commit? > Probably, yes (it works for me without any issues on any revision). > > P.S. If problem is in r290630, then you can try to replace > URTWN_MACID_BC with > URTWN_MACID_BSS in urtwn_tx_data() (it was hardcoded as 0 in previous > revision). So far all I can say for sure is that r290629 works. Will test r290630 now. More soon. Steve