blob: 2d4bab08a7f605d70584ac05f56d06d3203b07da [file] [log] [blame]
Johannes Berg8d5d7ba2012-11-06 11:31:55 +01001#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
Sunil Ravi44e0e582022-03-05 11:09:09 -080012static int handle_p2p_start(struct nl80211_state *state,
Johannes Berg8d5d7ba2012-11-06 11:31:55 +010013 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
Sunil Ravi44e0e582022-03-05 11:09:09 -080020static int handle_p2p_stop(struct nl80211_state *state,
Johannes Berg8d5d7ba2012-11-06 11:31:55 +010021 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, "");