From 0c240b2a3b74f22d4ec4e2f41a4109e15712cac0 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 7 Apr 2015 20:03:35 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45297 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ath79/routerboot.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ar71xx/files/arch/mips/ath79/routerboot.h') diff --git a/target/linux/ar71xx/files/arch/mips/ath79/routerboot.h b/target/linux/ar71xx/files/arch/mips/ath79/routerboot.h index 6ec296afd4..c1d7fb9ee0 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/routerboot.h +++ b/target/linux/ar71xx/files/arch/mips/ath79/routerboot.h @@ -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) -- cgit v1.2.3