Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3508856rwb; Fri, 16 Dec 2022 16:28:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXsaNr6TP3K3NfypGAQvEGxMidfU1DGj+M7wBktZw26NF9NlM4/M5RjFVqERtpFZbaoTR6lt X-Received: by 2002:a05:6a20:7a8f:b0:a4:f2e6:4f68 with SMTP id u15-20020a056a207a8f00b000a4f2e64f68mr429924pzh.17.1671236895138; Fri, 16 Dec 2022 16:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671236895; cv=none; d=google.com; s=arc-20160816; b=oVm9Ox9Hwl89HYgwyijO6pgMmwU5X78Fr940wgq4UMPbxCEdyWKT7zpiX2pH+hjLIX LIcRtAO5GXh1EryCaQwqZTJ0+00txZlJNo8ByeA3zMbvyCvaXqI6ODCXZuG59ck7AF0Q JknXc7D6eIRWXMaGJxERQw+NUVcGAtD6xNCsCZb6L8SXF8yzzaklxzdnMtn5rcoml5qP rOrLdVQcU/lPLQiMCA7wiaR9b7Sn4E3mybgLmaD031QI9ctb2xs8pIRKSXdwtsaI+5W8 K7plKu43/2h9xJrAiBsLIjfWRnbv8GZ5KGFJ7ki1HTUduiXYznH91SO81BMvrsySgxCn SJKA== 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:date:to:from:subject:message-id:dkim-signature; bh=QCEzTClqaLwm8b7LdtrwUIb0xI1a/zfcvEW6n9pxC84=; b=YmMKldQAXWxB9o8dz+Wb/U7XMcdSrAQPkfg+rNSYig2LgmLtvfiNa8Ot7EjYiIMVQh /LF9q9CLvuH36MyQKKw0dRvd9l+pi/pCXOV4WHMFFOOC2Gwq5TRgGaiwYWcpGMv6AsdY KbMw9WpDlgMZYPrlKat89XZY++mBPn2gnZ0Scv14o/RnDuto4iXW57Db0pw4WPar1aqC uEeMuSaV9oQScPHFl7pGZbVvG4LoDWq5vKvvaucDjF3+uv5TkVtPYU3OiQQDtpVQ2/Na 8kcQUwxfjPbyjMIcBsligwnQfoi9EdUjotWi9MC9c9Fv7R+vtqhHNhNJZm//0gcUa6o2 ZSWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Rw8QAIDN; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a656897000000b00477e5baa6fcsi3964296pgt.747.2022.12.16.16.28.02; Fri, 16 Dec 2022 16:28:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Rw8QAIDN; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230498AbiLQAXd (ORCPT + 66 others); Fri, 16 Dec 2022 19:23:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230456AbiLQAXD (ORCPT ); Fri, 16 Dec 2022 19:23:03 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C04E66C3F for ; Fri, 16 Dec 2022 16:17:35 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id c13so2823800pfp.5 for ; Fri, 16 Dec 2022 16:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:date:to:from :subject:message-id:from:to:cc:subject:date:message-id:reply-to; bh=QCEzTClqaLwm8b7LdtrwUIb0xI1a/zfcvEW6n9pxC84=; b=Rw8QAIDNODgMakBDTNa5Qi9LdQzLT0DViBC5st7zWlvzB/nu/mKiHpdp6mqft2FA/b sNuP+YGFH68UqixCF4QPGg5H6s1Rt4NMPqxgzIQQ35Q4eFoMBSNPINVFqVerUE+Xu4l3 EG3kGDTzMmvQF1EXEfbYI0PXv02MT5T3l69Lmj9wdPByGYgIBfe+Ay76EigBr8TW8UEb Ide6qU987t9TmCQaE141HZf9IlGPfC+fE5ttOo/REEgsvUjWiTw8+0UZQvpilIpkR4yK ln4P71+GOP956kv7tVwyqcRqX0v5g0GRWrbR86N//Nvt94sDUGgpKSgAMg7vDKanZ20q kZ/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:date:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QCEzTClqaLwm8b7LdtrwUIb0xI1a/zfcvEW6n9pxC84=; b=KpKY9nvbv6HY4EHf+S8nJfGhGJqS2zjmvaOTmXwhEQb9wRD0DlKFw2CuX9nENU8Jq/ g/XXwconnsRxNgKIhCz6J3vvMjsmdMlL435MQmKWfLt5ZF/xvT8iVb2YosUAovf8qyTQ RAfQOSV8nl7q2F+LIBiAWlT5E3csKpT/wdB5MUFmhHtOe+8O08ErNc5CrLMVQBAj3Btf 2MoZqBtJQcUBYvha2qYE7gkCS1oS12PMUrGl5A73M8b6Slx0S37vh5Vz2eZRqyMQHmub EbnTLCEd9VyLDHGQ7bfAgzDMKKR3TlABFidZOClJQw1a8BujozUn7vmBZebGxtLb4Jn1 hD+g== X-Gm-Message-State: AFqh2koBA+0Aw3WrTPVRsORxBFddJlJaBDd98NmlsNxBBpTLc3PpXZka QHV1kA7PNDLiQWfpr0/PDri1fNxd9a4= X-Received: by 2002:aa7:960d:0:b0:56c:3fba:c5ca with SMTP id q13-20020aa7960d000000b0056c3fbac5camr351609pfg.16.1671236254340; Fri, 16 Dec 2022 16:17:34 -0800 (PST) Received: from [192.168.254.17] ([50.39.160.234]) by smtp.gmail.com with ESMTPSA id y20-20020aa78f34000000b005776867a97dsm2048471pfr.29.2022.12.16.16.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 16:17:33 -0800 (PST) Message-ID: Subject: Why does HT/VHT/HE/EHT depend on WMM? From: James Prestwood To: linux-wireless@vger.kernel.org Date: Fri, 16 Dec 2022 16:17:33 -0800 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-5.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, I noticed this bit of code which disables HT/VHT/HE/EHT if the AP doesn't support WMM: net/mac80211/mlme.c:ieee80211_mgd_assoc() /* also disable HT/VHT/HE/EHT if the AP doesn't use WMM */ if (!bss->wmm_used) { conn_flags |= IEEE80211_CONN_DISABLE_HT; conn_flags |= IEEE80211_CONN_DISABLE_VHT; conn_flags |= IEEE80211_CONN_DISABLE_HE; conn_flags |= IEEE80211_CONN_DISABLE_EHT; netdev_info(sdata->dev, "disabling HT/VHT/HE as WMM/QoS is not supported by the AP\n"); } It seems suspicious that 802.11 features would depend on a wifi- alliance spec. Usually its the other way around. I can see no such limitation set in 802.11 or the WMM spec, so I wonder why this was done? If someone could educate me on why I'd be happy to update the comment. Thanks, James