<!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>>> diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c<BR>
>> @@ -1207,7 +1207,7 @@ u16 wpa_ft_validate_reassoc(struct<BR>
>> wpa_state_machine *sm, const u8 *ies,<BR>
>> count = 3;<BR>
>> if (parse.ric)<BR>
>> - count++;<BR>
>> + count += ieee802_11_ie_count(parse.ric, parse.ric_len);<BR>
<BR>
>This looks reasonable..<BR>
<BR>
>> diff --git a/src/rsn_supp/wpa_ft.c b/src/rsn_supp/wpa_ft.c<BR>
>> @@ -950,8 +950,8 @@ int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm,<BR>
>> const u8 *ies,<BR>
>> count = 3;<BR>
>> - if (parse.tie)<BR>
>> - count++;<BR>
>> + if (parse.ric)<BR>
>> + count += ieee802_11_ie_count(parse.ric, parse.ric_len);<BR>
<BR>
>.. and so does the parse.ric part here, but why is parse.tie removed<BR>
>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>