3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 11:42:46 +01:00

wscutil: Add parsers for various flag types

This commit is contained in:
Denis Kenzior 2016-08-11 16:38:50 -05:00
parent 3d29f510e1
commit 9ef4a40f0f

View File

@ -464,14 +464,20 @@ static attr_handler handler_for_type(enum wsc_attr type)
return extract_bool; return extract_bool;
case WSC_ATTR_ASSOCIATION_STATE: case WSC_ATTR_ASSOCIATION_STATE:
return extract_association_state; return extract_association_state;
case WSC_ATTR_AUTHENTICATION_TYPE_FLAGS:
return extract_uint16;
case WSC_ATTR_CONFIGURATION_ERROR: case WSC_ATTR_CONFIGURATION_ERROR:
return extract_configuration_error; return extract_configuration_error;
case WSC_ATTR_CONFIGURATION_METHODS: case WSC_ATTR_CONFIGURATION_METHODS:
return extract_uint16; return extract_uint16;
case WSC_ATTR_CONNECTION_TYPE_FLAGS:
return extract_uint8;
case WSC_ATTR_DEVICE_NAME: case WSC_ATTR_DEVICE_NAME:
return extract_device_name; return extract_device_name;
case WSC_ATTR_DEVICE_PASSWORD_ID: case WSC_ATTR_DEVICE_PASSWORD_ID:
return extract_device_password_id; return extract_device_password_id;
case WSC_ATTR_ENCRYPTION_TYPE_FLAGS:
return extract_uint16;
case WSC_ATTR_ENROLLEE_NONCE: case WSC_ATTR_ENROLLEE_NONCE:
return extract_enrollee_nonce; return extract_enrollee_nonce;
case WSC_ATTR_MAC_ADDRESS: case WSC_ATTR_MAC_ADDRESS: