From owner-freebsd-wireless@FreeBSD.ORG Sat Feb 16 01:26:40 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3C474130 for ; Sat, 16 Feb 2013 01:26:40 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm8-vm2.bullet.mail.ne1.yahoo.com (nm8-vm2.bullet.mail.ne1.yahoo.com [98.138.90.156]) by mx1.freebsd.org (Postfix) with ESMTP id AFDD11E8 for ; Sat, 16 Feb 2013 01:26:39 +0000 (UTC) Received: from [98.138.90.53] by nm8.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2013 01:19:50 -0000 Received: from [98.138.84.36] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2013 01:19:50 -0000 Received: from [127.0.0.1] by smtp104.mail.ne1.yahoo.com with NNFMP; 16 Feb 2013 01:19:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1360977590; bh=zr2ZKAYEHKalhtEyhY68xo18Bsn1gdzUGrRjz5oXp2A=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:X-Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=y377tqE6kGpG7a+v/XBLRrVw4dgdjb331n0ptGVVqOFaIXzK3n1Z5CAh4tUAWEsYRZka6ndBBSCgBXMcj7NR6c/W4weJBFbuOdX0zfm12sig1wPTTVBDXE2GBbeX/6VyV7tyJWebmqZHjhdMslZpZ/e8FgI+qnDO0On82tvFx0A= X-Yahoo-Newman-Id: 618882.28273.bm@smtp104.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: jqnFFPAVM1l8ARPNJNTmCzm6Wu_tY3J6M.1y6ALWPTHpRPg Z77Wgt7mqYq912cGP9qS__R1KOlIuzaJYGtbfsqBRaI99t7iCi..T_zosQQI xtP76EZezNpAsos45bRgFqIl4tfiT7utQ7pT.4Sc0az9Tlu8.EB_qeGX_eMz nXkAsOwD0K7_w4qiAFXSOP82HMtErTInWJZD1Jfk.GRyhDMfVEqRw8Xalsog kqKsTvHmOELIS7dlzLQcXtlcoXTzj4Ng2PyceaP6rQ1zqyZ7HjbnaKqDJigW xaXzDfjz6ofS85gWEPpqxHMM14hpy9BDfiCoq9kOQa6WCQAN0bY9V2DRcCYC u7P_dVUdxZr1EBQoz8v.GgLqc3YgZ3twp5mFW8fzGUTCWvvtbgwaVhz630HL rTsflMA7.vRWgXsX43JC0tlZ7tS0.MrXwOk6C7otAihdnN80xxx74.6zbMQK jaQ19IFXRbhQbx8giYMDl X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-la0-f52.google.com (moonlightakkiy@209.85.215.52 with plain) by smtp104.mail.ne1.yahoo.com with SMTP; 15 Feb 2013 17:19:50 -0800 PST Received: by mail-la0-f52.google.com with SMTP id fs12so3933027lab.39 for ; Fri, 15 Feb 2013 17:19:48 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.84.130 with SMTP id z2mr2837847lby.65.1360977588907; Fri, 15 Feb 2013 17:19:48 -0800 (PST) Received: by 10.112.1.37 with HTTP; Fri, 15 Feb 2013 17:19:48 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Feb 2013 18:19:48 -0700 Message-ID: Subject: Re: [RFC] serialising net80211 TX From: PseudoCylon To: Adrian Chadd 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: Sat, 16 Feb 2013 01:26:40 -0000 On Fri, Feb 15, 2013 at 4:03 PM, Adrian Chadd wrote: > The (many) problems include the two TX paths - one is via _start / > _transmit, and one is the raw xmit path. > > So in the short term it'll be easier (!) to just wrap all TX entry > points with a VAP TX lock. > Once that's done and we've debugged it, we can look at breaking it > into a queue with a taskqueue thread for deferred transmit. > > How's that sound? I think that's good because if_start/transmit == data packet && if_raw_xmit == mgmt packet is no longer true. http://svnweb.freebsd.org/base?view=revision&revision=222682 And, all-in-one Tx path works with run(4) at least. AK