[PATCH v1] dt-bindings: net: wireless: ath10k: add ieee80211-freq-limit property

Christian Lamparter chunkeey at gmail.com
Fri Jun 9 10:27:23 PDT 2023


This is an existing optional property that ieee80211.yaml/cfg80211
provides. It's useful to further restrict supported frequencies
for a specified device through device-tree.

The driver supported this since ~2018 by
commit 34d5629d2ca8 ("ath10k: limit available channels via DT ieee80211-freq-limit")

Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---

Note: this is for ath10k. The other patch is for a different driver (ath11k).
---
 .../devicetree/bindings/net/wireless/qcom,ath10k.yaml        | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
index c85ed330426d..99db442cef92 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
@@ -12,6 +12,9 @@ maintainers:
 description:
   Qualcomm Technologies, Inc. IEEE 802.11ac devices.
 
+allOf:
+  - $ref: ieee80211.yaml#
+
 properties:
   compatible:
     enum:
@@ -84,6 +87,8 @@ properties:
     required:
       - iommus
 
+  ieee80211-freq-limit: true
+
   qcom,ath10k-calibration-data:
     $ref: /schemas/types.yaml#/definitions/uint8-array
     description:
-- 
2.40.1




More information about the ath10k mailing list