-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathmiracast.h
57 lines (45 loc) · 1.43 KB
/
miracast.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* Sigma Control API DUT - Miracast interface
* Copyright (c) 2017, Qualcomm Atheros, Inc.
* All Rights Reserved.
* Licensed under the Clear BSD license. See README for more details.
*/
#ifndef SIGMA_MIRACAST_H
#define SIGMA_MIRACAST_H
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef ANDROID
#include "properties.h"
#endif /* ANDROID */
struct sigma_dut;
struct sigma_conn;
struct sigma_cmd;
void miracast_init(struct sigma_dut *sigma_dut);
void miracast_deinit(struct sigma_dut *sigma_dut);
void miracast_start_autonomous_go(struct sigma_dut *dut,
struct sigma_conn *conn,
struct sigma_cmd *cmd, char *ifname);
int miracast_dev_send_frame(struct sigma_dut *dut, struct sigma_conn *conn,
struct sigma_cmd *cmd);
int miracast_dev_exec_action(struct sigma_dut *dut, struct sigma_conn *conn,
struct sigma_cmd *cmd);
int miracast_preset_testparameters(struct sigma_dut *dut,
struct sigma_conn *conn,
struct sigma_cmd *cmd);
int miracast_cmd_sta_get_parameter(struct sigma_dut *dut,
struct sigma_conn *conn,
struct sigma_cmd *cmd);
void miracast_sta_reset_default(struct sigma_dut *dut, struct sigma_conn *conn,
struct sigma_cmd *cmd);
#endif /* SIGMA_MIRACAST_H */