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: 9464911 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 9DEAC6022E for ; Wed, 7 Dec 2016 17:08:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88FDD284F9 for ; Wed, 7 Dec 2016 17:08:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DD5E2853F; Wed, 7 Dec 2016 17:08:22 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28620284F9 for ; Wed, 7 Dec 2016 17:08:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932533AbcLGRIU (ORCPT ); Wed, 7 Dec 2016 12:08:20 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:35672 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932511AbcLGRIQ (ORCPT ); Wed, 7 Dec 2016 12:08:16 -0500 Received: by mail-wm0-f48.google.com with SMTP id a197so177545171wmd.0 for ; Wed, 07 Dec 2016 09:08:15 -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=fLvgYJ1+mKeAjJGS3YdZxNLO8muevuE6RklXpPi4IauTMCyXNqOdvwRd1Ix5zKj9kq i3v2K2475E6ZziAPWLJc9sxxVWyEv8U6kWmaY+nJgkQVdgK9tMYGHNuomEL6/vNRWL0O h5SDKVNLOtpwbRkchsvL6DpglgrsnQtb22llLxCSXDKfin7hol1gECYqjqch473vL5ek pXBxy3mDJ01/QIca07QgzpDysRrnfcEdtEZ5mbkRLbQnvYCAkHg1c12Qp2876lsrOwVB AdZ1jRNImnOqoaJq2D3eIvs259PB+hNYaw4J9gJAhZkBUeJUvc6N/vgOq6zlpsPj+TCh gLqQ== X-Gm-Message-State: AKaTC02SgYuA7QeSfZZ84cqTbIVwVQrj4f1UtcCbcwvScb5Xf+c35/MGs7RBcNDvPNHYYwmKnzAtUZYRZy1VsDEPQUZ0KtXUiCc3F6k8I6LFbFbRx+A8f5mb3Leo9cnCdPJ+/F470MdpJg== 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 Cc: linux-wireless@vger.kernel.org, Bartosz Markowski 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 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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); }