aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorAhmad Kholaif <akholaif@qca.qualcomm.com>2015-02-26 15:26:53 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-03-03 15:56:05 +0100
commit6c09e791b21309a1ad71f9702b766dae12a3cb0a (patch)
treefe12e02d50c8f754bae60cfc0a4d8f55f724c9dd /drivers/net/wireless/mac80211_hwsim.c
parentcfg80211: add VHT support for IBSS (diff)
downloadlinux-dev-6c09e791b21309a1ad71f9702b766dae12a3cb0a.tar.xz
linux-dev-6c09e791b21309a1ad71f9702b766dae12a3cb0a.zip
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 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions