<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [PATCH] FT: fix the calculation of MIC Control field in FTIE</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>&gt;&gt; diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c<BR>
&gt;&gt; @@ -1207,7 +1207,7 @@ u16 wpa_ft_validate_reassoc(struct<BR>
&gt;&gt; wpa_state_machine *sm, const u8 *ies,<BR>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count = 3;<BR>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (parse.ric)<BR>
&gt;&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count++;<BR>
&gt;&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count += ieee802_11_ie_count(parse.ric, parse.ric_len);<BR>
<BR>
&gt;This looks reasonable..<BR>
<BR>
&gt;&gt; diff --git a/src/rsn_supp/wpa_ft.c b/src/rsn_supp/wpa_ft.c<BR>
&gt;&gt; @@ -950,8 +950,8 @@ int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm,<BR>
&gt;&gt; const u8 *ies,<BR>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count = 3;<BR>
&gt;&gt; -&nbsp;&nbsp;&nbsp;&nbsp; if (parse.tie)<BR>
&gt;&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count++;<BR>
&gt;&gt; +&nbsp;&nbsp;&nbsp;&nbsp; if (parse.ric)<BR>
&gt;&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count += ieee802_11_ie_count(parse.ric, parse.ric_len);<BR>
<BR>
&gt;.. and so does the parse.ric part here, but why is parse.tie removed<BR>
&gt;from the count?<BR>
<BR>
Reassociation response frame may include RIC (IEEE802.11r 7.2.3.7), and TIE is not included in MIC calculation for FTIE. (IEEE802.11r 11A.8.4/11A.8.5).<BR>
<BR>
Hong Wu<BR>
</FONT>
</P>

<BR>
______________________________________________________________________<BR>
DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System.<BR>
_____________________________________________________________________<BR>
</BODY>
</HTML>