<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3562" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=788563609-11082009>Does anyone have some ideas about 
that?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=788563609-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=788563609-11082009>Thanks in advance</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=788563609-11082009>Baozhong</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Zheng BaoZhong-E13358 <BR><B>Sent:</B> 
Tuesday, August 11, 2009 5:30 PM<BR><B>To:</B> 
hostap@lists.shmoo.com<BR><B>Subject:</B> wpa_supplicant 0.5.11, wifi WPA2 
certification 5.5.2 PMK cache case fails, when validate_ie during 
roaming<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>Hi, 
all</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>we&nbsp;are 
using TI 1271 chipset, and wpa_supplicant 0.5.11 version, and when we run WPA2 
certification 5.5.2 case, it fails about log</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>"<EM><FONT 
color=#ff0000>W/wpa_supplicant( 1637): WPA: IE in 3/4 msg does not match with IE 
in Beacon/ProbeResp (src=00:03:7f:00:d7:da)</FONT></EM>"</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>It locates 
in wpa_supplicant_process_3_of_4 about line "if (wpa_supplicant_validate_ie(sm, 
sm-&gt;bssid, &amp;ie) &lt; 0)", and with more log I analysis, we found it is 
caused maybe by wpa_supplicant_event_associnfo in events.c</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>last lines 
in wpa_supplicant_event_associnfo function</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009><EM>&nbsp;if 
(!wpa_found &amp;&amp; 
data-&gt;assoc_info.beacon_ies)<BR>&nbsp;&nbsp;wpa_sm_set_ap_wpa_ie(wpa_s-&gt;wpa, 
NULL, 0);<BR>&nbsp;if (!rsn_found &amp;&amp; 
data-&gt;assoc_info.beacon_ies)<BR>&nbsp;&nbsp;wpa_sm_set_ap_rsn_ie(wpa_s-&gt;wpa, 
NULL, 0);</EM></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009><EM></EM></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>Because TI 
driver does not include beacon_ies in assoc info event, and sm-&gt;wpa_ie and 
sm-&gt;rsn_ie is not cleared, and it causes the match fails, because 
sm-&gt;wpa_ie or sm-&gt;rsn_ie saves last AP (Broadcom AP) ie information, which 
is compared with current (roam to) AP (Atheros) IE.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>we change 
the related code liking</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009><SPAN 
class=122124008-11082009><EM>&nbsp;if (!wpa_found)// &amp;&amp; 
data-&gt;assoc_info.beacon_ies)<BR>&nbsp;&nbsp;wpa_sm_set_ap_wpa_ie(wpa_s-&gt;wpa, 
NULL, 0);<BR>&nbsp;if (!rsn_found)// &amp;&amp; 
data-&gt;assoc_info.beacon_ies)<BR>&nbsp;&nbsp;wpa_sm_set_ap_rsn_ie(wpa_s-&gt;wpa, 
NULL, 0);</EM></SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009><SPAN 
class=122124008-11082009>It means clear sm wpa_ie and rsn_ie if assoc info does 
not include beacon ies or not found wpa/rsn ie.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>It works for 
our case.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=122124008-11082009>I also check 
wpa_supplicant 0.6.9 version, and it also has the issue per my 
understanding.</SPAN></FONT></DIV>
<DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009></SPAN></FONT></DIV><FONT face="Courier New" 
size=2><SPAN class=122124008-11082009></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009>Thanks</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=122124008-11082009>Baozhong</SPAN></FONT></DIV></BODY></HTML>