Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4928755pxv; Tue, 20 Jul 2021 14:51:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTTEEb+QVlblWPBEAvp0HMRmDISZAPCPMDuBoafXU9VF9syphvfnoSPDb2hDUy2sROnrB2 X-Received: by 2002:a05:6e02:1010:: with SMTP id n16mr22513704ilj.146.1626817868712; Tue, 20 Jul 2021 14:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626817868; cv=none; d=google.com; s=arc-20160816; b=BYsHXsyxEHEQsHBEX1jKUHgWZHgNIc3w7bVF5DJg34DR/2jLCq68r1nWl6h9N0sdOb RlUJuULaCgP6H4lDDuOGZEh9ik6eBwOgX/7JmUBTQu7QbJ8fJ8XyeIUGfJfW9TWu6Kvz 38gaJAwDs/ZwilaUjqiLqoj7mGQ6EeCEiubJdcferjEht/Wz1e6NmF9IeqBweR3suiBT YKxgpsUvbe/aXxpCHQEC4P6WcBLh4I/lwLDm0x9YKFeoCAacBwz1oUop8Go1Jv1p1Gfc eu8t+/fGKi66VMVGot2Zi/QYxIBiYC8pheNsZTuwxyqQ5jFNYhevDS/Fj49e5aWILS1w JXPQ== 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 :message-id:date:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=Fqgv2lEHMqrXUySYzRqJtFtrO7+JZpScDwHsq9mMJ28=; b=WhXc1jugP/95H17/ApnbD1/LPBneIEvjLB8XlV1/hBvrGCgLn8ZDIHVQT3OalY92Xo /kBSsz+x5IAoyglo3fqRPdgcIiaFEW6rzjE7EW3VRQMGxBNyRzI0qlBTIkn/26IbyXOM BxNc+uz8W4P7VyqKJFNveo0sTgYZCsBRZULJ2nflCrKoDZf/lkRi/XQ4IRJtJUQKxXDN B5G+I1m7RLP1n8SeHURMLiGAzPWoh7NhgQZPtTP+COjERc5kVbgrx8GjUzS6WGVhsSw/ LEylK3nL/tGAV5xqVU4nL6rwyhHt1lCxBrRkScPdXLaDB0O7wILobXp2wmD7kaAsnohX JKDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=v80VSeFp; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si26098836ilk.94.2021.07.20.14.50.26; Tue, 20 Jul 2021 14:51:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=v80VSeFp; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231367AbhGTVJY (ORCPT + 99 others); Tue, 20 Jul 2021 17:09:24 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:47976 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbhGTVI4 (ORCPT ); Tue, 20 Jul 2021 17:08:56 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626817774; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Fqgv2lEHMqrXUySYzRqJtFtrO7+JZpScDwHsq9mMJ28=; b=v80VSeFpQoRsUqyILA5UFOnLrtEfoRyTaLv98+HrNSN+6vCafOgORDwDeopfigmoxM2gCnBz O+oXmImASPV3TaXxYOGeXrQG9Wv3rf8Ik2OIU5oMPZZMPGEQxUOypX5isZkj67AOmTEFua42 Fi9CM6d0zRfCQlmz0fZLj5F0Xt8= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 60f744edb653fbdadd113e4f (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 20 Jul 2021 21:49:33 GMT Sender: jouni=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DAEACC43460; Tue, 20 Jul 2021 21:49:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from jouni.codeaurora.org (85-76-67-217-nat.elisa-mobile.fi [85.76.67.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jouni) by smtp.codeaurora.org (Postfix) with ESMTPSA id 19E8FC4338A; Tue, 20 Jul 2021 21:49:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 19E8FC4338A Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=jouni@codeaurora.org From: Jouni Malinen To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Seevalamuthu Mariappan , Jouni Malinen Subject: [PATCH 1/3] ath11k: Rename atf_config to flag1 in target_resource_config Date: Wed, 21 Jul 2021 00:49:20 +0300 Message-Id: <20210720214922.118078-1-jouni@codeaurora.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Seevalamuthu Mariappan The flag's purpose is not only meant for ATF configs. Rename atf_config to flag1, so it can be used for future purposes. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1 Signed-off-by: Seevalamuthu Mariappan Signed-off-by: Jouni Malinen --- drivers/net/wireless/ath/ath11k/wmi.c | 2 +- drivers/net/wireless/ath/ath11k/wmi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index 6c253eae9d06..a53783229520 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -3495,7 +3495,7 @@ ath11k_wmi_copy_resource_config(struct wmi_resource_config *wmi_cfg, wmi_cfg->bpf_instruction_size = tg_cfg->bpf_instruction_size; wmi_cfg->max_bssid_rx_filters = tg_cfg->max_bssid_rx_filters; wmi_cfg->use_pdev_id = tg_cfg->use_pdev_id; - wmi_cfg->flag1 = tg_cfg->atf_config; + wmi_cfg->flag1 = tg_cfg->flag1; wmi_cfg->peer_map_unmap_v2_support = tg_cfg->peer_map_unmap_v2_support; wmi_cfg->sched_params = tg_cfg->sched_params; wmi_cfg->twt_ap_pdev_count = tg_cfg->twt_ap_pdev_count; diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index d35c47e0b19d..234aa59f708e 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.h +++ b/drivers/net/wireless/ath/ath11k/wmi.h @@ -5014,7 +5014,7 @@ struct target_resource_config { u32 vo_minfree; u32 rx_batchmode; u32 tt_support; - u32 atf_config; + u32 flag1; u32 iphdr_pad_config; u32 qwrap_config:16, alloc_frag_desc_for_data_pkt:16; -- 2.25.1