add radio_state set/query support
[project/umbim.git] / data / mbim-service-auth.h
1 /*
2  * ID: 1
3  * Command: Aka
4  */
5
6 #define MBIM_CMD_AUTH_AKA       1
7
8 struct mbim_auth_aka_q = {
9         struct mbim_byte_array rand;
10         struct mbim_byte_array autn;
11 }
12
13 struct mbim_auth_aka_r =
14         struct mbim_byte_array res;
15         u32 reslen;
16         struct mbim_byte_array integratingkey;
17         struct mbim_byte_array cipheringkey;
18         struct mbim_byte_array auts;
19 }
20
21 /*
22  * ID: 2
23  * Command: Akap
24  */
25
26 #define MBIM_CMD_AUTH_AKAP      2
27
28 struct mbim_auth_akap_q = {
29         struct mbim_byte_array rand;
30         struct mbim_byte_array autn;
31         struct mbim_string networkname;
32 }
33
34 struct mbim_auth_akap_r =
35         struct mbim_byte_array res;
36         u32 reslen;
37         struct mbim_byte_array integratingkey;
38         struct mbim_byte_array cipheringkey;
39         struct mbim_byte_array auts;
40 }
41
42 /*
43  * ID: 3
44  * Command: Sim
45  */
46
47 #define MBIM_CMD_AUTH_SIM       3
48
49 struct mbim_auth_sim_q = {
50         struct mbim_byte_array rand1;
51         struct mbim_byte_array rand2;
52         struct mbim_byte_array rand3;
53         u32 n;
54 }
55
56 struct mbim_auth_sim_r =
57         u32 sres1;
58         u64 kc1;
59         u32 sres2;
60         u64 kc2;
61         u32 sres3;
62         u64 kc3;
63         u32 n;
64 }
65