1225 lines
46 KiB
Mathematica
1225 lines
46 KiB
Mathematica
/* 01folder_ipnet_wps - IPNet WPS configuration file */
|
|
|
|
/*
|
|
* Copyright (c) 2008 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute or otherwise make use of this software
|
|
* may be licensed only pursuant to the terms of an applicable Wind River
|
|
* license agreement. No license to Wind River intellectual property rights
|
|
* is granted herein. All rights not licensed by Wind River are reserved
|
|
* by Wind River.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01b,05May11,zan fixing some typos
|
|
01a,04nov08,mry created.
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IPWPS
|
|
Folder FOLDER_IPWPS {
|
|
NAME Wi-Fi Protected Setup (WPS) Components
|
|
SYNOPSIS Choose a preconfigured or custom model \
|
|
a Configuration Method (if applicable) and then \
|
|
customize/add to your selections as needed.
|
|
CHILDREN FOLDER_IPWPS_CORE \
|
|
FOLDER_IPWPS_CONFIG_METHOD \
|
|
SELECT_IPWPS_MODEL \
|
|
FOLDER_IPWPS_CUSTOMIZATION \
|
|
SELECT_IPWPS_SIMULATION
|
|
_CHILDREN FOLDER_NET_L5_APPLICATIONS
|
|
DEFAULTS SELECT_IPWPS_MODEL \
|
|
FOLDER_IPWPS_CORE
|
|
REQUIRES SELECT_IPWPS_MODEL \
|
|
INCLUDE_IPWPS
|
|
}
|
|
|
|
/****************************************************************************
|
|
*
|
|
* WPS Core Modules Folder
|
|
*
|
|
*****************************************************************************/
|
|
Folder FOLDER_IPWPS_CORE {
|
|
NAME WPS - Core Components Folder
|
|
SYNOPSIS This folder contains the core components needed to support WPS.
|
|
DEFAULTS INCLUDE_IPWPS \
|
|
INCLUDE_IPWPS_COMMONDEVINFO
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS {
|
|
NAME WPS Core Component
|
|
SYNOPSIS Mandatory component for WPS support.
|
|
CONFIGLETTES ipwps_config.c
|
|
MODULES
|
|
CFG_PARAMS IPWPS_WLS_IF \
|
|
IPWPS_ENABLE \
|
|
IPWPS_LOG_LEVEL
|
|
_CHILDREN FOLDER_IPWPS_CORE
|
|
}
|
|
|
|
Parameter IPWPS_WLS_IF {
|
|
NAME WPS Wireless Interface
|
|
SYNOPSIS Specifies the wireless interface which WPS will \
|
|
be enabled for by default. Can be changed at runtime.
|
|
TYPE char *
|
|
DEFAULT "wls0"
|
|
}
|
|
|
|
Parameter IPWPS_ENABLE {
|
|
NAME Enable WPS
|
|
SYNOPSIS Enable/Disable WPS functionality. "1" to Enable, "0" to disable.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_LOG_LEVEL {
|
|
NAME IPWPS Syslog Level
|
|
SYNOPSIS Syslog Level for the IPWPS module. \
|
|
One of: IPCOM_LOG_EMERG, IPCOM_LOG_CRIT, IPCOM_LOG_ERR, \
|
|
IPCOM_LOG_WARNING, IPCOM_LOG_NOTICE, IPCOM_LOG_INFO, \
|
|
IPCOM_LOG_DEBUG, IPCOM_LOG_DEBUG2
|
|
TYPE int
|
|
DEFAULT IPCOM_LOG_INFO
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_COMMONDEVINFO {
|
|
NAME WPS Common Device Info Component
|
|
SYNOPSIS Common Device Information used by WPS.
|
|
CONFIGLETTES ipwps_config.c
|
|
MODULES
|
|
CFG_PARAMS IPWPS_COMMONDEVINFO_MANUFACTURER \
|
|
IPWPS_COMMONDEVINFO_MODELNAM \
|
|
IPWPS_COMMONDEVINFO_MODELNO \
|
|
IPWPS_COMMONDEVINFO_SERIALNO \
|
|
IPWPS_COMMONDEVINFO_DEVNAM \
|
|
IPWPS_COMMONDEVINFO_CATID \
|
|
IPWPS_COMMONDEVINFO_OUI \
|
|
IPWPS_COMMONDEVINFO_SUBCATID
|
|
_CHILDREN FOLDER_IPWPS_CORE
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_MANUFACTURER {
|
|
NAME Manufacturer
|
|
SYNOPSIS Up to 64 ascii characters representing identification of the device manufacturer.
|
|
TYPE char *
|
|
DEFAULT "Wind River"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_MODELNAM {
|
|
NAME Model Name
|
|
SYNOPSIS Up to 32 ascii characters representing identification of the device model.
|
|
TYPE char *
|
|
TYPE char *
|
|
DEFAULT "none"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_MODELNO {
|
|
NAME Model Number
|
|
SYNOPSIS Up to 32 ascii digits representing identification of the device model number.
|
|
TYPE char *
|
|
TYPE char *
|
|
DEFAULT "0123-4567-89"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_SERIALNO {
|
|
NAME Serial Number
|
|
SYNOPSIS Up to 32 ascii digits representing identification of the device serial number.
|
|
TYPE char *
|
|
TYPE char *
|
|
DEFAULT "WRS 0123-4567-89 (WPS)"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_DEVNAM {
|
|
NAME Device Name
|
|
SYNOPSIS Up to 32 UTF-8 encoded bytes representing a descriptive name of the device.
|
|
TYPE char *
|
|
TYPE char *
|
|
DEFAULT "Wind River WPS Device"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_CATID {
|
|
NAME Device Type - Category Id
|
|
SYNOPSIS A single digit representing the category id of the device
|
|
TYPE char *
|
|
DEFAULT "6"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_OUI {
|
|
NAME Device Type - OUI
|
|
SYNOPSIS A 4 byte hex value representing the oui for the device \
|
|
e.g. use val of "0050F204" for the Wi-Fi Alliance OUI.
|
|
TYPE char *
|
|
DEFAULT "0050F204"
|
|
}
|
|
|
|
Parameter IPWPS_COMMONDEVINFO_SUBCATID {
|
|
NAME Device Type - Sub-Category Id
|
|
SYNOPSIS A single digit representing the sub-category id of the device
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CMD {
|
|
NAME WPS IPCOM Commands Component
|
|
SYNOPSIS Include this component to get access to "wps" commands \
|
|
from the ipcom command shell.
|
|
MODULES
|
|
REQUIRES INCLUDE_IPCOM_SHELL_CMD
|
|
_CHILDREN FOLDER_IPWPS_CORE
|
|
}
|
|
|
|
/****************************************************************************
|
|
*
|
|
* Configuration Method Folder
|
|
*
|
|
*****************************************************************************/
|
|
Folder FOLDER_IPWPS_CONFIG_METHOD {
|
|
NAME WPS Configuration Method Folder
|
|
SYNOPSIS Select one or more WPS Configuration method(s) and configure \
|
|
corresponding options if applicable.
|
|
CHILDREN SELECT_IPWPS_CONFIG_METHOD \
|
|
SELECT_IPWPS_CONFIG_PIN_OPTION
|
|
DEFAULTS SELECT_IPWPS_CONFIG_METHOD
|
|
REQUIRES SELECT_IPWPS_CONFIG_METHOD
|
|
}
|
|
|
|
Selection SELECT_IPWPS_CONFIG_METHOD {
|
|
NAME WPS Configuration Method Selection
|
|
SYNOPSIS Specifies the WPS configuration Methods to be supported. \
|
|
Note that more than one method can be selected \
|
|
but ONLY one at a time SHOULD be enabled on the Enrollee.
|
|
COUNT 1-
|
|
CHILDREN INCLUDE_IPWPS_CONFIG_PIN \
|
|
INCLUDE_IPWPS_CONFIG_PBC \
|
|
INCLUDE_IPWPS_CONFIG_NFC \
|
|
INCLUDE_IPWPS_CONFIG_USB
|
|
REQUIRES SELECT_IPWPS_MODEL
|
|
DEFAULTS INCLUDE_IPWPS_CONFIG_PIN
|
|
MODULES ipwps_comp_ca.o
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* PIN Configuration Method
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_PIN {
|
|
NAME WPS (In-band) PIN Configuration Method
|
|
SYNOPSIS Include support for the WPS In-band PIN method. \
|
|
Select one of the PIN Configuration options under SELECT_IPWPS_CONFIG_PIN_OPTION.
|
|
MODULES ipwps_comp_ca.o
|
|
CFG_PARAMS IPWPS_CONFIG_PIN_ENABLE
|
|
REQUIRES SELECT_IPWPS_CONFIG_PIN_OPTION
|
|
}
|
|
|
|
Parameter IPWPS_CONFIG_PIN_ENABLE {
|
|
NAME Enable WPS PIN Config Method
|
|
SYNOPSIS "1" to enable PIN, "0" to disable it.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
/****************************************************************************
|
|
*
|
|
* PIN Configuration Options
|
|
*
|
|
*****************************************************************************/
|
|
Selection SELECT_IPWPS_CONFIG_PIN_OPTION {
|
|
NAME WPS PIN Choice Selection
|
|
SYNOPSIS Select how you want PIN to be provided.
|
|
COUNT 1-1
|
|
CHILDREN INCLUDE_IPWPS_CONFIG_PIN_AUTO \
|
|
INCLUDE_IPWPS_CONFIG_PIN_HARDCODE \
|
|
INCLUDE_IPWPS_CONFIG_PIN_INTERACTIVE_USER \
|
|
INCLUDE_IPWPS_CONFIG_PIN_INTERACTIVE_REGS
|
|
REQUIRES INCLUDE_IPWPS_CONFIG_PIN
|
|
INCLUDE_WHEN INCLUDE_IPWPS_CONFIG_PIN
|
|
DEFAULTS INCLUDE_IPWPS_CONFIG_PIN_AUTO
|
|
MODULES ipwps_comp_ca.o
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_PIN_AUTO {
|
|
NAME Auto-generated WPS PIN
|
|
SYNOPSIS WPS PIN Config using an automatically generated 8-digit numeric PIN.
|
|
REQUIRES INCLUDE_IPWPS_CONFIG_PIN
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_PIN_HARDCODE {
|
|
NAME Hardcoded WPS PIN
|
|
SYNOPSIS WPS PIN Config using a hardcoded 8-digit numeric PIN.
|
|
CFG_PARAMS IPWPS_PIN_HARDCODED_VALUE
|
|
REQUIRES INCLUDE_IPWPS_CONFIG_PIN
|
|
}
|
|
|
|
Parameter IPWPS_PIN_HARDCODED_VALUE {
|
|
NAME Hardcoded WPS PIN value
|
|
SYNOPSIS Specify the default 8-digit numeric PIN value. \
|
|
Note that the 8th digit MUST be a checksum \
|
|
of the other 7 as per the WPS specification.
|
|
TYPE string
|
|
DEFAULT "12345670"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_PIN_INTERACTIVE_REGS {
|
|
NAME Interactive Registrar-specified WPS PIN
|
|
SYNOPSIS WPS PIN Config using Interactive where the user is prompted to \
|
|
enter a registrar-specified 8-digit numeric PIN. \
|
|
The PIN is typically obtained from the registrar via a "Display". \
|
|
Note that as per WPS specification, an 8-digit PIN must have its 8th \
|
|
digit as a checksum of the other 7.
|
|
REQUIRES INCLUDE_IPWPS_CONFIG_PIN
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_PIN_INTERACTIVE_USER {
|
|
NAME Interactive User-specified WPS PIN
|
|
SYNOPSIS WPS PIN Config using Interactive mode where the user is prompted to \
|
|
enter a user-specified 4-digit or 8-digit numeric PIN. \
|
|
A 4 digit PIN is selected by the user while \
|
|
an 8 digit PIN is retrieved from a "Label", "Display" or "Keypad". \
|
|
Note that as per WPS specification, an 8-digit PIN must have its 8th \
|
|
digit as a checksum of the other 7, while a 4-digit PIN doesn't \
|
|
contain a checksum digit.
|
|
REQUIRES INCLUDE_IPWPS_CONFIG_PIN
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* PBC Configuration Method
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_PBC {
|
|
NAME WPS (In-band) Push Button Configuration (PBC) Method
|
|
SYNOPSIS Include support for the WPS In-band PBC method.
|
|
MODULES ipwps_comp_ca.o
|
|
CFG_PARAMS IPWPS_CONFIG_PBC_ENABLE
|
|
REQUIRES
|
|
}
|
|
|
|
Parameter IPWPS_CONFIG_PBC_ENABLE {
|
|
NAME Enable WPS PBC Config Method
|
|
SYNOPSIS "1" to enable PBC, "0" to disable it.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/*---------------------------------------------------------------------------
|
|
* NFC Configuration Method
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_NFC {
|
|
NAME WPS (Out-of-band) Near Field Communication (NFC) Configuration Method
|
|
SYNOPSIS Include support for the WPS Out-of-band NFC config method.
|
|
MODULES ipwps_nfc.o
|
|
CFG_PARAMS IPWPS_CONFIG_NFC_ENABLE
|
|
REQUIRES
|
|
}
|
|
|
|
Parameter IPWPS_CONFIG_NFC_ENABLE {
|
|
NAME Enable WPS NFC Config Method
|
|
SYNOPSIS "1" to enable NFC, "0" to disable it.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* NFC Configuration Method
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CONFIG_USB {
|
|
NAME WPS (Out-of-band) USB Configuration Method
|
|
SYNOPSIS Include support for the WPS Out-of-band USB config method.
|
|
MODULES ipwps_usb.o
|
|
CFG_PARAMS IPWPS_CONFIG_USB_ENABLE
|
|
REQUIRES
|
|
}
|
|
|
|
Parameter IPWPS_CONFIG_USB_ENABLE {
|
|
NAME Enable WPS USB Config Method
|
|
SYNOPSIS "1" to enable USB, "0" to disable it.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
#endif
|
|
|
|
/****************************************************************************
|
|
*
|
|
* Model Selection
|
|
*
|
|
*****************************************************************************/
|
|
Selection SELECT_IPWPS_MODEL {
|
|
NAME WPS - Model Selection
|
|
SYNOPSIS Specifies the WPS model to use. \
|
|
For ease of use a set of preconfigured model templates are provided. \
|
|
You can select one of those preconfigured model templates and customize or add to it \
|
|
or if none of them fit the bill, a custom model can be created manually.
|
|
COUNT 1-1
|
|
DEFAULTS INCLUDE_IPWPS_MODEL_CUSTOM
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Custom Model
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_CUSTOM {
|
|
NAME Custom WPS Model Template
|
|
SYNOPSIS Select this template when you want to customize your WPS model from scratch.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_CUST
|
|
REQUIRES
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_CUST {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "custom"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Standalone AP w/o Registrar Model
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_STANDALONE_AP {
|
|
NAME Standalone AP Without Registrar - WPS Model Template
|
|
SYNOPSIS Select this template when you want a Standalone AP to support WPS compliant \
|
|
auto configuration of security related parameters. \
|
|
This model template doesn't include a built-in Registrar on the AP.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_ST_AP
|
|
REQUIRES SELECT_IPWPS_CRED_CONFIG_METHOD \
|
|
INCLUDE_IPWPS_AP
|
|
EXCLUDES SELECT_IPWPS_AP_EXT_REG_MODE \
|
|
INCLUDE_IPWPS_AP_EXT_WLAN_MGR_REGISTRAR \
|
|
INCLUDE_IPWPS_AP_UPNP_PROXY
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_ST_AP {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Standalone AP w/o Registrar"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Standalone AP w/built-in Registrar Model
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_STANDALONE_AP_WITH_REGISTRAR {
|
|
NAME Standalone AP with built-in Registrar - WPS Model Template
|
|
SYNOPSIS Select this template when you want a Standalone AP to support WPS compliant \
|
|
auto configuration of security related parameters with a \
|
|
built-in wireless Registrar on the AP.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_ST_AP_REG
|
|
REQUIRES SELECT_IPWPS_CRED_CONFIG_METHOD \
|
|
INCLUDE_IPWPS_AP \
|
|
INCLUDE_IPWPS_REGISTRAR \
|
|
INCLUDE_IPWPS_DRV_IF
|
|
EXCLUDES SELECT_IPWPS_AP_EXT_REG_MODE \
|
|
INCLUDE_IPWPS_AP_EXT_WLAN_MGR_REGISTRAR \
|
|
INCLUDE_IPWPS_AP_UPNP_PROXY
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_ST_AP_REG {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Standalone AP w/built-in Wireless Registrar"
|
|
}
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/*---------------------------------------------------------------------------
|
|
* Standalone Wireless Registrar with Adhoc support
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_REGISTRAR {
|
|
NAME Standalone wireless Registrar - WPS Model Template
|
|
SYNOPSIS Select this template when you want a standalone wireless Registrar.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_REGISTRAR_ADHOC
|
|
REQUIRES INCLUDE_IPWPS_REGISTRAR_ADHOC
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_REGISTRAR_ADHOC {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Standalone Wireless Registrar with Adhoc support"
|
|
}
|
|
#endif
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Standalone Wireless Enrollee
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_ENROLLEE {
|
|
NAME Standalone wireless Enrollee - WPS Model Template
|
|
SYNOPSIS Select this template when you want a standalone wireless Enrollee.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_ENROLLEE
|
|
REQUIRES INCLUDE_IPWPS_ENROLLEE
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_ENROLLEE {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Standalone Wireless Enrollee"
|
|
}
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/*---------------------------------------------------------------------------
|
|
* Standalone Wireless Enrollee with Adhoc Support
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_ENROLLEE_ADHOC {
|
|
NAME Standalone wireless Enrollee with 802.11 AdHoc support - WPS Model Template
|
|
SYNOPSIS Select this template when you want a standalone wireless Enrollee \
|
|
that can also register with a wireless registrar operating in adhoc mode.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_ENROLLEE_ADHOC
|
|
REQUIRES INCLUDE_IPWPS_ENROLLEE_ADHOC
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_ENROLLEE_ADHOC {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Standalone Wireless Enrollee with AdHoc support"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS AP with wireless External Registrar
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_AP_EXT_WIRELESS_REG {
|
|
NAME WPS AP with External wireless Registrar support - WPS Model Template
|
|
SYNOPSIS Select this template when you want a WPS AP that can be \
|
|
configured by or can configure an external wireless Registrar. \
|
|
This model supports only initial AP credentials configuration \
|
|
and does not support subsequent configuration of AP settings \
|
|
nor configuring per Enrollee credentials.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_AP_EXT_WIRELESS_REG
|
|
REQUIRES INCLUDE_IPWPS_AP_EXT_REG_WIRELESS
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_AP_EXT_WIRELESS_REG {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "AP with External Wireless Registrar"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS AP with wireless External WLAN Manager Registrar
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_AP_EXT_WLAN_MGR_REG {
|
|
NAME WPS AP with External wireless WLAN Manager Registrar support - WPS Model Template
|
|
SYNOPSIS Select this template when you want a WPS AP that can be \
|
|
configured by an external wireless WLAN Manager Registrar. \
|
|
This model supports both the initial AP credentials configuration \
|
|
and subsequent configuration of AP settings and configuring per Enrollee credentials.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_AP_EXT_WLAN_MGR_REG
|
|
REQUIRES INCLUDE_IPWPS_AP_EXT_REG_WIRELESS \
|
|
INCLUDE_IPWPS_AP_EXT_WLAN_MGR_REGISTRAR
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_AP_EXT_WLAN_MGR_REG {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "AP with External Wireless WLAN Manager Registrar"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Proxy AP with external Wired Registrar
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_PROXY_AP_WIRED_EXT_REG {
|
|
NAME WPS Proxy AP with External Wired Registrar - WPS Model Template
|
|
SYNOPSIS Select this template when you want a WPS Proxy AP to handle Enrollee \
|
|
by forwarding registration messages to/from an external wired registrar. \
|
|
You can optionally add INCLUDE_IPWPS_AP_EXT_WLAN_MGR_REGISTRAR \
|
|
if you also wish the AP to be managed by that registrar.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_PROXY_AP_WIRED_EXT_REG
|
|
REQUIRES INCLUDE_IPWPS_AP_EXT_REG_WIRED \
|
|
INCLUDE_IPWPS_AP_UPNP_PROXY
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_PROXY_AP_WIRED_EXT_REG {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Proxy AP with external Wired Registrar"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Proxy AP with external Wired Registrar
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_MODEL_PROXY_AP_WIRELESS_EXT_REG {
|
|
NAME WPS Proxy AP with External Wireless Registrar - WPS Model Template
|
|
SYNOPSIS Select this template when you want a WPS Proxy AP to handle Enrollee \
|
|
by forwarding registration messages to/from an external wireless registrar. \
|
|
You can optionally add INCLUDE_IPWPS_AP_EXT_WLAN_MGR_REGISTRAR \
|
|
if you also wish the AP to be managed by that registrar.
|
|
_CHILDREN SELECT_IPWPS_MODEL
|
|
CFG_PARAMS IPWPS_MODEL_DESC_PROXY_AP_WIRELESS_EXT_REG
|
|
REQUIRES INCLUDE_IPWPS_AP_EXT_REG_WIRELESS \
|
|
INCLUDE_IPWPS_AP_UPNP_PROXY
|
|
}
|
|
|
|
Parameter IPWPS_MODEL_DESC_PROXY_AP_WIRELESS_EXT_REG {
|
|
NAME Template Description
|
|
SYNOPSIS Specify the name of this template.
|
|
TYPE string
|
|
DEFAULT "Proxy AP with external Wireless Registrar"
|
|
}
|
|
#endif
|
|
|
|
/****************************************************************************
|
|
*
|
|
* WPS Customization
|
|
*
|
|
*****************************************************************************/
|
|
Folder FOLDER_IPWPS_CUSTOMIZATION {
|
|
NAME WPS Customization
|
|
SYNOPSIS Customize your Wi-Fi Protected Setup Component selections.\
|
|
Some components are automatically selected if a preconfigured model \
|
|
was chosen. You can customize/add to your selections as needed.
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Protocol Component
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_PROTO {
|
|
NAME WPS - Protocol Component
|
|
SYNOPSIS Includes Wi-Fi Protected Setup Protocol Support.
|
|
NOTE: This requires INCLUDE_IPCRYPTO.
|
|
CONFIGLETTES
|
|
MODULES ipwps_protocol.o ipwps_protocol_handler.o ipwps_proto_adaptor.o ipwps_protocol_crypto.o
|
|
CFG_PARAMS IPWPS_PROTO_ENABLE
|
|
REQUIRES INCLUDE_IPCRYPTO \
|
|
SELECT_IPWPS_CONFIG_METHOD \
|
|
INCLUDE_IPWPS \
|
|
INCLUDE_IPWPS_COMMONDEVINFO
|
|
_CHILDREN FOLDER_IPWPS_CUSTOMIZATION
|
|
}
|
|
|
|
Parameter IPWPS_PROTO_ENABLE {
|
|
NAME Enable WPS Protocol
|
|
SYNOPSIS "1" to enable, "0" to disable.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Driver Interface Component
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_DRV_IF {
|
|
NAME WPS - Driver Interface Component
|
|
SYNOPSIS Include to enable the Wi-Fi Protected Setup Driver Interface.
|
|
NOTE: This requires API_BCM43XX_END to be selected.
|
|
CONFIGLETTES
|
|
MODULES ipwps_drv_if.o
|
|
REQUIRES API_BCM43XX_END
|
|
_CHILDREN FOLDER_IPWPS_CUSTOMIZATION
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Security Parameter Configuration Component
|
|
*---------------------------------------------------------------------------*/
|
|
Selection SELECT_IPWPS_CRED_CONFIG_METHOD {
|
|
NAME WPS Credential Configuration Method Selection
|
|
SYNOPSIS Specify the method for configuring security credential parameters used by WPS.
|
|
COUNT 1-1
|
|
CHILDREN INCLUDE_IPWPS_CRED_CONFIG_AUTO \
|
|
INCLUDE_IPWPS_CRED_CONFIG_INTERACTIVE \
|
|
INCLUDE_IPWPS_CRED_CONFIG_DEF
|
|
REQUIRES INCLUDE_IPWPS
|
|
DEFAULTS INCLUDE_IPWPS_CRED_CONFIG_AUTO
|
|
_CHILDREN FOLDER_IPWPS_CUSTOMIZATION
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CRED_CONFIG_AUTO {
|
|
NAME Automatic WPS Credential Configuration
|
|
SYNOPSIS Automatically generate WPS credentials based on the strongest \
|
|
available security methods. This is restricted to WPA-PSK and/or WPA2-PSK \
|
|
(i.e. WPS-Personal) mode whereby a random SSID and PSK/passphrase \
|
|
are generated. For WPA-enterprise, you need to use static or interactive \
|
|
security credential configuration. \
|
|
This option applies only to an AP (with or without a built-in registrar). \
|
|
It is invalid if selected for an external or standalone registrar.
|
|
CONFIGLETTES
|
|
MODULES
|
|
CFG_PARAMS IPWPS_CRED_CONFIG_AUTO_KEYLEN \
|
|
IPWPS_CRED_CONFIG_AUTO_NETINDEX \
|
|
IPWPS_CRED_CONFIG_AUTO_SSID
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_AUTO_KEYLEN {
|
|
NAME Automatic WPS Credential Key Length
|
|
SYNOPSIS A value of "8..63" specifies the length of the passphrase to be auto generated. \
|
|
A value of "64" specifies that a hex key (PSK) is to be auto generated. \
|
|
If not specified or an invalid value is specified, then a default \
|
|
of 64 is used (i.e. PSK).
|
|
TYPE char *
|
|
DEFAULT "64"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_AUTO_NETINDEX {
|
|
NAME Automatic WPS Credential Network Index
|
|
SYNOPSIS A value from 1 to 255 specifying the Network Index to be used \
|
|
with the auto-generated credentials. If not specified or an invalid \
|
|
value is specified, then a default value of 1 is actually used.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_AUTO_SSID {
|
|
NAME Automatic WPS Credential SSID
|
|
SYNOPSIS An optional SSID to be used for the auto-generated credentials \
|
|
(up to 32 printable ascii characters). \
|
|
If a value is not specified, a random SSID is auto-generated.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CRED_CONFIG_INTERACTIVE {
|
|
NAME Interactive WPS Credential Configuration
|
|
SYNOPSIS WPS credential configuration settings are provided interactively at runtime \
|
|
using the "wps credential" commands.
|
|
CONFIGLETTES
|
|
MODULES
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_CRED_CONFIG_DEF {
|
|
NAME Default WPS Credential Configuration
|
|
SYNOPSIS Provide a static credential configuration to be used as the \
|
|
default by an AP or Registrar.
|
|
CONFIGLETTES
|
|
MODULES
|
|
CFG_PARAMS IPWPS_CRED_CONFIG_NETINDEX \
|
|
IPWPS_CRED_CONFIG_SSID \
|
|
IPWPS_CRED_CONFIG_AUTH \
|
|
IPWPS_CRED_CONFIG_ENCR \
|
|
IPWPS_CRED_CONFIG_KEY \
|
|
IPWPS_CRED_CONFIG_KEYINDEX \
|
|
IPWPS_CRED_CONFIG_8021X \
|
|
IPWPS_CRED_CONFIG_EAP_ID \
|
|
IPWPS_CRED_CONFIG_EAP_TYPES
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_NETINDEX {
|
|
NAME WPS Credential - Network Index
|
|
SYNOPSIS A value from 1 to 255 specifying the Network Index. \
|
|
If not specified or an invalid value is specified, then \
|
|
a default value of 1 is actually used.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_SSID {
|
|
NAME WPS Credential - SSID
|
|
SYNOPSIS Up to 32 printable ascii characters specifying the SSID.
|
|
TYPE char *
|
|
DEFAULT "wind"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_AUTH {
|
|
NAME WPS Credential - Authentication Type
|
|
SYNOPSIS Specify the Authentication type to use. \
|
|
Valid values: "open", "wpa", "wpa2" or "all"
|
|
TYPE char *
|
|
DEFAULT "wpa2"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_ENCR {
|
|
NAME WPS Credential - Encryption Method
|
|
SYNOPSIS Specify the Encryption method to use. \
|
|
Valid values: "tkip", "aes" or "all"
|
|
TYPE char *
|
|
DEFAULT "aes"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_KEY {
|
|
NAME WPS Credential - Encryption passphrase or PSK
|
|
SYNOPSIS Specify the passphrase or Pre-Shared Key to use.\
|
|
Use 8..63 printable ascii characters for a passphrase \
|
|
or exactly 64 hex characters for a PSK. \
|
|
This value is ignored if IPWPS_CRED_CONFIG_8021X is set to "1". \
|
|
Examples: passphrase - "QM1-97ST" \
|
|
PSK - "b9365251375e1b3135d43e9ea33a3daf948bb7b774b16bd6ec3ca9955c709000"
|
|
TYPE char *
|
|
DEFAULT "Change_Me"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_KEYINDEX {
|
|
NAME WPS Credential - Key Index
|
|
SYNOPSIS A value from 1 to 255 specifying the Key Index. \
|
|
If not specified or an invalid value is specified, then \
|
|
a default value of 1 is actually used.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_8021X {
|
|
NAME WPS Credential - Select 8021X authentication
|
|
SYNOPSIS Set to "1" to specify use of 802.1X authentication (a.k.a. WPA-enterprise), \
|
|
or set to "0" for WPA-PSK/WPA2-PSK (a.k.a. WPA-personal).
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_EAP_ID {
|
|
NAME WPS Credential - Selected EAP Identity
|
|
SYNOPSIS EAP Identity to use for 802.1X authentication (<=64 ascii characters).\
|
|
Only valid if IPWPS_CRED_CONFIG_8021X is set to "1".
|
|
TYPE char *
|
|
DEFAULT "vxWorks"
|
|
}
|
|
|
|
Parameter IPWPS_CRED_CONFIG_EAP_TYPES {
|
|
NAME WPS Credential - Selected EAP Type
|
|
SYNOPSIS Hexadecimal representation of the EAP Type to use for 802.1X authentication.\
|
|
1 byte for standard EAP Type, 8 bytes for extended types.\
|
|
Only valid if IPWPS_CRED_CONFIG_8021X is set to "1". \
|
|
Example: "0D" for EAP-TLS (type 13)
|
|
TYPE char *
|
|
DEFAULT "0D"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Enrollee Components Folder
|
|
*---------------------------------------------------------------------------*/
|
|
Folder FOLDER_IPWPS_ENROLLEE {
|
|
NAME WPS Wireless Enrollee Folder
|
|
SYNOPSIS Choose the desired Wi-Fi Protected Setup Enrollee components
|
|
_CHILDREN FOLDER_IPWPS_CUSTOMIZATION
|
|
}
|
|
|
|
/*--- WPS Enrollee Component ---*/
|
|
Component INCLUDE_IPWPS_ENROLLEE {
|
|
NAME WPS Enrollee Component
|
|
SYNOPSIS Includes Wi-Fi Protected Setup Enrollee Component support. \
|
|
The Enrollee capability can be disabled below. \
|
|
Note that the Enrollee doesn't support registering \
|
|
with wired Registrars over UPnP.
|
|
CONFIGLETTES
|
|
CFG_PARAMS IPWPS_ENROLLEE_ENABLE \
|
|
IPWPS_ENROLLEE_AUTO_REG_INIT \
|
|
IPWPS_ENROLLEE_NON_WPS_DRIVER \
|
|
IPWPS_ENROLLEE_UUID
|
|
REQUIRES INCLUDE_IPWPS_PROTO \
|
|
INCLUDE_IP8021X_SUPPLICANT \
|
|
INCLUDE_IPEAP
|
|
EXCLUDES
|
|
_CHILDREN FOLDER_IPWPS_ENROLLEE
|
|
MODULES ipwps_comp_enrollee.o
|
|
}
|
|
|
|
Parameter IPWPS_ENROLLEE_ENABLE {
|
|
NAME Enable WPS Enrollee
|
|
SYNOPSIS "1" to enable, "0" to disable it.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_ENROLLEE_AUTO_REG_INIT {
|
|
NAME WPS Enrollee Automatic Registration Initiation
|
|
SYNOPSIS "1" to automatically initiate WPS Enrollee Registration, or \
|
|
"0" to have a manually triggered WPS Enrollee Registration. \
|
|
It is recommended that this be set to "0" when \
|
|
IPWPS_ENROLLEE_NON_WPS_DRIVER is set to "1".
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_ENROLLEE_NON_WPS_DRIVER {
|
|
NAME WPS Enrollee Support for Non-WPS capable drivers
|
|
SYNOPSIS "1" Enables support for the Enrollee to run on top \
|
|
of non-WPS compatible drivers by not requiring the driver \
|
|
send the WSC-IE in its (re)Assoc or Probe Requests \
|
|
or provide assoc/disassoc notifications. \
|
|
"0" means the driver needs to support sending the WSC-IE in its \
|
|
(re)Assoc or Probe Requests and provide assoc/disassoc notifications. \
|
|
MUST NOT be set to "1" when the PBC config method is desired.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter IPWPS_ENROLLEE_UUID {
|
|
NAME WPS Enrollee Universally Unique IDentifier (UUID-E)
|
|
SYNOPSIS The 16 byte hexadecimal UUID-E value used by the Enrollee.
|
|
TYPE char *
|
|
DEFAULT "00112233445566778899AABBCCDDEEFF"
|
|
}
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/*--- AdHoc Support for WPS Enrollee Component ---*/
|
|
Component INCLUDE_IPWPS_ENROLLEE_ADHOC {
|
|
NAME WPS Enrollee support for 802.11 AdHoc mode
|
|
SYNOPSIS WPS Enrollee support for registration with \
|
|
wireless based Registrars operating in AdHoc mode. \
|
|
Not supported when IPWPS_ENROLLEE_NON_WPS_DRIVER is set to "1".
|
|
REQUIRES INCLUDE_IPWPS_ENROLLEE
|
|
MODULES ipwps__this_feature_not_supported_in_this_release.o
|
|
_CHILDREN FOLDER_IPWPS_ENROLLEE
|
|
}
|
|
#endif
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS Registrar Components Folder
|
|
*---------------------------------------------------------------------------*/
|
|
Folder FOLDER_IPWPS_REGISTRAR {
|
|
NAME WPS built-in Wireless Registrar Folder
|
|
SYNOPSIS Choose the desired Wi-Fi Protected Setup built-in wireless \
|
|
registrar components
|
|
_CHILDREN FOLDER_IPWPS_CUSTOMIZATION
|
|
}
|
|
|
|
/*--- WPS Registrar Component ---*/
|
|
Component INCLUDE_IPWPS_REGISTRAR {
|
|
NAME WPS Wireless Registrar (built-in) Component
|
|
SYNOPSIS Includes Wi-Fi Protected Setup built-in wireless \
|
|
Registrar Component support. \
|
|
The Registrar capability can be disabled below.
|
|
CONFIGLETTES
|
|
MODULES ipwps_comp_registrar.o
|
|
CFG_PARAMS IPWPS_REGISTRAR_ENABLE \
|
|
IPWPS_REGISTRAR_REG_MODE \
|
|
IPWPS_REGISTRAR_OFFER_ALL_CREDS \
|
|
IPWPS_REGISTRAR_UUID
|
|
REQUIRES INCLUDE_IPWPS_PROTO \
|
|
SELECT_IPWPS_CRED_CONFIG_METHOD \
|
|
INCLUDE_IP8021X_SUPPLICANT \
|
|
INCLUDE_IPEAP \
|
|
INCLUDE_IPWPS_DRV_IF
|
|
_CHILDREN FOLDER_IPWPS_REGISTRAR
|
|
}
|
|
|
|
Parameter IPWPS_REGISTRAR_ENABLE {
|
|
NAME Enable WPS Registrar
|
|
SYNOPSIS "1" to enable, "0" to disable it. \
|
|
MUST NOT be enabled when either IPWPS_AP_EXT_REG_WIRELESS_ENABLE \
|
|
and/or IPWPS_AP_EXT_REG_WIRED_ENABLE are/is also enabled.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_REGISTRAR_REG_MODE {
|
|
NAME Default WPS Registrar "Registration Mode".
|
|
SYNOPSIS "1" implies "Registration Mode" is on by default, \
|
|
"0" means off. The mode can be changed at runtime. \
|
|
If on, this means the registrar will be automatically \
|
|
started and will respond to registration requests, \
|
|
otherwise the registrar will need to be manually started \
|
|
to allow registration to proceed.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_REGISTRAR_OFFER_ALL_CREDS {
|
|
NAME WPS Registrar offers all configured credentials to Enrollee
|
|
SYNOPSIS By default, this is set to a "0" which means the registrar \
|
|
will only offer credentials matching the capabilities indicated \
|
|
by the Enrollee during WPS registrations. However some Enrollees \
|
|
do not indicate all their capabilities during the WPS registration \
|
|
process so turning this flag to "1" will allow the registration \
|
|
process to proceed.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter IPWPS_REGISTRAR_UUID {
|
|
NAME WPS Registrar Universally Unique IDentifier (UUID-R)
|
|
SYNOPSIS The 16 byte hexadecimal UUID-R value used by the Registrar.
|
|
TYPE char *
|
|
DEFAULT "FFEEDDCCBBAA99887766554433221100"
|
|
}
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/*--- AdHoc Support for WPS Registrar Component ---*/
|
|
Component INCLUDE_IPWPS_REGISTRAR_ADHOC {
|
|
NAME WPS Wireless Registrar support for 802.11 AdHoc mode
|
|
SYNOPSIS Support WPS Registrar operating in AdHoc mode \
|
|
for wireless based standalone Registrars.
|
|
REQUIRES INCLUDE_IPWPS_REGISTRAR
|
|
EXCLUDES INCLUDE_IPWPS_AP_EXT_REG_WIRELESS \
|
|
INCLUDE_IPWPS_AP_EXT_REG_WIRED
|
|
MODULES ipwps__this_feature_not_supported_in_this_release.o
|
|
_CHILDREN FOLDER_IPWPS_REGISTRAR
|
|
}
|
|
#endif
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS AP Folder
|
|
*---------------------------------------------------------------------------*/
|
|
Folder FOLDER_IPWPS_AP {
|
|
NAME WPS AP Folder
|
|
SYNOPSIS Specify the options you want to support for a WPS AP.
|
|
_CHILDREN FOLDER_IPWPS_CUSTOMIZATION
|
|
}
|
|
|
|
/*--- WPS AP Component ---*/
|
|
Component INCLUDE_IPWPS_AP {
|
|
NAME WPS AP support module
|
|
SYNOPSIS Select this component if you want WPS AP Support.
|
|
REQUIRES SELECT_IPWPS_CRED_CONFIG_METHOD \
|
|
INCLUDE_IPWPS
|
|
EXCLUDES INCLUDE_IPWPS_REGISTRAR_ADHOC
|
|
CFG_PARAMS IPWPS_AP_ENABLE \
|
|
IPWPS_AP_UUID
|
|
_CHILDREN FOLDER_IPWPS_AP
|
|
MODULES ipwps_comp_ap.o
|
|
}
|
|
|
|
Parameter IPWPS_AP_ENABLE {
|
|
NAME Enable/Disable WPS AP support
|
|
SYNOPSIS "1" to enable, "0" to disable.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter IPWPS_AP_UUID {
|
|
NAME WPS AP Universally Unique IDentifier (UUID-E)
|
|
SYNOPSIS The 16 byte hexadecimal UUID-E value used by the AP.
|
|
TYPE char *
|
|
DEFAULT "AABBCCDDEEFF00112233445566778899"
|
|
}
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/*--- WPS AP with external Registrar Mode Selection ---*/
|
|
Selection SELECT_IPWPS_AP_EXT_REG_MODE {
|
|
NAME WPS AP External Registrar Mode Selection
|
|
SYNOPSIS Select one or more External Registrar Modes \
|
|
for the WPS AP to support. \
|
|
Note that although both modes can be included, \
|
|
only one of them must be enabled at a time.
|
|
COUNT 1-
|
|
CHILDREN INCLUDE_IPWPS_AP_EXT_REG_WIRELESS \
|
|
INCLUDE_IPWPS_AP_EXT_REG_WIRED
|
|
_CHILDREN FOLDER_IPWPS_AP
|
|
DEFAULTS INCLUDE_IPWPS_AP_EXT_REG_WIRELESS
|
|
}
|
|
|
|
Component INCLUDE_IPWPS_AP_EXT_REG_WIRELESS {
|
|
NAME WPS AP with Wireless External Registrar support
|
|
SYNOPSIS WPS AP support for a wireless external registrar \
|
|
Requires a built-in Enrollee.
|
|
CFG_PARAMS IPWPS_AP_EXT_REG_WIRELESS_ENABLE
|
|
REQUIRES INCLUDE_IPWPS_AP \
|
|
INCLUDE_IP8021X_SUPPLICANT \
|
|
INCLUDE_IPEAP \
|
|
INCLUDE_IPWPS_PROTO
|
|
MODULES ipwps__this_feature_not_supported_in_this_release.o
|
|
}
|
|
|
|
Parameter IPWPS_AP_EXT_REG_WIRELESS_ENABLE {
|
|
NAME Enable/Disable Wireless External Registrar support
|
|
SYNOPSIS "1" to enable, "0" to disable. \
|
|
MUST NOT be enabled when IPWPS_REGISTRAR_ENABLE is also enabled.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Component INCLUDE_IPWPS_AP_EXT_REG_WIRED {
|
|
NAME WPS AP with Wired External Registrar support
|
|
SYNOPSIS WPS AP support for a wired external registrar \
|
|
This requires a WPS UPnP plugin
|
|
CFG_PARAMS IPWPS_AP_EXT_REG_WIRED_ENABLE
|
|
REQUIRES INCLUDE_IPWPS_AP \
|
|
INCLUDE_IPWPS_PROTO \
|
|
API_IPWPS_UPNP_PLUGIN
|
|
MODULES ipwps_ap_wired_reg.o
|
|
}
|
|
|
|
Parameter IPWPS_AP_EXT_REG_WIRED_ENABLE {
|
|
NAME Enable/Disable Wired External Registrar support
|
|
SYNOPSIS "1" to enable, "0" to disable. \
|
|
MUST NOT be enabled when IPWPS_REGISTRAR_ENABLE is also enabled.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
/*--- WPS AP with external WLAN Manager Registrar Component ---*/
|
|
Component INCLUDE_IPWPS_AP_EXT_WLAN_MGR_REGISTRAR {
|
|
NAME WPS AP External WLAN Manager Registrar support
|
|
SYNOPSIS Specifies that the AP should support an \
|
|
External WLAN Manager Registrar as per the WPS spec. \
|
|
The AP establishes a secure WLAN Management Interface \
|
|
with the External WLAN Manager Registrar as specified in \
|
|
SELECT_IPWPS_AP_EXT_REG_MODE \
|
|
which is used by the latter to manage the AP settings. \
|
|
Note that the AP doesn't support per device WLAN keys and \
|
|
thus this component doesn't enable the registrar to configure \
|
|
Enrollee credentials on the AP.\
|
|
Can also be used in combination with a built-in Registrar.
|
|
CFG_PARAMS IPWPS_EXT_WLAN_MGR_REGISTRAR_MAX
|
|
REQUIRES SELECT_IPWPS_AP_EXT_REG_MODE \
|
|
API_IPWPS_UPNP_PLUGIN
|
|
_CHILDREN FOLDER_IPWPS_AP
|
|
MODULES ipwps_ap_wlan_mgr.o
|
|
}
|
|
|
|
Parameter IPWPS_EXT_WLAN_MGR_REGISTRAR_MAX {
|
|
NAME Maximum # of External WLAN Manager Registrars
|
|
SYNOPSIS 0 to disable, or a value from 3 to xx. \
|
|
It Specifies the maximum # of External WLAN Manager Registrars \
|
|
that the AP will support simultaneously. The WPS specification \
|
|
mandates a minimum of 3.
|
|
TYPE uint
|
|
DEFAULT 3
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS AP UPnP Proxy Component
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_AP_UPNP_PROXY {
|
|
NAME WPS AP UPnP Proxy service support.
|
|
SYNOPSIS Supports the WPS UPnP Proxy service on an AP \
|
|
which proxies registration events between an Enrollee \
|
|
and an External Registrar. \
|
|
Requires the API_IPWPS_UPNP_PLUGIN component.
|
|
REQUIRES INCLUDE_IPWPS_AP \
|
|
INCLUDE_IPWPS_PROTO \
|
|
INCLUDE_IP8021X_SUPPLICANT \
|
|
INCLUDE_IPEAP \
|
|
SELECT_IPWPS_AP_EXT_REG_MODE \
|
|
API_IPWPS_UPNP_PLUGIN
|
|
EXCLUDES INCLUDE_IPWPS_REGISTRAR
|
|
_CHILDREN FOLDER_IPWPS_AP
|
|
MODULES ipwps_proxy_ap.o
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* WPS AP UPnP Proxy Component
|
|
*---------------------------------------------------------------------------*/
|
|
Api API_IPWPS_UPNP_PLUGIN {
|
|
NAME WPS UPNP Plugin API
|
|
SYNOPSIS The Plugin API that implements the WPS UPnP \
|
|
WFADevice and WFAWLANConfig service documents.
|
|
REQUIRES
|
|
EXCLUDES
|
|
DEFAULTS INCLUDE_IPWPS_UPNP_PLUGIN_SIMULATION
|
|
_CHILDREN FOLDER_IPWPS_AP
|
|
MODULES ipwps_upnp_plugin_adaptor.o
|
|
}
|
|
|
|
Component INCLUDE_IPWPS_UPNP_PLUGIN_SIMULATION {
|
|
NAME WPS UPNP Plugin Simulation API
|
|
SYNOPSIS Provides a simulated WPS UPNP Plugin. \
|
|
Requires proper configuration of SELECT_IPWPS_CRED_CONFIG_METHOD.
|
|
REQUIRES SELECT_IPWPS_CRED_CONFIG_METHOD
|
|
EXCLUDES
|
|
PROVIDES API_IPWPS_UPNP_PLUGIN
|
|
CFG_PARAMS IPWPS_UPNP_PLUGIN_SIM_ENABLE
|
|
MODULES ipwps_upnp_plugin_sim.o
|
|
}
|
|
|
|
Parameter IPWPS_UPNP_PLUGIN_SIM_ENABLE {
|
|
NAME Enable WPS UPNP Plugin Simulation API
|
|
SYNOPSIS "1" for enabled, "0" for disabled
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
#endif
|
|
|
|
#ifdef IPWPS_NOT_SUPPORTED
|
|
/****************************************************************************
|
|
*
|
|
* WPS Simulation Components
|
|
*
|
|
*****************************************************************************/
|
|
Selection SELECT_IPWPS_SIMULATION {
|
|
NAME WPS Simulation Components
|
|
SYNOPSIS Select the appropriate components to include the \
|
|
required WPS simulation support. In the simulation environment
|
|
the WPS registration doesn't require wireless driver support
|
|
and bypasses the wireless driver when communicating with it
|
|
is simulated peer. \
|
|
Note that when Simulation support for a selected component \
|
|
is enabled, real world support for it is off by default.
|
|
COUNT 1-
|
|
CHILDREN INCLUDE_IPWPS_SIM_ENROLLEE \
|
|
INCLUDE_IPWPS_SIM_REGISTRAR \
|
|
INCLUDE_IPWPS_SIM_AP_PROXY_EXT_REG
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Enrollee Simulation Components
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_SIM_ENROLLEE {
|
|
NAME WPS Simulation - Enrollee
|
|
SYNOPSIS Include Support for WPS Enrollee simulation mode.
|
|
REQUIRES INCLUDE_IPWPS_ENROLLEE
|
|
CFG_PARAMS IPWPS_SIM_ENROLLEE_ENABLE
|
|
}
|
|
|
|
Parameter IPWPS_SIM_ENROLLEE_ENABLE {
|
|
NAME Enable WPS Enrollee Simulation
|
|
SYNOPSIS "0" for disabled, "1" for enabled. \
|
|
Note that when enabled, the Enrollee doesn't \
|
|
support real life registration and requires \
|
|
a peer with enabled Registrar simulation or \
|
|
proxy AP with external Registrar simulation.
|
|
It can coexist on the same target with either \
|
|
INCLUDE_IPWPS_SIM_REGISTRAR or INCLUDE_IPWPS_SIM_AP_PROXY_EXT_REG.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Registrar Simulation Components
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_SIM_REGISTRAR {
|
|
NAME WPS Simulation - Built-in Registrar
|
|
SYNOPSIS Include Support for WPS Registrar simulation mode.
|
|
REQUIRES INCLUDE_IPWPS_REGISTRAR
|
|
EXCLUDES INCLUDE_IPWPS_SIM_AP_PROXY_EXT_REG
|
|
CFG_PARAMS IPWPS_SIM_REGISTRAR_ENABLE
|
|
}
|
|
|
|
Parameter IPWPS_SIM_REGISTRAR_ENABLE {
|
|
NAME Enable WPS Registrar Simulation
|
|
SYNOPSIS "0" for disabled, "1" for enabled. \
|
|
Note that when enabled, the Registrar doesn't \
|
|
support real life registration and requires \
|
|
a peer with enabled Enrollee simulation. \
|
|
It can coexist on the same target with \
|
|
INCLUDE_IPWPS_SIM_ENROLLEE.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------
|
|
* Proxy AP with External Registrar Simulation Components
|
|
*---------------------------------------------------------------------------*/
|
|
Component INCLUDE_IPWPS_SIM_AP_PROXY_EXT_REG {
|
|
NAME WPS Simulation - Proxy AP with External Registrar
|
|
SYNOPSIS Include Support for AP Proxy Simulation \
|
|
with Simulated External Registrar.
|
|
REQUIRES INCLUDE_IPWPS_AP_UPNP_PROXY \
|
|
INCLUDE_IPWPS_UPNP_PLUGIN_SIMULATION \
|
|
INCLUDE_IPWPS_MODEL_PROXY_AP_WIRED_EXT_REG
|
|
EXCLUDES INCLUDE_IPWPS_SIM_REGISTRAR
|
|
CFG_PARAMS IPWPS_SIM_AP_PROXY_EXT_REG_ENABLE
|
|
}
|
|
|
|
Parameter IPWPS_SIM_AP_PROXY_EXT_REG_ENABLE {
|
|
NAME Enable WPS Registrar Simulation
|
|
SYNOPSIS "0" for disabled, "1" for enabled. \
|
|
Note that when enabled, the Proxy AP doesn't \
|
|
support real life registration and requires \
|
|
a peer with enabled Enrollee simulation. \
|
|
It can coexist on the same target with \
|
|
INCLUDE_IPWPS_SIM_ENROLLEE.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|