From nobody Wed Oct 1 23:32:08 2025 Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [23.88.38.48]) (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 4E8C62BEFEE; Fri, 26 Sep 2025 10:05:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=23.88.38.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758881157; cv=none; b=OU67v+Sx2o3isSRVeJceN+hnXp9XTeqO69t7igfqh9HOM73qo3LKh7KyBsOY8u7HYhoW8UBKI2OaM+5mMxRKgVZRy2rpjKf0Y7XHfwRxTFxhcoYdt1QWkDDGeXEHbUkbXL5jWzK+RGa0kbeUg+N1R0/v6lc+BZluUbKuxp/4cFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758881157; c=relaxed/simple; bh=uBaOvLBEYw6cM2ZE3ZNKPKFL8pnovauxKrJogvIVOw0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=u0a5gojgGJc+Sbzj09FMAiSHmRFapwOd/fo9DKEdA5VTXdawgEpxTjefIJpwcBCkn2UsinFu0S8ZLAzJWIFY/tb8F6sdLDdpkuWETSYRwra7tv1muUK/q4PQt3t/jl2RUjTjt0RuHKxNS21Dmoxe/Kn5QpPxLeNaBe5XIgCfi0E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=simonwunderlich.de; spf=pass smtp.mailfrom=simonwunderlich.de; arc=none smtp.client-ip=23.88.38.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=simonwunderlich.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=simonwunderlich.de Received: from sven-desktop.home.narfation.org (p200300C597166BE00000000000000c00.dip0.t-ipconnect.de [IPv6:2003:c5:9716:6be0::c00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.simonwunderlich.de (Postfix) with ESMTPSA id 45E62FA182; Fri, 26 Sep 2025 12:05:53 +0200 (CEST) From: "Sven Eckelmann (Plasma Cloud)" Date: Fri, 26 Sep 2025 12:04:53 +0200 Subject: [PATCH mt76 v2 2/3] dt-bindings: net: wireless: mt76: introduce backoff limit properties Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250926-backoff-table-support-v2-2-16d3726646c4@simonwunderlich.de> References: <20250926-backoff-table-support-v2-0-16d3726646c4@simonwunderlich.de> In-Reply-To: <20250926-backoff-table-support-v2-0-16d3726646c4@simonwunderlich.de> To: Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Maxime Coquelin , Alexandre Torgue , Johannes Berg , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, devicetree@vger.kernel.org, "Sven Eckelmann (Plasma Cloud)" X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3962; i=se@simonwunderlich.de; h=from:subject:message-id; bh=uBaOvLBEYw6cM2ZE3ZNKPKFL8pnovauxKrJogvIVOw0=; b=owGbwMvMwCXmy1+ufVnk62nG02pJDBnXUivUEs2uzDGR6H+Uue2e2eWwvV1ps35aeW+K41ulf WuJJ4dnRykLgxgXg6yYIsueK/nnN7O/lf887eNRmDmsTCBDGLg4BWAi0W8Y/gpUezLuO37AtPfK i+gAoSauq+vnfFkXfa40XN4tP2jz7uOMDMsrQtMfXt8S/Df33yEb1sB/ku/Lz2wX4F0r80B4fve qb3wA X-Developer-Key: i=se@simonwunderlich.de; a=openpgp; fpr=522D7163831C73A635D12FE5EC371482956781AF Introduce path backoff limit properties in mt76 binding in order to specify beamforming and non-beamforming backoff limits for 802.11n/ac/ax. Signed-off-by: Sven Eckelmann (Plasma Cloud) --- .../bindings/net/wireless/mediatek,mt76.yaml | 60 ++++++++++++++++++= ++++ 1 file changed, 60 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.y= aml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml index f8f72f3f1b1dd185b4797be38b87c621ef3eac08..0b06455ce955c38b324efebf8c7= 762bee33b57f6 100644 --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml @@ -215,6 +215,66 @@ properties: minItems: 13 maxItems: 13 =20 + paths-cck: + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 4 + maxItems: 4 + description: + 4 half-dBm backoff values (1 - 4 antennas, single sp= acial + stream) + + paths-ofdm: + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 4 + maxItems: 4 + description: + 4 half-dBm backoff values (1 - 4 antennas, single sp= acial + stream) + + paths-ofdm-bf: + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 4 + maxItems: 4 + description: + 4 half-dBm backoff values for beamforming + (1 - 4 antennas, single spacial stream) + + paths-ru: + $ref: /schemas/types.yaml#/definitions/uint8-matrix + description: + Sets of half-dBm backoff values for 802.11ax rates f= or + 1T1ss (aka 1 transmitting antenna with 1 spacial str= eam), + 2T1ss, 3T1ss, 4T1ss, 2T2ss, 3T2ss, 4T2ss, 3T3ss, 4T3= ss + and 4T4ss. + Each set starts with the number of channel bandwidth= or + resource unit settings for which the rate set applie= s, + followed by 10 power limit values. The order of the + channel resource unit settings is RU26, RU52, RU106, + RU242/SU20, RU484/SU40, RU996/SU80 and RU2x996/SU160. + minItems: 1 + maxItems: 7 + items: + minItems: 11 + maxItems: 11 + + paths-ru-bf: + $ref: /schemas/types.yaml#/definitions/uint8-matrix + description: + Sets of half-dBm backoff (beamforming) values for 80= 2.11ax + rates for 1T1ss (aka 1 transmitting antenna with 1 s= pacial + stream), 2T1ss, 3T1ss, 4T1ss, 2T2ss, 3T2ss, 4T2ss, 3= T3ss, + 4T3ss and 4T4ss. + Each set starts with the number of channel bandwidth= or + resource unit settings for which the rate set applie= s, + followed by 10 power limit values. The order of the + channel resource unit settings is RU26, RU52, RU106, + RU242/SU20, RU484/SU40, RU996/SU80 and RU2x996/SU160. + minItems: 1 + maxItems: 7 + items: + minItems: 11 + maxItems: 11 + txs-delta: $ref: /schemas/types.yaml#/definitions/uint32-array description: --=20 2.47.3