aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_defs.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-04-13 18:15:36 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-27 19:10:55 (GMT)
commitff40cd6dd12682dd69fa95c82218a6c6e5b95506 (patch)
tree8e5e808b5154a7afee7f0614425a6e09425caa44 /src/wps/wps_defs.h
parente435417eefb245fe010a345bfb594a3a91aa7e6a (diff)
downloadhostap-ff40cd6dd12682dd69fa95c82218a6c6e5b95506.zip
hostap-ff40cd6dd12682dd69fa95c82218a6c6e5b95506.tar.gz
hostap-ff40cd6dd12682dd69fa95c82218a6c6e5b95506.tar.bz2
WPS NFC: Send M2D with config error 20 on pkhash mismatch
Instead of terminating the WPS protocol immediately, go through an M2D exchange to notify Enrollee of the public key hash mismatch. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/wps/wps_defs.h')
-rw-r--r--src/wps/wps_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wps/wps_defs.h b/src/wps/wps_defs.h
index 3421ac5..1249606 100644
--- a/src/wps/wps_defs.h
+++ b/src/wps/wps_defs.h
@@ -215,7 +215,9 @@ enum wps_config_error {
WPS_CFG_SETUP_LOCKED = 15,
WPS_CFG_MSG_TIMEOUT = 16,
WPS_CFG_REG_SESS_TIMEOUT = 17,
- WPS_CFG_DEV_PASSWORD_AUTH_FAILURE = 18
+ WPS_CFG_DEV_PASSWORD_AUTH_FAILURE = 18,
+ WPS_CFG_60G_CHAN_NOT_SUPPORTED = 19,
+ WPS_CFG_PUBLIC_KEY_HASH_MISMATCH = 20
};
/* Vendor specific Error Indication for WPS event messages */