Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2010 19:04:16 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/iwi if_iwi.c
Message-ID:  <201011011904.oA1J4bxa098745@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bschmidt    2010-11-01 19:04:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/iwi          if_iwi.c 
  Log:
  SVN rev 214632 on 2010-11-01 19:04:16Z by bschmidt
  
  MFC r214160,214162,214236
  
  r214236 & r214160:
  The firmware does pad notifications to an even number of bytes (at least
  the association notification), the included information though always
  contains an elem block with an odd number of bytes. We handle the last
  byte as if it might contain a whole elem block, this of course is not
  true as one byte is not enough to hold a block, we therefore discard the
  complete frame. The solution here is to subtract one from the actual
  notification length, this is also what the Linux driver does. With this
  change the frame ends exactly where the last elem block ends.
  
  r214262:
  The firmware always sets bit 14 and 15, to get the real associd we need
  to clear those bits.
  
  Revision  Changes    Path
  1.57.2.5  +2 -2      src/sys/dev/iwi/if_iwi.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011011904.oA1J4bxa098745>