mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
package/mt7615d: support apcli bridge eth port
This commit is contained in:
parent
4f19c02b85
commit
674632f6fb
@ -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
|
||||
|
@ -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\""
|
||||
|
Loading…
Reference in New Issue
Block a user