project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
68 lines
1.3 KiB
C
68 lines
1.3 KiB
C
/*
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2018-08-06 tyx the first version
|
|
*/
|
|
|
|
#ifndef __WLAN_CFG_H__
|
|
#define __WLAN_CFG_H__
|
|
|
|
#include <wlan_dev.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef RT_WLAN_CFG_INFO_MAX
|
|
#define RT_WLAN_CFG_INFO_MAX (3) /* min is 1 */
|
|
#endif
|
|
|
|
#define RT_WLAN_CFG_MAGIC (0x426f6d62)
|
|
|
|
struct rt_wlan_cfg_info
|
|
{
|
|
struct rt_wlan_info info;
|
|
struct rt_wlan_key key;
|
|
};
|
|
|
|
typedef int (*rt_wlan_wr)(void *buff, int len);
|
|
|
|
struct rt_wlan_cfg_ops
|
|
{
|
|
int (*read_cfg)(void *buff, int len);
|
|
int (*get_len)(void);
|
|
int (*write_cfg)(void *buff, int len);
|
|
};
|
|
|
|
void rt_wlan_cfg_init(void);
|
|
|
|
void rt_wlan_cfg_set_ops(const struct rt_wlan_cfg_ops *ops);
|
|
|
|
int rt_wlan_cfg_get_num(void);
|
|
|
|
int rt_wlan_cfg_read(struct rt_wlan_cfg_info *cfg_info, int num);
|
|
|
|
int rt_wlan_cfg_read_index(struct rt_wlan_cfg_info *cfg_info, int index);
|
|
|
|
rt_err_t rt_wlan_cfg_save(struct rt_wlan_cfg_info *cfg_info);
|
|
|
|
rt_err_t rt_wlan_cfg_cache_refresh(void);
|
|
|
|
rt_err_t rt_wlan_cfg_cache_save(void);
|
|
|
|
int rt_wlan_cfg_delete_index(int index);
|
|
|
|
void rt_wlan_cfg_delete_all(void);
|
|
|
|
void rt_wlan_cfg_dump(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|