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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 55040C2BA83 for ; Fri, 14 Feb 2020 18:23:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C12B2086A for ; Fri, 14 Feb 2020 18:23:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405300AbgBNSXV convert rfc822-to-8bit (ORCPT ); Fri, 14 Feb 2020 13:23:21 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:57282 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390047AbgBNSXP (ORCPT ); Fri, 14 Feb 2020 13:23:15 -0500 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 1A29FCECEA; Fri, 14 Feb 2020 19:32:37 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Droid 4 WiFi firmware loading error From: Marcel Holtmann In-Reply-To: <20200214174548.GC64767@atomide.com> Date: Fri, 14 Feb 2020 19:23:12 +0100 Cc: Sebastian Reichel , "Arthur D." , Bluez mailing list , linux-omap@vger.kernel.org, linux-wireless@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <3D50CC42-1201-4067-ACDE-E9B9F0DC5653@holtmann.org> References: <20200211232425.GE16391@atomide.com> <20200212150722.GF16391@atomide.com> <20200212162131.GI16391@atomide.com> <20200213041112.GL16391@atomide.com> <20200213161157.GN16391@atomide.com> <20200214161100.b7aqb6wwsrxmx4ab@earth.universe> <20200214174548.GC64767@atomide.com> To: Tony Lindgren X-Mailer: Apple Mail (2.3608.60.0.2.5) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Tony, >> WTF :( >> >> Right now the BT driver and the WiFi driver are no aware of >> each other. Actually the kernel is not even aware, that both >> drivers are using the same chip. Unfortunately this will be >> tricky to solve properly. Since a system may have two WiLink >> devices, the only solution coming to my mind would be adding >> a link from the BT device to the WiFi device in device tree. >> Additionally we would need something in the WiLink driver to >> check if driver has been initialized properly for a given DT >> node. > > Yeah exactly.. I think the best way would be to export something > like wlcore_register_bt/wlcore_unregister_bt.. And then have > wlcore_register_bt return -EAGAIN until wlcore is up. actually NO. We have rejected this many times for all hardware manufacturers. Please fix the firmware instead. Regards Marcel