diff options
author | 2016-08-03 17:02:15 -0500 | |
---|---|---|
committer | 2016-09-12 11:24:46 +0200 | |
commit | b7fb44dacae04219c82f20897382ba34860d1a16 (patch) | |
tree | fb36f6d410bd78c8c53a0175ddae4e108f33ddfb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device (diff) | |
download | linux-dev-b7fb44dacae04219c82f20897382ba34860d1a16.tar.xz linux-dev-b7fb44dacae04219c82f20897382ba34860d1a16.zip |
nl80211: Allow GET_INTERFACE dumps to be filtered
This patch allows GET_INTERFACE dumps to be filtered based on
NL80211_ATTR_WIPHY or NL80211_ATTR_WDEV. The documentation for
GET_INTERFACE mentions that this is possible:
"Request an interface's configuration; either a dump request on
a %NL80211_ATTR_WIPHY or ..."
However, this behavior has not been implemented until now.
Johannes: rewrite most of the patch:
* use nl80211_dump_wiphy_parse() to also allow passing an interface
to be able to dump its siblings
* fix locking (must hold rtnl around using nl80211_fam.attrbuf)
* make init self-contained instead of relying on other cb->args
Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions