diff --git a/src/controller.conf b/src/controller.conf new file mode 100644 index 0000000000000000000000000000000000000000..4b6bb7357cbc5ef8e00c42c6b1715317778b6b2b --- /dev/null +++ b/src/controller.conf @@ -0,0 +1,90 @@ +config wificntlr + option enabled '1' + list registrar '5 2' #bands on which wps registrar supported + +config fh-credentials + option band '5' + option encryption 'psk2' + option key '1234567890' + option ssid 'map-net5' + option vlan '101' + +config fh-credentials + option band '2' + option encryption 'psk2' + option key '1234567890' + option ssid 'map-net2' + option vlan '0' # 0 - 2 rsvd, 3 - 4094 => vlan id + +config bk-credentials + option band '5' + option encryption 'psk2' + option key '5555555555' + option ssid 'map-bkhaul-5' + +config bk-credentials + option band '2' + option encryption 'psk2' + option key '2222222222' + option ssid 'map-bkhaul-2' + +config agent-policy + option agent_id '02:20:40:55:66:77' # 1905al macaddress of agent + list steer_exclude '00:11:22:33:44:55' + list steer_exclude_btm '00:aa:bb:cc:dd:ee' + option steer_policy '2' # 0, 1, 2 - see MultiAP spec + option util_threshold '200' # channel-util as in BSS load + option rcpi_threshold '30' # 0 - 220 valid range + option report_scan '0' # 0 or 1 for independent scans + option report_sta_assocfails '1' # 0 or 1 - stas assoc failure + option report_metric_periodic '0' # 0, or 1 - 255 in secs + option report_rcpi_threshold '0' # 0, or 1 - 220 + option report_util_threshold '0' # 0, or channel-util value + option include_sta_stats '0' # sta stats in AP metric resp + option include_sta_metric '0' # sta metric in AP metric resp + option pvid '100' # primary vlan id + option pcp_default '5' # default vlan pcp + option disallow_bsta_p1 '0' # 0 or 1 profile-1 bSTA + option disallow_bsta_p2 '0' # 0 or 1 profile-2 bSTA + + +config agent-policy + option agent_id '02:20:40:aa:bb:cc' # 1905al macaddress of agent + list steer_exclude '00:11:22:33:44:55' + list steer_exclude_btm '00:aa:bb:cc:dd:ee' + option steer_policy '2' # 0, 1, 2 - see MultiAP spec + option util_threshold '200' # channel-util as in BSS load + option rcpi_threshold '30' # 0 - 220 valid range + option report_scan '0' # 0 or 1 for independent scans + option report_sta_assocfails '1' # 0 or 1 - stas assoc failure + option report_metric_periodic '0' # 0, or 1 - 255 in secs + option report_rcpi_threshold '0' # 0, or 1 - 220 + option report_util_threshold '0' # 0, or channel-util value + option include_sta_stats '0' # sta stats in AP metric resp + option include_sta_metric '0' # sta metric in AP metric resp + option pvid '100' # primary vlan id + option pcp_default '5' # default vlan pcp + option disallow_bsta_p1 '0' # 0 or 1 profile-1 bSTA + option disallow_bsta_p2 '0' # 0 or 1 profile-2 bSTA + + +config steer-param 'rssi' + option rssi_threshold '-68' + option hysteresis '5' + option margin '3' + option diffsnr '8' + +config steer-param 'bssload' + option priority '0' + option bssload_threshold '80' + +### custom rules follows ### +config rule-custom + option action steer + option sta 'd8:32:e3:4d:35:d2' + option bss '00:22:07:11:22:33' + +config rule-custom + option action restrict + option sta 'd8:32:e3:4d:35:d2' + option bss '00:22:07:11:22:33'