Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp540849rdb; Fri, 8 Sep 2023 08:24:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPjKaFqxEi33//WLI32aYVkysW916km8FmFbjRx5tqw/9ltYAjCXjD1E1I+CR0Weo+hvMf X-Received: by 2002:a05:6512:3c95:b0:4fd:8976:5fc9 with SMTP id h21-20020a0565123c9500b004fd89765fc9mr2710605lfv.23.1694186681139; Fri, 08 Sep 2023 08:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694186681; cv=none; d=google.com; s=arc-20160816; b=PTstm++TlnnWe8unFVVO7GdxsirLhJDjpB+F0WiFIN9KPm1cI7OvFhfjUrmtdDjXGb 5/k34bmz13PxSpzl3Uk16EnI5NpmIO1hnB+bwDiMThYEfeeXAmbLS6PnSD80sNSWsQiE g+fks/dEn2iW+w7u9MWF9n5utL1NtsYQUQSGK7NLHPSyNDWA4WDXSYR7c8xmrCOgsBNw l3ak29NrtFmkPcuyUHwNL1ItFdqbrNpb+09UY+q2bGm/9VoKpkPAzagjD5p8SJH3Hn8N pZdD7UXeMWGqxTDSdZ631IEonulaVUgJIrhXnqBolNpvtizYWefNDX2JG24KN6DN0m4O ifnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=uQWUkl/QlAgXrXprJ8fDhQ9wVB+tSHYpYCIctH9BcIg=; fh=1hPGtIm1jfIYQslgiIdYML31r2fVQo7DED4/bAAVGa0=; b=mhC03UudxFnkIcsBHB4JhwuemGdzd7rdfUEkxjGlwd/6sd1mnP5Zh45zsp39N9O+U8 LfJyZ/oPigfJHgtFoufG74oQRJjKEjrefAPDyc1FYkPpGIxIVnOboLq84YVpR0co9OyW cG9o+YTPK0T+MnajKhew6ETVHyNGxKFMXlfiCP4gDUTe6NFaZLOQlN8mnnzo+hdDmSbW C5rQu9Q/Yv8Oz+3RJXUVZAeTH71rqdTjQpw26X2R7Vkn6pYr4ZYjSbx+uwj21rOT+t1Z lx/MGPiVxvwJ8iuR2Tawqmn9/6stvvTFUvL84f32nOM556oP8fSAEB/YTZ6nxqUv6qKl gUSQ== 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 pk24-20020a170906d7b800b00987b20b66bbsi1524528ejb.711.2023.09.08.08.24.20; Fri, 08 Sep 2023 08:24:41 -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 S236339AbjIHLhF (ORCPT + 52 others); Fri, 8 Sep 2023 07:37:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjIHLhE (ORCPT ); Fri, 8 Sep 2023 07:37:04 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E84351BE7 for ; Fri, 8 Sep 2023 04:36:58 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qeZnF-0007tr-F7; Fri, 08 Sep 2023 13:36:57 +0200 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qeZnE-004rrl-2v; Fri, 08 Sep 2023 13:36:56 +0200 Received: from sha by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1qeZnD-003K9l-Gt; Fri, 08 Sep 2023 13:36:55 +0200 Date: Fri, 8 Sep 2023 13:36:55 +0200 From: Sascha Hauer To: Ping-Ke Shih Cc: "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Kalle Valo , Yanik Fuchs Subject: Re: [PATCH] wifi: rtw88: rtw8723d: Fix MAC address offset in EEPROM Message-ID: <20230908113655.GF637806@pengutronix.de> References: <20230907071614.2032404-1-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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, Sep 08, 2023 at 12:23:13AM +0000, Ping-Ke Shih wrote: > > > > -----Original Message----- > > From: Sascha Hauer > > Sent: Thursday, September 7, 2023 3:16 PM > > To: linux-wireless@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org; Kalle Valo ; Ping-Ke Shih ; Yanik > > Fuchs > > Subject: [PATCH] wifi: rtw88: rtw8723d: Fix MAC address offset in EEPROM > > > > The MAC address is stored at offset 0x107 in the EEPROM, like correctly > > stated in the comment. Add a two bytes reserved field right before the > > MAC address to shift it from offset 0x105 to 0x107. > > > > With this the MAC address returned from my RTL8723du wifi stick can be > > correctly decoded as "Shenzhen Four Seas Global Link Network Technology > > Co., Ltd." > > With this correctness, my stick can be recognized as: > " Bus 003 Device 010: ID 0bda:d723 Realtek Semiconductor Corp. 802.11n WLAN Adapter" It should be recognized like this also without this patch, but with this patch the MAC address should be read correctly. > > Should it add a Fixes tag? > Fixes: 87caeef032fc ("wifi: rtw88: Add rtw8723du chipset support") Yes, I forgot this. Kalle, can you add it once again while applying? Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |