From: Vasanthakumar Thiagarajan <vasanth@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Vasanth Thiagarajan <Vasanth.Thiagarajan@Atheros.com>,
"linville@tuxdriver.com" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"stable@kernel.org" <stable@kernel.org>
Subject: Re: [PATCH] mac80211: Fix bug in computing crc over dynamic IEs in beacon
Date: Fri, 4 Dec 2009 18:12:21 +0530 [thread overview]
Message-ID: <20091204124220.GC27936@vasanth-laptop> (raw)
In-Reply-To: <1259929798.29974.0.camel@johannes.local>
On Fri, Dec 04, 2009 at 05:59:58PM +0530, Johannes Berg wrote:
> > In ieee802_11_parse_elems_crc(),
> > BIT() is suppossed to get the bit value more than 31 (42 (id of ERP_INFO_IE),
> > 37 (CHANNEL_SWITCH_IE), (42), 32 (POWER_CONSTRAINT_IE), 45 (HT_CAP_IE),
> > 61 (HT_INFO_IE)). As we do not get the required bit value for the above
> > IEs, crc over these IEs are never calculated, so any dynamic change in these
> > IEs after the association is not really handled on 32-bit platforms.
> > This patch fixes this issue.
>
> Right. Note that this function may need to be changed/extended if we
> ever need to watch for changes in even higher IEs, but so far we don't.
Yeah, currently we do only for the IEs whose ids are < 64.
Thanks,
Vasanth
prev parent reply other threads:[~2009-12-04 12:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-04 12:11 [PATCH] mac80211: Fix bug in computing crc over dynamic IEs in beacon Vasanthakumar Thiagarajan
2009-12-04 12:29 ` Johannes Berg
2009-12-04 12:42 ` Vasanthakumar Thiagarajan [this message]
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=20091204124220.GC27936@vasanth-laptop \
--to=vasanth@atheros.com \
--cc=Vasanth.Thiagarajan@Atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=stable@kernel.org \
/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