3651f27b89d52336acd529d0823dadc11ebe9022
[debian/gnuradio] / usrp2 / firmware / lib / db_bitshark_rx.h
1 /*
2  * Copyright 2010 Free Software Foundation, Inc.
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  *
17  */
18
19 #ifndef DB_BITSHARK_RX_H
20 #define DB_BITSHARK_RX_H
21
22 #include <db_base.h>
23
24 struct db_bitshark_rx_extra 
25 {
26     uint16_t bw_min;
27     uint16_t bw_max;
28     bool     (*set_bw)(struct db_base *, uint16_t bw);
29         
30 };
31
32 struct db_bitshark_rx_dummy 
33 {
34   struct db_base        base;
35   struct db_bitshark_rx_extra   extra;
36 };
37
38
39 struct db_bitshark_rx 
40 {
41   struct db_base        base;
42   struct db_bitshark_rx_extra extra;
43 };
44
45
46 #endif /* DB_BITSHARK_RX_H */