aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wps-ap-nfc.py
Commit message (Collapse)AuthorAgeFilesLines
* NFC: Workaround nfcpy message debug exceptionJouni Malinen2014-02-131-0/+17
| | | | | | | | | | | The current nfcpy version does not support new WSC connection handover message format and the handover server fails to process the request due to a debug print. As a temporary workaround, override HandoverServer::_process_request() with a version that avoids pretty() print of the handover messages. This can be removed once nfcpy has been updated to support the new format. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* NFC: Add summary and success file options for nfcpy scriptsJouni Malinen2014-02-121-18/+61
| | | | | | | These can be used to get updates on NFC operation status and success for external programs. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WPS NFC: Protect nfcpy pretty print calls against exceptionsJouni Malinen2014-01-271-2/+9
| | | | | | | nfcpy does not yet support all the new message formats, so some of the pretty() calls can result in exceptions. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WPS NFC: Logging level configuration to wps-nfc.py and wps-ap-nfc.pyJouni Malinen2014-01-271-1/+7
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WPS NFC: Clean up nfcpy script no-wait operationsJouni Malinen2014-01-271-9/+12
| | | | | | This allows the scripts to terminate at proper point with --no-wait. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WPS NFC: Use argparse in the nfcpy scriptsJouni Malinen2014-01-271-5/+14
| | | | | | This cleans up command line parsing and simplifies the commands. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WPS NFC: Update wps-nfc.py and wps-ap-nfc.py to use new nfcpy APIJouni Malinen2014-01-271-107/+91
| | | | | | This moves many of the peer discovery operations into the core nfcpy. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Convert WPS NFC python scripts from using wpactrl to wpaspyJouni Malinen2013-03-161-4/+3
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WPS: Clear sent_carrier to avoid errors in python scriptJouni Malinen2013-02-241-0/+1
| | | | | | | 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>
* WPS: Report NFC connection handover completion differentlyJouni Malinen2013-02-111-3/+10
| | | | | | | | 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>
* WPS: Change listen time to match nfcpy default (250 ms)Jouni Malinen2013-02-101-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WPS: Update nfcpy script to support AP mode NFC connection handoverJouni Malinen2013-02-101-28/+43
| | | | | | | Initialize NFC connection handover as the server and reply with WPS carrier record in connection select. Signed-hostap: Jouni Malinen <j@w1.fi>
* WPS: Remove 0.5 sec extra wait from NFC handover with nfcpyJouni Malinen2013-02-101-1/+0
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WPS: Use alternating poll/listen for NFC peer discovery with nfcpyJouni Malinen2013-02-101-19/+40
| | | | | | | 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>
* WPS: Configure logging to show nfcpy log messageJouni Malinen2013-02-101-0/+3
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WPS: Add an example python script for NFC operations with hostapdJouni Malinen2013-02-091-0/+228
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>