From patchwork Wed Apr 29 19:49:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 9764 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4g5SZ31pnrz3wkr for ; Wed, 29 Apr 2026 19:49:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4g5SZ24W15z7PM for ; Wed, 29 Apr 2026 19:49:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4g5SZ16PT0z343R for ; Wed, 29 Apr 2026 19:49:45 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4g5SYs6x8Qz2xMP for ; Wed, 29 Apr 2026 19:49:37 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "michael.haj.ipfire.org", Issuer "E7" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4g5SYs4z87z5hL; Wed, 29 Apr 2026 19:49:37 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4g5SYs43mBzTj2T; Wed, 29 Apr 2026 19:49:37 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: Michael Tremer Subject: [PATCH 3/9] hostapd: Correctly parse capabilities for the 6 GHz band Date: Wed, 29 Apr 2026 19:49:28 +0000 Message-ID: <20260429194934.863108-3-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260429194934.863108-1-michael.tremer@ipfire.org> References: <20260429194934.863108-1-michael.tremer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Signed-off-by: Michael Tremer --- src/initscripts/packages/hostapd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd index 583a8eba4..0bd90bda2 100644 --- a/src/initscripts/packages/hostapd +++ b/src/initscripts/packages/hostapd @@ -174,6 +174,12 @@ write_config() { break fi ;; + + "* 7115.0 MHz"*) + if [ "${CONFIG["BAND"]}" = "6g" ]; then + break + fi + ;; esac done <<<"$(iw phy "${phy}" info)"