From patchwork Sat May 20 20:33:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 9738763 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 AAF4E6034C for ; Sat, 20 May 2017 20:34:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C404285E1 for ; Sat, 20 May 2017 20:34:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90D5128617; Sat, 20 May 2017 20:34:09 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 33333285E1 for ; Sat, 20 May 2017 20:34:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932119AbdETUeF (ORCPT ); Sat, 20 May 2017 16:34:05 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36177 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756234AbdETUeB (ORCPT ); Sat, 20 May 2017 16:34:01 -0400 Received: by mail-lf0-f67.google.com with SMTP id h4so2393475lfj.3 for ; Sat, 20 May 2017 13:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=31yKntHEHUMbZG/QVanMzaqrEpyFmFFdpUm4PC3IiOw=; b=rrBuvfyPrvkAKhAkCksBjOP6JNRQDRyiUrsm7I5r4emfrmTkmwt41J9Z2IicptsISs zVtftFa8NHjrj4E28IXUqzHwFRmvLeTJQIgNZkgEYUSBj3iU66KQCK3nEkTM751HPo8t nLVTKWCidm/pD2q8h4goEo2lCCTVzuomTnlhqAgNblIkxh0LyQCqFU9OajZefO7WHlNI Y4SsRN582A28FdLr74z1jqjG07tGQ2Fc2srcf4GCEBkD/AxoSdKWbDIge0pXvcYZnS8h NuDtEatFVE1o665ouMXfLpYmwmD7nCIHo5w4mUoBn2BoGdKLCX9jcN896puOD3lA0py3 9L4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=31yKntHEHUMbZG/QVanMzaqrEpyFmFFdpUm4PC3IiOw=; b=kMQ4D/cSNI0H3rTPVN3bVU9mEsuhzisJjMI+2kQMAgG/gP1MNGZdyJHkB0ZdhSJt58 XGEir81hnjymzAytxB+vCFU6lS2gDgPI599wXBMkalcsTfIUfQvCyT9lGwwwhgVBJDQc bAlMquYt4Qi63wcuwbCojcNkWARwIIctaa7c87Txv0IlE2i6yTgAvDSk4eRJuNiEPL/2 hwAVvj2I86Ckll5kiy4Jv04m3SEUTHG8UquBwrvhZU4OVcYxw18pgjXHlsmYjTZs3Crz xU2CmK1r2lBM+RYxnAEoRIvqDz5C8nHZ6/sLw+6niQ65jzM3Npp/W8a+Ic/Zl40U9Vzf C4Rg== X-Gm-Message-State: AODbwcBa5cf1MsADfFCfhvkfd1Ovr4zxwuFRsv+iwjniHQe7kkNU/8+O UxovQ+irpxAyo1uSmE4= X-Received: by 10.25.4.149 with SMTP id 143mr4560950lfe.144.1495312439042; Sat, 20 May 2017 13:33:59 -0700 (PDT) Received: from erik-mate-1604.lan (90-227-62-61-no75.tbcn.telia.com. [90.227.62.61]) by smtp.gmail.com with ESMTPSA id l185sm1669230lfe.30.2017.05.20.13.33.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 May 2017 13:33:58 -0700 (PDT) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Cc: Erik Stromdahl Subject: [RFC v2 1/3] ath10k: various usb related definitions Date: Sat, 20 May 2017 22:33:28 +0200 Message-Id: <1495312410-9937-2-git-send-email-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495312410-9937-1-git-send-email-erik.stromdahl@gmail.com> References: <1495312410-9937-1-git-send-email-erik.stromdahl@gmail.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 Definitions for USB based chipsets Signed-off-by: Erik Stromdahl --- drivers/net/wireless/ath/ath10k/core.h | 3 +++ drivers/net/wireless/ath/ath10k/debug.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 8fc08a5..1efe0a1 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -92,6 +92,7 @@ enum ath10k_bus { ATH10K_BUS_PCI, ATH10K_BUS_AHB, ATH10K_BUS_SDIO, + ATH10K_BUS_USB, }; static inline const char *ath10k_bus_str(enum ath10k_bus bus) @@ -103,6 +104,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus) return "ahb"; case ATH10K_BUS_SDIO: return "sdio"; + case ATH10K_BUS_USB: + return "usb"; } return "unknown"; diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index 257d109..548ad54 100644 --- a/drivers/net/wireless/ath/ath10k/debug.h +++ b/drivers/net/wireless/ath/ath10k/debug.h @@ -40,6 +40,8 @@ enum ath10k_debug_mask { ATH10K_DBG_AHB = 0x00008000, ATH10K_DBG_SDIO = 0x00010000, ATH10K_DBG_SDIO_DUMP = 0x00020000, + ATH10K_DBG_USB = 0x00040000, + ATH10K_DBG_USB_BULK = 0x00080000, ATH10K_DBG_ANY = 0xffffffff, };