From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Fri, 28 Jan 2011 21:14:33 +0100 References: <1296052208-6041-1-git-send-email-lindner_marek@yahoo.de> <201101271327.58266.lindner_marek@yahoo.de> <20110128172416.GW23716@lunn.ch> In-Reply-To: <20110128172416.GW23716@lunn.ch> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101282114.34758.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batctl: add raw wifi packet decapsulation support Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Friday 28 January 2011 18:24:16 Andrew Lunn wrote: > So i was expecting to see something like DSTODS. However the madwifi > macros are for the complete DIR field, where as you are looking at > individual bits. So > > (fc & IEEE80211_FCTL_FROMDS) && (fc & IEEE80211_FCTL_TODS) > > is equivalent to the madwifi IEEE80211_FC1_DIR_DSTODS. > > So you header length calculation looks O.K. I rather discuss potential bugs even if they turn out not to be bugs instead of letting them through. :) Thanks for your review, Marek