diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2015-04-07 20:03:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2015-04-07 20:03:35 +0000 |
commit | 76b5a9aa7d9ca0dcd7369e302f943d7a128621da (patch) | |
tree | 896b47c256f062b82b318e7028472282a6711330 /target/linux/ar71xx/files/arch/mips/ath79/routerboot.h | |
parent | f0cbd004ee3992c6c8cbee0466fa5a53bbf50e80 (diff) | |
download | upstream-76b5a9aa7d9ca0dcd7369e302f943d7a128621da.tar.gz upstream-76b5a9aa7d9ca0dcd7369e302f943d7a128621da.tar.bz2 upstream-76b5a9aa7d9ca0dcd7369e302f943d7a128621da.zip |
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
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/routerboot.h')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/routerboot.h | 6 |
1 files changed, 6 insertions, 0 deletions
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) |