Merge pull request #1318 from rotanid/target-cleanup

target files cleanup: variable checks and comments
This commit is contained in:
Matthias Schiffer 2018-01-27 13:04:15 +01:00 committed by GitHub
commit ff073f55d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 33 deletions

View File

@ -1,9 +1,5 @@
ATH10K_PACKAGES=
ATH10K_PACKAGES_QCA9887=
if [ "$GLUON_WLAN_MESH" = '11s' ]; then
ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct' ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct'
fi ATH10K_PACKAGES_QCA9887=
if [ "$GLUON_WLAN_MESH" = 'ibss' ]; then if [ "$GLUON_WLAN_MESH" = 'ibss' ]; then
ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca988x ath10k-firmware-qca988x-ct' ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca988x ath10k-firmware-qca988x-ct'
ATH10K_PACKAGES_QCA9887='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca9887 ath10k-firmware-qca9887-ct' ATH10K_PACKAGES_QCA9887='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca9887 ath10k-firmware-qca9887-ct'
@ -100,10 +96,10 @@ device netgear-wndrmacv2 wndrmacv2
factory .img factory .img
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
device netgear-wndrmac wndrmac # BROKEN: untested device netgear-wndrmac wndrmac # BROKEN: Untested
factory .img factory .img
device netgear-wnr2200 wnr2200 WNR2200 # BROKEN: untested device netgear-wnr2200 wnr2200 WNR2200 # BROKEN: Untested
factory .img factory .img
fi fi
@ -115,11 +111,9 @@ device onion-omega onion-omega
# OpenMesh # OpenMesh
if [ "$ATH10K_PACKAGES" ]; then
device openmesh-mr1750 mr1750 MR1750 device openmesh-mr1750 mr1750 MR1750
alias openmesh-mr1750v2 alias openmesh-mr1750v2
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
fi
device openmesh-mr600 mr600 MR600 device openmesh-mr600 mr600 MR600
alias openmesh-mr600v2 alias openmesh-mr600v2
@ -137,11 +131,9 @@ alias openmesh-om2p-lc
device openmesh-om5p om5p OM5P device openmesh-om5p om5p OM5P
alias openmesh-om5p-an alias openmesh-om5p-an
if [ "$ATH10K_PACKAGES" ]; then
device openmesh-om5p-ac om5pac OM5PAC device openmesh-om5p-ac om5pac OM5PAC
alias openmesh-om5p-acv2 alias openmesh-om5p-acv2
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
fi
# TP-Link # TP-Link
@ -161,7 +153,7 @@ device tp-link-tl-wr710n-v1 tl-wr710n-v1
device tp-link-tl-wr710n-v2.1 tl-wr710n-v2.1 device tp-link-tl-wr710n-v2.1 tl-wr710n-v2.1
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
device tp-link-tl-wr810n tl-wr810n # untested device tp-link-tl-wr810n tl-wr810n # BROKEN: Untested
fi fi
device tp-link-tl-wr842n-nd-v1 tl-wr842n-v1 device tp-link-tl-wr842n-nd-v1 tl-wr842n-v1
@ -180,7 +172,6 @@ device tp-link-tl-wdr4300-v1 tl-wdr4300-v1
device tp-link-tl-wr2543n-nd-v1 tl-wr2543-v1 device tp-link-tl-wr2543n-nd-v1 tl-wr2543-v1
if [ "$ATH10K_PACKAGES" ]; then
device tp-link-archer-c5-v1 archer-c5-v1 device tp-link-archer-c5-v1 archer-c5-v1
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
@ -192,25 +183,24 @@ device tp-link-archer-c7-v4 archer-c7-v4
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
device tp-link-archer-c25-v1 archer-c25-v1 # instability with 5GHz mesh in some environments device tp-link-archer-c25-v1 archer-c25-v1 # BROKEN: OOM with 5GHz enabled in most environments
packages $ATH10K_PACKAGES_QCA9887 packages $ATH10K_PACKAGES_QCA9887
fi fi
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
device tp-link-archer-c58-v1 archer-c58-v1 device tp-link-archer-c58-v1 archer-c58-v1 # BROKEN: OOM with 5GHz enabled in most environments
fi fi
if [ "$BROKEN" ] || [ "$GLUON_WLAN_MESH" = '11s' ]; then if [ "$BROKEN" ] || [ "$GLUON_WLAN_MESH" = '11s' ]; then
device tp-link-archer-c59-v1 archer-c59-v1 device tp-link-archer-c59-v1 archer-c59-v1 # BROKEN: IBSS meshing not working
fi fi
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
device tp-link-archer-c60-v1 archer-c60-v1 device tp-link-archer-c60-v1 archer-c60-v1 # BROKEN: OOM with 5GHz enabled in most environments
fi fi
device tp-link-re450 re450 device tp-link-re450 re450
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
fi
# Ubiquiti # Ubiquiti
@ -239,7 +229,7 @@ device ubiquiti-loco-m-xw ubnt-loco-m-xw
alias ubiquiti-nanostation-loco-m2-xw alias ubiquiti-nanostation-loco-m2-xw
alias ubiquiti-nanostation-loco-m5-xw alias ubiquiti-nanostation-loco-m5-xw
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
alias ubiquiti-nanobeam-m5 # untested alias ubiquiti-nanobeam-m5 # BROKEN: Untested
fi fi
device ubiquiti-nanostation-m-xw ubnt-nano-m-xw device ubiquiti-nanostation-m-xw ubnt-nano-m-xw
@ -266,7 +256,6 @@ if [ "$BROKEN" ]; then
device ubiquiti-ls-sr71 ubnt-ls-sr71 # BROKEN: Untested device ubiquiti-ls-sr71 ubnt-ls-sr71 # BROKEN: Untested
fi fi
if [ "$ATH10K_PACKAGES" ]; then
device ubiquiti-unifi-ac-lite ubnt-unifiac-lite device ubiquiti-unifi-ac-lite ubnt-unifiac-lite
alias ubiquiti-unifi-ac-mesh alias ubiquiti-unifi-ac-mesh
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
@ -275,7 +264,6 @@ factory
device ubiquiti-unifi-ac-pro ubnt-unifiac-pro device ubiquiti-unifi-ac-pro ubnt-unifiac-pro
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
factory factory
fi
# Western Digital # Western Digital

View File

@ -37,7 +37,7 @@ device tp-link-tl-wa801n-nd-v2 tl-wa801nd-v2
device tp-link-tl-wa801n-nd-v3 tl-wa801nd-v3 device tp-link-tl-wa801n-nd-v3 tl-wa801nd-v3
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
device tp-link-tl-wr802n-v1 tl-wr802n-v1 # untested device tp-link-tl-wr802n-v1 tl-wr802n-v1 # BROKEN: Untested
fi fi
device tp-link-tl-wr841n-nd-v3 tl-wr841-v3 device tp-link-tl-wr841n-nd-v3 tl-wr841-v3

View File

@ -1,8 +1,4 @@
ATH10K_PACKAGES=
if [ "$GLUON_WLAN_MESH" = '11s' ]; then
ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct' ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct'
fi
if [ "$GLUON_WLAN_MESH" = 'ibss' ]; then if [ "$GLUON_WLAN_MESH" = 'ibss' ]; then
ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca99x0 ath10k-firmware-qca99x0-ct' ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca99x0 ath10k-firmware-qca99x0-ct'
fi fi
@ -10,7 +6,5 @@ fi
# TP-Link # TP-Link
if [ "$ATH10K_PACKAGES" ]; then
device tp-link-archer-c2600 C2600 device tp-link-archer-c2600 C2600
packages $ATH10K_PACKAGES packages $ATH10K_PACKAGES
fi

View File

@ -1,20 +1,20 @@
# BROKEN: No AP+IBSS support, 11s has high packet loss # BROKEN: No AP+IBSS support (plus individual issues)
if [ "$BROKEN" ]; then if [ "$BROKEN" ]; then
## D-Link ## D-Link
device d-link-dir-860l-b1 dir-860l-b1 device d-link-dir-860l-b1 dir-860l-b1 # BROKEN: 2.4 GHz Mesh unreliable
## Netgear ## Netgear
device netgear-wndr3700v5 wndr3700v5 # untested device netgear-wndr3700v5 wndr3700v5 # BROKEN: Untested
factory factory
## ZBT ## ZBT
device zbt-wg3526 zbt-wg3526 device zbt-wg3526 zbt-wg3526 # BROKEN: Untested
factory factory
fi fi