Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp458467rwd; Thu, 1 Jun 2023 02:39:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Z55RvRrIQ6pC6ajzgnUKfPp6OQt9wh30487hAYLdwIVPUiEfEJf1/XDH3VGTFLsfsf5Qv X-Received: by 2002:a05:6a20:9382:b0:10b:cc13:5ac8 with SMTP id x2-20020a056a20938200b0010bcc135ac8mr7293404pzh.27.1685612373028; Thu, 01 Jun 2023 02:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685612373; cv=none; d=google.com; s=arc-20160816; b=iFMwgQhCwXNN3t9YvEf8LjXrYt+mPDFCXGAUZfCXwMwwSbtJFl26TLvk4oOxzQSOWk z0vi+ZA6kksiyNdq9959xKVaAOzRr861UPwUsw1K7COtfDHcWVsJgU2dnBkL0+1ZyjtZ izFL8T+CtbuhcT6TwsR2Y0FAZlBNZ2BkBboAj/O6BFmDSiZdYlapO2RTbczctZBPDVFH 2aTkGkE3fhRFrB25WVGdbnz9bC0aXtd2uJQUuw1HysO3riXz7wczJzeEP3mUYj80mVAJ +KmvUlxzc+nfVCBVVB+D4yrmTLPp91mp6d9JTeZ4nrOycEvqIfEYlOmS4symemJLFzq+ c04Q== 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=bH+0MsNyhQksHKSzQScX+FyMViikuJ5JXVzzUkcAEv4=; b=yhCUrlat/pdG8T/M9BBA50fwNP4IN1StRgSbn7doLNMeAdl/jTZnhZb/9bPBwwQbG7 BgMCJq7YQMVgcadRv8NhV10T9fK0QQAmxdm5Tnv87Shn2fXtvYYGGDfAaQy08cWcwcp7 /lV+prC9Za8SMOIiHYWCQYlkef29ZOMl3r1dseM68UKhXouSA3NFqWMLmRKf6SiCrkqa BpO0+ScF/LYdQ7CyIgzCOpDxuFo0gkFqWAV/gU9uNSmF9KkEqgAl/g8GfeL7RRw2X0Ak 8gHwoX6eWpJ1sf1HItjw3cghjAA/QZOftBeyk3d6yMFpqjUwZABN3KhtFmURbk82xl1h Yh6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kB6dWe1A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a170902d38600b001a9ba4690casi2406214pld.295.2023.06.01.02.39.22; Thu, 01 Jun 2023 02:39:33 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kB6dWe1A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232817AbjFAJZK (ORCPT + 64 others); Thu, 1 Jun 2023 05:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232921AbjFAJZF (ORCPT ); Thu, 1 Jun 2023 05:25:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D335A97 for ; Thu, 1 Jun 2023 02:25:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6A56164273 for ; Thu, 1 Jun 2023 09:25:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D59A5C433EF; Thu, 1 Jun 2023 09:25:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685611502; bh=QUpFX8TzSeS4OFWHtYr+Ii6AOKAmtix/AvEx1TKSDp8=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=kB6dWe1AKyx1mmdweucfx8wK76XuW3MR2xR9jCsQNJCLnYZrNWnA1Mp9XECqP+MZ4 v0WTzt4BzrrP6GAUIp02DzSASxWkKjU4XoSOs2iLI8TscdB9rfmBO8QD3Q1I6GfqVW WW0gXTgQ7Rk5uz3/LS2ZEI59S7gnpyJG3Y67qUp3bsEUQ8s9vxGVzawTu7QsmcML2I dwvw//8lYryHg7NDRJqcqa+dEqqCh2pIrOTXqG/SZiwMaDWafD/BYJYXNkqq9rSHie 16v6n+LMjZToFiD5l66NuLy4THxvW0+mH4DuF8ce3ok2cDVR3ySD9P4PTv3sXWfwVz cIWGCIHrjkMnA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: add support default regdb while searching board-2.bin for WCN6855 From: Kalle Valo In-Reply-To: <20230517133959.8224-1-quic_wgong@quicinc.com> References: <20230517133959.8224-1-quic_wgong@quicinc.com> To: Wen Gong Cc: , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168561149978.9854.14528391508083109613.kvalo@kernel.org> Date: Thu, 1 Jun 2023 09:25:01 +0000 (UTC) X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wen Gong wrote: > Sometimes board-2.bin does not have the regdb data which matched the > parameters such as vendor, device, subsystem-vendor, subsystem-device > and etc. Add default regdb data with 'bus=%s' into board-2.bin for > WCN6855, then ath11k use 'bus=pci' to search regdb data in board-2.bin > for WCN6855. > > kernel: [ 122.515808] ath11k_pci 0000:03:00.0: boot using board name 'bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=3374,qmi-chip-id=2,qmi-board-id=262' > kernel: [ 122.517240] ath11k_pci 0000:03:00.0: boot firmware request ath11k/WCN6855/hw2.0/board-2.bin size 6179564 > kernel: [ 122.517280] ath11k_pci 0000:03:00.0: failed to fetch regdb data for bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=3374,qmi-chip-id=2,qmi-board-id=262 from ath11k/WCN6855/hw2.0/board-2.bin > kernel: [ 122.517464] ath11k_pci 0000:03:00.0: boot using board name 'bus=pci' > kernel: [ 122.518901] ath11k_pci 0000:03:00.0: boot firmware request ath11k/WCN6855/hw2.0/board-2.bin size 6179564 > kernel: [ 122.518915] ath11k_pci 0000:03:00.0: board name > kernel: [ 122.518917] ath11k_pci 0000:03:00.0: 00000000: 62 75 73 3d 70 63 69 bus=pci > kernel: [ 122.518918] ath11k_pci 0000:03:00.0: boot found match regdb data for name 'bus=pci' > kernel: [ 122.518920] ath11k_pci 0000:03:00.0: boot found regdb data for 'bus=pci' > kernel: [ 122.518921] ath11k_pci 0000:03:00.0: fetched regdb > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3 BTW, the latest firmware version is: WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 You really should update your firmware, avoid using old firmware releases. -- https://patchwork.kernel.org/project/linux-wireless/patch/20230517133959.8224-1-quic_wgong@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches