138 lines
4.5 KiB
Plaintext
138 lines
4.5 KiB
Plaintext
#
|
|
# File: wifidir_init.conf
|
|
#
|
|
# Copyright (C) 2011 Marvell International Ltd., All Rights Reserved
|
|
#
|
|
# MARVELL CONFIDENTIAL
|
|
# Copyright 2008 ~ 2011 Marvell International Ltd All Rights Reserved.
|
|
# The source code contained or described herein and all documents related to
|
|
# the source code ("Material") are owned by Marvell International Ltd or its
|
|
# suppliers or licensors. Title to the Material remains with Marvell International Ltd
|
|
# or its suppliers and licensors. The Material contains trade secrets and
|
|
# proprietary and confidential information of Marvell or its suppliers and
|
|
# licensors. The Material is protected by worldwide copyright and trade secret
|
|
# laws and treaty provisions. No part of the Material may be used, copied,
|
|
# reproduced, modified, published, uploaded, posted, transmitted, distributed,
|
|
# or disclosed in any way without Marvell's prior express written permission.
|
|
#
|
|
# No license under any patent, copyright, trade secret or other intellectual
|
|
# property right is granted to or conferred upon you by disclosure or delivery
|
|
# of the Materials, either expressly, by implication, inducement, estoppel or
|
|
# otherwise. Any license under such intellectual property rights must be
|
|
# express and approved by Marvell in writing.
|
|
#################################################################################
|
|
|
|
# WPS configuration file
|
|
# Lines that start with # are treated as comments
|
|
# Each line should not exceed 80 characters
|
|
# Format: TYPE=value
|
|
#
|
|
#################################################################################
|
|
# Enrollee: 1, Registrar: 2, WiFi Direct mode:4
|
|
ROLE=4
|
|
|
|
#################################################################################
|
|
# UUID: 16B, in binary format
|
|
# NOTE: This UUID must be the same as the one in wifidir_config
|
|
# UUID=0x12345678123456781234567812345678
|
|
|
|
# VERSION: 1B, 0x10: Version 1.0, 0x20: Version 2.0
|
|
VERSION=0x20
|
|
|
|
# DEVICE_NAME: <=32B, describes the product
|
|
DEVICE_NAME=Marvell-Embedded-WIFIDIR-Device
|
|
|
|
# MANUFACTURER: <=64B, identifies the manufacturer of the device
|
|
MANUFACTURER=Marvell
|
|
|
|
# MODEL_NAME: <=32B, identifies the model of the device
|
|
MODEL_NAME=SD-8787
|
|
|
|
# MODEL_NUMBER: <=32B, provides additional description of the device
|
|
MODEL_NUMBER=0001
|
|
|
|
# SERIAL_NUMBER: <=32B, identifies the serial number of the Enrollee or Registrar
|
|
SERIAL_NUMBER=0001
|
|
|
|
# Configuration Methods: 2B
|
|
# 0x0001 : USBA
|
|
# 0x0002 : Ethernet
|
|
# 0x0004 : Label
|
|
# 0x0008 : Display
|
|
# 0x0010 : Ethernet NFC Token
|
|
# 0x0020 : Integrated NFC Token
|
|
# 0x0040 : NFC Interface
|
|
# 0x0080 : Push Button
|
|
# 0x0100 : Keypad
|
|
# 0x0280 : Virtual Push Button
|
|
# 0x0480 : Physical Push Button
|
|
# 0x2008 : Virtual Display PIN
|
|
# 0x4008 : Physical Display PIN
|
|
CONFIG_METHODS=0x4388
|
|
|
|
#PRIMARY_DEV_CATEGORY: 1B, identifies device type category of the Enrollee or
|
|
#Registrar
|
|
|
|
#01 : Computer
|
|
#02 : Input Device
|
|
#03 : Printers,scanners,faxes and copiers
|
|
#04 : Camera
|
|
#05 : Storage
|
|
#06 : Network Infrastructure
|
|
#07 : Displays
|
|
#08 : Multimedia Devices
|
|
#09 : Gaming Devices
|
|
#10 : Telephone
|
|
#
|
|
PRIMARY_DEV_CATEGORY=10
|
|
|
|
#PRIMARY_DEV_SUBCATEGORY: 1B, identifies device type subcategory of Enrollee or
|
|
#Registrar
|
|
#
|
|
|
|
#01 : PC, Printer, Digital still camera, NAS, AP, Television, DAR, XBox, Windows Mobile
|
|
#02 : Server, Scanner, Router, Electronic picture frame, PVR, XBox360
|
|
#03 : Media Center, Switch, Projector, MCX, Playstation
|
|
PRIMARY_DEV_SUBCATEGORY=04
|
|
|
|
#OUI: 4B, Vendor ID
|
|
OUI=0050F204
|
|
VENDOR_EXTENSION=00372A000120
|
|
|
|
# RF_BAND: 1B, 2.4GHz=1, 5.0GHz=2
|
|
# Onwards, we use rf band info from driver
|
|
# RF_BAND=1
|
|
|
|
# OS_VER: 4B, indicates what operating system is running on the device
|
|
# The most significant bit is reserved and always set to one
|
|
OS_VER=0xFFFFFFFF
|
|
|
|
# Value for Message transmit, timeout unit is msec
|
|
MAX_RETRY=5
|
|
MSG_TIMEOUT=5000
|
|
|
|
#################################################################################
|
|
# SSID: <=32B, SSID of the network
|
|
# SSID=Marvell_Wps_Test
|
|
|
|
# AUTHENTICATION_TYPE: 2B, 0x0001 : Open, 0x0002 : WPA-PSK, 0x0004 : Shared
|
|
# 0x0010 : WPA2, 0x0020 : WPA2-PSK
|
|
#AUTHENTICATION_TYPE=0x0002
|
|
|
|
# ENCRYPTION_TYPE: 2B, 0x0001 : None, 0x0002 : WEP
|
|
# 0x0004 : TKIP, 0x0008 : AES
|
|
#ENCRYPTION_TYPE=0x0004
|
|
|
|
# NETWORK_KEY_INDEX: 1B, using in encryption type as WEP such as: 1/2/3/4
|
|
#NETWORK_KEY_INDEX=1
|
|
|
|
# NETWORK_KEY: Encryption Key for WEP: 10 or 26 Hex characters
|
|
#NETWORK_KEY=1234567890
|
|
|
|
# USE_PSK: 1B, 1=Transfer PSK in WPS Handhshake [in M8 Frame]
|
|
# 0=Transfer network key received from Upper layer
|
|
USE_PSK=0
|
|
|
|
# Length of the WPS PIN: 4 or 8 digits
|
|
PIN_LENGTH=8
|