Message ID | 20180917030006.245495-90-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-v6csp3268780ljw; Sun, 16 Sep 2018 20:02:22 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdalm5bj/QHY5kIfGRgIavyQpwiiXIfIQbQaZjNDzM3e2nhV2cclYNB5C+/dqESLFRtkzaCp X-Received: by 2002:a63:dc53:: with SMTP id f19-v6mr21517547pgj.56.1537153342723; Sun, 16 Sep 2018 20:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537153342; cv=none; d=google.com; s=arc-20160816; b=mryehZkfBqccw0RfYnmvjqSw7g0xZpfCnvwRBgpCI8GingqsA1JcguhWojop7H9bv7 8CJ8rzGVmsYzgNZALxYEOZHjycXbPFNeYk1yVySnT0bb5vhvr58ar+cVwqQZNfnO+Csh EI9t0pipYTsov3q9bNzBf1EdkK+8/3KPS4RU+djkExFsTL1ySVU5/JM3fQfUtujht84j 0tiDg2qLmXr8a/fFMRkr4bg0k0yn76XKKpxdVO23cW0Lyp2P9f1brZsEk9Pgcna0mmHb AIuToWi4uUb+bY5PLfTQM3UP9U/BO1tGffQAJcZvARZag3uHv3wqlDWOoCZAgZ5Q+NyU GRsQ== 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=H0yqqrx6rQ2rBgZSZ81e8RtCIkdE3p8L0fHxovUcfwI=; b=Z6CGBMTmxb2y+1ml0A8FkH6SIRRmv9Qm7EIRexiBzAY+8Zd3ceeMzPHUz8Teji5IA7 19gZk6H6mYV3YNP9VFxa4DGpfw37WapR9vDmGm7Kzi5UFLdLDHORXiWJbcLjlmF/9vN6 p27pXx4oZjpHZ3p4u9iZdRMjM4lV3cUu+lmZ40VtUbvsSKupjjkfu7vf1QJ/WRX4kQr7 6EGQiSHeiZ+7pGR+SAbzeCcaC7sKfqpN9FItjvATZQdDekZ5Mj60LUl0WT7I0pEWdrin uHp7cHU8ZLSlCnJ7v3XFtvrXFKrX1G+cBIKREr4M8EWwIRWxD80fcHF7KWA1YfRH7HGF covA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=mN7r3fiu; 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 e12-v6si13758335pfn.322.2018.09.16.20.02.22; Sun, 16 Sep 2018 20:02:22 -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=mN7r3fiu; 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 S1729422AbeIQI11 (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Mon, 17 Sep 2018 04:27:27 -0400 Received: from mail-eopbgr720118.outbound.protection.outlook.com ([40.107.72.118]:6704 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729354AbeIQI11 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Sep 2018 04:27:27 -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=H0yqqrx6rQ2rBgZSZ81e8RtCIkdE3p8L0fHxovUcfwI=; b=mN7r3fiuc5pnNyEdOLscZydEWQdWMv+1Cf3rCf4TkOUV1CiNE3rF6/Zxv6Wny+IdWsrrJGdNE9a9hPkE0CS+5dlFhVDMejaN4BdMv3DxYRQKxGYikKfw1cvVyKADgh9UsS3Cx90kLy9sa2rrqcFLdq2qLOCCeOfLIyXW2TzOYkM= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0790.namprd21.prod.outlook.com (10.175.121.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.9; Mon, 17 Sep 2018 03:02:03 +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:02:03 +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.18 090/136] ath10k: transmit queued frames after processing rx packets Thread-Topic: [PATCH AUTOSEL 4.18 090/136] ath10k: transmit queued frames after processing rx packets Thread-Index: AQHUTjKuBZBy7hVoh0SSewsP52Zc9Q== Date: Mon, 17 Sep 2018 03:01:08 +0000 Message-ID: <20180917030006.245495-90-alexander.levin@microsoft.com> References: <20180917030006.245495-1-alexander.levin@microsoft.com> In-Reply-To: <20180917030006.245495-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; CY4PR21MB0790; 6:nVyns4xE0C9SlYVvN66r4SZFtALF34u3LpXylG0mH3J/4WydqNqtsCQzXJuCHLp5YSAxfiGZXds1mtAvQ+6hqtDy4v+oz4jngxgzeBz90ljlCvtUHIm3BItgU9C8zcDetEUaYLw1Mz9KYYxQY8jw6SvRoIJViRCSey17RaivoDP9mhi+CgGH54sYyatEBTE13Lq1czCIAdRpde+VC4BQwRJezO8e9a5/B3NXewtJvtqnO+en7ot3/P9MMXicsCQFYw+RTeEeeUsWTxh8hCOSxIx3eWk3bKpLfRE7jG4CmwxH5kRHU8rm8qQFHz68AoMmALqdVyMKLBqnzJRXxvhpl7pTSEdXKxpJlAKVteBK3lMPHNRcezHP5tafQnOcJ/M5XQ0xAbDdhHdzPPxoyIyW3uzjrpnKrFU7yvWbGqm6HKNSezQVFRlKRcsVzvl9mZ4heoUiIEobANFDaZEHuo4tvA==; 5:SsMpZqGezYrOrfbuNxhBw1Yifvd9I1tp76Ry+lQx3LdTJc/gJhdvvsNchh8HwahIBvBR0BXpT35/uwXM/3nThxZB1j8RepPwUFznst9ryjLL+pj6XBixkIca8SC74Cte1YhnmaaFcdZKBCjpimSjDQgN4N4ZEXyMOezF7KZEW+s=; 7:dlYtt8XNQWlGfl5DUoSsmBuDCeG5ug1LFWz/j0dO0HaRz4OPJKRYG6PtUPZgHWyXsdLCFyqQ8dHJtgyYUGnp2Gow+12JcwTLtVK1MH32652ce39mlH14EA541quS0eUn5ljVa9qbdggG9Ce3VsGRMFydgK7V+i/VpjoRyurvZ3EIigM8n5ZOu1ylpxqhark3+u8sax8shbuXM18InwLbH1InDeN/VGaPOb8CEQ65YFqFWgAtGRSZCNckceXL1z71 x-ms-office365-filtering-correlation-id: 31f0c25b-d7a6-42f3-d7bf-08d61c49f1fa 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:CY4PR21MB0790; x-ms-traffictypediagnostic: CY4PR21MB0790: x-microsoft-antispam-prvs: <CY4PR21MB0790E08873AC266F6512B33DFB1E0@CY4PR21MB0790.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)(10201501046)(3002001)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050)(76991041); SRVR:CY4PR21MB0790; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0790; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39860400002)(136003)(396003)(376002)(366004)(199004)(189003)(76176011)(22452003)(110136005)(99286004)(6436002)(6486002)(2900100001)(2906002)(54906003)(6346003)(10090500001)(5660300001)(7736002)(6512007)(14444005)(217873002)(316002)(256004)(53936002)(36756003)(6506007)(25786009)(106356001)(26005)(86612001)(10290500003)(1076002)(68736007)(476003)(6116002)(3846002)(478600001)(5250100002)(11346002)(446003)(72206003)(2501003)(81156014)(81166006)(8676002)(14454004)(102836004)(107886003)(186003)(2616005)(575784001)(97736004)(86362001)(66066001)(305945005)(486006)(8936002)(4326008)(105586002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0790; 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: BaQravjF4kjC1ajAGDHIH8Pnb/VD4Xj9aoW1KuteJjqW7g8LMND8F8hT8Smpm7bq2HACEri9tgHo2h2NgrIrSGHR6mMmdtv8kwp+uvK58HqVRK7aGYPX6OHwEGCdTqSH6q/0ydtmSpd9ZdEo63FdKWYz3cg6v0mzNh4rnEX+YuGQ3zmPFg9JRLGGRyV/3nC5Ztxh02pSWlbzl0iRnXNvoMhdBpXE/eTTBSBc99VnYiEZvPrqhB/or94M8uzfj5ugZOZIVJf/F/GMYBAZ6dOMWi5hVQ4xKtdW88oKlq3u7lE4OENm4zsqIEqQ+lLiVeTEDMAMnI242kgnY+4ihn1MRQg1FoKp6gaZHyFBGAUGSZs= 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: 31f0c25b-d7a6-42f3-d7bf-08d61c49f1fa X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:01:08.9792 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0790 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 836e0a47b94a..b8ef919daa6b 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -4047,6 +4047,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 aebdf99068e7..299db8b1c9ba 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)