From owner-freebsd-wireless@freebsd.org Sat Nov 28 19:40:00 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 09394A3B44C for ; Sat, 28 Nov 2015 19:40:00 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) (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 AFE6C1EBF; Sat, 28 Nov 2015 19:39:59 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by lfdl133 with SMTP id l133so157389299lfd.2; Sat, 28 Nov 2015 11:39:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=content-type:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=wBU/6Jav9eHjhwmsgR3oLnhMcafSb+Z8bxcwyVRRAs0=; b=Fyvdir/9ul+uBpNj1bG73kUKsMIKIGWXjuaeQPvblJ0ICEzBqK3xwxbPxHGu19tVg1 z3ecXny/4aTqKiiwlfkQMVb9hTKL/lNTv8lphol9TONXPgU5Dhr7gJd8/3UWKGL0+oeF BscmIlqafRS6FbTZ0p6G3/uKD2r2/EsrpcS9q8VGEigC3kFqBnHrCFJQTfTs6Usi62rv u23HzVLHRocuB7vd/2nGiDNOe71BP6NmKZ+az8kBUlL4VAAnL2H7uzTFlIa3FKt/3ksF cS8PDcryM8zM3qxbM8LQijJg0dUlv4NEhH06Op0LJX6UztWLyxfhv3e1lwtjiO13hAre +qbA== X-Received: by 10.25.165.202 with SMTP id o193mr21680579lfe.83.1448736250850; Sat, 28 Nov 2015 10:44:10 -0800 (PST) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id um1sm5861921lbb.23.2015.11.28.10.44.09 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 28 Nov 2015 10:44:10 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Steve Wills" Subject: Re: urtwn broken at r291262 References: <5659ED1D.70003@FreeBSD.org> Date: Sat, 28 Nov 2015 20:43:58 +0200 Cc: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <5659ED1D.70003@FreeBSD.org> User-Agent: Opera Mail/12.16 (FreeBSD) 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 19:40:00 -0000 Sat, 28 Nov 2015 20:06:21 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Steve Wills = : > Hi, > > My Raspberry Pi has a urtwn USB WiFi device. It was working previously= , > at r281469. It's been a while, but I updated to r291262 and now it see= ms > to associate, but can't get a DHCP lease. When I run tcpdump, it looks= > like it's receiving but not transmitting. (But obviously it transmits > enough to associate.) Looking at recent commits, I'm building r290629 > and will test that, as I suspect r290630. Any suggestions or should I > just bisect to the exact commit? I can send more detailed debugging in= fo > if needed, just let me know what would help. > Hi, 1) chip name? 2) have you tried to run 'tcpdump -y IEEE802_11_RADIO = --no-promiscuous-mode'? > 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(). > 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_B= C = with URTWN_MACID_BSS in urtwn_tx_data() (it was hardcoded as 0 in previous = revision). > Thanks, > Steve