<P>
Hi Jouni,<BR>
<BR>
Thanks for knowing this.Good work done.<BR>
<BR>
Regards<BR>
Ambedkar.R<BR>
<BR>
On Fri, 23 Nov 2007 Jouni Malinen wrote :<BR>
&gt;I converted the submitted patches from Atheros, Intel, and Metalink into<BR>
&gt;form that shows what exactly is changed in hostapd and wpa_supplicant to<BR>
&gt;make it easier to review the different designs. These patches are<BR>
&gt;available at http://w1.fi/contrib/wps-patches/<BR>
&gt;<BR>
&gt;The Intel patches (hostapd-0.4.8-intel.patch and<BR>
&gt;wpa_supplicant-0.4.8-intel.patch) are against the 0.4.8. The<BR>
&gt;Metalink patches (hostapd-0.4.10-intel-metalink.patch and<BR>
&gt;wpa_supplicant-0.4.10-intel-metalink.patch) are based on the Intel<BR>
&gt;version, but are against 0.4.10 (I combined the submitted patches and<BR>
&gt;re-diffed them against the 0.4.10 releases). Atheros patches<BR>
&gt;(hostapd-wps-atheros.patch and wpa_supplicant-wps-atheros.patch) are<BR>
&gt;against the 0.6.x branch in the git tree.<BR>
&gt;<BR>
&gt;The Intel patches are mainly included for reference. In practice, I'm<BR>
&gt;planning on only reviewing Metalink and Atheros patches since the<BR>
&gt;Metalink version includes all the Intel changes and additional<BR>
&gt;functionality and fixes.<BR>
&gt;<BR>
&gt;Based on a quick browse through the patches, I would note couple of<BR>
&gt;differences in the patches. Metalink versions are against an old, stable<BR>
&gt;branch (0.4.x) while Atheros patches are against the current development<BR>
&gt;tree (0.6.x). In practice, the changes will need to go to the<BR>
&gt;development tree, so any changes against 0.4.x will need to be updated<BR>
&gt;before they can be merged.<BR>
&gt;<BR>
&gt;As far as the hostapd changes are concerned, both Atheros and Metalink<BR>
&gt;versions are based on the Intel WSC reference code and both are using an<BR>
&gt;external program, Intel wsc daemon, to process the EAP-WSC messages.<BR>
&gt;<BR>
&gt;wpa_supplicant changes are using different approach. Metalink patch is<BR>
&gt;based on the Intel WSC reference changes and is using the Intel wsc<BR>
&gt;daemon to process the EAP-WSC messages. Atheros version is adding a new<BR>
&gt;implementation for EAP-WSC processing for an WPA enrollee and it does<BR>
&gt;not use the Intel wsc daemon.<BR>
&gt;<BR>
&gt;<BR>
&gt;Couple of generic comments that apply to all versions:<BR>
&gt;<BR>
&gt;The coding style will need to be cleaned up to match with the one used<BR>
&gt;in hostapd/wpa_supplicant for any changes that would be included in<BR>
&gt;either of these programs. If needed, I will do this when applying<BR>
&gt;changes to my git tree. This will produce relatively large number of<BR>
&gt;whitespace changes which should be kept in mind since other patches will<BR>
&gt;most likely not apply after this type of cleanup.<BR>
&gt;<BR>
&gt;There were number of #ifdef EAP_WSC/EAP_WPS blocks in generic code<BR>
&gt;(e.g., eap.c or eapol_sm.c) that changed behavior depending on whether<BR>
&gt;WPS was included in the build or not. If these changes would cause<BR>
&gt;different behavior when WPS is disabled at runtime, they will not be<BR>
&gt;acceptable and will need to be modified to use runtime information<BR>
&gt;(i.e., whether WPS was enabled or not) to determine what should be done.<BR>
&gt;In other words, just enabling WPS in the build, but not enabling it in<BR>
&gt;the runtime configuration should not change behavior.<BR>
&gt;<BR>
&gt;--<BR>
&gt;Jouni Malinen&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PGP id EFC895FA<BR>
&gt;_______________________________________________<BR>
&gt;HostAP mailing list<BR>
&gt;HostAP@shmoo.com<BR>
&gt;http://lists.shmoo.com/mailman/listinfo/hostap<BR>

</P>
<br><br>