diff options
author | Ahmad Kholaif <akholaif@qca.qualcomm.com> | 2015-02-26 16:26:53 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-03 17:56:05 +0300 |
commit | 6c09e791b21309a1ad71f9702b766dae12a3cb0a (patch) | |
tree | fe12e02d50c8f754bae60cfc0a4d8f55f724c9dd /include/uapi/linux | |
parent | ffc1199122d83d60ad99f9c55df32feb650b7bff (diff) | |
download | linux-6c09e791b21309a1ad71f9702b766dae12a3cb0a.tar.xz |
cfg80211: Allow NL80211_ATTR_IFINDEX to be added to vendor events
This modifies cfg80211_vendor_event_alloc() with an additional argument
struct wireless_dev *wdev. __cfg80211_alloc_event_skb() is modified to
take in *wdev argument, if wdev != NULL, both the NL80211_ATTR_IFINDEX
and wdev identifier are added to the vendor event.
These changes make it easier for drivers to add ifindex indication in
vendor events cleanly.
This also updates all existing users of cfg80211_vendor_event_alloc()
and __cfg80211_alloc_event_skb() in the kernel tree.
Signed-off-by: Ahmad Kholaif <akholaif@qca.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions