Received: by 2002:ac8:3b51:0:b0:3f3:9eb6:4eb6 with SMTP id r17csp2747035qtf; Mon, 12 Jun 2023 09:11:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ZWi9io1xUW/vm86jTXDILJahRz0ZKXJmrYEb7BA4h3J5Y9Pm7UXo00YBncuedUj1AsFpn X-Received: by 2002:a17:907:16ab:b0:94f:1a23:2f1c with SMTP id hc43-20020a17090716ab00b0094f1a232f1cmr12199690ejc.50.1686586293683; Mon, 12 Jun 2023 09:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686586293; cv=none; d=google.com; s=arc-20160816; b=H5XKKKs/7r3zKMwRP6kbhyhFC++ylNZisp+06qS0Op99x8kF1somQq6zGa1tTiKJrA mk5IY+j49ob5eXVBj+hCQmpR+bB7h32GzCUf6X+75y+a9zHzQo1rz08CvhWVWkgu0CHU 3J00hZ/4pAZ8OBqRN6+ejmbSdWTQUq1RRawRa7ZDJ84cir9EjqJXYaHwRs+xv/1jv2ii GwjGoDSB+3erSjOvaJODn+CgCRGbKxwFORd5ejay83aPDe8wmLKQNGjts+gEYgWmpXyf ZkPufI3kytsPXP29XtPGL8BW4dFKI1nnHaqMKMycHyaCXqUHs8rpDqNw9AIweF+YEq/h VPeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JmjZaUCrDhL4QK/19Y1eesfWYFwNl+xrzXP915bBT+U=; b=LdvytUhmppN/8JAwEjdtRC5YqGfPsmwb+kl+JtjHgpMbGKF63OlP54IjEa0zc+UMrH ecVjGHBBrHgz1Ni4X+fWP2ya4YKlmj8AB0uHtVZoinVxyMeq2Nj7XOnva0nugvJOBP+T VmH6uvGWyvtQOP9fMvXjuzNx7xs4yH92PFivRyJq7XOJOcV6y/pBFM/T1yP6wFQ6GqwC P4rzmdYGW3UAaYwyww18pv2b29JWYbMcycsYs89RzUTQju7d4uFqCOR2wsYpX1t+vE7t 8fhC40HQ5WR3Kf3pmA++42iL+fwNsvXG9i6USKuwQwzqfsx143H4SN626h/KqzD0upc/ SCJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BEf2Z74q; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz5-20020a170906cd0500b00977da0f14fbsi5859555ejb.648.2023.06.12.09.10.51; Mon, 12 Jun 2023 09:11: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=@intel.com header.s=Intel header.b=BEf2Z74q; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238033AbjFLPwY (ORCPT + 61 others); Mon, 12 Jun 2023 11:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237467AbjFLPwW (ORCPT ); Mon, 12 Jun 2023 11:52:22 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F45E1A7 for ; Mon, 12 Jun 2023 08:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686585138; x=1718121138; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DyK1GQrxvFd8h16yCroU8hZZ23b+diXgSO8NFvyS1h0=; b=BEf2Z74q3O0XiUjC0aCSZPXab7XK3hBwhFbGVl1VLuftwH3xzSwyLYoB ara8zuAg9Iw1I6rjH0m2/Hkf/3h89LgUufgTtVsGDAE9gpN9D3NU/2QIp lQGmb0fMenIuYSXTT/kjawVV8JjXT6eo9AzlJeIpgyS6h2EMY3MrZ+Jhm +3ou1gut+n5cl6LSzmd47HhnuAN7qdRgBSZZn5Dhad2jwLHVQs73I9zJV moM/LbGXa496Z4hwWxurVCzBaWMcg6ExpsH/NKlj3Fi+/AmHNFGRJXts0 ei1cWP7WzGtEOqNnwslNsUbz9DYLFY6bupvAguIbwnKvkUHAUKzaZ+WF5 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="421674287" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="421674287" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 08:51:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="885499382" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="885499382" Received: from azvuluno-mobl2.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.202.109]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 08:51:54 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Alon Giladi , Gregory Greenman Subject: [PATCH 12/15] wifi: iwlwifi: debugfs: add ppag capa to fw info file Date: Mon, 12 Jun 2023 18:51:13 +0300 Message-Id: <20230612184434.4655922aff4d.Ie934027940bd53d05124222aa6a8a8b7021952c4@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230612155116.168000-1-gregory.greenman@intel.com> References: <20230612155116.168000-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 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_NONE,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 From: Alon Giladi Add information about ppag_china_bit_support capability. Signed-off-by: Alon Giladi Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c index 607e07ed2477..ebacf0e9fb0f 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c +++ b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c @@ -354,9 +354,18 @@ static int iwl_dbgfs_fw_info_seq_show(struct seq_file *seq, void *v) const struct iwl_fw *fw = priv->fwrt->fw; const struct iwl_fw_cmd_version *ver; u32 cmd_id; - - if (!state->pos) + int has_capa; + + if (!state->pos) { + seq_puts(seq, "fw_capa:\n"); + has_capa = fw_has_capa(&fw->ucode_capa, + IWL_UCODE_TLV_CAPA_PPAG_CHINA_BIOS_SUPPORT) ? 1 : 0; + seq_printf(seq, + " %d: %d\n", + IWL_UCODE_TLV_CAPA_PPAG_CHINA_BIOS_SUPPORT, + has_capa); seq_puts(seq, "fw_api_ver:\n"); + } ver = &fw->ucode_capa.cmd_versions[state->pos]; -- 2.38.1