1 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 # These constants are configuration keys for configuring AP service through 6 # apmanager's DBus interface. These are names of DBus properties on 7 # org.chromium.apmanager.Config DBus interface. 8 CONFIG_BRIDGE_INTERFACE = 'BridgeInterface' 9 CONFIG_CHANNEL = 'Channel' 10 CONFIG_HIDDEN_NETWORK = 'HiddenNetwork' 11 CONFIG_HW_MODE = 'HwMode' 12 CONFIG_INTERFACE_NAME = 'InterfaceName' 13 CONFIG_OPERATION_MODE = 'OperationMode' 14 CONFIG_PASSPHRASE = 'Passphrase' 15 CONFIG_SECURITY_MODE = 'SecurityMode' 16 CONFIG_SERVER_ADDRESS_INDEX = 'ServerAddressIndex' 17 CONFIG_SSID = 'Ssid' 18 19 # Configuration value definitions 20 OPERATION_MODE_BRIDGE = 'bridge' 21 OPERATION_MODE_SERVER = 'server' 22 23 # Default configuration values. 24 DEFAULT_CHANNEL_NUMBER = 6 25