Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp341386ybk; Wed, 20 May 2020 00:43:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi31ZSTvqB+aUaMIeZ6O/SiHuuTYIYgQnIiXP6Xyn1ltxa6tFTviMaFACZGXbB58d8UQEk X-Received: by 2002:a17:906:f53:: with SMTP id h19mr2554032ejj.343.1589960614773; Wed, 20 May 2020 00:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589960614; cv=none; d=google.com; s=arc-20160816; b=LYCTX7PcZtk31oFl3s8IUaUs5+pbaoBr7TAFX1+WKyomz12ouIFx2iU1AJ2pW02lAH ZmYx3eZ4SNus2HReHJZjukpfBm+ZfS8NZK6M18bpfWHsXENPoufP1CcFFiGQqyGtFpPF 39nRQIdz1qxM/05FrtNyxGK/TDocx7TVUvybGVChKwnQyu66IgSSfenOin86rB9dJfzj sroxxIDKqixT1bhCOuh4DV5EFZgGQIaDvvROtClRXqHholba1dYIGF4kZTCVd7hiAl3w RCocaJqZ0+ZOja38RWjUJqoDATakXmcvn4hWh43h+9reJEZatVRtzpsSfqqnP3Sks74L 4IEw== 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=8FCzqHcLt/L7jZX37exb2DWH+feglGOXViUXkJqEpGs=; b=deTNV4W/Fag08Tg8tuKgM3TWbusqOkjgL8mIo7wAU/yX4sYP31pzO3tdoAhwpFo+yg qDgJ5o1LPmx4rFMA7iDjuAzSXkcBkJAfN8UT1zBsI1HE5CHMHjxfCQNPAa2A496Em78j h3lLf9zYzjagZJiNBt9/I/VEfmnHktp3UsbeCxqkEHzOQejgqxwTps45h2WID43EPWBG ZEKdYePE4BEIzzCHj2rXUrovDkCrkAsNovE21bG/ESxOdA9+zndKAze36Zdp3oa429zn yI0Z4tLpMdlPfFebzVXA3XSlUtYs+tW3mlIfhRaMxRwDUldS3b09UBCgToRgjvdikzC+ cYdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dd-wrt.com header.s=mikd header.b=roGH6fIx; 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 g23si1271183ejh.337.2020.05.20.00.43.02; Wed, 20 May 2020 00:43:34 -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=roGH6fIx; 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 S1726835AbgETHmD (ORCPT + 99 others); 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