forked from Ivasoft/openwrt
ar71xx: routerboot: add support for extended radio data
On newer Mikrotik boards, the radio calibration data is stored differently and uses LZO compression instead of RLE. Update the RouterBOOT helper code to support the new format. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45297
This commit is contained in:
@@ -24,6 +24,7 @@ struct rb_info {
|
||||
#ifdef CONFIG_ATH79_ROUTERBOOT
|
||||
const struct rb_info *rb_init_info(void *data, unsigned int size);
|
||||
void *rb_get_wlan_data(void);
|
||||
void *rb_get_ext_wlan_data(u16 id);
|
||||
|
||||
int routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id,
|
||||
u8 **tag_data, u16 *tag_len);
|
||||
@@ -40,6 +41,11 @@ static inline void *rb_get_wlan_data(void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline void *rb_get_wlan_data(u16 id)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline int
|
||||
routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id,
|
||||
u8 **tag_data, u16 *tag_len)
|
||||
|
||||
Reference in New Issue
Block a user