Re: [OpenWrt-Devel] Is printf considered to be guaranteed?

2018-10-12 Thread Sebastian Moeller
Dear mhei, > On Oct 12, 2018, at 20:53, Michael Heimpold wrote: > > Am Donnerstag, 11. Oktober 2018, 22:44:53 CEST schrieb Sebastian Moeller: >> Dear Luiz, >> >> thank you very much for this information. By now I have realized that printf >> evaluated locale (specifically LC_NUMERIC) at least

[OpenWrt-Devel] [openwrt-devel][PATCH 2/8] at91: bump kernel 4.9 to 4.14

2018-10-12 Thread Sandeep Sheriker Mallikarjun
Refreshed at91 patches and its configs files. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/Makefile |2 +- target/linux/at91/{config-4.9 => config-4.14} | 260 +++- .../100-ARM-at91-build-dtb-for-LMU5000.patch | 12 +- .../101-ARM-a

[OpenWrt-Devel] [openwrt-devel][PATCH 6/8] at91: Generate sdcard images for at91sam9x5ek boards.

2018-10-12 Thread Sandeep Sheriker Mallikarjun
Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/Makefile | 8 +++- target/linux/at91/image/sam9x.mk | 5 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index ff60b0a..f544d47 100

[OpenWrt-Devel] [openwrt-devel][PATCH 5/8] uboot-at91: bump linux4sam_5.8 to linux4sam_6.0

2018-10-12 Thread Sandeep Sheriker Mallikarjun
1. add support to build u-boot binaries for at91sam9x5ek socs 2. removed sama5d27_som1_ek_spiflash defconfig since this is removed in linux4sam_6.0 release 3. add -Wno-format-security in cflags for build success. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/uboot-at91/Makefil

[OpenWrt-Devel] [openwrt-devel][PATCH 3/8] at91bootstrap: bump v3.8.10 to v3.8.11

2018-10-12 Thread Sandeep Sheriker Mallikarjun
Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/at91bootstrap/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile index 22afd1e..30b7a7d 100644 --- a/package/boot/at91bootstrap/Ma

[OpenWrt-Devel] [openwrt-devel][PATCH 8/8] at91: Add uboot environment's

2018-10-12 Thread Sandeep Sheriker Mallikarjun
Add uboot environment's to sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/Makefile | 16 ++-- target/linux/at91/image/uboot-env.txt | 14 ++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 target/linux/at9

[OpenWrt-Devel] [openwrt-devel][PATCH 7/8] at91: generate fit image

2018-10-12 Thread Sandeep Sheriker Mallikarjun
generate & add fit image to sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/Makefile | 21 - target/linux/at91/image/sam9x.mk | 10 +- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/target/linux/at91/image/Makef

[OpenWrt-Devel] [openwrt-devel][PATCH 4/8] at91bootstrap: Add support to build at91sam9x5ek

2018-10-12 Thread Sandeep Sheriker Mallikarjun
Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/at91bootstrap/Makefile | 18 ++ 1 file changed, 18 insertions(+) diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile index 30b7a7d..026ef31 100644 --- a/package/boot/at91bootstrap/Ma

[OpenWrt-Devel] [openwrt-devel][PATCH 1/8] at91:renaming subtraget legacy to sam9x

2018-10-12 Thread Sandeep Sheriker Mallikarjun
renaming subtraget legacy to sam9x for adding new sam9 platforms Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/uboot-at91/Makefile | 4 ++-- target/linux/at91/Makefile | 5 +++-- target/linux/at91/image/Makefile | 4 ++--

[OpenWrt-Devel] [PATCH 6/9] hostapd: Add WPA-EAP-SUITE-B-192 (WPA3-Enterprise)

2018-10-12 Thread Hauke Mehrtens
This adds support for the WPA3-Enterprise mode authentication. The settings for the WPA3-Enterpriese mode are defined in WPA3_Specification_v1.0.pdf. This mode also requires ieee80211w and guarantees at least 192 bit of security. This does not increase the ipkg size by a significant size. Signed

[OpenWrt-Devel] [PATCH 5/9] hostapd: Activate Opportunistic Wireless Encryption (OWE)

2018-10-12 Thread Hauke Mehrtens
OWE is defined in RFC 8110 and provides encryption and forward security for open networks. This is based on the requirements in the Wifi alliance document Opportunistic_Wireless_Encryption_Specification_v1.0_0.pdf The wifi alliance requires ieee80211w for the OWE mode. This also makes it possible

[OpenWrt-Devel] [PATCH 9/9] netifd: Add support for wireless EAP-Suite-B-192 authentication

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...s-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch diff --git a/package/network/c

[OpenWrt-Devel] [PATCH 7/9] netifd: Add support for wireless SAE authentication

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...d-Simultaneous-Authentication-of-Equals-S.patch | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 package/network/config/netifd/patches/001-wireless-Add-Simultaneous-Authentication-of-Equals-S.patch diff --git a/package/netwo

[OpenWrt-Devel] [PATCH 1/9] hostapd: sync config with default configuration

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- .../services/hostapd/files/hostapd-full.config | 8 .../services/hostapd/files/hostapd-mini.config | 8 .../hostapd/files/wpa_supplicant-full.config | 20 +++- .../hostapd/files/wpa_supplicant-mini.config

[OpenWrt-Devel] [PATCH 0/9] hostapd: Add wupport for SAE / OWE / WPA3

2018-10-12 Thread Hauke Mehrtens
This adds support for SAE, OWE and WPA3 authentication modes to hostapd and netifd. Hostapd already supports these standards, they just have to be activated and the OpenWrt scripts needed some extension. When this gets merged the netifd patches should be directly applied to netifd and the vers

[OpenWrt-Devel] [PATCH 3/9] hostapd: SAE: Do not ignore option sae_require_mfp

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...-SAE-Do-not-ignore-option-sae_require_mfp.patch | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 package/network/services/hostapd/patches/130-SAE-Do-not-ignore-option-sae_require_mfp.patch diff --git a/package/network/servic

[OpenWrt-Devel] [PATCH 8/9] netifd: Add support for wireless OWE authentication

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...Add-Opportunistic-Wireless-Encryption-OWE.patch | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch diff --git a/package/network

[OpenWrt-Devel] [PATCH 2/9] hostapd: backport build fix when OWE is activated

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...-unauthenticated-encrypted-EAPOL-Key-data.patch | 7 +- ...ld-error-in-AP-code-without-CONFIG_IEEE80.patch | 29 ++ .../patches/380-disable_ctrl_iface_mib.patch | 4 +-- .../patches/381-hostapd_cli_UNKNOWN-COMMAND.patch | 4 +-

[OpenWrt-Devel] [PATCH 4/9] hostapd: Activate Simultaneous Authentication of Equals (SAE)

2018-10-12 Thread Hauke Mehrtens
This build the full openssl and wolfssl versions with SAE support which is the main part of WPA3 PSK. This needs elliptic curve cryptography which is only provided by these two external cryptographic libraries and not by the internal implementation. The WPA3_Specification_v1.0.pdf file says that

Re: [OpenWrt-Devel] Is printf considered to be guaranteed?

2018-10-12 Thread Michael Heimpold
Am Donnerstag, 11. Oktober 2018, 22:44:53 CEST schrieb Sebastian Moeller: > Dear Luiz, > > thank you very much for this information. By now I have realized that printf > evaluated locale (specifically LC_NUMERIC) at least on non-openwrt unices, > which makes it unfortunately unusable for my purpos

[OpenWrt-Devel] hostapd - strange build behaviour

2018-10-12 Thread e9hack
Hi, I did select hostapd with the * to include it in the image. The size of hostapd is 784k. If I select wpa-supplicant as a module in addition, the size of hostapd does decrease to 579k. Target system is Atheros ATH79. Both versions does work without any problem. Regards, Hartmut

Re: [OpenWrt-Devel] [RFC PATCH 0/2] wpad basic variant

2018-10-12 Thread Kevin Darbyshire-Bryant
> On 12 Oct 2018, at 16:26, Kevin Darbyshire-Bryant > wrote: > > Peoples! And I should mention, credit, thank that nice Mr Kresin for doing the ‘switch to basic’ patch for relevant targets. Cheers, Kevin ___ openwrt-devel mailing list openwrt-dev

[OpenWrt-Devel] [PATCH 2/2] treewide: use wpad-basic for not small flash targets

2018-10-12 Thread Kevin Darbyshire-Bryant
From: Mathias Kresin Add out of the box support for 802.11r and 802.11w to all targets not suffering from small flash. Signed-off-by: Mathias Kresin Signed-off-by: Kevin Darbyshire-Bryant --- .../linux/adm8668/profiles/100-WRTU54G-TM.mk | 2 +- target/linux/apm821xx/image/Makefile

[OpenWrt-Devel] [PATCH 1/2] hostapd: add basic variant

2018-10-12 Thread Kevin Darbyshire-Bryant
Add a basic variant which provides WPA-PSK only, 802.11r and 802.11w. Signed-off-by: Kevin Darbyshire-Bryant --- include/target.mk | 2 +- package/network/services/hostapd/Config.in| 6 + package/network/services/hostapd/Makefile | 37 ++ .../hostapd/file

[OpenWrt-Devel] [RFC PATCH 0/2] wpad basic variant

2018-10-12 Thread Kevin Darbyshire-Bryant
Peoples! I've had these two commits lurking in my tree for ages, never having quite got the courage up to commit the darn things as I feel well out of my depth & comfort zone. They're as a result of https://patchwork.ozlabs.org/patch/916121/ which I've had assigned to me for an equally long time.