From patchwork Thu Apr 30 17:25:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Pedersen X-Patchwork-Id: 215773 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2048DC47247 for ; Thu, 30 Apr 2020 17:26:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EB70E20787 for ; Thu, 30 Apr 2020 17:25:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726394AbgD3RZ7 (ORCPT ); Thu, 30 Apr 2020 13:25:59 -0400 Received: from mail.adapt-ip.com ([173.164.178.19]:41208 "EHLO web.adapt-ip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726380AbgD3RZ7 (ORCPT ); Thu, 30 Apr 2020 13:25:59 -0400 Received: from localhost (localhost [127.0.0.1]) by web.adapt-ip.com (Postfix) with ESMTP id 8F1204F80F4; Thu, 30 Apr 2020 17:25:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at web.adapt-ip.com Received: from web.adapt-ip.com ([127.0.0.1]) by localhost (web.adapt-ip.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GB5s8MxR_FbF; Thu, 30 Apr 2020 17:25:55 +0000 (UTC) Received: from atlas.campbell.adapt-ip.com (gateway.adapt-ip.com [173.164.178.20]) (Authenticated sender: thomas@adapt-ip.com) by web.adapt-ip.com (Postfix) with ESMTPSA id B3EEE4F7A11; Thu, 30 Apr 2020 17:25:55 +0000 (UTC) From: Thomas Pedersen To: Johannes Berg Cc: linux-wireless , Thomas Pedersen Subject: [PATCH v4 0/5] initial S1G defines Date: Thu, 30 Apr 2020 10:25:49 -0700 Message-Id: <20200430172554.18383-1-thomas@adapt-ip.com> 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 This patchset finishes the work to make channels work on a KHz offset, and includes the initial definitions for S1G (802.11ah). These patches on top of wt-2020-04-29 with hostap c54a5e96b505 gives the following hwsim test results: Failed even on retry: fst_dynamic_iface_attach wpas_config_file proxyarp_open_ebtables TOTAL=3532 PASS=3265 FAIL=13 SKIP=251 Which is what we currently expect of HEAD. Changes from v4: - don't use float to print khz frequency - zero out center_freq1_offset if not supplied with center_freq1 Thomas Pedersen (5): cfg80211: add KHz variants of frame RX API nl80211: add KHz frequency offset for most wifi commands nl80211: support scan frequencies in KHz ieee80211: S1G defines nl80211: S1G band and channel definitions include/linux/ieee80211.h | 223 +++++++++++++++++++++++++++++++++++ include/net/cfg80211.h | 71 ++++++++++- include/uapi/linux/nl80211.h | 77 +++++++++--- net/mac80211/chan.c | 7 +- net/mac80211/main.c | 2 + net/mac80211/rx.c | 8 +- net/mac80211/scan.c | 1 + net/mac80211/tx.c | 5 + net/mac80211/util.c | 5 + net/wireless/chan.c | 29 +++++ net/wireless/core.c | 5 +- net/wireless/mlme.c | 8 +- net/wireless/nl80211.c | 140 ++++++++++++++++------ net/wireless/trace.h | 12 +- net/wireless/util.c | 8 ++ 15 files changed, 526 insertions(+), 75 deletions(-)