Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp100226rdb; Mon, 18 Sep 2023 09:13:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH48QMssQ5FpnpNTYU3RugUNUMtJuN5YJYfhnEo04zoSjoTjwA4zMaKQlWaD/Gbw5EkWFDW X-Received: by 2002:a05:6a20:7348:b0:153:b16e:8db1 with SMTP id v8-20020a056a20734800b00153b16e8db1mr7909855pzc.10.1695053589799; Mon, 18 Sep 2023 09:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695053589; cv=none; d=google.com; s=arc-20160816; b=rT7EDSchcE8uQY4fn87/siPAAjXvxRc4XUKQyLNfuram6PEZVnky62o/NUYDlcgivT 2UJTYxnh4sBjs/zDTYuokU8w4fLDRgX/54K91xqn5HrCub7Lx4Q30FrjWdT8+KZE5aJD A7jMU/X6V/dijTLDINSZ8jvUh9kzzFRIDx1HP6qTYYHvCkpJYg/nHB4mUDx+XEsqv+eI sv2r6SsNctpT5BwvTMVv7kgJkdYxzZqJp0eUHbRBKkkNOx9zjrgIImBpYnOOOFHDYpQ7 MOhk8CG1ahJpBNjJQMayO3iGjZfW3t6raLiyqK+CUr801HMhcrhEQrYygnkLI2l9bNiQ wo9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=cQgQSbihupQh8C18zwEv1BDA3l/uiWQzrk7He76RVr0=; fh=G2dgFDYgyMK4yR0dqYRfssl4xdpL1xiguJJ36cO8jYw=; b=kbhUvwWk+kaNImSKXPvggnU1CE4+wAu53FgeyodyPr8TvcjcpPs0vCmn3F0E6iNjs0 GsoqvPWFp1GBuyuOvTBCsS8ZXV8fUhDy61XLmn42Gn3suoLNNicgSU+l05gk5xqfAJS6 dLeLoCSrCIqli7e9mwt5xGSW0Q7JG5dRwu4rQ5b35+j0KffQr7tKhOd2M1IgVE8aDLCV AJegGhT9tZ/RUXX+Cw8bkMKKcTTZzmC+MMJyFdyObPuAV3EEpvXdadHKcPaoLbXLzUmk XilCKckXMi0Zq1/efZtF23Y6yGEIw/7qVt5evL/LKfrLUckY+o++JxhYvtMgJbeswbr3 oTtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y47Goxhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id b15-20020a63e70f000000b00578889362a2si1881014pgi.663.2023.09.18.09.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y47Goxhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B1026834C87F; Mon, 18 Sep 2023 08:55:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbjIRPzN (ORCPT + 99 others); Mon, 18 Sep 2023 11:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbjIRPzK (ORCPT ); Mon, 18 Sep 2023 11:55:10 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7E5A120; Mon, 18 Sep 2023 08:51:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40FA2C43397; Mon, 18 Sep 2023 13:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695043146; bh=hBpZeohfKBVKg3GI59uHeoX3VFbPP5FzPHW0VLd/4Hc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Y47Goxhbk1pdJsYaNffhzqnTfAlVKZMtIAU0VlNXP/RUSnyepT9/QKSxITCZe//+t Hs4PTX2XbYI2SDt8KbDLZEJQUfnFPsTEZmq3rPWlq03/S0DKqIW0ejfaZyp/MdoBQG dMHcAVQo3Chum3Y6I/mWq4Ru2aTwI46r5nSn1Vw+i/cmzWMg0rSf23hSyf7eddgw52 o+1ohB/mVNwMxi79yxROowdYw5Z8J8tnJRfuqpOEiEAJT1x042s7/394UPDQW02DbE Dc+ICDjZ/aTZIztTWlahk3zCQt7K5qxLjuIdUW+SxjGRIDgh/v2TygSqkpl0HyBH9a ut9RCv8xOB9Jw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: wifi: rtw88: rtw8723d: Fix MAC address offset in EEPROM From: Kalle Valo In-Reply-To: <20230907071614.2032404-1-s.hauer@pengutronix.de> References: <20230907071614.2032404-1-s.hauer@pengutronix.de> To: Sascha Hauer Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Ping-Ke Shih , Yanik Fuchs User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169504314310.617522.5940520888124788704.kvalo@kernel.org> Date: Mon, 18 Sep 2023 13:19:05 +0000 (UTC) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 18 Sep 2023 08:55:18 -0700 (PDT) Sascha Hauer wrote: > 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." > > Fixes: 87caeef032fc ("wifi: rtw88: Add rtw8723du chipset support") > Signed-off-by: Sascha Hauer > Reported-by: Yanik Fuchs > Cc: stable@vger.kernel.org > Acked-by: Ping-Ke Shih Patch applied to wireless.git, thanks. 2e1b3ae3e1f2 wifi: rtw88: rtw8723d: Fix MAC address offset in EEPROM -- https://patchwork.kernel.org/project/linux-wireless/patch/20230907071614.2032404-1-s.hauer@pengutronix.de/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches