MCUXpresso_MIMXRT1021xxxxx/middleware/wifi_nxp/incl/iperf.h
Yilin Sun 1cf36afbfa
Updated to SDK v2.14.0
Signed-off-by: Yilin Sun <imi415@imi.moe>
2023-08-31 23:30:31 +08:00

40 lines
910 B
C

/** @file iperf.h
*
* @brief This file provides the support for network utility iperf
*/
/*
* Copyright 2008-2020 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef _IPERF_H_
#define _IPERF_H_
#include <wmlog.h>
#define iperf_e(...) wmlog_e("iperf", ##__VA_ARGS__)
#define iperf_w(...) wmlog_w("iperf", ##__VA_ARGS__)
/** Register the Network Utility CLI command iperf.
*
* \note This function can only be called by the application after \ref
* wlan_init() called.
*
* \return WM_SUCCESS if the CLI commands are registered
* \return -WM_FAIL otherwise (for example if this function
* was called while the CLI commands were already registered)
*/
int iperf_cli_init();
/** Unregister Network Utility CLI command iperf.
*
* \return WM_SUCCESS if the CLI commands are unregistered
* \return -WM_FAIL otherwise
*/
int iperf_cli_deinit();
#endif /*_IPERF_H_ */