From patchwork Fri Aug 9 09:26:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11086005 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-2.web.codeaurora.org (Postfix) with ESMTP id E9E0014D5 for ; Fri, 9 Aug 2019 09:26:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D771028C40 for ; Fri, 9 Aug 2019 09:26:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA9EB28C54; Fri, 9 Aug 2019 09:26:57 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6BCD728C40 for ; Fri, 9 Aug 2019 09:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:To:From:Subject:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l8cuYj3o9JMQ6bIl8DNWmg3ketSk11fYrDTJ2J/2Avk=; b=LG5fMCr1JbI5DI yqbK+IHgwg0o6s6x44oJI+Hr6PNkN09rEcu5VFxeXLERjmpwCK8dQHSZYK1cKBihlXZatE5qmBAOU SMdiugl5JSUyGlVqYKJ+rSJjoD2ARAmY3MApj64t9y/bmd2LhEOBX8CLiEvgV/r7t4Flf6e7WwJLZ D3hmAbet0kZixvY9KQCR+lkKsUeYkH5iiQSnOG09IfInh7rliRpgn/DXWvFqv3Um5ZbTolT5GpN43 GIB09PqrelNExkzqpJjBWqaPXUggZA0MISKxeQB9AS13Xclb6nEl6EkU9TiArtlF7ovLXzeTJWqyQ fjzlSUNMHoF/3UWH0/gQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hw1Am-0000i4-1u; Fri, 09 Aug 2019 09:26:56 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hw1Aj-0000hl-J6 for ath11k@lists.infradead.org; Fri, 09 Aug 2019 09:26:54 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0EA6360ACE; Fri, 9 Aug 2019 09:26:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342813; bh=YOzdG6AgkUTJwIZETcaMTaGD8aUiZ4vTIyJZRj3WJ3c=; h=Subject:From:To:Date:In-Reply-To:References:From; b=gUxoXq3RY3ytl9uaABled+BpYBGiSO4XNGNErgFyHPj6MUyDJ2DOSxwyhhPtOSLZz j1BKjNtcLm0I6650ItKUGTMrYsiU6cH3q00au7gcElbk2rRfcGHcyQrXWjQR+mGY/R /RV6wrrL9QKf1NknmEjXGnMt9aywODnl9EIaF9XQ= Received: from [127.0.1.1] (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9691C60C8B for ; Fri, 9 Aug 2019 09:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342812; bh=YOzdG6AgkUTJwIZETcaMTaGD8aUiZ4vTIyJZRj3WJ3c=; h=Subject:From:To:Date:In-Reply-To:References:From; b=e5+7XxU6HLyKOcRY2JHkiYcbrbA6Dpe4CdHMi4MYgG9NcmGQYW3ETE/+j/tLQ0mJA tixrRzp33HzpVAKGhhOyNohYIME41OHoRMQRcAA1Af0MvPt8U50uvxDDBc6DNPBh4Z 4utgNk50SAD4ohsiT5chHKFwIimyJTge1jdYYEJE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9691C60C8B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Subject: [PATCH 06/15] ath11k: random whitespace fixes From: Kalle Valo To: ath11k@lists.infradead.org Date: Fri, 09 Aug 2019 12:26:49 +0300 Message-ID: <156534280882.30736.10489779348844331061.stgit@x230> In-Reply-To: <156534276745.30736.11736417077894270794.stgit@x230> References: <156534276745.30736.11736417077894270794.stgit@x230> User-Agent: StGit/0.19 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190809_022653_671678_8471DBC7 X-CRM114-Status: GOOD ( 10.14 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Found while reviewing the driver. No functional changes. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp_tx.c | 4 +++- drivers/net/wireless/ath/ath11k/wmi.c | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c index f7de1fb9820b..69f78d209315 100644 --- a/drivers/net/wireless/ath/ath11k/dp_tx.c +++ b/drivers/net/wireless/ath/ath11k/dp_tx.c @@ -112,7 +112,7 @@ int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif, if (info->control.hw_key) ti.encrypt_type = - ath11k_dp_tx_get_encrypt_type(info->control.hw_key->cipher); + ath11k_dp_tx_get_encrypt_type(info->control.hw_key->cipher); else ti.encrypt_type = HAL_ENCRYPT_TYPE_OPEN; @@ -123,6 +123,7 @@ int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif, ti.lmac_id = ar->lmac_id; ti.bss_ast_hash = arvif->ast_hash; ti.dscp_tid_tbl_idx = 0; + if (skb->ip_summed == CHECKSUM_PARTIAL) { ti.flags0 |= FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_IP4_CKSUM_EN, 1) | FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_UDP4_CKSUM_EN, 1) | @@ -133,6 +134,7 @@ int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif, if (ieee80211_vif_is_mesh(arvif->vif)) ti.flags1 |= FIELD_PREP(HAL_TCL_DATA_CMD_INFO2_MESH_ENABLE, 1); + ti.flags1 |= FIELD_PREP(HAL_TCL_DATA_CMD_INFO2_TID_OVERWRITE, 1); ti.tid = ath11k_dp_tx_get_tid(skb); diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index 24058ab1f5fd..e553adf1cf9d 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -3388,9 +3388,9 @@ static int ath11k_pull_mgmt_tx_compl_param_tlv(struct ath11k_base *ab, return -EPROTO; } - param->pdev_id = ev->pdev_id; - param->desc_id = ev->desc_id; - param->status = ev->status; + param->pdev_id = ev->pdev_id; + param->desc_id = ev->desc_id; + param->status = ev->status; kfree(tb); return 0;