Re: [PATH] Allow mtu bigger than 1500 for ieee80211

2006-09-29 Thread Joerg Roedel
On Fri, Sep 29, 2006 at 01:56:10PM +0200, Johannes Berg wrote: > On Fri, 2006-09-29 at 11:30 +0200, Joerg Roedel wrote: > > Isn't 68 the minimum MTU required by IPv4? > > No idea, but shouldn't there be a named constant somewhere for that > then? Maybe. Other network drivers also implement this

Re: [PATH] Allow mtu bigger than 1500 for ieee80211

2006-09-29 Thread Johannes Berg
On Fri, 2006-09-29 at 11:30 +0200, Joerg Roedel wrote: > On Fri, Sep 29, 2006 at 09:38:21AM +0200, Johannes Berg wrote: > > On Thu, 2006-09-28 at 19:57 +0200, matthieu castet wrote: > > > > > + if ((new_mtu < 68) || (new_mtu > IEEE80211_DATA_LEN)) > > > + return -EINVAL; > > > > What's wi

Re: [PATH] Allow mtu bigger than 1500 for ieee80211

2006-09-29 Thread Joerg Roedel
On Fri, Sep 29, 2006 at 09:38:21AM +0200, Johannes Berg wrote: > On Thu, 2006-09-28 at 19:57 +0200, matthieu castet wrote: > > > + if ((new_mtu < 68) || (new_mtu > IEEE80211_DATA_LEN)) > > + return -EINVAL; > > What's with that lower limit, why 68? Isn't 68 the minimum MTU required b

Re: [PATH] Allow mtu bigger than 1500 for ieee80211

2006-09-29 Thread Johannes Berg
On Thu, 2006-09-28 at 19:57 +0200, matthieu castet wrote: > + if ((new_mtu < 68) || (new_mtu > IEEE80211_DATA_LEN)) > + return -EINVAL; What's with that lower limit, why 68? johannes - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [

[PATH] Allow mtu bigger than 1500 for ieee80211

2006-09-28 Thread matthieu castet
Hi this patch allow to set the mtu between 1500 and 2304 (max octets in an MSDU) for devices using ieee80211 linux stack. Signed-off-by: Matthieu CASTET <[EMAIL PROTECTED]> Index: linux/net/ieee80211/ieee80211_module.c === --- lin