/* Copyright 2008-2024 NXP * * SPDX-License-Identifier: BSD-3-Clause * */ /*! \file wlan_tests.h * \brief WLAN Connection Manager Tests */ #ifndef __WLAN_TESTS_H__ #define __WLAN_TESTS_H__ #if CONFIG_11AX /* index enum of cfgs */ enum { TEST_WLAN_11AX_CFG, #if CONFIG_11AX_TWT TEST_WLAN_BCAST_TWT, TEST_WLAN_TWT_SETUP, TEST_WLAN_TWT_TEARDOWN, #endif /* CONFIG_11AX_TWT */ }; /* * Structs for mutiple config data in freeRTOS, split cfg to various param modules. * Modify cfg data by param index * test_cfg_param_t param module of cfg * test_cfg_table_t cfg table for all the param modules of a cfg */ typedef struct { /* name of param */ const char *name; /* offset in cfg data */ int offset; int len; const char *notes; } test_cfg_param_t; typedef struct { /* name of cfg */ const char *name; /* point of stored data for sending cmd, stored in Little-Endian */ uint8_t *data; /* len of data */ int len; /* point of list for all the params */ const test_cfg_param_t *param_list; /* total number of params */ int param_num; } test_cfg_table_t; /* * Cfg table process * syntax: "wlan-11axcfg