[PATCH] ltq-deu: Mark lantiq DEU broken

Notupus notpp46 at gmail.com
Sun Jun 27 00:55:52 PDT 2021


I just tested this and it works fine on 5.4.
I, just as Martin have been using 5.10 and never really use wifi so
if you may you can add my tag.
Tested-by: Notupus <notpp46 at gmail.com>


On Sun, Jun 27, 2021 at 1:57 AM Hauke Mehrtens <hauke at hauke-m.de> wrote:
>
> When the ltq_deu_vr9 kernel module is loaded, hostapd does not start any
> more. it fails with thgis 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.
>
> Just mark the Lantiq DEU as broken for now.
>
> Fixes: FS#3901
> Fixes: 53b6783907f3 ("mac80211: remove patches stripping down crypto support")
> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
> ---
>  package/kernel/lantiq/ltq-deu/Makefile |  2 +-
>  target/linux/lantiq/image/ar9.mk       | 15 ++++++---------
>  target/linux/lantiq/image/danube.mk    |  1 -
>  target/linux/lantiq/xrx200/target.mk   |  1 -
>  4 files changed, 7 insertions(+), 12 deletions(-)
>
> diff --git a/package/kernel/lantiq/ltq-deu/Makefile b/package/kernel/lantiq/ltq-deu/Makefile
> index e5a7d0d86fc2..99ac07506bd6 100644
> --- a/package/kernel/lantiq/ltq-deu/Makefile
> +++ b/package/kernel/lantiq/ltq-deu/Makefile
> @@ -21,7 +21,7 @@ define KernelPackage/ltq-deu-template
>    TITLE:=deu driver for $(1)
>    URL:=http://www.lantiq.com/
>    VARIANT:=$(1)
> -  DEPENDS:=@TARGET_lantiq_$(2) +kmod-crypto-manager @LINUX_5_4
> +  DEPENDS:=@TARGET_lantiq_$(2) +kmod-crypto-manager @LINUX_5_4 @BROKEN
>    FILES:=$(PKG_BUILD_DIR)/ltq_deu_$(1).ko
>    AUTOLOAD:=$(call AutoProbe,ltq_deu_$(1))
>  endef
> diff --git a/target/linux/lantiq/image/ar9.mk b/target/linux/lantiq/image/ar9.mk
> index a973c90beb38..ea3836ea9de4 100644
> --- a/target/linux/lantiq/image/ar9.mk
> +++ b/target/linux/lantiq/image/ar9.mk
> @@ -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
> diff --git a/target/linux/lantiq/image/danube.mk b/target/linux/lantiq/image/danube.mk
> index 73ec27222a62..28fa4ed80008 100644
> --- a/target/linux/lantiq/image/danube.mk
> +++ b/target/linux/lantiq/image/danube.mk
> @@ -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
> diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk
> index c89f4bb83cef..55299f632f68 100644
> --- a/target/linux/lantiq/xrx200/target.mk
> +++ b/target/linux/lantiq/xrx200/target.mk
> @@ -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 \
> --
> 2.30.2
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list