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

Daniel Golle daniel at makrotopia.org
Mon Apr 30 12:55:47 EDT 2018

Hi Jeff,

On Mon, Apr 30, 2018 at 08:59:12AM -0700, Jeff Kletsky wrote:
> 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.

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

(in order to avoid batman-adv fragmenting)


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list