[PATCH v2 00/20] mesh support for wpa_supplicant

Jouni Malinen j
Sun Oct 19 03:26:35 PDT 2014

On Mon, Sep 01, 2014 at 12:23:19AM -0400, Bob Copeland wrote:
> This is an updated posting of the mesh-for-wpa_supplicant patchset,
> which allows creating an open or secure (SAE) 802.11s mesh.

I merged in couple of the clear cases from the temporary mesh branch
into the master branch.

>   driver: add new NL80211 cmds to support mesh ifaces

This has been split into multiple commits. Couple went in now, rest are
in the mesh branch. Most of the remaining ones would benefit from a bit
more detailed commit message.

>   mesh: parse mesh-related information elements

This went in.

>   aes_siv: implement RFC 5297 AES-SIV

This went in with some additional cleanup and a test-aes.c addition of a
test vector from RFC 5297.

>   auth: enhance SAE implementation to handle auth for mesh interfaces

I split this into separate commits since this seemed to be mixing in
various changes. I'd like to get the main SAE implementation changes
merged in once they do not cause issues for the existing non-mesh case.
I thought that was already a case, but once I looked at the test runs
more closely, one issue came up. This is noted in the mesh branch

FIX: This breaks SAE-on-non-mesh-AP case. SAE_COMMITTED handler in
sae_sm_step() sends out two Authentication frames which is not used in
non-mesh case. The non-mesh exchange is: STA->AP tr#1, AP->STA tr#1,
STA->AP tr#2, AP->STA tr#2. This patch changes the second step to be
AP->STA tr#1 and tr#2 (that final tr#2 is still included in the end)

I'm not sure how this could be fixed cleanly taken into account the
somewhat difficult SAE state machine design from the view point of the
strange exchange for non-mesh case. Maybe just skipping
auth_sae_send_confirm() + setting state to SAE_CONFIRMED from
SAE_NOTHING handler for non-mesh cases(?).

>  50 files changed, 3933 insertions(+), 107 deletions(-)

Following remains in the temporary mesh branch after today's merge into
the master branch:

 41 files changed, 3407 insertions(+), 97 deletions(-)
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list