From patchwork Sat Feb 16 17:47:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10816521 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 78FF01390 for ; Sat, 16 Feb 2019 17:48:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6627E2999D for ; Sat, 16 Feb 2019 17:48:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 547CB2BE75; Sat, 16 Feb 2019 17:48:07 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,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 0DB932999D for ; Sat, 16 Feb 2019 17:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732151AbfBPRsC (ORCPT ); Sat, 16 Feb 2019 12:48:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:43506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726391AbfBPRsC (ORCPT ); Sat, 16 Feb 2019 12:48:02 -0500 Received: from lore-desk.lan (unknown [151.66.48.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AC7CD2192B; Sat, 16 Feb 2019 17:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550339282; bh=YoGSCs9FcMfq8yteONgXjXg3ZFMDzedQfUKoRAHJ2h0=; h=From:To:Cc:Subject:Date:From; b=2CeskSFCZaO0DyVW0b9RGOb/tM5+R+n1mugwUMZF40HZNBmPMtP6mxYYozemQe4Of m3RU+IaNdqZm7QzWSA7LRqKJMJVbFH8J2K8BPj3BEf0/ZeN2s6o6qxDuk+mfO8VBC7 a37oppHLnbah7AzQ8lvOHnP2y8/KHSCjK2qGznOU= From: lorenzo@kernel.org To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, sgruszka@redhat.com, ryder.lee@mediatek.com, roychl666@gmail.com, Lorenzo Bianconi Subject: [PATCH 0/2] remove qid dependency from mt76-core code Date: Sat, 16 Feb 2019 18:47:32 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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 From: Lorenzo Bianconi Move queue id dependency in driver specific tx queue initialization code since new chipsets rely on a different tx queue enumeration scheme. Add the possibility to specify qid in mt76_tx routine Lorenzo Bianconi (2): mt76: add qid parameter to mt76_tx signature mt76: move txq qid dependency in driver specific code drivers/net/wireless/mediatek/mt76/mac80211.c | 27 +++++++++++------- drivers/net/wireless/mediatek/mt76/mt76.h | 14 ++++++++-- .../net/wireless/mediatek/mt76/mt76x02_txrx.c | 8 +++++- .../net/wireless/mediatek/mt76/mt76x02_util.c | 2 ++ drivers/net/wireless/mediatek/mt76/tx.c | 28 +++++-------------- 5 files changed, 45 insertions(+), 34 deletions(-) Acked-by: Ryder Lee