Search Linux Wireless

Re: [PATCH] iwlwifi: fix aggregation limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-07-01 at 08:06 -0700, Marcel Holtmann wrote:
> Hi Johannes,
> 
> > According to the documentation, the limit is 0x3f == 63, not 64.
> > 
> > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> > ---
> > It seems bug 2018 is related to the link quality command, because it
> > seems I can trivially trigger it or similar bugs that way, but this
> > doesn't fix it.
> > 
> > --- wireless-testing.orig/drivers/net/wireless/iwlwifi/iwl-commands.h	2009-07-01 14:53:33.804427206 +0200
> > +++ wireless-testing/drivers/net/wireless/iwlwifi/iwl-commands.h	2009-07-01 14:53:38.924427592 +0200
> > @@ -1922,7 +1922,7 @@ struct iwl_link_qual_general_params {
> >  #define LINK_QUAL_AGG_DISABLE_START_MIN	(0)
> >  
> >  #define LINK_QUAL_AGG_FRAME_LIMIT_DEF	(31)
> > -#define LINK_QUAL_AGG_FRAME_LIMIT_MAX	(64)
> > +#define LINK_QUAL_AGG_FRAME_LIMIT_MAX	0x3f
> >  #define LINK_QUAL_AGG_FRAME_LIMIT_MIN	(0)
> 
> why are you switching of hex now? Just putting (63) in there is not
> enough?

It would be, obviously, but the doc says 0x3f.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux