summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-01 14:03:49 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-03-01 15:05:19 +0100
commit645e77def93f1dd0e211c7244fbe152dac8a7100 (patch)
tree319be421ebcaa108bfaf0f07de0820f42ba6cee3 /net/mac80211
parentfeda30271e5455394c57e35eba66db88d1b15077 (diff)
nl80211: increase wiphy dump size dynamically
Given a device with many channels capabilities the wiphy information can still overflow even though its size in 3.9 was reduced to 3.8 levels. For new userspace and kernel 3.10 we're going to implement a new "split dump" protocol that can use multiple messages per wiphy. For now though, add a workaround to be able to send more information to userspace. Since generic netlink doesn't have a way to set the minimum dump size globally, and we wouldn't really want to set it globally anyway, increase the size only when needed, as described in the comments. As userspace might not be prepared for large buffers, we can only use 4k. Also increase the size for the get_wiphy command. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions