Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp846605rdg; Fri, 11 Aug 2023 01:24:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFAk0cIp2avYpTKgQ/9hJqa1bug3ypthq9oROU+AXjlqIaPPC9cSZTZSERTYOkrKze1rsM4 X-Received: by 2002:a05:6808:9ac:b0:3a4:f9b:b42e with SMTP id e12-20020a05680809ac00b003a40f9bb42emr1372390oig.26.1691742248753; Fri, 11 Aug 2023 01:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691742248; cv=none; d=google.com; s=arc-20160816; b=VO+OpajtiO7h1qdnjmCrBbKUYqPXGfO6T5vQRs/pWIMnD5bjVxSQkEuVhtJl7q5lgk SzMpI34NOhQQSGdMg6xStx8BXufxno56dBBS5pHh9a1BIfpEIYuXMZofcxXH1kueMsxr QlsnSCh5stcLftgAJPEDMi+5e82O0ARaINLTXZ+zO53PVhA+VgEJbHn6vqU0OYSy3Pm8 iKPlJ+x/VYX6jfH86ozTUNkhIE5KSQUNQn2bjCvI7x/u4cvvL4x696f5AAk5Og3qugMQ Pzw60YZPIN0dy1drcPVgG2C6ewKZ/HmSMJZb8X0mnAMa67tNK6PMCbqjHfLa04AjdSQi coBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ffId+0s3JFoFJSRJL1qT3zIGm26myhZR3y8XAb5XRro=; fh=0bEubJXGmz7qi7D31JA3MM7Z0f3J3rOSuId7Sj+ZiH8=; b=o8QOakIZSvnOUUrKl4Mbca3Xztcc8J2Nifbe162rV/mA2MInX+PHvh8r/Na9c4CQLV Rk6yxUWcDrFhKynWHoYa6Iib21GbcBqmmn/fDWN0AiyTWu2PeZPrL/Nfzth+SfP0Zkok M4LcjZ8dsps3HqabjoA11c7UnA9Cjcy9LGZQHN7wGCM1lIPK1e36a2mz2nnpnDjT/0he 0yUnYFWY0oNYJBhP3uaWlFh0qlhqFbifqpjc9ph2Apkgva7GrkUeP9HKxBoH9RhANCLJ r6qEQpzrvKE7snPy0KZzZwS8dSkqp74ZvCNSHVtzxb+Ty46lt/qx4BmJqRdYU/NBzTQd +ozw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 63-20020a630042000000b0055379a7131csi3173566pga.721.2023.08.11.01.23.55; Fri, 11 Aug 2023 01:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234314AbjHKIBA (ORCPT + 55 others); Fri, 11 Aug 2023 04:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233602AbjHKIA7 (ORCPT ); Fri, 11 Aug 2023 04:00:59 -0400 X-Greylist: delayed 81718 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 11 Aug 2023 01:00:59 PDT Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0417B1FD3 for ; Fri, 11 Aug 2023 01:00:58 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 60AA0206D9; Fri, 11 Aug 2023 10:00:57 +0200 (CEST) Date: Fri, 11 Aug 2023 10:00:55 +0200 From: Francesco Dolcini To: David Lin Cc: Francesco Dolcini , "linux-wireless@vger.kernel.org" , Sharvari Harisangam , Pete Hsieh Subject: Re: [EXT] Re: [PATCH v3] wifi: mwifiex: added code to support host mlme. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, Aug 11, 2023 at 02:13:43AM +0000, David Lin wrote: > > From: Francesco Dolcini > > Sent: Thursday, August 10, 2023 10:25 PM > > To: David Lin > > Cc: Francesco Dolcini ; linux-wireless@vger.kernel.org; > > Sharvari Harisangam ; Pete Hsieh > > > > Subject: Re: [EXT] Re: [PATCH v3] wifi: mwifiex: added code to support host > > mlme. > > > > Caution: This is an external email. Please take care when clicking links or > > opening attachments. When in doubt, report the message using the 'Report > > this email' button > > > > > > On Thu, Aug 10, 2023 at 10:51:36AM +0000, David Lin wrote: > > > > From: Francesco Dolcini On Thu, Aug 10, 2023 > > > > at 02:39:21AM +0000, David Lin wrote: > > > > > 3. Firmware version 2 is needed for this feature. > > > > That would mean that we could just enable it for other Wi-Fi chip > > > > variant that has firmware version 2, after testing it? > > > Yes. But I only tested with IW416. > > > > Can/should we probe the firmware version at runtime, instead of hard-coding > > this? > > Firmware version is reported by firmware after firmware is downloaded. What's the problem with that? You cannot really do anything till the firmware is loaded? If I understand correctly the possibility to use this feature requires its counterpart to be available on the device firmware, this should be the criteria to use to decide if this functionality should be enabled or not. Hard-coding this depending on the actual device does not look correct to me. Francesco