Linux wireless drivers development
 help / color / mirror / Atom feed
From: Juuso Oikarinen <juuso.oikarinen@nokia.com>
To: ext Kalle Valo <kalle.valo@iki.fi>
Cc: "linville@tuxdriver.com" <linville@tuxdriver.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 20/22] wl1271: Clean up TX security sequence number handling
Date: Wed, 10 Mar 2010 07:47:29 +0200	[thread overview]
Message-ID: <1268200049.10120.455.camel@wimaxnb.nmp.nokia.com> (raw)
In-Reply-To: <878wa1dy0u.fsf@purkki.valot.fi>

On Tue, 2010-03-09 at 21:45 +0100, ext Kalle Valo wrote:
> Juuso Oikarinen <juuso.oikarinen@nokia.com> writes:
> 
> > Instead of managing the TX security sequence number as two variables, use
> > one 64 bit variable. This greatly simplifies the handling of the number.
> 
> [...]
> 
> > -	u16 tx_security_seq_16;
> > -	u32 tx_security_seq_32;
> > +	s64 tx_security_seq;
> 
> I'm curious, why s64 and not u64? I'm sure there's a good reason, I
> just wasn't able figure it out.
> 

Hi, good question. I don't remember the reasoning either.

Good news is that we only need the first 48 bits, so it shouldn't matter
so much.

-Juuso


  reply	other threads:[~2010-03-10  5:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22  6:38 [PATCH 00/22] wl1271: driver implementation patch blast (2/3) Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 01/22] wl1271: Moved module basics to wl1271_spi.c Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 02/22] wl1271: Added functions to enable/disable interrupt handling Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 03/22] wl1271: Implemented abstraction of IO functions Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 04/22] wl1271: Inlined " Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 05/22] wl1271: Removed wl1271_spi.h and made some functions static Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 06/22] wl1271: Divided driver to two separate modules Juuso Oikarinen
2010-02-22 18:05   ` Luis R. Rodriguez
2010-02-22 18:42     ` Johannes Berg
2010-02-22 18:57       ` Luis R. Rodriguez
2010-02-22  6:38 ` [PATCH 07/22] wl1271: Initial SDIO implementation Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 08/22] wl1271: Changed access to fw status register to use raw read Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 09/22] wl1271: Fixed unloading of the wl1271_sdio module Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 10/22] wl1271: don't get received frames from hardware in PLT mode Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 11/22] wl1271: Improvements to the TX path Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 12/22] wl1271: Fix ad-hoc mode neighborhood detection Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 13/22] wl1271: Fix queue stopping/waking for TX path Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 14/22] wl1271: Remove annoying PSM entry/exit kernel traces Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 15/22] wl1271: Aggregate RX acknowledgements to FW Juuso Oikarinen
2010-02-22  8:35   ` Johannes Berg
2010-02-22 10:33     ` Juuso Oikarinen
2010-02-22 10:44       ` Johannes Berg
2010-02-22  6:38 ` [PATCH 16/22] wl1271: Don't mask interrupts while handling interrupt Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 17/22] wl1271: Implement looped IRQ handling Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 18/22] wl1271: Update TX packet life time handling with higher resolution time Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 19/22] wl1271: Clean up firmware block allocation calculation Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 20/22] wl1271: Clean up TX security sequence number handling Juuso Oikarinen
2010-03-09 20:45   ` Kalle Valo
2010-03-10  5:47     ` Juuso Oikarinen [this message]
2010-02-22  6:38 ` [PATCH 21/22] wl1271: Disable host TX rate control Juuso Oikarinen
2010-02-22  6:38 ` [PATCH 22/22] wl1271: Remove tx-power level workaround Juuso Oikarinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1268200049.10120.455.camel@wimaxnb.nmp.nokia.com \
    --to=juuso.oikarinen@nokia.com \
    --cc=kalle.valo@iki.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox