package/mt7615d: support apcli bridge eth port

This commit is contained in:
jjm2473 2023-04-02 15:24:04 +08:00
parent 4f19c02b85
commit 674632f6fb
2 changed files with 7 additions and 2 deletions

View File

@ -201,7 +201,7 @@ endef
define KernelPackage/mt7615d_dbdc
CATEGORY:=Kernel modules
TITLE:=MTK wifi AP driver
DEPENDS:=@TARGET_ramips +kmod-mt7615d +maccalc
DEPENDS:=@TARGET_ramips +kmod-mt7615d +maccalc +PACKAGE_firewall:kmod-br-netfilter
SUBMENU:=Wireless Drivers
MENU:=1
endef
@ -234,7 +234,7 @@ define Build/Compile
endef
define Build/Install
:
:
endef
define KernelPackage/mt7615d/install

View File

@ -310,13 +310,18 @@ mt_dbdc_sta_vif_pre_config() {
;;
esac
# mt_cmd iwpriv $APCLI_IF set MACRepeaterEn=1
mt_cmd iwpriv $APCLI_IF set ApCliAuthMode=$ApCliAuthMode
mt_cmd iwpriv $APCLI_IF set ApCliEncrypType=$ApCliEncrypType
if [[ "$ApCliEncrypType" = "WEP" ]]; then
mt_cmd iwpriv $APCLI_IF set ApCliDefaultKeyID=$key
# mt_cmd iwpriv $APCLI_IF set ApCliKey1Type=1 # 0:hex, 1:ascii
mt_cmd iwpriv $APCLI_IF set "\"ApCliKey1=${key1##*:}\""
# mt_cmd iwpriv $APCLI_IF set ApCliKey2Type=1
mt_cmd iwpriv $APCLI_IF set "\"ApCliKey2=${key2##*:}\""
# mt_cmd iwpriv $APCLI_IF set ApCliKey3Type=1
mt_cmd iwpriv $APCLI_IF set "\"ApCliKey3=${key3##*:}\""
# mt_cmd iwpriv $APCLI_IF set ApCliKey4Type=1
mt_cmd iwpriv $APCLI_IF set "\"ApCliKey4=${key4##*:}\""
elif ! [[ "$ApCliEncrypType" = "NONE" ]]; then
mt_cmd iwpriv $APCLI_IF set "\"ApCliWPAPSK=$key\""