From patchwork Mon May 20 08:55:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 10950557 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 579E117D2 for ; Mon, 20 May 2019 08:55:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47D8628782 for ; Mon, 20 May 2019 08:55:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C3BD28785; Mon, 20 May 2019 08:55:26 +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 DB7E228782 for ; Mon, 20 May 2019 08:55:25 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=u2cQJ3JOmMDlU2Fh8dLG1SaZ0O0X9sqJyipBndpjaaM=; b=VFkPT4/7gXlKdl dM0kl375WdKFJetQv1w2/PjspqiwTOQBbNhksqFYWboK8GQocVcAkHzw4rdJg8rY7A6uogSWj7kVL fCTpYqOY18kNFcmEE7+2aDjNH6pfzpn4xD4DDTcbYap1hOGmkwd3zKcZetfagUIlFKhltKXYET+/C QdFc4WSlEqDwIOe5q3k0Cle2Y2pD1JeOtCX9tbxUHZ+S8iCO9nIPRhk6IzEcYhZJlRcRvOlIn1h3/ Fp8VH6jpVJP0ImnVMS78rx1nXWD3/yYWx1pjlgR1cxVpsn8dBepM1mDngNnCjLpqUqaMsFfPCAL69 kEXzs9k8vk3UpkJeWiDQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSe4p-0004hi-NU; Mon, 20 May 2019 08:55:23 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSe4k-0004dQ-P5 for ath11k@lists.infradead.org; Mon, 20 May 2019 08:55:21 +0000 Received: from p548c87ba.dip0.t-ipconnect.de ([84.140.135.186] helo=bertha.datto.lan) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hSe4i-0002Y7-JH; Mon, 20 May 2019 10:55:16 +0200 From: John Crispin To: Kalle Valo Subject: [PATCH V5 0/8] ath11k: add HE support Date: Mon, 20 May 2019 10:55:00 +0200 Message-Id: <20190520085508.5888-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_015519_071211_37CBA5B8 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds initial support for HE mode to the ath11k driver. Things that still need to implemented * ppe_threshold support Changes in V2: * generate sband_iftype data from FW provided capabilities * properly handle rx_status for HE frames * fix regression in basic VHF phymode * various minor cleanups Changes in V3 * make the he_cap generating code future-proof * move phymode lookup to an array Changes in V4 * remove dependency in local patch Changes in V5 * populate he_oper field when preparing peer assoc * populate ppet field when preparing peer assoc * fix 80p80 phymode when preparing peer assoc * address review comments John Crispin (8): mac80211: propagate HE operation info into ieee80211_sta ath11k: fix some whitespace errors ath11k: move phymode selection from function to array lookup ath11k: add HE handling to the debug code ath11k: extend reading of FW capabilities ath11k: add defines for max MCS rates per phymode ath11k: handle rx status for HE frames ath11k: add HE support drivers/net/wireless/ath/ath11k/core.h | 11 +- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 24 +- drivers/net/wireless/ath/ath11k/dp_rx.c | 18 +- drivers/net/wireless/ath/ath11k/mac.c | 357 ++++++++++++++---- drivers/net/wireless/ath/ath11k/reg.c | 1 + drivers/net/wireless/ath/ath11k/wmi.c | 13 +- drivers/net/wireless/ath/ath11k/wmi.h | 44 ++- include/net/mac80211.h | 2 + include/uapi/linux/nl80211.h | 4 + net/mac80211/he.c | 14 + net/mac80211/ieee80211_i.h | 5 + net/mac80211/mlme.c | 1 + 12 files changed, 392 insertions(+), 102 deletions(-)