From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFD9F4ABBCC; Thu, 17 Sep 2026 17:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789667221; cv=none; b=RO6a3+fA4bIhA/O4+v+XwcC2ycjWdaU5wMRt2TT9yOYp18931JwD/Mf0KsYMEnmvhVKDO3b6ot47wSL314qF4WV1dISGuvxKlbAxWEOUMRy2OlqRDuJWdvkYFnZwF1wqbIU4VsJXWRbdYe1t82sWlBX6i9ZccbcR2nLdH0SKowg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789667221; c=relaxed/simple; bh=Xzvs26eCBkSLcndqZDDMMjKa11ayJKvNFF7JSR5U+Fc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Gk9hTJioGwEkWqZ5mZesY2siyZ+mmeTHkOumFZ+uyXI/yqrqHVRoDoCm6gU0H/EmXWA5WVhDfDNm+xNzyXZBZq3TDT9b/J737WgZaIdmhZ557FaLnGwjDM3EydkQ7bqhBb28Jf/mLr8WZX4T9IVQPkzyLdhq8XMsfH6Rbj1t1ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TufQ0cKD; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TufQ0cKD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2B981F000FF; Thu, 17 Sep 2026 17:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789667219; bh=4WtQ5jcqG8Nfw4O1gq4Mu+RuB+EHrmdEZ05I37/1Qig=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TufQ0cKD+kfJ3xgqSyYZwSbBSYd+HmgYATvQYoEIz7guJXVNIFrio3cMP93gN9K/j DLtg2skQytISbZiQceOxxqW1l0uwuCPrO5iDbhY46JJGaSfIgGRY59HOlJWL7D1Lzd 2nwF10tx0djEUS2cvO/CcoPFJxlOUKY5dAPerIjQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jouni Malinen , Johannes Berg , Sasha Levin Subject: [PATCH 6.12 0021/1102] wifi: mac80211: always allow transmitting null-data on TXQs Date: Thu, 17 Sep 2026 15:59:24 +0100 Message-ID: <20260917151539.962905496@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260917151539.408551884@linuxfoundation.org> References: <20260917151539.408551884@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Johannes Berg [ Upstream commit 51129a2ca0482b006d0e12a0aa025ff1e1cad2cb ] Jouni reported that certain sequences of tests caused some WDS tests to fail after applying the upcoming hwsim changes for NAN. I bisected that down to converting hwsim to TXQs, and after a long debug session found that the 4-addr NDP was getting dropped, because it goes out via a (management) TXQ and is a data frame. It's unclear to me now why this only happens in some test sequences (e.g. "sigma_dut_sae_h2e_ap_loop ap_wds_sta" and "sigma_dut_eap_ttls_all_akm_suites ap_wds_sta_open"), maybe that affects timing and the frame is otherwise delayed in some way. Correct the check to only drop frames that actually carry data, not NDPs. Reported-by: Jouni Malinen Link: https://patch.msgid.link/20260417141601.851ddf4adb59.I3d668c0e1bdca9cd98f2fc46f84a066e68cc7a62@changeid Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/mac80211/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 8fc30a773c583..9bc1a80e80570 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -3894,7 +3894,7 @@ struct sk_buff *ieee80211_tx_dequeue(struct ieee80211_hw *hw, * injected frames or EAPOL frames from the local station. */ if (unlikely(!(info->flags & IEEE80211_TX_CTL_INJECTED) && - ieee80211_is_data(hdr->frame_control) && + ieee80211_is_data_present(hdr->frame_control) && !ieee80211_vif_is_mesh(&tx.sdata->vif) && tx.sdata->vif.type != NL80211_IFTYPE_OCB && !is_multicast_ether_addr(hdr->addr1) && -- 2.53.0