]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1afbc70b419455f0b39ad6018b7ee34e861ddca
treedcf39b513c66c43381be6e3882a72f7554a1107a
parent5dbcef515858059a162d9ebb1bc18022521059c6
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