qacafe - ip test solutions
Knowledge Base > Wireless > Advanced WPA supplicant controls

Advanced WPA supplicant controls

Starting with CDRouter 3.3, there are two new configuration settings to control the behavior of the WPA supplicant.

RSN Capabilities Field

By default, CDRouter does not include any RSN Capabilities field when it builds the RSN Information Element used in EAPOL Key packets. This field is optional in IEEE 802.11i. The value of the Capabilities field shall be taken as 0 if it isld is not available in the RSN Information Element.

You can configure CDRouter to always include the RSN Capabilities field when building the RSN Information Element:

  testvar wpaIncludeRSNCaps yes

EAPOL Key Length Field

WPA is based on 802.11i Draft 3. However, the WPA document from the Wi-Fi Alliance also made changes to update specific parts of the 802.11i Draft 3 document. Specifically, 802.11i Draft 3 states that the EAPOL Key Length field should contain the length of the Key. However, in Wi-Fi Alliance's WPA specification, the EAPOL Key Length field for these packets is set to 0. Several supplicants that were created while WPA and 802.11i Draft 3 were still in development set the EAPOL Key Length field for these packets. By default, CDRouter will set the EAPOL Key Length field to 0 as required by the Wi-Fi Alliance's WPA specification.

You can configure CDRouter to specifically set the EAPOL Key Length field as defined in 802.11i Draft 3 using the following testvar:

  testvar wpa802dot11Draft 3

NOTE: The testvar wpa802dot11Draft is only used when the wpaMode is WPA. This option is ignored for WPA2 which is based on the final IEEE 802.11i standard.