authsae_start_interface() { local mcast_rate local mesh_htmode local mesh_band local authsae_conf_file="/var/run/authsae-$ifname.cfg" local ret=1 json_get_vars mcast_rate mesh_id set_default mcast_rate "12" case "$htmode" in HT20|HT40+|HT40-) mesh_htmode="$htmode";; *) mesh_htmode="none";; esac case "$hwmode" in *g*) mesh_band=11g;; *a*) mesh_band=11a;; esac cat > "$authsae_conf_file" </dev/null 2>/dev/null & authsae_pid="$!" ret="$?" echo $authsae_pid > /var/run/authsae-$ifname.pid wireless_add_process "$authsae_pid" "/usr/bin/meshd-nl80211" 1 [ "$ret" != 0 ] && wireless_setup_vif_failed AUTHSAE_FAILED return $ret }