Message ID | 20180917030220.245686-64-alexander.levin@microsoft.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3281065ljw; Sun, 16 Sep 2018 20:20:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbkS1DTIlMctW0Mz/8JaW0cEuIx9VR4cFPMWxkcShwuNkDJR0yDaZCHqXQF1SLbelartiCk X-Received: by 2002:a63:a919:: with SMTP id u25-v6mr19253424pge.211.1537154442748; Sun, 16 Sep 2018 20:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537154442; cv=none; d=google.com; s=arc-20160816; b=z66dyTFi51eKqqX6hUiWt4qoXAiW0xI/XfKb8PUlLjcRcGsGzvsb5WPLCaf5VCfkTA CWWv1BkA6mT+WPlInTA6fCJfXxouKA+49aOdfJ9xPG1U0vfRH7df+Nc9l7eIR2zCbgqW KHjLGuzRBiE51CqZmSrbjaRpoYL24I/yX359sWnxOfTZFJpB+Ljvl3R2gcusEE+aADUK nV8a0N3tyHu5BTVxUTpbjqzM1UkE1rWzaP7r2Dd9+dDgZ6hiBXAdz05+TqhxFm+z2eFo Usa49wk6hqRSEDYGzVEnmyi2X6ET4tZPQdwavUpZ7cvb3o7BKj9UHl7htB2mzvAfur8Q 6E9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=5rS9JH16We9CZS4dw6iOpgzZJ9bgZRotVycKZOIqCEw=; b=Apo4QfSKHIHgx1zGhZi05RoSbH+XKftJ9oLSQQ15TRV6mI8/WNNDIUqnSxKPhapCLa Bq6F3qt/MonOG6tu4Qt5RspncuX6DdJ294NNpZITEjE9dFN2pV9WIHhmjIS/MU/WUgiL oTFuGb15qAdOsXmS6V5G7SEAVQOwHBTLaynojIrdAa/Sjb8hRndQ08GRAnQqy9msC9/H YmcqqGMRrcvVZLtF5dupN7rhJKwdgbYdhjqKNsWTGgat5QWjvQmtqBFUWSL6C/QDTl3V FRRIV/ZTt5ROabQVpQw3iG7i7QJ3/BczdEoygqBYX8pw8C9YYDBEiQNHph7Afu6og7iC YUvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=RaxzGn2V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k18-v6si14291321pgl.364.2018.09.16.20.20.42; Sun, 16 Sep 2018 20:20:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=RaxzGn2V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730438AbeIQIaU (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Mon, 17 Sep 2018 04:30:20 -0400 Received: from mail-dm3nam03on0099.outbound.protection.outlook.com ([104.47.41.99]:12736 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730392AbeIQIaR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Sep 2018 04:30:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5rS9JH16We9CZS4dw6iOpgzZJ9bgZRotVycKZOIqCEw=; b=RaxzGn2VZ+tlsfV3QPeX0c1ttV/o1UD+uO/EsxRPpwjkUZ8G1sRsGhNlE9MyoUKqF23hyRmFWPulnu3CdGXjq5UwijL119f1tzc21WFWLLNwFpTBxb3ALsm95xxo6rhxoVFWaaI5uP4vsFG3c8sDABWHInDJfhHlBFlc8ARqujs= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0774.namprd21.prod.outlook.com (10.173.192.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.5; Mon, 17 Sep 2018 03:04:55 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36%5]) with mapi id 15.20.1185.003; Mon, 17 Sep 2018 03:04:55 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> CC: Niklas Cassel <niklas.cassel@linaro.org>, Kalle Valo <kvalo@codeaurora.org>, Sasha Levin <Alexander.Levin@microsoft.com> Subject: [PATCH AUTOSEL 4.14 64/87] ath10k: transmit queued frames after processing rx packets Thread-Topic: [PATCH AUTOSEL 4.14 64/87] ath10k: transmit queued frames after processing rx packets Thread-Index: AQHUTjL0QD3pwFtI/ki594ZEq13sDA== Date: Mon, 17 Sep 2018 03:03:05 +0000 Message-ID: <20180917030220.245686-64-alexander.levin@microsoft.com> References: <20180917030220.245686-1-alexander.levin@microsoft.com> In-Reply-To: <20180917030220.245686-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0774; 6:LAUuc6eQDYTmtZBexnWgjwJb0R/6yZxR2nBAlFAEKCEX4jHZd+lWsGNhV1p57QaqquB8YVd9LCJe28d0X/IwuTXpwkQ3eAzl+VUkjhMekN5aElkENrAAnTUC8K/N1YpfZdWR2n73RhCWKKAWWO/G6qeLTVMOSCYHiIoE/0j3oc1MnfgsfVxjvS+Pt9QM0Rz6H1JhGeqcYMXuRzgUx7HNhLWk4tB5NJtzSQ2vhO6Wpjog17DH/1mtAR2sOfY1Q6e3eg8B6XcwvakVjVWpvjWD5Q5IhwKwokPz+7/p4bQtYW83VOaprLBK6CfWx4yr/ncFP+HSJ0f/TvtnHTFE84x2/lUtyeVeDMDkvMCeb/34hBlwVHd3e0eQlTBioSSQ/KPBmCSyDwEIByqByk661TskMA0gcQNZW4o/h0PNAkyuun2AdqxP1kVAMyicEtxXcVPinbT9+wAf3qgJ4FpKRH6Jug==; 5:xWzypzgtaHixymuhqNDAhRo9YfBmcmt0SZxUHayB3S/NGjELEtM7Y6z2u/5zZIzlRX+pjkistGCJQns2sx4Uef93hXTlJbjmVfZAA3br/m1MHrC4R8ocFPd6J1/GY1HIsEJDmgkDR5t2FIsnMLdlnjCu/9L5tbIbDwcnOz/5olI=; 7:Bl2FiH/1ey+U2B8p51mdyZ2khojszG5+JF9tblwV/FDhexGoC1D6XZAdp1d/0vc49pjHMsdQfLFM4wCLJgx5k1+5LbpuE6SzPM711nlBhC9p2VVU76VX3TuYck+iOj7kZftDelsKwCvzdZnMXpx1tHXazHu3mAybrRemGL9e69a2pjVM85Wl6MwVu6WQMJzPj+Xq/HrYNfU9k1VqMIRbwWeS/IJSd8vHy9ZopS1LzXI6b0g25Z+qeK+QMrfsrp55 x-ms-office365-filtering-correlation-id: 30b47b0a-ce5e-4197-3ab9-08d61c4a584b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0774; x-ms-traffictypediagnostic: CY4PR21MB0774: x-microsoft-antispam-prvs: <CY4PR21MB07743E058DAC1DFA54C319C4FB1E0@CY4PR21MB0774.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(116097685857584)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699050)(76991041); SRVR:CY4PR21MB0774; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0774; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(136003)(376002)(396003)(39860400002)(346002)(199004)(189003)(54906003)(105586002)(316002)(4326008)(6116002)(1076002)(14454004)(305945005)(7736002)(22452003)(81156014)(66066001)(81166006)(99286004)(8936002)(8676002)(3846002)(478600001)(72206003)(53936002)(10290500003)(68736007)(106356001)(6512007)(25786009)(76176011)(110136005)(11346002)(476003)(2616005)(446003)(6436002)(486006)(6506007)(86612001)(10090500001)(102836004)(86362001)(6346003)(186003)(26005)(36756003)(97736004)(2906002)(256004)(14444005)(2900100001)(6486002)(217873002)(107886003)(2501003)(6666003)(5250100002)(5660300001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0774; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: Zu9m/bBY3C1zBCD1h+ZBWDWtM+aHzRn8n/EE01hh+nOSfYFdZ98FkEW9Hczjo9oleNydMUW3nQYz//mKP/1B0RyV7gznk6VFTyMfkj/n0gTS0n92rLIOlYd3rRKZydZMaScYQtwZ1Jvv0p9/et/e327tFlJFaO2tCDx5bQosbhfQC5JetKINynBclkUuuBpnbZrV21p9zljkCNcKaqkJMAFiAKnqdBgT7JMTK1n/SXRZhZt2rAyylv76x9yXfWTKM/7P71I4m/DtdvdLuNrG/qYUehDj40+YrWsYFt+c+nuLyo0D0q/+LWZYggL77ppeQk15QfvbrHOpUCBzm61ai5t4wRPbjfie39bjGKATSKk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30b47b0a-ce5e-4197-3ab9-08d61c4a584b X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:03:05.4778 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0774 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 52ebed1f55a1..556e44454ed8 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -4008,6 +4008,7 @@ void ath10k_mac_tx_push_pending(struct ath10k *ar) rcu_read_unlock(); spin_unlock_bh(&ar->txqs_lock); } +EXPORT_SYMBOL(ath10k_mac_tx_push_pending); /************/ /* Scanning */ diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index c5e6f4254e49..da9dbf3ddaa5 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -30,6 +30,7 @@ #include "debug.h" #include "hif.h" #include "htc.h" +#include "mac.h" #include "targaddrs.h" #include "trace.h" #include "sdio.h" @@ -1346,6 +1347,8 @@ static void ath10k_sdio_irq_handler(struct sdio_func *func) break; } while (time_before(jiffies, timeout) && !done); + ath10k_mac_tx_push_pending(ar); + sdio_claim_host(ar_sdio->func); if (ret && ret != -ECANCELED)