mac80211: allow drivers to set max MTU
authorWen Gong <wgong@codeaurora.org>
Fri, 6 Sep 2019 02:48:57 +0000 (10:48 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Sep 2019 07:33:29 +0000 (09:33 +0200)
commit06354665f92fa8be36124a8ba7113cdfa40d9df5
treedcf39b513c66c43381be6e3882a72f7554a1107a
parent24f6d765c8926ef32b88db8abab4188f23094d46
mac80211: allow drivers to set max MTU

Make it possibly for drivers to adjust the default max_mtu
by storing it in the hardware struct and using that value
for all interfaces.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Link: https://lore.kernel.org/r/1567738137-31748-1-git-send-email-wgong@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/iface.c
net/mac80211/main.c