From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth01.qualcomm.com ([65.197.215.72]:18235 "EHLO sabertooth01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754060AbaKEKmz (ORCPT ); Wed, 5 Nov 2014 05:42:55 -0500 Date: Wed, 5 Nov 2014 16:14:59 +0530 From: Rajkumar Manoharan To: Johannes Berg CC: Kalle Valo , , , Michal Kazior Subject: Re: [PATCH v2] ath10k: handle ieee80211 header and payload tracing separately Message-ID: <20141105104458.GA13249@qca.qualcomm.com> (sfid-20141105_114300_642840_0A2D1F79) References: <1414661336-20764-1-git-send-email-rmanohar@qti.qualcomm.com> <874muf7t9u.fsf@kamboji.qca.qualcomm.com> <20141104051643.GA14509@qca.qualcomm.com> <87k33a1lli.fsf@kamboji.qca.qualcomm.com> <20141105094437.GA21839@qca.qualcomm.com> <1415182321.2589.14.camel@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <1415182321.2589.14.camel@sipsolutions.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Nov 05, 2014 at 11:12:01AM +0100, Johannes Berg wrote: > On Wed, 2014-11-05 at 15:14 +0530, Rajkumar Manoharan wrote: > > > The macro is defined to ease readability and reduce # of line changes. > > I originally thought of naming the macro as IEEE80211_HDR_LEN. But such > > definition does not look correct inside driver. > > FWIW, I pointed Kalle to the macro on IRC - IMHO you should pass > arguments to the macro (and probably even make it an inline function) > rather than having it assume certain variables exist when the macro is > used. > > Kalle may have misunderstood what I was trying to say :) > Sounds clear..Thanks for pointing out. Will change it as inline funtion.. -Rajkumar