Fix configs (#459)

pull/460/head
cronyx 2022-09-13 17:10:48 +03:00 committed by GitHub
parent 9bf1719cab
commit f624976253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View File

@ -17,7 +17,7 @@ load_ath() {
modprobe cfg80211
modprobe mac80211
modprobe ath9k_htc
sleep 3 # need to load firmware
sleep 3
}
load_interface() {
@ -36,7 +36,7 @@ load_interface() {
}
start_wfb() {
wfb_tx -p ${radio_port} -u ${udp_port} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${stream} -e ${epoch} ${wlan} &
wfb_tx -p ${stream} -u ${udp_port} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} &
}
case "$1" in

View File

@ -13,9 +13,9 @@ start_telemetry() {
ln -s /usr/bin/wfb_tx /usr/bin/telemetry_tx ; chmod +x /usr/bin/telemetry_tx
else
if [ ${one_way} = "false" ]; then
telemetry_rx -p ${radio_port} -u ${port_rx} -K ${keydir}/drone.key -k ${fec_k} -n ${fec_n} -i ${stream_rx} ${wlan} &
telemetry_rx -p ${stream_rx} -u ${port_rx} -K ${keydir}/drone.key -k ${fec_k} -n ${fec_n} -i ${link_id} ${wlan} &
fi
telemetry_tx -p ${radio_port} -u ${port_tx} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${stream_tx} ${wlan} &
telemetry_tx -p ${stream_tx} -u ${port_tx} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} &
fi
}

View File

@ -3,9 +3,9 @@ bandwidth=20
stbc=1
ldpc=1
mcs_index=1
radio_port=0
stream_rx=0x90
stream_tx=0x10
stream_rx=144
stream_tx=16
link_id=7669206
port_rx=14700
port_tx=14701
fec_k=1

View File

@ -9,9 +9,8 @@ bandwidth=20
stbc=1
ldpc=1
mcs_index=1
radio_port=0
stream=0x0
epoch=0
stream=0
link_id=7669206
udp_port=5600
fec_k=8
fec_n=12