OSDN Git Service

nl80211: limit band information in non-split data
authorJohannes Berg <johannes.berg@intel.com>
Mon, 12 Jul 2021 19:53:30 +0000 (21:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jul 2021 08:35:15 +0000 (10:35 +0200)
commit0d059964504a1605d84938c0b5b38f6573121c4a
tree019dcb115edb5b8ae1a1e7b8f5545f5920271321
parent17109e9783799be2a063b2bd861a508194b0a487
nl80211: limit band information in non-split data

In non-split data, we shouldn't be adding S1G and 6 GHz
data (or future bands) since we're really close to the
4k message size limit. Remove those bands, any modern
userspace that can use S1G or 6 GHz should already be
using split dumps, and if not then it needs to update.

Link: https://lore.kernel.org/r/20210712215329.31444162a2c2.I5555312e4a074c84f8b4e7ad79dc4d1fbfc5126c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c