All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] wpa_supplicant: add mesh support (IEEE 80211s)
@ 2016-11-07 10:23 yegorslists at googlemail.com
  2016-11-07 10:50 ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: yegorslists at googlemail.com @ 2016-11-07 10:23 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/wpa_supplicant/Config.in         | 7 +++++++
 package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
index 454541f..9250a3b 100644
--- a/package/wpa_supplicant/Config.in
+++ b/package/wpa_supplicant/Config.in
@@ -45,6 +45,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY
 	help
 	  Enable support for Wi-Fi Display
 
+config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING
+	bool "Enable mesh networking"
+	depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
+	help
+	  Enable support for open and secured mesh networking
+	  (IEEE 802.11s)
+
 config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
 	bool "Enable autoscan"
 	help
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 3c3317b..29ef362 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -73,6 +73,12 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y)
 WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY
 endif
 
+ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y)
+WPA_SUPPLICANT_CONFIG_SET += CONFIG_IEEE80211W \
+			     CONFIG_MESH \
+			     CONFIG_SAE
+endif
+
 ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y)
 WPA_SUPPLICANT_CONFIG_ENABLE += \
 	CONFIG_AUTOSCAN_EXPONENTIAL \
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] wpa_supplicant: add mesh support (IEEE 80211s)
  2016-11-07 10:23 [Buildroot] [PATCH] wpa_supplicant: add mesh support (IEEE 80211s) yegorslists at googlemail.com
@ 2016-11-07 10:50 ` Baruch Siach
  2016-11-07 11:19   ` Yegor Yefremov
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2016-11-07 10:50 UTC (permalink / raw)
  To: buildroot

Hi Yegor,

On Mon, Nov 07, 2016 at 11:23:25AM +0100, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/wpa_supplicant/Config.in         | 7 +++++++
>  package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
>  2 files changed, 13 insertions(+)
> 
> diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
> index 454541f..9250a3b 100644
> --- a/package/wpa_supplicant/Config.in
> +++ b/package/wpa_supplicant/Config.in
> @@ -45,6 +45,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY
>  	help
>  	  Enable support for Wi-Fi Display
>  
> +config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING
> +	bool "Enable mesh networking"
> +	depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
> +	help
> +	  Enable support for open and secured mesh networking
> +	  (IEEE 802.11s)
> +
>  config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
>  	bool "Enable autoscan"
>  	help
> diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
> index 3c3317b..29ef362 100644
> --- a/package/wpa_supplicant/wpa_supplicant.mk
> +++ b/package/wpa_supplicant/wpa_supplicant.mk
> @@ -73,6 +73,12 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y)
>  WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY
>  endif
>  
> +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y)
> +WPA_SUPPLICANT_CONFIG_SET += CONFIG_IEEE80211W \
> +			     CONFIG_MESH \
> +			     CONFIG_SAE

CONFIG_IEEE80211W appears commented out in wpa_supplicant/defconfig, so maybe 
use WPA_SUPPLICANT_CONFIG_ENABLE for that. Though I'm not sure about the 
reason for the distinction between WPA_SUPPLICANT_CONFIG and 
WPA_SUPPLICANT_CONFIG_SET. Isn't WPA_SUPPLICANT_CONFIG_SET enough for 
everything?

baruch

> +endif
> +
>  ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y)
>  WPA_SUPPLICANT_CONFIG_ENABLE += \
>  	CONFIG_AUTOSCAN_EXPONENTIAL \

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] wpa_supplicant: add mesh support (IEEE 80211s)
  2016-11-07 10:50 ` Baruch Siach
@ 2016-11-07 11:19   ` Yegor Yefremov
  2016-11-07 11:43     ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2016-11-07 11:19 UTC (permalink / raw)
  To: buildroot

Hi Baruch,

On Mon, Nov 7, 2016 at 11:50 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Yegor,
>
> On Mon, Nov 07, 2016 at 11:23:25AM +0100, yegorslists at googlemail.com wrote:
>> From: Yegor Yefremov <yegorslists@googlemail.com>
>>
>> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
>> ---
>>  package/wpa_supplicant/Config.in         | 7 +++++++
>>  package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
>>  2 files changed, 13 insertions(+)
>>
>> diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
>> index 454541f..9250a3b 100644
>> --- a/package/wpa_supplicant/Config.in
>> +++ b/package/wpa_supplicant/Config.in
>> @@ -45,6 +45,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY
>>       help
>>         Enable support for Wi-Fi Display
>>
>> +config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING
>> +     bool "Enable mesh networking"
>> +     depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
>> +     help
>> +       Enable support for open and secured mesh networking
>> +       (IEEE 802.11s)
>> +
>>  config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
>>       bool "Enable autoscan"
>>       help
>> diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
>> index 3c3317b..29ef362 100644
>> --- a/package/wpa_supplicant/wpa_supplicant.mk
>> +++ b/package/wpa_supplicant/wpa_supplicant.mk
>> @@ -73,6 +73,12 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y)
>>  WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY
>>  endif
>>
>> +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y)
>> +WPA_SUPPLICANT_CONFIG_SET += CONFIG_IEEE80211W \
>> +                          CONFIG_MESH \
>> +                          CONFIG_SAE
>
> CONFIG_IEEE80211W appears commented out in wpa_supplicant/defconfig, so maybe
> use WPA_SUPPLICANT_CONFIG_ENABLE for that. Though I'm not sure about the
> reason for the distinction between WPA_SUPPLICANT_CONFIG and
> WPA_SUPPLICANT_CONFIG_SET. Isn't WPA_SUPPLICANT_CONFIG_SET enough for
> everything?

Good catch.

WPA_SUPPLICANT_CONFIG_ENABLE ensures we don't have the same CONFIG
option twice. Especially if it wasn't commented.

Yegor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] wpa_supplicant: add mesh support (IEEE 80211s)
  2016-11-07 11:19   ` Yegor Yefremov
@ 2016-11-07 11:43     ` Baruch Siach
  0 siblings, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2016-11-07 11:43 UTC (permalink / raw)
  To: buildroot

Hi Yegor,

On Mon, Nov 07, 2016 at 12:19:37PM +0100, Yegor Yefremov wrote:
> On Mon, Nov 7, 2016 at 11:50 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> > On Mon, Nov 07, 2016 at 11:23:25AM +0100, yegorslists at googlemail.com 
> >  wrote:
> >> +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y)
> >> +WPA_SUPPLICANT_CONFIG_SET += CONFIG_IEEE80211W \
> >> +                          CONFIG_MESH \
> >> +                          CONFIG_SAE
> >
> > CONFIG_IEEE80211W appears commented out in wpa_supplicant/defconfig, so maybe
> > use WPA_SUPPLICANT_CONFIG_ENABLE for that. Though I'm not sure about the
> > reason for the distinction between WPA_SUPPLICANT_CONFIG and
> > WPA_SUPPLICANT_CONFIG_SET. Isn't WPA_SUPPLICANT_CONFIG_SET enough for
> > everything?
> 
> Good catch.
> 
> WPA_SUPPLICANT_CONFIG_ENABLE ensures we don't have the same CONFIG
> option twice. Especially if it wasn't commented.

What is wrong with having the same CONFIG option twice?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-07 11:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 10:23 [Buildroot] [PATCH] wpa_supplicant: add mesh support (IEEE 80211s) yegorslists at googlemail.com
2016-11-07 10:50 ` Baruch Siach
2016-11-07 11:19   ` Yegor Yefremov
2016-11-07 11:43     ` Baruch Siach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.