[LEDE-DEV] Setting *wireless* MTU, "UCI-compliant" way?

Daniel Golle daniel at makrotopia.org
Mon Apr 30 09:55:47 PDT 2018


Hi Jeff,

On Mon, Apr 30, 2018 at 08:59:12AM -0700, Jeff Kletsky wrote:
> TL;DR
> 
> When wireless is used as transport for an encapsulated stream, it can be
> beneficial (or essential) to increase the MTU of the link closer to the 2304
> 802.11 MTU. I haven't found a way to set the MTU of the wireless device
> itself through UCI. If there's something I'm missing, I'd appreciate hearing
> about it.

The wireless config section is kinda only up to layer 1.5, so
everything on netdev level has to be done in the network UCI config.
Example:

config interface 'wireless0'
	option proto 'none'
	option mtu '1536'

(in order to avoid batman-adv fragmenting)


Cheers


Daniel



More information about the Lede-dev mailing list