1 authsae_start_interface
() {
2 local device
="$1" # to use the correct channel
6 cfgfile
="/var/run/authsae-$vif.cfg"
7 config_get channel
"$device" channel
8 config_get hwmode
"$device" hwmode
9 config_get htmode
"$device" htmode
10 config_get ifname
"$vif" ifname
11 config_get key
"$vif" key
12 config_get mesh_id
"$vif" mesh_id
13 config_get mcast_rate
"$vif" mcast_rate
"12"
16 HT20|HT40
+|HT40-
) htmode
="$htmode";;
17 NOHT|none|
*) htmode
="none";;
25 cat > "$cfgfile" <<EOF
32 group = [19, 26, 21, 25, 20];
40 interface = "$ifname";
47 mcast-rate = $mcast_rate;
52 meshd-nl80211
-i "$ifname" -s "$mesh_id" -c "$cfgfile" -B