Message ID | 20240404105217.12478-7-nbd@nbd.name |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=IBRX1w6E; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nbd.name header.i=@nbd.name header.a=rsa-sha256 header.s=20160729 header.b=GqRwBgVw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V9JP42Pfzz1yYn for <incoming@patchwork.ozlabs.org>; Thu, 4 Apr 2024 21:52:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pPhGkdnWN+/LlsL2/2944w8EG5etpYQ1qBnEKyXT0HE=; b=IBRX1w6EtnaZ9B IqPEhE9m1G+R5bVCYQU83EVuYhxu0WadvpRMyRSGsz+32VC6anV4xEIkJLP9pzYNb/dh0OQvE471K Clf0zfbwI/4rATD9IvuUr4V0xk4OW//lNYeNXFggGDOIgGNhIIxBOO48QFwsnqlT38ttZNuv1oOKi J21CLjfrqXWg6a2bqLsrAFIr+wL1MZj4qKJuocuaJXa50IXnewvdYoGPpAC1g8svBsvcH+hweAiWv ZY5PVbV1oeVSU62ELzainhae110DQLqkUq8hyNtXsHmmk8X+HumqWcHUqVm6pHGDrXAsEAZ+4EMiQ P9+aqzPAlPA51PaqWGRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsKhw-00000002FLw-3m6V; Thu, 04 Apr 2024 10:52:36 +0000 Received: from nbd.name ([46.4.11.11]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsKhh-00000002FHO-2wfO for hostap@lists.infradead.org; Thu, 04 Apr 2024 10:52:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DjGRAAUL85sbVykVUwi0tpD3GuR1PXLcfLKzQmroWwQ=; b=GqRwBgVwOJ6kL25NazRkIjIO26 LPvLRV7n0xWoO5vZ5lVykjJpJqa/B03+RLxr1FKTlNLB9dazx1TuoAIB+scGb3rWe+DCiydeTue+n f4JyUr2UMh8c4Nf+jV6PeUtJxZonnjMbM7a886Z4CGZJm+1SS7QMINdOMIVyJWVpeA18=; Received: from p54ae9c93.dip0.t-ipconnect.de ([84.174.156.147] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from <nbd@nbd.name>) id 1rsKhf-00CyWX-9x for hostap@lists.infradead.org; Thu, 04 Apr 2024 12:52:19 +0200 From: Felix Fietkau <nbd@nbd.name> To: hostap@lists.infradead.org Subject: [PATCH 7/7] hostapd: only attempt to set qos map if supported by the driver Date: Thu, 4 Apr 2024 12:52:17 +0200 Message-ID: <20240404105217.12478-7-nbd@nbd.name> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240404105217.12478-1-nbd@nbd.name> References: <20240404105217.12478-1-nbd@nbd.name> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_035221_760865_3F84D097 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fixes issues with full-mac drivers like brcmfmac Signed-off-by: Felix Fietkau <nbd@nbd.name> --- src/ap/ap_drv_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c index 0d493b837c9b..11fe39c2599f 100644 --- a/src/ap/ap_drv_ops.c +++ b/src/ap/ap_drv_ops.c @@ -1023,7 +1023,8 @@ int hostapd_start_dfs_cac(struc [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[1/7] driver_nl80211: update drv->ifindex on removing the first BSS
|
expand
|
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c index 0d493b837c9b..11fe39c2599f 100644 --- a/src/ap/ap_drv_ops.c +++ b/src/ap/ap_drv_ops.c @@ -1023,7 +1023,8 @@ int hostapd_start_dfs_cac(struct hostapd_iface *iface, int hostapd_drv_set_qos_map(struct hostapd_data *hapd, const u8 *qos_map_set, u8 qos_map_set_len) { - if (!hapd->driver || !hapd->driver->set_qos_map || !hapd->drv_priv) + if (!hapd->driver || !hapd->driver->set_qos_map || !hapd->drv_priv || + !(hapd->iface->drv_flags & WPA_DRIVER_FLAGS_QOS_MAPPING)) return 0; return hapd->driver->set_qos_map(hapd->drv_priv, qos_map_set, qos_map_set_len);
Fixes issues with full-mac drivers like brcmfmac Signed-off-by: Felix Fietkau <nbd@nbd.name> --- src/ap/ap_drv_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)