ltq-deu: Mark lantiq DEU broken
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 26 Jun 2021 22:52:50 +0000 (00:52 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 Jul 2021 17:22:13 +0000 (19:22 +0200)
When the ltq_deu_vr9 kernel module is loaded, hostapd does not start any
more. It fails with this error message:
daemon.err hostapd: nl80211: kernel reports: key addition failed
daemon.err hostapd: Interface initialization failed

OpenWrt uses the standard Linux crypto API in the wifi drivers now
and this probably makes the system offload more crypto operations to
special hardware like the Lantiq DEU. There is probably a bug in the DEU
and these operations fail and then hostapd does not start the interface.

Do not include the Lantiq DEU by default any more.

Fixes: FS#3901
Fixes: 53b6783907f3 ("mac80211: remove patches stripping down crypto support")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Notupus <notpp46@gmail.com>
(cherry-picked from commit 964863bb23999a1fae99b883053cc4f3c5c42b40)

target/linux/lantiq/image/ar9.mk
target/linux/lantiq/image/danube.mk
target/linux/lantiq/xrx200/target.mk

index a973c90beb38a0b0bf03894aa1d05e4c5b736dd5..ea3836ea9de46c4fc2761e3b62af00138b12beaa 100644 (file)
@@ -7,7 +7,7 @@ define Device/avm_fritz7312
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
        ltq-adsl-app ppp-mod-pppoa \
-       kmod-ltq-deu-ar9 -swconfig
+       -swconfig
 endef
 TARGET_DEVICES += avm_fritz7312
 
@@ -22,7 +22,7 @@ define Device/avm_fritz7320
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
        ltq-adsl-app ppp-mod-pppoa \
-       kmod-ltq-deu-ar9 kmod-usb-dwc2 -swconfig
+       kmod-usb-dwc2 -swconfig
   SUPPORTED_DEVICES += FRITZ7320
 endef
 TARGET_DEVICES += avm_fritz7320
@@ -38,7 +38,6 @@ define Device/bt_homehub-v3a
   DEVICE_PACKAGES := kmod-usb-dwc2 \
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
-       kmod-ltq-deu-ar9 \
        ltq-adsl-app ppp-mod-pppoa \
        kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \
        uboot-envtools
@@ -107,8 +106,7 @@ define Device/netgear_dgn3500
        kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
-       ltq-adsl-app ppp-mod-pppoa \
-       kmod-ltq-deu-ar9
+       ltq-adsl-app ppp-mod-pppoa
   SUPPORTED_DEVICES += DGN3500
 endef
 TARGET_DEVICES += netgear_dgn3500
@@ -130,8 +128,7 @@ define Device/netgear_dgn3500b
        kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
-       ltq-adsl-app ppp-mod-pppoa \
-       kmod-ltq-deu-ar9
+       ltq-adsl-app ppp-mod-pppoa
   SUPPORTED_DEVICES += DGN3500B
 endef
 TARGET_DEVICES += netgear_dgn3500b
@@ -145,7 +142,7 @@ define Device/zte_h201l
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
        ltq-adsl-app ppp-mod-pppoe \
-       kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
+       kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
        kmod-ltq-tapi kmod-ltq-vmmc
   SUPPORTED_DEVICES += H201L
 endef
@@ -161,7 +158,7 @@ define Device/zyxel_p-2601hn
        kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
        kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
        ltq-adsl-app ppp-mod-pppoe \
-       kmod-ltq-deu-ar9 kmod-usb-dwc2
+       kmod-usb-dwc2
   SUPPORTED_DEVICES += P2601HNFX
 endef
 TARGET_DEVICES += zyxel_p-2601hn
index 73ec27222a6208027fb35f017f55ef9ee984c318..28fa4ed80008e4c1480f3b0f56332cd62c69228c 100644 (file)
@@ -192,7 +192,6 @@ define Device/bt_homehub-v2b
   DEVICE_PACKAGES := kmod-usb-dwc2 \
        kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
        kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
-       kmod-ltq-deu-danube \
        ltq-adsl-app ppp-mod-pppoa \
        kmod-ath9k kmod-owl-loader wpad-basic-wolfssl
   SUPPORTED_DEVICES += BTHOMEHUBV2B
index f7dc8ac1c737c23a699ca8b36feb8c515e96c725..daf2c188cf8516dcc2161dac17015e6993a8914a 100644 (file)
@@ -11,7 +11,6 @@ DEFAULT_PACKAGES+=kmod-leds-gpio \
        kmod-ltq-vdsl-vr9 \
        kmod-ltq-atm-vr9 \
        kmod-ltq-ptm-vr9 \
-       kmod-ltq-deu-vr9 \
        ltq-vdsl-app \
        dsl-vrx200-firmware-xdsl-a \
        dsl-vrx200-firmware-xdsl-b-patch \