1 authsae_start_interface() {
5 local authsae_conf_file="/var/run/authsae-$ifname.cfg"
8 json_get_vars mcast_rate
9 set_default mcast_rate "12"
12 HT20|HT40+|HT40-) mesh_htmode="$htmode";;
13 *) mesh_htmode="none";;
21 cat > "$authsae_conf_file" <<EOF
28 group = [19, 26, 21, 25, 20];
36 interface = "$ifname";
42 htmode = "$mesh_htmode";
43 mcast-rate = $mcast_rate;
48 /usr/bin/meshd-nl80211 -i "$ifname" -s "$mesh_id" -c "$authsae_conf_file" </dev/null >/dev/null 2>/dev/null &
52 echo $authsae_pid > /var/run/authsae-$ifname.pid
53 wireless_add_process "$authsae_pid" "/usr/bin/meshd-nl80211" 1
55 [ "$ret" != 0 ] && wireless_setup_vif_failed AUTHSAE_FAILED