1
2
3
4
5
6
7
8
9
10
11
12
13
14 struct rln_param {
15 u_int32_t rp_security;
16 #define RLN_SECURITY_DEFAULT 0x0010203
17 u_int8_t rp_station_type;
18 #define RLN_STATIONTYPE_SLAVE 0
19 #define RLN_STATIONTYPE_ALTMASTER 1
20 #define RLN_STATIONTYPE_MASTER 2
21 u_int8_t rp_domain;
22 u_int8_t rp_channel;
23 u_int8_t rp_subchannel;
24 char rp_master[11];
25 u_int8_t rp_mac_optimize;
26 #define RLN_MAC_OPTIM_LIGHT 0
27 #define RLN_MAC_OPTIM_NORMAL 1
28 u_int8_t rp_roam_config;
29 #define RLN_ROAM_SLOW 0
30 #define RLN_ROAM_NORMAL 1
31 #define RLN_ROAM_FAST 2
32 u_int8_t rp_peer_to_peer;
33 };
34
35 #ifdef notyet
36 #define RLNIOSPARAM _IOW('2', 1, struct rln_param)
37 #define RLNIOGPARAM _IOR('2', 2, struct rln_param)
38 #endif
39