From patchwork Wed Dec 7 17:07:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Markowski X-Patchwork-Id: 9464995 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B3AF060512 for ; Wed, 7 Dec 2016 18:09:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B04A028543 for ; Wed, 7 Dec 2016 18:09:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A339B2854A; Wed, 7 Dec 2016 18:09:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ECBB928543 for ; Wed, 7 Dec 2016 18:09:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEgeJ-0000ew-KE; Wed, 07 Dec 2016 18:08:59 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEge2-0000VP-M9 for ath10k@bombadil.infradead.org; Wed, 07 Dec 2016 18:08:42 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEfhv-0001dA-3r for ath10k@lists.infradead.org; Wed, 07 Dec 2016 17:08:39 +0000 Received: by mail-wm0-x22f.google.com with SMTP id t79so176731004wmt.0 for ; Wed, 07 Dec 2016 09:08:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9B27jF4jCfYxMfbsjLa5GtttRiAjyIOIB6FUHIsPfsI=; b=FrRD3hQvqQ4TqjXqJfjwElrIbBS7puZ5/xm6PYrjdA7bblmYL3acXYAvuY7KdiXJxn XCU+WPO9Av/CA36QKqGkc3PFg1wI9cnRpizL5sUlTcuwdhnkaWAbyo6L2zwUA5HPo6dX +x7Km+RD5FAAmHBLR4w8LIQvE66EG+gUT6BwM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9B27jF4jCfYxMfbsjLa5GtttRiAjyIOIB6FUHIsPfsI=; b=dmLXIIDCMh6YlIhuq8oYZPmGe8i62RSDoQPIvw2Lp/wVjWFHj/bTQbQ9QcieiiAPUN cxaH5VMtM0CExVWl5aI4vCUgEILD8RDHQvTSW7Ihjyudi2wiHJOCvpIAS1NNOTyqyhSw 9PAio+5nLYOj3b47E9lMoUb/g1VPoEStVk0sIE9mPpcahmoYYTQMzlW66osAurmB8vq4 8msi5SM+DoLbEeC2uAi+nK3gfOTuDXrRAKuhiUnSwXWWDrEHL3dWl7KCR5wbiY2+uA2x GRe77aGUH7dj8h4t5RC2H351wfdZryFTdD1w2qiD8yz3ZkLgm9+M85HsF2dCatFfJ5Dw Ngfw== X-Gm-Message-State: AKaTC02AZs/GlLMRrFbpgVGdxp/DDpLKC0NGVuvZsuc/z7/BlwpE85toaZgEHBEvkChzdC5vkzoUwHjdxXGaq9K8PgHNRLixSBObvVodHYzwq5eMIN0HDQBxhi0UV2gyAVmbrECLAufDmn2yZBHzPI5OS80huQtz7I/8a4+M3480NQsyxOrJxTYHJKsiLtruqH9E9PA= X-Received: by 10.25.77.204 with SMTP id a195mr1639731lfb.97.1481130494640; Wed, 07 Dec 2016 09:08:14 -0800 (PST) Received: from uw000975.eu.tieto.com ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id x17sm1374247lja.6.2016.12.07.09.08.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Dec 2016 09:08:13 -0800 (PST) From: Bartosz Markowski To: ath10k@lists.infradead.org Subject: [PATCH 5/5] ath10k: add debug trace to rts/cts set function Date: Wed, 7 Dec 2016 18:07:34 +0100 Message-Id: <1481130454-27244-5-git-send-email-bartosz.markowski@tieto.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1481130454-27244-1-git-send-email-bartosz.markowski@tieto.com> References: <1481130454-27244-1-git-send-email-bartosz.markowski@tieto.com> X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161207_120839_287472_FB031B7D X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Bartosz Markowski MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Align it with the cts protection call. Signed-off-by: Bartosz Markowski --- drivers/net/wireless/ath/ath10k/mac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 6f1825964177..508366f139f1 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -1275,6 +1275,9 @@ static int ath10k_recalc_rtscts_prot(struct ath10k_vif *arvif) rts_cts |= SM(WMI_RTSCTS_FOR_SECOND_RATESERIES, WMI_RTSCTS_PROFILE); + ath10k_dbg(ar, ATH10K_DBG_MAC, "mac vdev %d recalc rts/cts prot %d\n", + arvif->vdev_id, rts_cts); + return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, rts_cts); }