[no ci] Package: update wifibroadcast-ng (#1638)

pull/1639/head
viktorxda 2024-12-11 14:33:45 +01:00 committed by GitHub
parent b8e4e975df
commit c9aeec5633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 12 deletions

View File

@ -1,9 +1,6 @@
config BR2_PACKAGE_MAVFWD
bool "mavfwd"
default n
select BR2_PACKAGE_LIBEVENT_OPENIPC
select BR2_PACKAGE_DATALINK
help
mavfwd - Cool and awesome mavlink forwader for FPV
Simple mavlink forwarder.
https://github.com/OpenIPC/mavfwd

View File

@ -1,6 +1,5 @@
config BR2_PACKAGE_MAVLINK_ROUTER
bool "mavlink-router"
select BR2_PACKAGE_DATALINK
help
MAVLink Router is an application to distribute MAVLink messages between multiple endpoints (connections). It distributes packets to a single port or multiple endpoints depending on the target address. Connections can be made via UART, UDP or TCP.

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_WIFIBROADCAST_NG
bool "wifibroadcast-ng"
select BR2_PACKAGE_IW
help
Long-range packet radio link based on raw WiFi radio.
https://github.com/svpcom/wfb-ng

View File

@ -40,14 +40,13 @@ load_modules() {
load_interface() {
ifconfig "$wlan" up
iwconfig "$wlan" mode monitor
iw "$wlan" set type monitor
iw "$wlan" set channel "$channel"
iw reg set "$region"
if [ "$driver" = "8812eu" ] || [ "$driver" = "8733bu" ]; then
iw dev "$wlan" set txpower fixed $((txpower * 50))
iw "$wlan" set txpower fixed $((txpower * 50))
fi
iw reg set "$region"
iwconfig "$wlan" channel "$channel"
}
start_wfb() {

View File

@ -4,11 +4,11 @@
#
################################################################################
WIFIBROADCAST_NG_VERSION = 3a053040442174e6c1ce76866c6da4b12c19dbb4
WIFIBROADCAST_NG_VERSION = 7dbdf92919cfccffa5ff46b0b8294e243f5f5a37
WIFIBROADCAST_NG_SITE = $(call github,svpcom,wfb-ng,$(WIFIBROADCAST_NG_VERSION))
WIFIBROADCAST_NG_LICENSE = GPL-3.0
WIFIBROADCAST_NG_DEPENDENCIES += libpcap libsodium iw
WIFIBROADCAST_NG_DEPENDENCIES += libpcap libsodium
define WIFIBROADCAST_NG_BUILD_CMDS
$(MAKE) CC=$(TARGET_CC) CXX=$(TARGET_CXX) LDFLAGS=-s -C $(@D) all_bin
@ -19,6 +19,9 @@ define WIFIBROADCAST_NG_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc $(WIFIBROADCAST_NG_PKGDIR)/files/drone.key
$(INSTALL) -m 644 -t $(TARGET_DIR)/etc $(WIFIBROADCAST_NG_PKGDIR)/files/wfb.conf
$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d
$(INSTALL) -m 755 -t $(TARGET_DIR)/etc/init.d $(WIFIBROADCAST_NG_PKGDIR)/files/S98wifibroadcast
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/wfb_rx
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/wfb_tx