cfg80211: provide a function to report a match for NAN
authorAyala Beker <ayala.beker@intel.com>
Tue, 20 Sep 2016 14:31:17 +0000 (17:31 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 30 Sep 2016 11:21:32 +0000 (13:21 +0200)
commit50bcd31d9992e99c231820f5276e70346cbfbc51
tree9b5e1302ed1478448919dc96ae538591c47aafa6
parenta5a9dcf291e1e541243878eed2d73a74006fa1f1
cfg80211: provide a function to report a match for NAN

Provide a function the driver can call to report a match.
This will send the event to the user space.
If the NAN instance is tied to the owner, the notifications will be
sent to the socket that started the NAN interface only.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c