1 /* 2 * Copyright 2021-2024 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #if CONFIG_WIFI_FEATURES 8 /** Register WLAN Features CLI commands. 9 * 10 * Register the WLAN Features CLI commands offload and hostwake features. 11 * 12 * \note This function can only be called by the application after \ref wlan_init() 13 * called. 14 * 15 * \return WM_SUCCESS if the CLI commands were registered or 16 * \return -WM_FAIL if they were not (for example if this function 17 * was called while the CLI commands were already registered). 18 */ 19 int wlan_features_cli_init(void); 20 21 /** Unregister WLAN Features CLI commands. 22 * 23 * Unegister the WLAN Features CLI commands offload and hostwake features. 24 * 25 * \note This function can only be called by the application after \ref wlan_init() 26 * called. 27 * 28 * \return WM_SUCCESS if the CLI commands were unregistered or 29 * \return -WM_FAIL if they were not unregistered 30 */ 31 int wlan_features_cli_deinit(void); 32 #endif 33