]> git.ipfire.org Git - thirdparty/iw.git/blob - p2p.c
iw: bump version to 4.7
[thirdparty/iw.git] / p2p.c
1 #include <netlink/genl/genl.h>
2 #include <netlink/genl/family.h>
3 #include <netlink/genl/ctrl.h>
4 #include <netlink/msg.h>
5 #include <netlink/attr.h>
6
7 #include "nl80211.h"
8 #include "iw.h"
9
10 SECTION(p2p);
11
12 static int handle_p2p_start(struct nl80211_state *state,
13 struct nl_msg *msg, int argc, char **argv,
14 enum id_input id)
15 {
16 return 0;
17 }
18 COMMAND(p2p, start, "", NL80211_CMD_START_P2P_DEVICE, 0, CIB_WDEV, handle_p2p_start, "");
19
20 static int handle_p2p_stop(struct nl80211_state *state,
21 struct nl_msg *msg, int argc, char **argv,
22 enum id_input id)
23 {
24 return 0;
25 }
26 COMMAND(p2p, stop, "", NL80211_CMD_STOP_P2P_DEVICE, 0, CIB_WDEV, handle_p2p_stop, "");