1 ######################################################
4 # Licensed to the public under the Apache License 2.0.
5 ######################################################
6 # Dual Channel Wi-Fi AP Daemon configuration
11 # The "enabled" option controls the run state of the Dual Channel Wi-Fi AP Daemon
12 # 0 - disabled, 1 - enabled
13 # The "tmpdir" option MUST be specified
14 # option tmpdir '<path_of_temp_dir>'
16 config general 'general'
18 option tmpdir '/tmp/dcwapd'
23 # Sections of type "channel-set" define a Dual Channel Wi-Fi primary channel,
24 # along with it's associated data channels
26 # The "data_channels" option is a space-delimited list of "datachannel"-typed instance names
28 config channel-set 'channelset0'
32 option bridge 'br-lan'
33 option data_channels 'datachannel0'
35 #config channel-set 'channelset1'
37 # option ssid 'OpenWrt2'
38 # option bridge 'br-lan'
39 # option data_channels 'datachannel1'
44 # Sections of type "datachannel" define a Dual Channel Wi-Fi data channel,
45 # along with it's associated bridge and wireless interfaces
47 # The "interfaces" option is a space-delimited list of wireless interface names
49 config datachannel 'datachannel0'
51 option bridge 'br-dc0'
52 option interfaces 'wlan2 wlan5'
54 #config datachannel 'datachannel1'
56 # option bridge 'br-dc1'
57 # option interfaces 'wlan4'
62 # The "init_net" section MUST be specified
63 # This section will be used to save and restore the state of the data interfaces
64 config init_net 'init_net'
69 # Sections of type "filter-set" define a Dual Channel Wi-Fi group of filters,
70 # along with it's associated MAC address and filter rules
72 # The "TFP_Default" filter set MUST be defined, although it is not required
73 # to have any associated filter rules
74 # The "TFP_Default" filter mac option can have the value of '*', meaning match
77 # The "filters" option is a space-delimited list of "filter"-typed instance names
79 config filter-set 'TFP_Default'
81 option filters 'filter0 filter1'
83 #config filter-set 'filterset0'
84 # option mac '00:00:BE:EF:F0:0D'
85 # option filters 'filter2'
91 # Sections of type "filter" define a Dual Channel Wi-Fi filter,
92 # along with it's associated filter parameters
94 # Any or all of the filter options may be set to '*' to match
97 config filter 'filter0'
98 option packet_size '*'
100 option source_port '80'
101 option protocol 'tcp'
104 config filter 'filter1'
105 option packet_size '*'
107 option source_port '443'
108 option protocol 'tcp'
111 #config filter 'filter2'
112 # option packet_size '*'
113 # option source_ip '*'
114 # option source_port '22'
115 # option protocol 'tcp'
116 # option dest_port '*'