Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2971173pxk; Mon, 28 Sep 2020 05:19:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp12RREKJjwYuChC3r2cXD617vdWkH2oHCLKz8Lhtr1fgXZ7F442zJkXZYzXqbwRwa5Caz X-Received: by 2002:aa7:c1c3:: with SMTP id d3mr1439642edp.228.1601295571150; Mon, 28 Sep 2020 05:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601295571; cv=none; d=google.com; s=arc-20160816; b=ZCWw2HJoKmkqb1alVnupQ4jcJ68uTxFk+vhxwKUi5DXqutcf+0VRBQpZ3GLTYjBVUh naOzahMkEM2DD4cartTuos3j0jVeVV1KZkHw6Rrgy8wiXKaUZpKYH3wVAVPJ1v3wrbC3 Ih7JvLudljjCzzSCjXUqAdPk2Uxd8oBXgB8Iob2kii1xCVx7N3ep0xxfJGut/7albS1F tacQe6v0vvekEYP6wHLkyqA5/xbsDU8+FpSkvmHlMaF8hTNtdP+xJ6q7I3yaSV9dN05v SGx4LWS9Pgup0og0oQqELVN8zku/T+cyqJsL6o81OK6nB00TkHTQLEufGdvUprVHY+f3 yEvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=PYX3B+fJrm53AKOfTa2Mp495IHTAYB1gpMLuDKcHxm8=; b=IB2LHUj/BAkgXc2HnUjpdtoZpWQQJ240GOHVY+qn4mGajMUrHa0lcxY+zat9oXXW8A QmJ4Y+LKsmoN8UGjkfzXZhgiWqDShoFNRxce8IKaRR1bxZ1Q5YA9PTVMrwyrhfs6o55C eX+PZVinf4pzZRP7SUkNRaXmPUDDJB0UWP6XAVxLO2l+4kgfTzdh9oyRCURZ2tE4oYkj aPgBBBKzT6xKqHAE8JCpf7JUhShpAeoU1e+9SvHJRS+a1H3qVAeuzSnoVTTEH4QphS8S Mcke99kW3yqA+8MJhyobDKkL5ZZGQpeGDbmplpO+TgrtFaL6druAfxovjDqWYiemuVOd xdKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si480559edx.3.2020.09.28.05.19.01; Mon, 28 Sep 2020 05:19:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726500AbgI1MSG (ORCPT + 99 others); Mon, 28 Sep 2020 08:18:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbgI1MSG (ORCPT ); Mon, 28 Sep 2020 08:18:06 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA1B2C061755 for ; Mon, 28 Sep 2020 05:18:05 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kMs6V-00CTLy-FA; Mon, 28 Sep 2020 14:18:03 +0200 Message-ID: <1a2ed6b74cf7604c717791bd6cb9e65b49f4a654.camel@sipsolutions.net> Subject: Re: [PATCH v4 14/17] mac80211: support S1G association From: Johannes Berg To: Thomas Pedersen Cc: linux-wireless Date: Mon, 28 Sep 2020 14:17:57 +0200 In-Reply-To: <20200922022818.15855-15-thomas@adapt-ip.com> References: <20200922022818.15855-1-thomas@adapt-ip.com> <20200922022818.15855-15-thomas@adapt-ip.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > @@ -176,6 +177,15 @@ ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata, > memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); > ieee80211_apply_htcap_overrides(sdata, &sta_ht_cap); > > + if (s1g_oper && sband->band == NL80211_BAND_S1GHZ) { > + ieee80211_chandef_s1g_oper(s1g_oper, chandef); > + ret = IEEE80211_STA_DISABLE_HT | IEEE80211_STA_DISABLE_40MHZ | > + IEEE80211_STA_DISABLE_VHT | > + IEEE80211_STA_DISABLE_80P80MHZ | > + IEEE80211_STA_DISABLE_160MHZ; > + goto out; > + } I've applied this now (and made some changes in a few patches, please check), but this particular thing seems a bit odd, in that it looks for HT/VHT elements even on an S1G channel if the s1g oper element isn't present? That seems like it shouldn't be the case, can you take a look? johannes