Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:49737 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755688Ab0I1SxU (ORCPT ); Tue, 28 Sep 2010 14:53:20 -0400 Subject: Re: RFC: Store premable and g-mode flags in ieee80211_tx_info From: Johannes Berg To: Ben Greear Cc: "linux-wireless@vger.kernel.org" In-Reply-To: <4CA22C34.1000107@candelatech.com> References: <4CA224FF.3030103@candelatech.com> <1285696089.32597.0.camel@jlt3.sipsolutions.net> <4CA22C34.1000107@candelatech.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 28 Sep 2010 20:53:18 +0200 Message-ID: <1285699998.32597.1.camel@jlt3.sipsolutions.net> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2010-09-28 at 10:56 -0700, Ben Greear wrote: > Anyway, the reason is that the driver may not know the VIF (and > vif may be deleted) when calling the ieee80211_rts_duration, so it needs to be stored > in the tx_info structure. But the vif pointer in the tx_info structure is valid during the entire tx() call, why would you need to call rts_duration during TX status? johannes