184 lines
6.0 KiB
Plaintext
184 lines
6.0 KiB
Plaintext
#
|
|
# File: wifidirect_defaults.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.
|
|
|
|
wifidir_config={
|
|
# Arrange in order of subelement Ids
|
|
#
|
|
# WIFIDIR IE parameters.
|
|
#
|
|
Capability={
|
|
# Device Capability: 32 (0x20)
|
|
# -- Enable Invitation Procedure Support
|
|
DeviceCapability=32
|
|
GroupCapability=0
|
|
}
|
|
GroupOwnerIntent={
|
|
Intent=15 # 0-15. 15-> highest GO desire
|
|
}
|
|
Channel={ # Listen channel attribute.
|
|
CountryString="US"
|
|
RegulatoryClass=81
|
|
ChannelNumber=1
|
|
}
|
|
InfrastructureManageabilityInfo={
|
|
Manageability=0
|
|
}
|
|
ChannelList={
|
|
CountryString="US"
|
|
# multiple attributes channel entry list
|
|
Regulatory_Class_1=81 # Regulatory class
|
|
NumofChannels_1=11 # No of channels
|
|
ChanList_1=1,2,3,4,5,6,7,8,9,10,11 # Scan channel list
|
|
#Regulatory_Class_2=115 # Regulatory class
|
|
#NumofChannels_2=4 # No of channels
|
|
#ChanList_2=36,40,44,48 # Scan channel list
|
|
#Regulatory_Class_3=118 # Regulatory class
|
|
#NumofChannels_3=4 # No of channels
|
|
#ChanList_3=52,56,60,64 # Scan channel list
|
|
#Regulatory_Class_4=121 # Regulatory class
|
|
#NumofChannels_4=11 # No of channels
|
|
#ChanList_4=100,104,108,112,116,120,124,128,132,136,140 # Scan channel list
|
|
}
|
|
NoticeOfAbsence={
|
|
NoA_Index=0 # Instance of NoA timing
|
|
OppPS=1 # Opportunistic Power save
|
|
CTWindow=10 # Client Traffic Window
|
|
NoA_descriptor={
|
|
CountType_1=255 # Count for GO mode OR Type for client mode
|
|
Duration_1=51200 # Max absence duration for GO mode OR
|
|
# min acceptable presence period for client mode
|
|
Interval_1=102400
|
|
StartTime_1=0
|
|
#CountType_2=1 # Count for GO mode OR Type for client mode
|
|
#Duration_2=0 # Max absence duration for GO mode OR
|
|
# min acceptable presence period for client mode
|
|
#Interval_2=0
|
|
#StartTime_2=0
|
|
}
|
|
}
|
|
DeviceInfo={
|
|
DeviceAddress=00:00:00:00:00:00
|
|
# categ: 2 bytes, OUI: 4 bytes, subcateg: 2 bytes
|
|
PrimaryDeviceTypeCategory=10
|
|
PrimaryDeviceTypeOUI=0x00,0x50,0xF2,0x04
|
|
PrimaryDeviceTypeSubCategory=4
|
|
SecondaryDeviceCount=2
|
|
SecondaryDeviceType={
|
|
SecondaryDeviceTypeCategory_1=6
|
|
SecondaryDeviceTypeOUI_1=0x00,0x50,0xF2,0x04
|
|
SecondaryDeviceTypeSubCategory_1=1
|
|
SecondaryDeviceTypeCategory_2=4
|
|
SecondaryDeviceTypeOUI_2=0x00,0x50,0xF2,0x04
|
|
SecondaryDeviceTypeSubCategory_2=1
|
|
}
|
|
DeviceName=MRVL_DEFAULT_NAME
|
|
# ConfigMethods USB= 0x01
|
|
# ConfigMethods Ethernet= 0x02
|
|
# ConfigMethods Label= 0x04
|
|
# ConfigMethods Display= 0x08
|
|
# ConfigMethods Ext_NFC_Token= 0x10
|
|
# ConfigMethods Int_NFC_Token= 0x20
|
|
# ConfigMethods NFC_Interface= 0x40
|
|
# ConfigMethods PushButton= 0x80
|
|
# ConfigMethods KeyPad= 0x100
|
|
WPSConfigMethods=0x188
|
|
|
|
}
|
|
GroupId={
|
|
GroupAddr=00:00:00:00:00:00
|
|
GroupSsId=DIRECT-
|
|
}
|
|
GroupBSSId={
|
|
GroupBssId=00:00:00:00:00:00
|
|
}
|
|
DeviceId={
|
|
WIFIDIR_MAC=00:00:00:00:00:00
|
|
}
|
|
Interface={
|
|
InterfaceAddress=00:00:00:00:00:00
|
|
InterfaceAddressCount=2
|
|
InterfaceAddressList=00:00:00:00:00:00,00:00:00:00:00:00
|
|
}
|
|
ConfigurationTimeout={
|
|
# units of 10 milliseconds
|
|
GroupConfigurationTimeout=100
|
|
ClientConfigurationTimeout=150
|
|
}
|
|
ExtendedListenTime={
|
|
# units of milliseconds
|
|
AvailabilityPeriod=1000
|
|
AvailabilityInterval=1500
|
|
}
|
|
IntendedIntfAddress={
|
|
GroupInterfaceAddress=00:00:00:00:00:00
|
|
}
|
|
OperatingChannel={ # Operating channel attribute.
|
|
CountryString="US"
|
|
OpRegulatoryClass=81
|
|
OpChannelNumber=1
|
|
}
|
|
InvitationFlagBitmap={
|
|
InvitationFlag=0 # bit0: Invitation type:
|
|
} # 0: request to reinvoke a persistent group
|
|
# 1: request to join an active WIFIDIRECT group
|
|
|
|
#Extra={
|
|
#Buffer=0x00,0x50,0x43,0x07,0x20,0xa1
|
|
#}
|
|
|
|
#
|
|
# WPS IE parameters.
|
|
#
|
|
WPSIE={
|
|
WPSVersion=0x10
|
|
WPSSetupState=0x1
|
|
WPSRequestType=0x0
|
|
WPSResponseType=0x0
|
|
WPSSpecConfigMethods=0x0188
|
|
WPSUUID=0x12,0x34,0x56,0x78,0x12,0x34,0x56,0x78,0x12,0x34,0x56,0x78,0x12,0x34,0x56,0x78
|
|
WPSPrimaryDeviceType=0x00,0x0A,0x00,0x50,0xF2,0x04,0x00,0x04
|
|
WPSRFBand=0x01
|
|
WPSAssociationState=0x00
|
|
WPSConfigurationError=0x00
|
|
WPSDevicePassword=0x00
|
|
WPSDeviceName=MRVL_DEFAULT_NAME
|
|
WPSManufacturer=Marvell
|
|
WPSModelName=SD-8787
|
|
WPSModelNumber=0x00,0x00,0x00,0x01
|
|
WPSSerialNumber=0x00,0x00,0x00,0x01
|
|
WPSVendorExtension=0x00,0x37,0x2A,0x00,0x01,0x20
|
|
}
|
|
}
|
|
|
|
|
|
######################### WIFIDIR Parameters configuration command #######
|
|
|
|
wifidir_param_config={
|
|
MinDiscoveryInterval=1
|
|
MaxDiscoveryInterval=7
|
|
EnableScan=1
|
|
#ScanPeerDeviceId=00:50:43:77:66:41
|
|
#ScanRequestDeviceType=0x01,0x00,0x50,0xF2,0x04,0x01,0x3C,0x10
|
|
DeviceState=4
|
|
}
|