]> git.ipfire.org Git - thirdparty/iw.git/blame - p2p.c
iw: bump version to 4.7
[thirdparty/iw.git] / p2p.c
CommitLineData
8d5d7ba7
JB
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
10SECTION(p2p);
11
34b23014 12static int handle_p2p_start(struct nl80211_state *state,
8d5d7ba7
JB
13 struct nl_msg *msg, int argc, char **argv,
14 enum id_input id)
15{
16 return 0;
17}
18COMMAND(p2p, start, "", NL80211_CMD_START_P2P_DEVICE, 0, CIB_WDEV, handle_p2p_start, "");
19
34b23014 20static int handle_p2p_stop(struct nl80211_state *state,
8d5d7ba7
JB
21 struct nl_msg *msg, int argc, char **argv,
22 enum id_input id)
23{
24 return 0;
25}
26COMMAND(p2p, stop, "", NL80211_CMD_STOP_P2P_DEVICE, 0, CIB_WDEV, handle_p2p_stop, "");