From patchwork Wed Jul 24 16:33:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 11057213 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 DEA6B112C for ; Wed, 24 Jul 2019 16:34:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBAB3287E7 for ; Wed, 24 Jul 2019 16:34:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF72128814; Wed, 24 Jul 2019 16:34:19 +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 50989287E7 for ; Wed, 24 Jul 2019 16:34:19 +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=+UaVi3DhWqBrBNfob+vtBl98jLNN1Foa7Kb88zwH5Ok=; b=NTsw4XYjxRBO4H R0epWmn0ADQt5hljtrGmlVVVlg/FrwL1bohRdkuXN8jF+0SZOjjR4cLh0gT/mRFZIfMkqT56+1H0i onfJ4wyslOhGbqrRhzrSLH1VRl4nq8ji+ZMAaACjoLrTgzd1OWTnijy6vT6ni9oer7KWdsij2NsTg cDblMUDjzhvZZ0gWQUEFtmYDhp9EJJ2A8AUxrE/nFOZpt6TTptWaNoMJTmtdnsupydVLENmJVYD8k lZyA83mhtXFAlo6g0fibYhwjr17OepA5VW4YPuCXRqBPgzzMm7B8qxmLb80N/olLEfiQiYvk/h7cc Nu/Ip17dZN5n8hbZiuPg==; 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 1hqKDa-00061K-EY; Wed, 24 Jul 2019 16:34:18 +0000 Received: from dvalin.narfation.org ([213.160.73.56]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hqKDX-00060K-Tl for ath11k@lists.infradead.org; Wed, 24 Jul 2019 16:34:17 +0000 Received: from sven-desktop.home.narfation.org (p200300C5970DABFC00000000000002FB.dip0.t-ipconnect.de [IPv6:2003:c5:970d:abfc::2fb]) by dvalin.narfation.org (Postfix) with ESMTPSA id DE9FD1FFA1; Wed, 24 Jul 2019 16:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1563986051; 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=lGz8RJPt+qsMGyzLmgaZRkgNsHID8NT/51Jha+aRXVs=; b=mRmy02bWxTsNh/92ZuMCCv/kDQRFcn4JosA7h5AjUkJuy/sP+7nIjPMhGi1EICFsaAmCe7 99tVhTy1aMvSvTV6UODJyI4+cobrLy5cSzFczbhRP9HWDGUDAdBRV0RqI6wIiFo4DjHKLO kcaTj2CQAC1hiIEL2eZWaK9CTiFI0lY= From: Sven Eckelmann To: linux-wireless@vger.kernel.org Subject: [PATCH v5 0/4] mac80211/ath11k: HE mesh support Date: Wed, 24 Jul 2019 18:33:55 +0200 Message-Id: <20190724163359.3507-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=1563986051; 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=lGz8RJPt+qsMGyzLmgaZRkgNsHID8NT/51Jha+aRXVs=; b=o/WmH7/j0D2wLdJf5ovpVxzlmBV5NWEOQ8zrpiFwJiJKly1aRQ8UtH8lVfqj6xnjSF9UAx +qyL3UTsQaSQHEowNjumVMsp8wZ+NhDtrzB1LdtKJEiPVTWGymrqFydAQsKAkxd61xpDiV Wg7AYOG/5cDwfrFIq5cLXz0kgMJPBqY= ARC-Seal: i=1; s=20121; d=narfation.org; t=1563986051; a=rsa-sha256; cv=none; b=1UByc25NiidhR54MpovWZLnXMSUGlaUqTeQLyTFaPfRI3MXsh/bYcoJEuuZry3mlQ4Bc9r lAX5z0RsK7S9XEGnoP9gBSBoohIdWcrI1z5A8VBTZFwuci2YU+YKq79+Y/mlXIMdZbzFO3 OfpjqP6YsWWChWxHBfDYjADVLLVDR1E= 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-20190724_093416_271055_836A052E X-CRM114-Status: UNSURE ( 7.24 ) 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. * v5 - rebased patches - moved ath11k meshpoint HE capabilities filter to avoid lines over 80 characters - add patch to disable HE SU phy capabilities to work around problems with WLAN.HK.2.1.0.1-00629-QCAHKSWPL_SILICONZ-1 firmware * 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 (4): mac80211: implement HE support for mesh mac80211_hwsim: Register support for HE meshpoint ath11k: register HE mesh capabilities ath11k: Disable SU support in meshpoint mode drivers/net/wireless/ath/ath11k/mac.c | 84 ++++++++ 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, 401 insertions(+), 95 deletions(-)