From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA5EBC433E0 for ; Wed, 20 May 2020 07:42:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BABDE207FB for ; Wed, 20 May 2020 07:42:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=dd-wrt.com header.i=@dd-wrt.com header.b="roGH6fIx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726835AbgETHmD (ORCPT ); Wed, 20 May 2020 03:42:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbgETHmC (ORCPT ); Wed, 20 May 2020 03:42:02 -0400 X-Greylist: delayed 128 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 20 May 2020 00:42:02 PDT Received: from mail.as201155.net (mail.as201155.net [IPv6:2a05:a1c0:f001::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 329E7C061A0E for ; Wed, 20 May 2020 00:42:02 -0700 (PDT) Received: from smtps.newmedia-net.de ([2a05:a1c0:0:de::167]:46313 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 1jbJKN-0007JS-3D; Wed, 20 May 2020 09:39:48 +0200 X-CTCH-RefID: str=0001.0A782F15.5EC4DE74.0002,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=8FCzqHcLt/L7jZX37exb2DWH+feglGOXViUXkJqEpGs=; b=roGH6fIx1Q/HesuRu3IIQxGpEZlav7c/TVVmx1ZB8gG1fH3w3GEhf99uWdyEtiIBYZsKpXH8lkd0Dl8PODbPEn2M5PQ4hYIkSQRvLqrK+hkj6u8XuUm0HfWT3Gq6JLhhC++eLK0lqEju5/VUzwtfFJZRuTBbVuhx8f51Af2z4KE=; Subject: Re: [PATCH v13] ath10k: add LED and GPIO controlling support for various chipsets To: Sven Eckelmann , ath10k@lists.infradead.org, John Crispin , Ansuel Smith , openwrt-devel@lists.openwrt.org Cc: Kalle Valo , Sebastian Gottschall , linux-wireless@vger.kernel.org References: <1523027875-5143-1-git-send-email-kvalo@codeaurora.org> <2468724.JaAZLprVu6@bentobox> From: Sebastian Gottschall Message-ID: Date: Wed, 20 May 2020 09:39:45 +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: <2468724.JaAZLprVu6@bentobox> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Received: from [2a01:7700:8040:4000:f846:4861:fc39:f688] by webmail.newmedia-net.de with esmtpa (Exim 4.72) (envelope-from ) id 1jbJGM-0005Rl-7P; Wed, 20 May 2020 09:35:38 +0200 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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