2 * Copyright (C) 2011 Motorola, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 #ifndef __RADIO_CLASS_H__
19 #define __RADIO_CLASS_H__
25 ssize_t (*power_status)(struct radio_dev *rdev, char *buf);
26 ssize_t (*status)(struct radio_dev *rdev, char *buf);
27 ssize_t (*command)(struct radio_dev *rdev, char *buf);
30 extern void radio_dev_unregister(struct radio_dev *radio_cdev);
31 extern int radio_dev_register(struct radio_dev *radio_cdev);
33 #define RADIO_STATUS_MAX_LENGTH 32
34 #define RADIO_COMMAND_MAX_LENGTH 32
35 #define RADIO_BOOTMODE_NORMAL 0
36 #define RADIO_BOOTMODE_FLASH 1
37 #endif /* __RADIO_CLASS_H__ */