From owner-freebsd-wireless@FreeBSD.ORG Thu Aug 18 02:22:58 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDE13106566B for ; Thu, 18 Aug 2011 02:22:58 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm19-vm3.bullet.mail.ne1.yahoo.com (nm19-vm3.bullet.mail.ne1.yahoo.com [98.138.91.149]) by mx1.freebsd.org (Postfix) with SMTP id 7703D8FC08 for ; Thu, 18 Aug 2011 02:22:58 +0000 (UTC) Received: from [98.138.90.48] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 18 Aug 2011 02:10:42 -0000 Received: from [98.138.84.34] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 18 Aug 2011 02:10:42 -0000 Received: from [127.0.0.1] by smtp102.mail.ne1.yahoo.com with NNFMP; 18 Aug 2011 02:10:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1313633442; bh=OYjPR3biwyj8PS0+Bc9sbPHBEo2+vpCwc5WQAUvSFgI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=SAy14YLNaMwlFog7bFOFp/Us3ots9WdzUANERVnNUNvYI8/+5xlrkCG5jT150VslC9plAp9O+hBnQVC/i2YuwW9ntBhuL4LcXO0nzIlbVk60C2Vv5PKoM+7IcIUFaQsIkuYShWc1pM4H3cRmUwuuGe95g7O9Isp2N5Dqqyc4EHg= X-Yahoo-Newman-Id: 397091.54522.bm@smtp102.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SVBLoqcVM1n9LsAdWBXArYi8rSfBmdxGyvRg4ERBB4e9kPk qA5dVc_zKqBqEccE6c99aFbVHAlSCW.062JcOlhqS1Mz7JyYKLmkI9qYS7_. K9vkjPU_vSyWZQI1VMJoK54ogkbA3uka0GSYMbdeQsViqSpuDM56x2qw9G3J myHd4iBwTAvGNIPs.KZiAfb7HkBcZIRsdz_Xo2QEZgcNwkiJZJMSlc5LC7eX hgcv.9pCkF_YC5IW7eK4rjnf0ytJ8HFmwd7.DFSvb9SJzHnK1awopzFHExWj kEnHZWWOMmcyzPyRojOcw8sIFnaeQaemBkV4OPkrqkaUArZkZO9nny7ek8qo 4f8vyTb6b8GJZWyzZ9zuCvsZiOHvneb9UNhze7SBlLRnudLER8CbxmieybuG fwtfnWG3DGX8sxKITw.JrGsc- X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-vx0-f182.google.com (moonlightakkiy@209.85.220.182 with plain) by smtp102.mail.ne1.yahoo.com with SMTP; 17 Aug 2011 19:10:42 -0700 PDT Received: by vxh11 with SMTP id 11so1785651vxh.13 for ; Wed, 17 Aug 2011 19:10:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.92.199 with SMTP id co7mr171309vdb.85.1313633441537; Wed, 17 Aug 2011 19:10:41 -0700 (PDT) Received: by 10.52.187.195 with HTTP; Wed, 17 Aug 2011 19:10:41 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Aug 2011 20:10:41 -0600 Message-ID: From: PseudoCylon To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ieee80211_process_callback() use in drivers X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 18 Aug 2011 02:22:58 -0000 On Wed, Aug 17, 2011 at 1:33 AM, Adrian Chadd wrote: > On 17 August 2011 14:40, PseudoCylon wrote: > >> I tried this while ago. >> http://lists.freebsd.org/pipermail/freebsd-net/2010-July/025758.html >> >> The patch should still work today. > > Hm, I fixed the status check in the BAR TX routines. > Is that enough? Or are you saying that the node ref is freed somewhere > inside ic_raw_xmit() on a TX failure? > Sorry, I found the commit after replied. But, drivers call ieee80211_free_node() in ic_raw_xmit() on failure. AK