diff mbox series

[v2] wpa-supplicant: enable 802.11be, MBO, OWE, and SuiteB support

Message ID 20250718030452.3459203-1-miaoqing.pan@oss.qualcomm.com
State New
Headers show
Series [v2] wpa-supplicant: enable 802.11be, MBO, OWE, and SuiteB support | expand

Commit Message

Miaoqing Pan July 18, 2025, 3:04 a.m. UTC
wpa_supplicant has supported IEEE 802.11be (Wi-Fi 7) for over three
years. With growing market demand for Wi-Fi 7, it is now an
appropriate time to enable IEEE 802.11be Extremely High Throughput
(EHT) support - mainly for AP mode.

This patch also enables the following features in defconfig:
Opportunistic Wireless Encryption (OWE)
Suite B and Suite B 192
Multi Band Operation (MBO)

Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
---
v2: update prefix and commit message.
---
 .../wpa-supplicant/wpa-supplicant_2.11.bb                   | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Dmitry Baryshkov Oct. 18, 2025, 10:34 p.m. UTC | #1
On Fri, Jul 18, 2025 at 11:04:52AM +0800, Miaoqing Pan wrote:
> wpa_supplicant has supported IEEE 802.11be (Wi-Fi 7) for over three
> years. With growing market demand for Wi-Fi 7, it is now an
> appropriate time to enable IEEE 802.11be Extremely High Throughput
> (EHT) support - mainly for AP mode.
> 
> This patch also enables the following features in defconfig:
> Opportunistic Wireless Encryption (OWE)
> Suite B and Suite B 192
> Multi Band Operation (MBO)
> 
> Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
> ---
> v2: update prefix and commit message.
> ---
>  .../wpa-supplicant/wpa-supplicant_2.11.bb                   | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> 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 6dc76494f7..440d3a5c94 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
> @@ -37,6 +37,12 @@ do_configure () {
>  	${MAKE} -C wpa_supplicant clean
>  	sed -e '/^CONFIG_TLS=/d' <wpa_supplicant/defconfig >wpa_supplicant/.config
>  
> +	sed -i -e 's/^#\(CONFIG_IEEE80211BE=y\)/\1/' \
> +	       -e 's/^#\(CONFIG_MBO=y\)/\1/' \
> +	       -e 's/^#\(CONFIG_OWE=y\)/\1/' \
> +	       -e 's/^#\(CONFIG_SUITEB=y\)/\1/' \
> +	       -e 's/^#\(CONFIG_SUITEB192=y\)/\1/' wpa_supplicant/.config

I was pointed out to this patch. Is there any reason why you don't
extend the previous line, which also patches the .config file?

> +
>  	if ${@ bb.utils.contains('PACKAGECONFIG', 'openssl', 'true', 'false', d) }; then
>  		echo 'CONFIG_TLS=openssl' >>wpa_supplicant/.config
>  	elif ${@ bb.utils.contains('PACKAGECONFIG', 'gnutls', 'true', 'false', d) }; then
> -- 
> 2.34.1
> 
>
Miaoqing Pan Oct. 22, 2025, 1:45 a.m. UTC | #2
On 10/19/2025 6:34 AM, Dmitry Baryshkov wrote:
> On Fri, Jul 18, 2025 at 11:04:52AM +0800, Miaoqing Pan wrote:
>> wpa_supplicant has supported IEEE 802.11be (Wi-Fi 7) for over three
>> years. With growing market demand for Wi-Fi 7, it is now an
>> appropriate time to enable IEEE 802.11be Extremely High Throughput
>> (EHT) support - mainly for AP mode.
>>
>> This patch also enables the following features in defconfig:
>> Opportunistic Wireless Encryption (OWE)
>> Suite B and Suite B 192
>> Multi Band Operation (MBO)
>>
>> Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
>> ---
>> v2: update prefix and commit message.
>> ---
>>   .../wpa-supplicant/wpa-supplicant_2.11.bb                   | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> 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 6dc76494f7..440d3a5c94 100644
>> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
>> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
>> @@ -37,6 +37,12 @@ do_configure () {
>>   	${MAKE} -C wpa_supplicant clean
>>   	sed -e '/^CONFIG_TLS=/d' <wpa_supplicant/defconfig >wpa_supplicant/.config
>>   
>> +	sed -i -e 's/^#\(CONFIG_IEEE80211BE=y\)/\1/' \
>> +	       -e 's/^#\(CONFIG_MBO=y\)/\1/' \
>> +	       -e 's/^#\(CONFIG_OWE=y\)/\1/' \
>> +	       -e 's/^#\(CONFIG_SUITEB=y\)/\1/' \
>> +	       -e 's/^#\(CONFIG_SUITEB192=y\)/\1/' wpa_supplicant/.config
> 
> I was pointed out to this patch. Is there any reason why you don't
> extend the previous line, which also patches the .config file?
> 

Will update in v3.
diff mbox series

Patch

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 6dc76494f7..440d3a5c94 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
@@ -37,6 +37,12 @@  do_configure () {
 	${MAKE} -C wpa_supplicant clean
 	sed -e '/^CONFIG_TLS=/d' <wpa_supplicant/defconfig >wpa_supplicant/.config
 
+	sed -i -e 's/^#\(CONFIG_IEEE80211BE=y\)/\1/' \
+	       -e 's/^#\(CONFIG_MBO=y\)/\1/' \
+	       -e 's/^#\(CONFIG_OWE=y\)/\1/' \
+	       -e 's/^#\(CONFIG_SUITEB=y\)/\1/' \
+	       -e 's/^#\(CONFIG_SUITEB192=y\)/\1/' wpa_supplicant/.config
+
 	if ${@ bb.utils.contains('PACKAGECONFIG', 'openssl', 'true', 'false', d) }; then
 		echo 'CONFIG_TLS=openssl' >>wpa_supplicant/.config
 	elif ${@ bb.utils.contains('PACKAGECONFIG', 'gnutls', 'true', 'false', d) }; then