Added configuration of WPS device parameters for wpa_supplicant
[libeap.git] / wpa_supplicant / config.h
index 0cea72f..9cb0066 100644 (file)
@@ -254,6 +254,58 @@ struct wpa_config {
        u8 uuid[16];
 
        /**
+        * device_name - Device Name (WPS)
+        * User-friendly description of device; up to 32 octets encoded in
+        * UTF-8
+        */
+       char *device_name;
+
+       /**
+        * manufacturer - Manufacturer (WPS)
+        * The manufacturer of the device (up to 64 ASCII characters)
+        */
+       char *manufacturer;
+
+       /**
+        * model_name - Model Name (WPS)
+        * Model of the device (up to 32 ASCII characters)
+        */
+       char *model_name;
+
+       /**
+        * model_number - Model Number (WPS)
+        * Additional device description (up to 32 ASCII characters)
+        */
+       char *model_number;
+
+       /**
+        * serial_number - Serial Number (WPS)
+        * Serial number of the device (up to 32 characters)
+        */
+       char *serial_number;
+
+       /**
+        * device_type - Primary Device Type (WPS)
+        * Used format: <categ>-<OUI>-<subcateg>
+        * categ = Category as an integer value
+        * OUI = OUI and type octet as a 4-octet hex-encoded value;
+        *      0050F204 for default WPS OUI
+        * subcateg = OUI-specific Sub Category as an integer value
+        * Examples:
+        *   1-0050F204-1 (Computer / PC)
+        *   1-0050F204-2 (Computer / Server)
+        *   5-0050F204-1 (Storage / NAS)
+        *   6-0050F204-1 (Network Infrastructure / AP)
+        */
+       char *device_type;
+
+       /**
+        * os_version - OS Version (WPS)
+        * 4-octet operating system version number
+        */
+       u8 os_version[4];
+
+       /**
         * country - Country code
         *
         * This is the ISO/IEC alpha2 country code for which we are operating