Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5773223pxv; Wed, 21 Jul 2021 13:46:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxku7oKOYEeRn+Pyh3quCkhAIZqRrDckADTQQOxyIw0MHocIW30H54Gm+ONfHR/aqCrXsJU X-Received: by 2002:a50:d642:: with SMTP id c2mr49649687edj.22.1626900386547; Wed, 21 Jul 2021 13:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626900386; cv=none; d=google.com; s=arc-20160816; b=OUi0HHx7hEEmL3aa4GTQbD+HpmeAYgmq9RrO/bPBSKBNHrsduuqqxkwL0YLouo8GBx V6Z9tqMibpCD0O5mLTnCbPhJuB5t1alW+AWU649Yb+EEUiYpe/AKoUAwmxLJFsEeiI/W mWhQxtOx00MHFd+WDoYCCChzmXpYWWoTtP2RHephHYi1s/nvcDnJVO3NinUE9ZRjhFH1 8iYl72NOoOa0TkBPE200XARz8nbl2hgwy+ppSmfiZB+ehgaH4iXhragu1I4pnS11PAgi tBuKDhTN0eFRhch/nZ9o30Cgxxl35bVRGjPpQj2PeVHEBYVYFVNSkB1orKC23Hp46ANb OmOg== 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=xEjx6vNY4DZDrWYKr0YXN0qNDte/uAq7gYFF9drHb64=; b=XeX6Dr030YfLSOP1jPlv52A0k3VykrUjwqZq6WMMmjQFcxqzU8Q6YrTiexiY9USUi9 TXIp1GkAFx+18VE9xhJBQeW6mpU1fXVfojyOVbCLGF+GYlSWBzO4cEMCp2sb5PdWzX5a kXHLLRXngAsF9wURxU4YeHB/Bp3hBuUX0/YikfmvENZuufQr9euP+JU9qZQTXsRF1OUN wpeqD1xt7M6ZX5k74k+vRiyrrkuGvFsbIu3YGIW/WcVVKhaPZbtXM0Jjz6fNpVw54DTZ cxe6G56wK1MFFEUoxcrBY1rlLJcoLXxBpcGtQ+DMLrVy3UKcJln0j1rSSuHKyZnmAWx5 xWvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=sV49banN; 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 q5si31066151edh.490.2021.07.21.13.45.57; Wed, 21 Jul 2021 13:46:26 -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=sV49banN; 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 S232818AbhGUTjT (ORCPT + 99 others); Wed, 21 Jul 2021 15:39:19 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:24463 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232740AbhGUTjS (ORCPT ); Wed, 21 Jul 2021 15:39:18 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626898794; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=xEjx6vNY4DZDrWYKr0YXN0qNDte/uAq7gYFF9drHb64=; b=sV49banNLyq3ymMnQ8R/q5IYVM1qAnReYPO2JqljjTpVUd4otrTeJo6KmfHpfEy14a8zSUor TKYEv449X/zG3DxfXlfP471denN4x1G3UuuOHa1TfzKUjBVbo4Rc8KjzCbpj5RppKa0pCV+z tcOaTDfsY7/8Mem5ONOEYEejcsc= X-Mailgun-Sending-Ip: 69.72.43.7 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-west-2.postgun.com with SMTP id 60f8816afcf9fe7b7821c6c4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 21 Jul 2021 20:19:54 GMT Sender: jouni=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0C488C433D3; Wed, 21 Jul 2021 20:19:54 +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 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 4E7F3C433F1; Wed, 21 Jul 2021 20:19:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4E7F3C433F1 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, Anilkumar Kolli Subject: [PATCH 0/4] ath11k: Add caldata download support from file/EEPROM Date: Wed, 21 Jul 2021 23:19:23 +0300 Message-Id: <20210721201927.100369-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: Anilkumar Kolli Clean up BDF download functions to add caldata load support from EEPROM. Remove unnecessary macros. Write common function to send QMI BDF download request. Allow caldata file load support for multiple PCI devices. Anilkumar Kolli (4): ath11k: use hw_params to access board_size and cal_offset ath11k: clean up BDF download functions ath11k: add caldata file for multiple radios ath11k: add caldata download support from EEPROM drivers/net/wireless/ath/ath11k/core.c | 10 +- drivers/net/wireless/ath/ath11k/hw.h | 2 +- drivers/net/wireless/ath/ath11k/qmi.c | 330 +++++++++++++++++++-------------- drivers/net/wireless/ath/ath11k/qmi.h | 18 +- 4 files changed, 207 insertions(+), 153 deletions(-) -- 2.7.4