From owner-freebsd-wireless@FreeBSD.ORG Fri May 3 04:22:41 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C08C2BB; Fri, 3 May 2013 04:22:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-x22f.google.com (mail-da0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 364DC1530; Fri, 3 May 2013 04:22:41 +0000 (UTC) Received: by mail-da0-f47.google.com with SMTP id k13so618131dae.6 for ; Thu, 02 May 2013 21:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3JHLpmNIzQ5ur3XxBdFAXeQIKh2uMNVHKA5GA+kA3Jo=; b=zB5kFBbIt8h6LMTujxE8clDIuKCogQkuo9RdEjPuvFS5+IPhhrK5WBrjRn4uJHVTQq zk/v8wV+Ce3Zhm4WGfzZRYX7x+s56LQZJSKd66bQ5oEnLLqahq29tU6QED0tWC951DMt RgdlSNGimBW4s/SNLXwhxFngT5oP+ty86oZJo2WVr2JJWaoj+NG3WJA+Rl845it/oP69 RVPA6kMsqKTbQa49Hhr9bAbQp+NpV5fz7EEaZyJyXE8YcLD1wokblwD9fv9qgHW5LmJB LKKTBhVzIdij2neNwn0TF99CdQNTxEyT75E1cy/Xr5sYqx5CroEFUn7EQCZigRUuierO 097Q== MIME-Version: 1.0 X-Received: by 10.67.5.168 with SMTP id cn8mr13100894pad.119.1367554961037; Thu, 02 May 2013 21:22:41 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.70.46.198 with HTTP; Thu, 2 May 2013 21:22:40 -0700 (PDT) In-Reply-To: References: <2810538978.20130423164137@serebryakov.spb.ru> <1813905823.20130423184528@serebryakov.spb.ru> <184105677.20130424002002@serebryakov.spb.ru> <1936997795.20130424003555@serebryakov.spb.ru> <886711115.20130424004702@serebryakov.spb.ru> <6010292503.20130426001447@serebryakov.spb.ru> <99510815.20130426122508@serebryakov.spb.ru> <187241224.20130429113623@serebryakov.spb.ru> <124956607.20130430122459@serebryakov.spb.ru> <146903383.20130501000714@serebryakov.spb.ru> <94204652.20130501133220@serebryakov.spb.ru> Date: Thu, 2 May 2013 21:22:40 -0700 X-Google-Sender-Auth: ktC-920ZFS-hUDG9aecxooWsbtw Message-ID: Subject: Re: New hardware, old problem: stuck beacon when here is WiFi traffic From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 03 May 2013 04:22:41 -0000 On 2 May 2013 18:54, Adrian Chadd wrote: > .. and I've now (mostly) successfully reproduced this here at home. > > I'll do some further digging. It may be that I just give in and add > the TXQ stall workaround. I'd however like to avoid doing that if > possible. :-) Hm, I'm reproducing it here and I see some odd descriptor behaviour. I'll tinker with it a bit more locally. There's at least one bug in the TX code to do with descriptor handling, but it didn't fix everything. I'll have to re-review things to make sure everything is handled in the correct order. I'll let you know when I have something to test! Thanks, Adrian