nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #ifndef HAVE_OSDEP_H |
2 | #define HAVE_OSDEP_H |
||
3 | |||
4 | #include "packet.h" |
||
5 | |||
6 | #ifdef __GNUC__ |
||
7 | #define VARIABLE_IS_NOT_USED __attribute__ ((unused)) |
||
8 | #else |
||
9 | #define VARIABLE_IS_NOT_USED |
||
10 | #endif |
||
11 | |||
12 | #define VALID_RATE_COUNT 12 |
||
13 | static VARIABLE_IS_NOT_USED int VALID_BITRATES[VALID_RATE_COUNT] = { 1000000, 2000000, 5500000, 6000000, 9000000, 11000000, 12000000, 18000000, 24000000, 36000000, 48000000, 54000000 }; |
||
14 | |||
15 | int osdep_start(char *interface); |
||
16 | |||
17 | int osdep_send_packet(struct packet *pkt); |
||
18 | |||
19 | struct packet osdep_read_packet(); |
||
20 | |||
21 | void osdep_set_channel(int channel); |
||
22 | |||
23 | int osdep_get_channel(); |
||
24 | |||
25 | void osdep_set_rate(int rate); |
||
26 | |||
27 | //IDS Evasion (Ghosting) |
||
28 | #ifdef __linux__ |
||
29 | void osdep_init_txpowers(); |
||
30 | void osdep_random_txpower(int min); |
||
31 | int osdep_get_max_txpower(); |
||
32 | #endif |
||
33 | |||
34 | #endif |