1 /* 2 * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 * Description: thruput test header file. 15 */ 16 17 18 #ifndef __HMAC_THRUPUT_TEST_H__ 19 #define __HMAC_THRUPUT_TEST_H__ 20 21 #include "oal_ext_if.h" 22 #include "dmac_ext_if_hcm.h" 23 24 #ifdef __cplusplus 25 #if __cplusplus 26 extern "C" { 27 #endif 28 #endif 29 30 #define THRUPUT_BYPASS_LEN 1300 /* WIFI侧hw bypass发送长度:仅bypass iperf跑流长包 */ 31 32 osal_void hmac_set_thruput_test(osal_u8 type, osal_u8 value); 33 osal_void hmac_update_thruput(osal_u32 thruput); 34 osal_u8 hmac_is_thruput_test(osal_void); 35 osal_u8 hmac_is_thruput_enable(osal_u8 type); 36 osal_void hmac_delay(osal_u32 pos); 37 38 #ifdef __cplusplus 39 #if __cplusplus 40 } 41 #endif 42 #endif 43 44 #endif /* end of hmac_thruput_test.h */ 45