Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp916452ybs; Mon, 25 May 2020 02:28:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeWRo+qluUuahTXJnO/hpNcRoO7Fch8wO5uU7h5ozs05oIvKCbku0znAgi96WhAG+0S6qz X-Received: by 2002:a17:907:1199:: with SMTP id uz25mr19194907ejb.24.1590398894902; Mon, 25 May 2020 02:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590398894; cv=none; d=google.com; s=arc-20160816; b=t5ZFCCVCMdutN4d8KNURWfLWRValVqY+6St0qL+WR8RbhwuCiVGN6kR/lyIOtB9QaN zlULKX128hXrlyuWwrefMJUs/YJV2CQcCfVjdF5v3Hzd/eypviK5JHNHMbZ7KG+AnP5Z BQE1Am2f+tC+a1YSwLfXXo50B1Upw3HAcQZ6Xcdl7GsS1rnXSIL+ytiy088WCbOqy34S oszStApK+Ndh3KbVupfoj5mIOSN0QbtPSnFNA8qrXiL3+bZ7gx/HXelFGicTOJhlzkLz TYLFN+yOjj0q1/Aq1620RK9Gw+UU/5hSADDbYxyoAF/eThOd5LcAnOLXldsYYIdx6Dtm 7Ulw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature; bh=183n2q30X9kt5G1Y+EJed/eLG0YBkkzBC4KGB3jOM8E=; b=BY5HIoOaOLvGa/cbF5nowR8N0qy7+Zz4+IZ6Qgg51dCqIFpEBOYqocWhqTwie+abo5 /yqGeqt+M2AJ8aV1gHkgkkSly2H1SN3VrjJ9rmQdTsv3E6/SpQmW21gD23hYGQucPcxV biQUDGihmGqIQbei7101qDKWukTaty4hGTGynVd8De7hD4jMHXYfTXBgA8raNag6gGq6 ZA53V3h5J5uRc9QGGL3BkEKOIXDeUkBDaHkQnR3e9SyMhpifp77E7dKB+d6Uu01fUp0D Xw2yYUl8v1ANXXECdEq/pu4UPJln/JzW5ciPRsVo+FMS7IbMOazI7cvn5Xxpbnqi3HK7 Ao/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dd-wrt.com header.s=mikd header.b=CpCBJMCj; 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; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=dd-wrt.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si8951975edv.392.2020.05.25.02.27.51; Mon, 25 May 2020 02:28:14 -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; dkim=pass header.i=@dd-wrt.com header.s=mikd header.b=CpCBJMCj; 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; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=dd-wrt.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389330AbgEYJ1m (ORCPT + 99 others); Mon, 25 May 2020 05:27:42 -0400 Received: from mail.as201155.net ([185.84.6.188]:30072 "EHLO mail.as201155.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389266AbgEYJ1m (ORCPT ); Mon, 25 May 2020 05:27:42 -0400 Received: from smtps.newmedia-net.de ([2a05:a1c0:0:de::167]:39664 helo=webmail.newmedia-net.de) by mail.as201155.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1jd9OT-0002hK-0v; Mon, 25 May 2020 11:27:37 +0200 X-CTCH-RefID: str=0001.0A782F27.5ECB8F3C.0059,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dd-wrt.com; s=mikd; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=183n2q30X9kt5G1Y+EJed/eLG0YBkkzBC4KGB3jOM8E=; b=CpCBJMCjF0CH1RHbOed5fvJfZz5JbQs6vDFdd0ehaqdRUCA2u+P2ai4e9llzsjTejNUcloORBir7nOCARXV0gCn0F/Od3Q0TrzQGiWH1S9A1adgueSsV7cbsyOFWRv7C1eOWOT5YJSnAAOEGvIyxc5sget8tv/TRyb+h+ogMajU=; Subject: Re: [PATCH v13] ath10k: add LED and GPIO controlling support for various chipsets To: Sven Eckelmann Cc: ath10k@lists.infradead.org, John Crispin , Ansuel Smith , openwrt-devel@lists.openwrt.org, Kalle Valo , Sebastian Gottschall , linux-wireless@vger.kernel.org References: <1523027875-5143-1-git-send-email-kvalo@codeaurora.org> <2468724.JaAZLprVu6@bentobox> <3608947.bSrYYtX6KI@bentobox> From: Sebastian Gottschall Message-ID: <309af858-7e38-17fa-a1db-6b9ce8544ef5@dd-wrt.com> Date: Mon, 25 May 2020 11:27:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Thunderbird/77.0 MIME-Version: 1.0 In-Reply-To: <3608947.bSrYYtX6KI@bentobox> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Received: from [2a01:7700:8040:4000:a1fd:236:8557:c23a] by webmail.newmedia-net.de with esmtpa (Exim 4.72) (envelope-from ) id 1jd9KM-00053m-6T; Mon, 25 May 2020 11:23:22 +0200 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Am 25.05.2020 um 11:22 schrieb Sven Eckelmann: > On Wednesday, 20 May 2020 09:39:45 CEST Sebastian Gottschall wrote: > [...] >> 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 > [...] >>> 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: > Just noticed that there was a copy and paste error in my message. The 5GHz was > an QCA9888 [1,2] and not an QCA4019. Otherwise the _pci error wouldn't have made > any sense. > > And I can only say at the moment (remember that this was observer 14 months > ago), that it could be reproduced easily on IPQ40xx with an QCA9888 and the > given config running OpenWrt reboot-9440-g0f89c17b57. The diffconfig (seed) of > the installation was: > > CONFIG_TARGET_ipq40xx=y > CONFIG_TARGET_ipq40xx_generic=y > CONFIG_TARGET_ipq40xx_generic_DEVICE_openmesh_a62=y > CONFIG_ATH10K_LEDS=y > CONFIG_PACKAGE_ath10k-firmware-qca4019=y > # CONFIG_PACKAGE_ath10k-firmware-qca4019-ct is not set > CONFIG_PACKAGE_ath10k-firmware-qca9888=y > # CONFIG_PACKAGE_ath10k-firmware-qca9888-ct is not set > CONFIG_PACKAGE_kmod-ath10k=y > # CONFIG_PACKAGE_kmod-ath10k-ct is not set > # CONFIG_PACKAGE_kmod-hwmon-core is not set > > And it still can with this OpenWrt version. But it doesn't seem to happen with > the most recent OpenWrt reboot-13353-gb1604b744b. But there are nearly 4000 > commits inbetween. So no idea what changed (just a timing thing or an actual > fix - no idea). > > Btw. the wireless config was given in the original mail [2,3] > > Kind regards, > Sven maybe openwrt installs a default trigger which doesnt make sense if nothing is connected to the cards gpio. we can also modify the patch to exclude the 9888 from led support. you just need to remove the led_pin defintion from the hw definition. this patch is mainly for wireless routers like the netgear r7800, r9000 and some tplink archer models. it also works on mikrotik qca988x cards. but even if the led_pin is set, it should not trigger any action until a led trigger is set with sysfs. such configurations should be architecture specific in any way Sebastian