From patchwork Wed Jul 3 10:18:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 11029287 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 E2935112C for ; Wed, 3 Jul 2019 10:19:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D13D0288E2 for ; Wed, 3 Jul 2019 10:19:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3EA9288E6; Wed, 3 Jul 2019 10:19:01 +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=-4.4 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, 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 445B8288E2 for ; Wed, 3 Jul 2019 10:19:01 +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=s072XAZ3sqJ2M3Zfku8Uae43+aTz8Y0GpdpQpwCHJ8k=; b=LiutNJPuszxSon SnR0zPrhgqj0KyuHZ+8euZ8IPHM2CbvLfleSwZiQOWCeLAN0K4SDUj/M+7bnOGeaOhO/imPRI8pXd G6ETYQTZkufcQpr2+2I80pryfRhSVRGxQXuW0xhMNTWOMgyx6aiLWCPhJ2yEPWHq9PCb4r98vsuGx GM7Mj8iV/oK+Xn9uPApsW8yixCt+Pl1KBfvmyggJOSW1uDrh21e9IiEUbMmsXHmL4EyXVssbtzA35 bywHBKqJiWz0ZATd07hYaEP4C8mgb2kJ22Aeewzg4Rso3tsitnVlBqvvmJRwLQ7Xvt+MXX3kxqAmB XrkX3+IAQhbNGp8Hz1bA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hicLs-0003p2-7t; Wed, 03 Jul 2019 10:19:00 +0000 Received: from dvalin.narfation.org ([213.160.73.56]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hicLo-0003nm-Tt for ath11k@lists.infradead.org; Wed, 03 Jul 2019 10:18:58 +0000 Received: from sven-desktop.home.narfation.org (p4FCB2E24.dip0.t-ipconnect.de [79.203.46.36]) by dvalin.narfation.org (Postfix) with ESMTPSA id 889DF20925; Wed, 3 Jul 2019 10:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1562149134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GWacOikOO27w4Vc1YkeqaWgUpo5xLkdp8jozJ4Jy/mk=; b=PNLoT7xFEuftaE6MmitOWGUU3fBEt+CWEA82xEmqukFua47wJpYTgZJpSTV2LbTHC8JDpZ pujWAsh37q2uGTagIyYnPQX+vqhet8QX2Yv5hk8Wom2fHi10oIAcllUXIOQHGU1+/6Eeh5 R7VyNmh+Bcly8iQ32BKFWR+xUST16hA= From: Sven Eckelmann To: linux-wireless@vger.kernel.org Subject: [PATCH v4 0/3] mac80211/ath11k: HE mesh support Date: Wed, 3 Jul 2019 12:18:36 +0200 Message-Id: <20190703101839.18827-1-sven@narfation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1562149134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GWacOikOO27w4Vc1YkeqaWgUpo5xLkdp8jozJ4Jy/mk=; b=wkZxNxd3A48PNHdSmZHQC1nzhFlJLmgipQUXARdAZ1yCuBDGkNR7Al5NxGs5OVlOlNL0mG xph3vKB4IHhKpV9gnGbi/CbhDMyqS1wh6U9ALbwBlle5oFYLZaQYcf3K/GWqvIzzMnzRXb AwgumFaEyMszJm4ZdXuWei7XZtST6X8= ARC-Seal: i=1; s=20121; d=narfation.org; t=1562149134; a=rsa-sha256; cv=none; b=NiNFxOybjNL1bUPrUojvnEeAs/I0Kvk4S01Zh2qeL24h5p16fbHdyszaOifCWZ1TdVqU/M 3sscwYyQb7NgqHaR43GDmqaG6//Svk13lhwJ580FqKOTzvmzxnx3M1EJfGq+ZTqCphPqpZ Jbfb323HR686g4QSj4uo30ikuL8YxdY= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sven smtp.mailfrom=sven@narfation.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190703_031857_129979_5DCECD48 X-CRM114-Status: UNSURE ( 6.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath11k@lists.infradead.org, Sven Eckelmann Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Some features of 802.11ax without central organizing (AP) STA can also be used in mesh mode. The main goal is to get HE mesh working with ath11k. For persons without ath11k compatible hw, hwsim can be used in the as basis for further development of these features. * v4 - switch order of the mac80211 HE mesh support and mac80211_hwsim support - drop ie_len variable from ieee80211_ie_len_he_cap and ieee80211_ie_build_he_oper - switch to function ieee80211_get_he_iftype_cap instead of implementing new function ieee80211_get_he_mesh_cap - allow ieee80211_ie_len_he_cap to calculate length for non-mesh HE cap - dropped he_support workaround in ath11k because now all phy_modes are HE phy modes * v3 - force ath11k PHY mode for meshpoint vif to HE mode to avoid hang of firmware when HE (or VHT on 2.4GHz) device tries to connect * v2: - add of ath11k patch * v1: - initial RFC Sven Eckelmann (3): mac80211: implement HE support for mesh mac80211_hwsim: Register support for HE meshpoint ath11k: register HE mesh capabilities drivers/net/wireless/ath/ath11k/mac.c | 56 +++++ drivers/net/wireless/mac80211_hwsim.c | 283 +++++++++++++++++--------- net/mac80211/ieee80211_i.h | 2 + net/mac80211/mesh.c | 62 ++++++ net/mac80211/mesh.h | 4 + net/mac80211/mesh_plink.c | 12 +- net/mac80211/util.c | 49 +++++ 7 files changed, 373 insertions(+), 95 deletions(-)