Skip to content
Snippets Groups Projects
Commit a9a4abb6 authored by David Bauer's avatar David Bauer Committed by Andreas Ziegler
Browse files

ipq806x: add support for NETGEAR R7800 (#1669)

The device is broken until the next release. The LEDs are currently not
working (fixed in current OpenWRT master).

Also give a brief explanation about the BROKEN status being dependent on
the WiFi chip used and not the SoC family in general.
parent dca5abaa
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,8 @@ elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c58-v1', ...@@ -49,6 +49,8 @@ elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c58-v1',
elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040', elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040',
'openmesh,a42', 'openmesh,a62'}) then 'openmesh,a42', 'openmesh,a62'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ipq806x', nil, {'netgear,r7800'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address')
elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then
table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress') table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress')
end end
......
ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca99x0 ath10k-firmware-qca99x0-ct' # The QCA9980 was discontinued by Qualcomm. It didn't receive any firmware-update for over 4 years.
# See https://github.com/kvalo/ath10k-firmware/tree/master/QCA99X0/hw2.0
# 802.11s was never implemented for the chip's firmware. It will most likely be broken forever.
# The QCA9984 on the other hand works fine for 11s meshes on both bands.
QCA9980_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca99x0 ath10k-firmware-qca99x0-ct'
QCA9984_PACKAGES='kmod-ath10k -kmod-ath10k-ct ath10k-firmware-qca9984 -ath10k-firmware-qca9984-ct'
# TP-Link
#
# QCA9980
#
if [ "$BROKEN" ]; then
# TP-Link
device tp-link-archer-c2600 tplink_c2600 device tp-link-archer-c2600 tplink_c2600
packages $ATH10K_PACKAGES packages $QCA9980_PACKAGES
fi
#
# QCA9984
#
# -- ToDo --
# The BROKEN flag for the target can be removed when switching to an OpenWrt base newer than 18.06,
# as in 18.06 the LEDs are not yet functional. This is already fixed in the current OpenWrt master.
# NETGEAR
device netgear-nighthawk-x4s-r7800 netgear_r7800
factory .img
packages $QCA9984_PACKAGES
...@@ -22,6 +22,6 @@ endif ...@@ -22,6 +22,6 @@ endif
ifneq ($(BROKEN),) ifneq ($(BROKEN),)
$(eval $(call GluonTarget,ar71xx,mikrotik)) # BROKEN: no sysupgrade support $(eval $(call GluonTarget,ar71xx,mikrotik)) # BROKEN: no sysupgrade support
$(eval $(call GluonTarget,brcm2708,bcm2710)) # BROKEN: Untested $(eval $(call GluonTarget,brcm2708,bcm2710)) # BROKEN: Untested
$(eval $(call GluonTarget,ipq806x)) # BROKEN: unstable wifi drivers $(eval $(call GluonTarget,ipq806x)) # BROKEN: See target file for details
$(eval $(call GluonTarget,mvebu,cortexa9)) # BROKEN: No AP+IBSS or 11s support $(eval $(call GluonTarget,mvebu,cortexa9)) # BROKEN: No AP+IBSS or 11s support
endif endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment