From 1e2084fdf12c7a2d584499dba6350f82185f7807 Mon Sep 17 00:00:00 2001 From: cronyx Date: Sun, 17 Jul 2022 19:01:20 +0300 Subject: [PATCH 1/2] added radio_port, udp_port and fec settings to wfb.conf --- general/package/wifibroadcast/files/S98wfb | 6 +++++- general/package/wifibroadcast/files/wfb.conf | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/general/package/wifibroadcast/files/S98wfb b/general/package/wifibroadcast/files/S98wfb index bdfc7a32..22f963e9 100755 --- a/general/package/wifibroadcast/files/S98wfb +++ b/general/package/wifibroadcast/files/S98wfb @@ -12,6 +12,10 @@ channel=`cat ${config} | grep channel | cut -f 2 -d '='` bandwidth=`cat ${config} | grep bandwidth | cut -f 2 -d '='` stbc=`cat ${config} | grep stbc | cut -f 2 -d '='` mcs_index=`cat ${config} | grep mcs_index | cut -f 2 -d '='` +udp_port=`cat ${config} | grep udp_port | cut -f 2 -d '='` +radio_port=`cat ${config} | grep radio_port | cut -f 2 -d '='` +rs_k=`cat ${config} | grep rs_k | cut -f 2 -d '='` +rs_n=`cat ${config} | grep rs_n | cut -f 2 -d '='` load_rtl() { modprobe cfg80211 @@ -40,7 +44,7 @@ load_interface() { } start_wfb() { - wfb_tx -p 1 -u 5600 -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} ${wlan} & + wfb_tx -p ${radio_port} -u ${udp_port} -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -k ${rs_k} -n ${rs_n} ${wlan} & } case "$1" in diff --git a/general/package/wifibroadcast/files/wfb.conf b/general/package/wifibroadcast/files/wfb.conf index 6d8e29f9..b4ac0c38 100644 --- a/general/package/wifibroadcast/files/wfb.conf +++ b/general/package/wifibroadcast/files/wfb.conf @@ -6,3 +6,7 @@ channel=14 bandwidth=20 stbc=1 mcs_index=1 +radio_port=3 +udp_port=5600 +rs_k=8 +rs_n=12 From 11acbc18940536d722727d80d3ecb1acfc2d5633 Mon Sep 17 00:00:00 2001 From: Igor Zalatov Date: Sun, 17 Jul 2022 20:26:31 +0300 Subject: [PATCH 2/2] Update index.md --- docs/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index df39e2b1..0b5956fd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,7 @@ ![OpenIPC Logo](https://cdn.themactep.com/images/logo_openipc.png) -## OpenIPC firmware +## OpenIPC firmware [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter] _(based on Buildroot)_ OpenIPC is a rapidly developing open source alternative [firmware][firmware] for @@ -17,6 +17,7 @@ More information about the [project][project] is available in our [website][webs and on the [wiki][wiki]. [firmware]: https://github.com/openipc/firmware/ +[gitter]: https://gitter.im/openipc [project]: https://github.com/openipc/ [website]: https://openipc.org/ [wiki]: https://openipc.github.io/wiki/ @@ -58,4 +59,4 @@ Thank you.

[chat]: https://openipc.org/our-channels -[contribution]: https://opencollective.com/openipc/contribute/backer-14335/checkout \ No newline at end of file +[contribution]: https://opencollective.com/openipc/contribute/backer-14335/checkout