2023-06-09 08:55:39

by Christian Lamparter

[permalink] [raw]
Subject: [PATCH v1 1/2] dt-bindings: net: ath11k: add ieee80211-freq-limit property

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.

Signed-off-by: Christian Lamparter <[email protected]>
---
Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index 7d5f982a3d09..91bf69c2df01 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -58,6 +58,8 @@ properties:
minItems: 1
maxItems: 2

+ ieee80211-freq-limit: true
+
wifi-firmware:
type: object
description: |
--
2.40.1



2023-06-09 15:51:06

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH v1 1/2] dt-bindings: net: ath11k: add ieee80211-freq-limit property

On Fri, Jun 09, 2023 at 10:44:54AM +0200, Christian Lamparter wrote:
> 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.
>
> Signed-off-by: Christian Lamparter <[email protected]>

Acked-by: Conor Dooley <[email protected]>

Cheers,
Conor.


Attachments:
(No filename) (391.00 B)
signature.asc (235.00 B)
Download all attachments

2023-06-09 17:11:46

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v1 1/2] dt-bindings: net: ath11k: add ieee80211-freq-limit property

On Fri, Jun 09, 2023 at 10:44:54AM +0200, Christian Lamparter wrote:
> 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.
>
> Signed-off-by: Christian Lamparter <[email protected]>
> ---
> Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> index 7d5f982a3d09..91bf69c2df01 100644
> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> @@ -58,6 +58,8 @@ properties:
> minItems: 1
> maxItems: 2
>
> + ieee80211-freq-limit: true
> +

You need a ref to ieee80211.yaml as well.

> wifi-firmware:
> type: object
> description: |
> --
> 2.40.1
>

2023-06-09 17:17:44

by Christian Lamparter

[permalink] [raw]
Subject: Re: [PATCH v1 1/2] dt-bindings: net: ath11k: add ieee80211-freq-limit property

On 6/9/23 18:51, Rob Herring wrote:
> On Fri, Jun 09, 2023 at 10:44:54AM +0200, Christian Lamparter wrote:
>> 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.
>>
>> Signed-off-by: Christian Lamparter <[email protected]>
>> ---
>> Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
>> index 7d5f982a3d09..91bf69c2df01 100644
>> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
>> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
>> @@ -58,6 +58,8 @@ properties:
>> minItems: 1
>> maxItems: 2
>>
>> + ieee80211-freq-limit: true
>> +
>
> You need a ref to ieee80211.yaml as well.

Yes. will fix that.

(Related to that: ath10k already supported ieee80211-freq-limit since 2018
but not in the binding. will post a separate patch shortly)

Regards,
Christian