mbox series

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

Message ID 20181012152607.51628-1-ldir@darbyshire-bryant.me.uk
Headers show
Series wpad basic variant | expand

Message

Kevin 'ldir' Darbyshire-Bryant Oct. 12, 2018, 3:26 p.m. UTC
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.

There were concerns about the size increase by support 11r & 11w which
prompted the idea of generating a 'wpad-basic' variant for the tiny
targets with limited flash space and adding a whizbang special effects
to the normal variant.

I'd like to keep that very nice Mr Woodhouse happy, and was/am going to
discuss this at the conference to get some help/advice etc, but it's
probably best to send this in now so people can formulate a response in
advance.

Help, guidance appreciated.... shouting less so but if need be :-)

Kevin

Kevin Darbyshire-Bryant (1):
  hostapd: add basic variant

Mathias Kresin (1):
  treewide: use wpad-basic for not small flash targets

 include/target.mk                             |   2 +-
 package/network/services/hostapd/Config.in    |   6 +
 package/network/services/hostapd/Makefile     |  37 ++
 .../hostapd/files/hostapd-basic.config        | 380 +++++++++++
 .../hostapd/files/wpa_supplicant-basic.config | 593 ++++++++++++++++++
 .../linux/adm8668/profiles/100-WRTU54G-TM.mk  |   2 +-
 target/linux/apm821xx/image/Makefile          |   2 +-
 target/linux/apm821xx/nand/target.mk          |   2 +-
 .../apm821xx/sata/profiles/00-default.mk      |   2 +-
 target/linux/ar7/generic/target.mk            |   2 +-
 target/linux/ar71xx/Makefile                  |   2 +-
 target/linux/ar71xx/generic/target.mk         |   2 +
 target/linux/ar71xx/image/generic.mk          |   4 +-
 target/linux/ar71xx/mikrotik/target.mk        |   2 +-
 target/linux/ar71xx/nand/target.mk            |   2 +
 target/linux/ar71xx/tiny/target.mk            |   2 +
 .../arc770/generic/profiles/00-default.mk     |   2 +-
 .../archs38/generic/profiles/00-default.mk    |   2 +-
 target/linux/ath79/Makefile                   |   2 +-
 target/linux/ath79/generic/target.mk          |   2 +
 target/linux/ath79/nand/target.mk             |   2 +
 target/linux/ath79/tiny/target.mk             |   2 +
 target/linux/au1000/au1500/target.mk          |   2 -
 target/linux/au1000/au1550/target.mk          |   2 -
 target/linux/bcm53xx/image/Makefile           |   2 +-
 target/linux/brcm2708/image/Makefile          |   6 +-
 target/linux/brcm47xx/Makefile                |   2 +-
 .../generic/profiles/101-Broadcom-wl.mk       |   2 +-
 .../generic/profiles/105-Broadcom-none.mk     |   2 +-
 .../generic/profiles/201-Broadcom-b44-wl.mk   |   2 +-
 .../generic/profiles/205-Broadcom-b44-none.mk |   2 +-
 .../generic/profiles/211-Broadcom-tg3-wl.mk   |   2 +-
 .../generic/profiles/215-Broadcom-tg3-none.mk |   2 +-
 .../generic/profiles/221-Broadcom-bgmac-wl.mk |   2 +-
 .../profiles/225-Broadcom-bgmac-none.mk       |   2 +-
 .../brcm47xx/generic/profiles/PS-1208MFG.mk   |   2 +-
 target/linux/brcm47xx/generic/target.mk       |   2 +
 target/linux/brcm47xx/legacy/target.mk        |   2 +
 .../mips74k/profiles/102-Broadcom-wl.mk       |   2 +-
 .../mips74k/profiles/103-Broadcom-none.mk     |   2 +-
 target/linux/brcm47xx/mips74k/target.mk       |   2 +
 target/linux/brcm63xx/image/Makefile          |  10 +-
 target/linux/brcm63xx/profiles/default.mk     |   2 +-
 target/linux/cns3xxx/Makefile                 |   2 +-
 target/linux/ipq40xx/Makefile                 |   2 +-
 target/linux/ipq806x/Makefile                 |   2 +-
 .../ixp4xx/generic/profiles/200-NSLU2.mk      |   2 +-
 .../ixp4xx/generic/profiles/500-USR8200.mk    |   2 +-
 target/linux/ixp4xx/generic/target.mk         |   2 +-
 target/linux/kirkwood/image/Makefile          |   4 +-
 target/linux/kirkwood/profiles/00-default.mk  |   2 +-
 target/linux/lantiq/image/Makefile            |  66 +-
 target/linux/lantiq/image/tp-link.mk          |   4 +-
 target/linux/malta/Makefile                   |   2 +-
 target/linux/mediatek/Makefile                |   2 +-
 target/linux/mpc85xx/Makefile                 |   2 +-
 target/linux/mpc85xx/image/Makefile           |   4 +-
 target/linux/mvebu/image/cortex-a9.mk         |   4 +-
 target/linux/mvebu/profiles/000-Default.mk    |   2 +-
 target/linux/omap/profiles/00-default.mk      |   2 +-
 target/linux/orion/Makefile                   |   2 +-
 target/linux/ramips/image/mt7621.mk           |  58 +-
 target/linux/ramips/image/rt305x.mk           |   2 +-
 target/linux/ramips/mt7620/target.mk          |   2 +-
 target/linux/ramips/mt76x8/target.mk          |   2 +-
 target/linux/rb532/Makefile                   |   2 +-
 target/linux/sunxi/image/cortex-a7.mk         |   4 +-
 target/linux/sunxi/profiles/00-default.mk     |   2 +-
 target/linux/uml/Makefile                     |   2 +-
 target/linux/x86/geode/target.mk              |   2 +-
 70 files changed, 1161 insertions(+), 131 deletions(-)
 create mode 100644 package/network/services/hostapd/files/hostapd-basic.config
 create mode 100644 package/network/services/hostapd/files/wpa_supplicant-basic.config

Comments

Kevin Darbyshire-Bryant Oct. 12, 2018, 3:41 p.m. UTC | #1
> On 12 Oct 2018, at 16:26, Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> wrote:
> 
> Peoples!

And I should mention, credit, thank that nice Mr Kresin for doing the ‘switch to basic’ patch for relevant targets.

Cheers,

Kevin
Hauke Mehrtens Oct. 14, 2018, 9:42 p.m. UTC | #2
On 10/12/2018 05:26 PM, Kevin Darbyshire-Bryant wrote:
> 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.
> 
> There were concerns about the size increase by support 11r & 11w which
> prompted the idea of generating a 'wpad-basic' variant for the tiny
> targets with limited flash space and adding a whizbang special effects
> to the normal variant.
> 
> I'd like to keep that very nice Mr Woodhouse happy, and was/am going to
> discuss this at the conference to get some help/advice etc, but it's
> probably best to send this in now so people can formulate a response in
> advance.
> 
> Help, guidance appreciated.... shouting less so but if need be :-)
> 
> Kevin

I already though about something similar.
But when I look at all the different build variants we have I think this
is too much, it confuses me.
I think we have 3 classes of devices 4MB flash, 8MB flash and 16MB+ flash.
I would use two variants with openssl and wolfssl which supports
everything, so the full variant which then also includes MESH and P2P.
There we probably only need wpad and not wpa_supplicant and hostapd.

Then the bigger question is what do we need on the constrained devices?

Hauke