void connDebugFunction(TI_HANDLE hConn, TI_UINT32 funcType, void *pParam) { switch (funcType) { case CONN_PRINT_TEST_FUNCTIONS: printConnDbgFunctions(); break; case CONN_PRINT_TEST: break; default: break; } }
void connDebugFunction(TI_HANDLE hConn, TI_UINT32 funcType, void *pParam) { conn_t *pConn = (conn_t *)hConn; switch (funcType) { case CONN_PRINT_TEST_FUNCTIONS: printConnDbgFunctions(); break; case CONN_PRINT_TEST: WLAN_OS_REPORT(("Connection Print Test, param = %d , curr state %d\n\n", *((TI_UINT32 *)pParam), pConn->state)); break; default: WLAN_OS_REPORT(("Invalid function type in Debug Connection Function Command: %d\n\n", funcType)); break; } }