diff --git a/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v200.generic-fpv.config b/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v200.generic-fpv.config index 56e6d052..d8c76f80 100644 --- a/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v200.generic-fpv.config +++ b/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v200.generic-fpv.config @@ -712,7 +712,7 @@ CONFIG_WEXT_PROC=y CONFIG_CFG80211=m # CONFIG_NL80211_TESTMODE is not set # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set -CONFIG_CFG80211_DEFAULT_PS=y +# CONFIG_CFG80211_DEFAULT_PS is not set CONFIG_CFG80211_INTERNAL_REGDB=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_CFG80211_WEXT=y diff --git a/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v300.generic-fpv.config b/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v300.generic-fpv.config index 8f69c671..cdc8f5e8 100644 --- a/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v300.generic-fpv.config +++ b/br-ext-chip-goke/board/gk7205v200/kernel/gk7205v300.generic-fpv.config @@ -712,7 +712,7 @@ CONFIG_WEXT_PROC=y CONFIG_CFG80211=m # CONFIG_NL80211_TESTMODE is not set # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set -CONFIG_CFG80211_DEFAULT_PS=y +# CONFIG_CFG80211_DEFAULT_PS is not set CONFIG_CFG80211_INTERNAL_REGDB=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_CFG80211_WEXT=y diff --git a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/hi3516ev300.generic-fpv.config b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/hi3516ev300.generic-fpv.config index 0525c52e..faf2f88b 100644 --- a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/hi3516ev300.generic-fpv.config +++ b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/hi3516ev300.generic-fpv.config @@ -730,7 +730,7 @@ CONFIG_WEXT_PRIV=y CONFIG_CFG80211=m # CONFIG_NL80211_TESTMODE is not set # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set -CONFIG_CFG80211_DEFAULT_PS=y +# CONFIG_CFG80211_DEFAULT_PS is not set CONFIG_CFG80211_INTERNAL_REGDB=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_CFG80211_WEXT=y diff --git a/general/package/wifibroadcast/files/S98wfb b/general/package/wifibroadcast/files/S98wfb index 1aacf4db..bdfc7a32 100755 --- a/general/package/wifibroadcast/files/S98wfb +++ b/general/package/wifibroadcast/files/S98wfb @@ -5,13 +5,17 @@ config="/etc/wfb.conf" keydir="/etc" + wlan=`cat ${config} | grep wlan | cut -f 2 -d '='` region=`cat ${config} | grep region | cut -f 2 -d '='` 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 '='` load_rtl() { modprobe cfg80211 - modprobe 88XXau + modprobe 88XXau rtw_monitor_disable_1m=1 } load_ath() { @@ -36,7 +40,7 @@ load_interface() { } start_wfb() { - wfb_tx -p 1 -u 5600 -K ${keydir}/drone.key ${wlan} & + wfb_tx -p 1 -u 5600 -K ${keydir}/drone.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} ${wlan} & } case "$1" in diff --git a/general/package/wifibroadcast/files/wfb.conf b/general/package/wifibroadcast/files/wfb.conf index 7e788d99..6d8e29f9 100644 --- a/general/package/wifibroadcast/files/wfb.conf +++ b/general/package/wifibroadcast/files/wfb.conf @@ -2,4 +2,7 @@ daemon=0 driver=rtl wlan=wlan0 region=BO -channel=6 +channel=14 +bandwidth=20 +stbc=1 +mcs_index=1