Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp447118ybk; Wed, 20 May 2020 03:47:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDwNiJwoNzfZD9TqP90IRbsYkcOiW7mP1FpZCsjIOhRK9ZIlxdoH8h64MTF4JGe6Ej648B X-Received: by 2002:a17:906:6b05:: with SMTP id q5mr3025743ejr.329.1589971668254; Wed, 20 May 2020 03:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589971668; cv=none; d=google.com; s=arc-20160816; b=QEaS2GzWxXeBneJsp0459EmhTykTO/LO/b2vuPaCK05Q83hv8Iq6rGqyOA+hRlUSfB tqlaArCiLV3LDqjBE33yAaWiJQEteTMLiG9xMIFyWy7q67KtvA/uHR5+AF7GJRqplhuD +LwnE5dA67posXF0a3UmzrntNTLWXUF9SReJ+cADdndOQZ2A9d7g/xUgicHSSSVJ8DtW C7H9vPCLDzvi4VFbUy65MviPhKKeXjRVhuLwGxxHSyi0b/sdAwMyNdem64N5BNt74jFK 5oMxuhcN6+nCX0RcJ8IgTlAvCBYP5SrKIXhrMVUIUgvPUVFTf75EJZ1DCi7fl9Gu+GnH Zj+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject; bh=XdURbzzOTj5PgW/Ou5d20mkAzSCE3YuO7I1y82zu97M=; b=gKVgE3zZfM0h78uCSIbtbEUT7WnfSgTuNkT8x0UxYiTEPIvry0cYZ/uyeu+5tBe/U+ WdWNkNUitq3JW5359Sp+TW1uiWsHoIY7OViOH/b1QbPpPV1CEOyR0hNA1MAZTNfAZOX7 lF4pq2q9rkR7NQWV1M0OEK4zRfQSgB3YWM5xespJr1BuyFjTYrAX98DxO8Jt4IG4v+HU ogMZVGZ8WUpFEhiYk+xGma5/f1kCkYtIRTOT1UiTHuNE00kJHHjejhYI44aafpOf0q3b 2lsNCEjdOvz062yMumF9+aa2aiSnNSkdhF3Fgw5aCqLV25oay6dh25H+b/Wd/oIp3Mnq IBFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e24si1285111edj.85.2020.05.20.03.47.13; Wed, 20 May 2020 03:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbgETKrG (ORCPT + 99 others); Wed, 20 May 2020 06:47:06 -0400 Received: from achernar.uberspace.de ([95.143.172.237]:54350 "EHLO achernar.uberspace.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgETKrF (ORCPT ); Wed, 20 May 2020 06:47:05 -0400 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Wed, 20 May 2020 06:47:04 EDT Received: (qmail 28377 invoked from network); 20 May 2020 10:40:22 -0000 Received: from localhost (HELO ?192.168.1.133?) (127.0.0.1) by achernar.uberspace.de with SMTP; 20 May 2020 10:40:22 -0000 Subject: Re: [OpenWrt-Devel] [PATCH v13] ath10k: add LED and GPIO controlling support for various chipsets To: Sebastian Gottschall , Sven Eckelmann , ath10k@lists.infradead.org, John Crispin , Ansuel Smith , openwrt-devel@lists.openwrt.org Cc: Sebastian Gottschall , linux-wireless@vger.kernel.org, Kalle Valo References: <1523027875-5143-1-git-send-email-kvalo@codeaurora.org> <2468724.JaAZLprVu6@bentobox> From: Vincent Wiemann Openpgp: preference=signencrypt Autocrypt: addr=vincent.wiemann@ironai.com; prefer-encrypt=mutual; keydata= mQINBFRRft4BEAC02uXbCKWgSHp2qoq5aqv8RWpWmHldJgcUE8qcmLpmQv8GkxCIFsZ78JjJ 6uOVewDBMV1mQ8jONfiiUQYmw6IxHs9Hk+EPCKCynHrkmQUnq8Kjpa6mEenYlPe5Sx2u5CwY hRbFTlFXibKnY03tavt6ckZCZP9vi3aU+gw4jBma0Ev1z0fdf23V3jpPjNIJU6lzDe0EYhuT +b2HBEA9OYr/G8v7OolOWI53C98fc0LB29+A+FPGKxZzbiPWHUYpjwa8iHMQUecJhD1MvPaC KUPyjW9GQN9AAUcfOSceZAglwgr1JNmB7zzEqGr5vSXQL/Gxq0otT+LvH6l+nDPXhvtrJ387 EEKZ71HUrb5v4LOfcF3y4JxLnIyCM/wN2DQNFbpYTGTX30WQm0YfGJRHrJ2H0jc8PGfo4egH xR+7LmLbhHm9Odjusg2dCOX+S7HaeogO70jYCdNXgrB7UkVybWGRcEVjkf8iiIXGvl5oqeRz fNgHH6UzpDWdPlnMMGv/iRhfrsReu5nSgKQA/LY5+8ItVpqN3TrtwmcmP8+BWuZIdTUJE24s gZqipqaKfRlXvl6Tr61VzkbWS7mp0ccW5Iin4q619Pulqm+vgvMQuUOxII8yeBjSdsJWyg7o gcizk9Ed70jKf0GVWUDJtVdFBSRVNIghIBso4mxBUS7cH/uncQARAQABtDhWaW5jZW50IFdp ZW1hbm4gKENvZGVGZXRjaCkgPHZpbmNlbnQud2llbWFubkBpcm9uYWkuY29tPokCOAQTAQIA IgUCVFF+3gIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQyubkBBHeYFZOgxAAs6c1 sL3BIBTOA62/eCiJeLtClXgxQZS+kkIyaUq3uLnp0ZpBuAy5SETcBP70p0gOjZ0f9YnkHs71 16Aw2NUGfyvAFvDEb26Fie7uk4q6UNMJsxmcyPB2sFt5mneh28ame1nvQp8EQr2qekY4Kv14 gR3yVj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YQrD8W957WsD Ntv4+zb8lWRnjPFxiVG6URKkzA3/zBiuuuprOC0GnroOHJH309OiCpUwA235BqZMtTL5cTu9 VCaxjYNqIfc3QGlQL1mOC8agYykZSykAeGlTFOYglD8KI8W5OEGY+Tu+waEOf7Xi1U4CZ1aM xovx1KTZABEBAAGJAh8EGAECAAkFAlRRft4CGwwACgkQyubkBBHeYFYvKA//TIjRA4nQEEw+ iOMNDrLBZ12PgGOFx6WI7P4KwE8zZpbu+G7EF4jKrYLeQgCvua7DKNl4Xkkmb3SOzhfhjVRn 3rXMwooSQg3uxt975UG/5nvuGMlNaWlKlRKas4BVrcgbCeBURUpH7NNzzC6Y71N6lDe/R0Z/ MXL0cLRb0QnwqL7l/ei3vauS8f5yBRyix4DjVXAwuA6WK7eXhnc1hJH5m5Y/ktzu/x3UE21B XMIoTAocXzZF1jtr1aSCyCRnW0z1vcj0UcGCa1qRIY6Gg0rjiYvSL3tT/xyOrlCCF3BZdVZR Xb4E+tdSzURfShUvqKXzqRSScuI8p3PA2K1FHBVUpAMEEgBQLeUC64fE9VTs9EPXfhIQVRIp /xUdpgablxBRSRCXW0GFb/t9b/hVle1XK3+w+Emc7Rv0XDySRZMGnyWQUhJGLelnY1Kyn8nC olG+GaBcRlOWameU/sdXSbKGRCwPnstXEZo7sbFsoN6tpvLQLzofJKlLrJ3Qojr3djM8kgHj En/wIwj23Nir/Dwr3iWZYvwWPFKcYqcaVCy9fRhqRnq7DsXqYGgZNgxnzsjrtie8hL0CEwId uYrL/p7BTzxmlQ3/P3XUZP1xrzsLs6VGo+gUyfilKl48zYNJr3qY1kMMGF4qrjZzVQSFZgxn sFWRrW2QGIhjT+Y4XMq8yZQ= Message-ID: <90f5adcb-488e-96e2-001e-7bf8d175dec6@ironai.com> Date: Wed, 20 May 2020 12:40:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Sebastian, I don't know why it was dropped, but I can say that the LED control code was kind of annoying me. Even when the LED was turned of, it "flickered" when it was set disabled. Unfortunately I didn't have time to look into it, yet. Best, Vincent On 20.05.20 09:39, Sebastian Gottschall wrote: > this code is not in use in its original form for ipq4019. > i have seen that his patch is also dropped from ath.git but is still in use by openwrt. > could somone clarify the state here and why it was dropped? > the original patch i wrote does exclude the soc chipsets, but the patch was later reorganized and some part have been rewritten > so i'm not sure if it covers the scenario mentioned here, which i did take care of > > Sebastian > > Am 26.02.2019 um 10:16 schrieb Sven Eckelmann: >> On Friday, 6 April 2018 17:17:55 CET Kalle Valo wrote: >>> From: Sebastian Gottschall >>> >>> Adds LED and GPIO Control support for 988x, 9887, 9888, 99x0, 9984 based >>> chipsets with on chipset connected led's using WMI Firmware API.  The LED >>> device will get available named as "ath10k-phyX" at sysfs and can be controlled >>> with various triggers.  adds also debugfs interface for gpio control. >>> >>> Signed-off-by: Sebastian Gottschall >>> Reviewed-by: Steve deRosier >>> [kvalo: major reorg and cleanup] >>> Signed-off-by: Kalle Valo >> >> This patch was imported to OpenWrt in commit 61d57a2f88b9 ("mac80211: ath10k >> add leds support") and broke the 11s support for IPQ4019 and QCA4019 (5GHz) >> firmware versions 10.4-3.5.3-00053, 10.4-3.5.3-00057, 10.4-3.6-00140: >> >>      [  221.620803] ath10k_pci 0000:01:00.0: wmi command 36967 timeout, restarting hardware >>      [  221.744056] ieee80211 phy0: Hardware restart was requested >>      [  225.130829] ath10k_pci 0000:01:00.0: failed to receive control response completion, polling.. >>      [  226.170824] ath10k_pci 0000:01:00.0: Service connect timeout >>      [  226.170871] ath10k_pci 0000:01:00.0: failed to connect htt (-110) >>      [  226.252248] ath10k_pci 0000:01:00.0: Could not init core: -110 >> >> This was tested on an A62 with following wireless config: >> >>      config wifi-device 'radio0' >>              option type 'mac80211' >>              option channel '36' >>              option hwmode '11a' >>              option path 'soc/40000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0' >>              option htmode 'VHT80' >>              option disabled '0' >>              option country US >>           config wifi-device 'radio1' >>              option type 'mac80211' >>              option channel '11' >>              option hwmode '11g' >>              option path 'platform/soc/a000000.wifi' >>              option htmode 'HT20' >>              option disabled '0' >>              option country US >>           config wifi-device 'radio2' >>              option type 'mac80211' >>              option channel '149' >>              option hwmode '11a' >>              option path 'platform/soc/a800000.wifi' >>              option htmode 'VHT80' >>              option disabled '0' >>              option country US >>           config wifi-iface 'mesh0' >>          option device 'radio0' >>          option ifname 'mesh0' >>          option network 'nwi_mesh0' >>          option mode 'mesh' >>          option mesh_id 'TestMesh' >>          option mesh_fwding '1' >>          option encryption 'none' >>           config wifi-iface 'mesh1' >>          option device 'radio1' >>          option ifname 'mesh1' >>          option network 'nwi_mesh1' >>          option mode 'mesh' >>          option mesh_id 'TestMesh' >>          option encryption 'none' >>                config wifi-iface 'mesh2' >>          option device 'radio2' >>          option ifname 'mesh2' >>          option network 'nwi_mesh2' >>          option mode 'mesh' >>          option mesh_id 'TestMesh' >>          option mesh_fwding '1' >>          option encryption 'none >> >> Kind regards, >>     Sven > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >