Jouni Malinen
1f1b5b31d7
WPS NFC: Clean up nfcpy script no-wait operations
...
This allows the scripts to terminate at proper point with --no-wait.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2014-01-27 22:08:13 +02:00
Jouni Malinen
ab1db08c05
WPS NFC: Use argparse in the nfcpy scripts
...
This cleans up command line parsing and simplifies the commands.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2014-01-27 22:08:13 +02:00
Jouni Malinen
6f8fa6e552
WPS NFC: Update wps-nfc.py and wps-ap-nfc.py to use new nfcpy API
...
This moves many of the peer discovery operations into the core nfcpy.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2014-01-27 22:08:13 +02:00
Jouni Malinen
c3aa4da94d
Convert WPS NFC python scripts from using wpactrl to wpaspy
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-03-16 21:47:10 +02:00
Jouni Malinen
03cd173bd8
WPS: Clear sent_carrier to avoid errors in python script
...
This is needed to avoid errors when reporting the result of an NFC
connection handover that failed.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2013-02-24 13:12:32 +02:00
Jouni Malinen
e47588279a
WPS: Report NFC connection handover completion differently
...
Instead of reporting only one connection handover message, report
completion of NFC connection handover with carrier record from both the
request and select messages.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2013-02-11 18:43:46 +02:00
Jouni Malinen
bd692a8b0e
WPS: Change listen time to match nfcpy default (250 ms)
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-02-10 18:49:20 +02:00
Jouni Malinen
51e985dd84
WPS: Update nfcpy script to support AP mode NFC connection handover
...
Initialize NFC connection handover as the server and reply with WPS
carrier record in connection select.
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-02-10 17:24:43 +02:00
Jouni Malinen
8414860422
WPS: Remove 0.5 sec extra wait from NFC handover with nfcpy
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-02-10 16:27:14 +02:00
Jouni Malinen
dc6bda1123
WPS: Use alternating poll/listen for NFC peer discovery with nfcpy
...
This is needed to find the NFC peer to avoid cases where both devices
could be using the same operation.
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-02-10 16:25:20 +02:00
Jouni Malinen
8140ae969b
WPS: Configure logging to show nfcpy log message
...
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-02-10 16:20:25 +02:00
Jouni Malinen
68f51f9af8
WPS: Add an example python script for NFC operations with hostapd
...
wps-ap-nfc.py uses nfcpy and python-wpactrl to support NFC operations
with hostapd for WPS operations.
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-02-09 20:44:15 +02:00