diff options
author | Denis Kenzior <denkenz@gmail.com> | 2019-07-22 06:33:12 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-07-26 16:14:13 +0200 |
commit | ae6fa4d5e94ea520506b691140ebcb5dc6bf0a17 (patch) | |
tree | 64d0cc343acfa143bb6439fc6a7134a4f9f99d5a /net/wireless/mlme.c | |
parent | 7a113110fc8cdda14023c0bffc7bd8b5f3da1edf (diff) |
nl80211: Include wiphy address setup in NEW_WIPHY
Include wiphy address setup in wiphy dumps and new wiphy events. The
wiphy permanent address is exposed as ATTR_MAC. If addr_mask is setup,
then it is included as ATTR_MAC_MASK attribute. If multiple addresses
are available, then their are exposed in a nested ATTR_MAC_ADDRS array.
This information is already exposed via sysfs, but it makes sense to
include it in the wiphy dump as well.
Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Link: https://lore.kernel.org/r/20190722113312.14031-3-denkenz@gmail.com
[use just nla_nest_start(), this is new functionality]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/mlme.c')
0 files changed, 0 insertions, 0 deletions