From 7bfe27778bbf980d596480ee5c2e5686378c9d37 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 15 Feb 2013 11:51:28 +0200 Subject: [PATCH] WPS: Update NFC connection handover documentation The last couple of changes to the control interface commands for NFC connection handover had not yet been documented. Signed-hostap: Jouni Malinen --- hostapd/README-WPS | 14 ++++++++++++++ wpa_supplicant/README-WPS | 7 +++++++ 2 files changed, 21 insertions(+) diff --git a/hostapd/README-WPS b/hostapd/README-WPS index 87a6f91..654b5bc 100644 --- a/hostapd/README-WPS +++ b/hostapd/README-WPS @@ -338,3 +338,17 @@ If the NFC tag contains a password token, the token is added to the internal Registrar. This allows station Enrollee from which the password token was received to run through WPS protocol to provision the credential. + +"nfc_get_handover_sel " command can be used to build the +contents of a Handover Select Message for connection handover when this +does not depend on the contents of the Handover Request Message. The +first argument selects the format of the output data and the second +argument selects which type of connection handover is requested (WPS = +Wi-Fi handover as specified in WSC 2.0). + +"nfc_report_handover WPS +" is used to report completed NFC +connection handover. The first parameter indicates whether the local +device initiated or responded to the connection handover and the carrier +records are the selected carrier from the handover request and select +messages as a hexdump. diff --git a/wpa_supplicant/README-WPS b/wpa_supplicant/README-WPS index a024ac8..2a1dda5 100644 --- a/wpa_supplicant/README-WPS +++ b/wpa_supplicant/README-WPS @@ -385,3 +385,10 @@ type. The reply data is contents for the Handover Select Message of NFC connection handover select. The payload may include multiple carriers the the applicable ones are matched based on the media type. + +"nfc_report_handover WPS +" can be used as an alternative way for +reporting completed NFC connection handover. The first parameter +indicates whether the local device initiated or responded to the +connection handover and the carrier records are the selected carrier +from the handover request and select messages as a hexdump. -- 2.1.4