diff mbox series

[v2,4/4] wpa-supplicant: enable OWE support

Message ID 20251127030008.1421302-5-miaoqing.pan@oss.qualcomm.com
State New
Headers show
Series wpa_supplicant: restore defconfig and enable new features | expand

Commit Message

Miaoqing Pan Nov. 27, 2025, 3 a.m. UTC
Enable Opportunistic Wireless Encryption (OWE) in wpa_supplicant for
easier testing and examples by setting CONFIG_OWE=y in defconfig.

OWE is standardized in IEEE Std 802.11-2024 and specified by RFC
8110 (updated by RFC 9672).

Disable OWE when PACKAGECONFIG selects gnutls to prevent build
failures.

Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
---
 .../wpa-supplicant/wpa-supplicant/defconfig                     | 2 +-
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Dmitry Baryshkov Nov. 27, 2025, 9:17 p.m. UTC | #1
On Thu, 27 Nov 2025 at 05:00, Miaoqing Pan
<miaoqing.pan@oss.qualcomm.com> wrote:
>
> Enable Opportunistic Wireless Encryption (OWE) in wpa_supplicant for
> easier testing and examples by setting CONFIG_OWE=y in defconfig.
>
> OWE is standardized in IEEE Std 802.11-2024 and specified by RFC
> 8110 (updated by RFC 9672).
>
> Disable OWE when PACKAGECONFIG selects gnutls to prevent build
> failures.
>
> Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
> ---
>  .../wpa-supplicant/wpa-supplicant/defconfig                     | 2 +-
>  meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
> index e313894ecd..8a68d56ffd 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
> @@ -639,7 +639,7 @@ CONFIG_BGSCAN_SIMPLE=y
>
>  # Opportunistic Wireless Encryption (OWE)
>  # Experimental implementation of draft-harkins-owe-07.txt

This didn't get better, it still talks about experimental
implementation of an outdated draft.

> -#CONFIG_OWE=y
> +CONFIG_OWE=y
>
>  # Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect)
>  CONFIG_DPP=y
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
> index 4a8ee1423f..971e55150d 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
> @@ -48,6 +48,7 @@ do_configure () {
>                 echo 'CONFIG_TLS=gnutls' >>wpa_supplicant/.config
>                 sed -i -e 's/\(^CONFIG_DPP=\)/#\1/' \
>                     -e 's/\(^CONFIG_EAP_PWD=\)/#\1/' \
> +                   -e 's/\(^CONFIG_OWE=\)/#\1/' \
>                     -e 's/\(^CONFIG_SAE=\)/#\1/' wpa_supplicant/.config
>         fi
>
> --
> 2.34.1
>
Miaoqing Pan Nov. 28, 2025, 1:33 a.m. UTC | #2
On 11/28/2025 5:17 AM, Dmitry Baryshkov wrote:
> On Thu, 27 Nov 2025 at 05:00, Miaoqing Pan
> <miaoqing.pan@oss.qualcomm.com> wrote:
>>
>> Enable Opportunistic Wireless Encryption (OWE) in wpa_supplicant for
>> easier testing and examples by setting CONFIG_OWE=y in defconfig.
>>
>> OWE is standardized in IEEE Std 802.11-2024 and specified by RFC
>> 8110 (updated by RFC 9672).
>>
>> Disable OWE when PACKAGECONFIG selects gnutls to prevent build
>> failures.
>>
>> Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
>> ---
>>   .../wpa-supplicant/wpa-supplicant/defconfig                     | 2 +-
>>   meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb | 1 +
>>   2 files changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
>> index e313894ecd..8a68d56ffd 100644
>> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
>> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
>> @@ -639,7 +639,7 @@ CONFIG_BGSCAN_SIMPLE=y
>>
>>   # Opportunistic Wireless Encryption (OWE)
>>   # Experimental implementation of draft-harkins-owe-07.txt
> 
> This didn't get better, it still talks about experimental
> implementation of an outdated draft.
> 

The outdated comment will be removed.

>> -#CONFIG_OWE=y
>> +CONFIG_OWE=y
>>
>>   # Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect)
>>   CONFIG_DPP=y
>> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
>> index 4a8ee1423f..971e55150d 100644
>> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
>> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
>> @@ -48,6 +48,7 @@ do_configure () {
>>                  echo 'CONFIG_TLS=gnutls' >>wpa_supplicant/.config
>>                  sed -i -e 's/\(^CONFIG_DPP=\)/#\1/' \
>>                      -e 's/\(^CONFIG_EAP_PWD=\)/#\1/' \
>> +                   -e 's/\(^CONFIG_OWE=\)/#\1/' \
>>                      -e 's/\(^CONFIG_SAE=\)/#\1/' wpa_supplicant/.config
>>          fi
>>
>> --
>> 2.34.1
>>
> 
>
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
index e313894ecd..8a68d56ffd 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
@@ -639,7 +639,7 @@  CONFIG_BGSCAN_SIMPLE=y
 
 # Opportunistic Wireless Encryption (OWE)
 # Experimental implementation of draft-harkins-owe-07.txt
-#CONFIG_OWE=y
+CONFIG_OWE=y
 
 # Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect)
 CONFIG_DPP=y
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
index 4a8ee1423f..971e55150d 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
@@ -48,6 +48,7 @@  do_configure () {
 		echo 'CONFIG_TLS=gnutls' >>wpa_supplicant/.config
 		sed -i -e 's/\(^CONFIG_DPP=\)/#\1/' \
 		    -e 's/\(^CONFIG_EAP_PWD=\)/#\1/' \
+		    -e 's/\(^CONFIG_OWE=\)/#\1/' \
 		    -e 's/\(^CONFIG_SAE=\)/#\1/' wpa_supplicant/.config
 	fi