/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
ticon.c | 49 #define CHK_NULL(p) ((p)) ? (VOID) 0 : os_error_printf(CU_MSG_ERROR, (PS8)"\nfailed: '%s', file %s, line %d\n", #p, __FILE__, __LINE__); 50 #define CHK(p) ((!p)) ? (VOID) 0 : os_error_printf(CU_MSG_ERROR, (PS8)"\nfailed: '%s', file %s, line %d\n", #p, __FILE__, __LINE__); 88 CHK_NULL(h = (THandle) Console_AddDirExt(pTiCon->hConsole, (THandle) NULL, (PS8)"Driver", (PS8)"Driver start/stop" ) ); 89 Console_AddToken(pTiCon->hConsole,h, (PS8)"Start", (PS8)"Start driver", (FuncToken_t) CuCmd_StartDriver, NULL ); 90 Console_AddToken(pTiCon->hConsole,h, (PS8)"sTop", (PS8)"Stop driver", (FuncToken_t) CuCmd_StopDriver, NULL ); 91 Console_AddToken(pTiCon->hConsole,h, (PS8)"stAtus", (PS8)"Print status", (FuncToken_t) CuCmd_Show_Status, NULL ) [all...] |
console.c | 82 PS8 alias; /* Alias - always in upper case*/ 97 PS8 *name; /* Parameter name with totalParams size */ 111 PS8 p_inbuf; 125 static PS8 Console_ltrim(PS8 s) 135 static TokenType_t Console_analizeToken( PS8 name ) 140 if (!os_strcmp(name, (PS8)TOKEN_UP ) ) 143 if (!os_strcmp(name, (PS8)TOKEN_ROOT ) ) 146 if (!os_strcmp(name, (PS8)TOKEN_BREAK ) ) 149 if (!os_strcmp(name, (PS8)TOKEN_HELP ) [all...] |
cu_cmd.c | 53 os_error_printf(CU_MSG_INFO2, (PS8)"%d - %s%s", arr[i].value, arr[i].name, (i>=SIZE_ARR(arr)-1) ? (PS8)"\n" : (PS8)", " ); \ 114 { os802_11IBSS, (PS8)"AD-Hoc" }, 115 { os802_11Infrastructure, (PS8)"Infr." }, 116 { os802_11AutoUnknown, (PS8)"Auto" }, 121 { 0, (PS8)"SME Auto" }, 122 { 1, (PS8)"SME Manual" }, 127 { 0, (PS8)"INACTIVE" }, 128 { 1, (PS8)"ACTIVE" } [all...] |
wpa_core.c | 73 PS8 pWscPin; 132 THandle WpaCore_Create(PS32 pRes, PS8 pSupplIfFile) 138 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_Create - cant allocate control block\n"); 154 IpcWpa_Command(pWpaCore->hIpcWpa, (PS8)"AP_SCAN 2", FALSE); 229 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_SetAuthMode - unknown authentication mode (%d)!!!\n", AuthMode); 298 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_SetEncryptionGroup - group encryption cant be NONE\n"); 328 os_memcpy((PVOID)pWpaCore->WpaSupplParams.Identity, (PVOID)Identity, os_strlen((PS8)Identity)); 332 os_memcpy((PVOID)pWpaCore->WpaSupplParams.password, (PVOID)Passward, os_strlen((PS8)Passward)); 333 os_memcpy((PVOID)pWpaCore->WpaSupplParams.private_key_passwd, (PVOID)Passward, os_strlen((PS8)Passward)); 343 os_memcpy((PVOID)pWpaCore->WpaSupplParams.client_cert, (PVOID)Filepath, os_strlen((PS8)Filepath)) [all...] |
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
ticon.c | 49 #define CHK_NULL(p) ((p)) ? (VOID) 0 : os_error_printf(CU_MSG_ERROR, (PS8)"\nfailed: '%s', file %s, line %d\n", #p, __FILE__, __LINE__); 50 #define CHK(p) ((!p)) ? (VOID) 0 : os_error_printf(CU_MSG_ERROR, (PS8)"\nfailed: '%s', file %s, line %d\n", #p, __FILE__, __LINE__); 88 CHK_NULL(h = (THandle) Console_AddDirExt(pTiCon->hConsole, (THandle) NULL, (PS8)"Driver", (PS8)"Driver start/stop" ) ); 89 Console_AddToken(pTiCon->hConsole,h, (PS8)"Start", (PS8)"Start driver", (FuncToken_t) CuCmd_StartDriver, NULL ); 90 Console_AddToken(pTiCon->hConsole,h, (PS8)"sTop", (PS8)"Stop driver", (FuncToken_t) CuCmd_StopDriver, NULL ); 91 Console_AddToken(pTiCon->hConsole,h, (PS8)"stAtus", (PS8)"Print status", (FuncToken_t) CuCmd_Show_Status, NULL ) [all...] |
cu_cmd.c | 53 os_error_printf(CU_MSG_INFO2, (PS8)"%d - %s%s", arr[i].value, arr[i].name, (i>=SIZE_ARR(arr)-1) ? (PS8)"\n" : (PS8)", " ); \ 114 { os802_11IBSS, (PS8)"AD-Hoc" }, 115 { os802_11Infrastructure, (PS8)"Infr." }, 116 { os802_11AutoUnknown, (PS8)"Auto" }, 121 { 0, (PS8)"SME Auto" }, 122 { 1, (PS8)"SME Manual" }, 127 { 0, (PS8)"INACTIVE" }, 128 { 1, (PS8)"ACTIVE" } [all...] |
console.c | 82 PS8 alias; /* Alias - always in upper case*/ 97 PS8 *name; /* Parameter name with totalParams size */ 111 PS8 p_inbuf; 125 static PS8 Console_ltrim(PS8 s) 135 static TokenType_t Console_analizeToken( PS8 name ) 140 if (!os_strcmp(name, (PS8)TOKEN_UP ) ) 143 if (!os_strcmp(name, (PS8)TOKEN_ROOT ) ) 146 if (!os_strcmp(name, (PS8)TOKEN_BREAK ) ) 149 if (!os_strcmp(name, (PS8)TOKEN_HELP ) [all...] |
wpa_core.c | 73 PS8 pWscPin; 132 THandle WpaCore_Create(PS32 pRes, PS8 pSupplIfFile) 138 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_Create - cant allocate control block\n"); 154 IpcWpa_Command(pWpaCore->hIpcWpa, (PS8)"AP_SCAN 2", FALSE); 229 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_SetAuthMode - unknown authentication mode (%d)!!!\n", AuthMode); 298 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_SetEncryptionGroup - group encryption cant be NONE\n"); 328 os_memcpy((PVOID)pWpaCore->WpaSupplParams.Identity, (PVOID)Identity, os_strlen((PS8)Identity)); 332 os_memcpy((PVOID)pWpaCore->WpaSupplParams.password, (PVOID)Passward, os_strlen((PS8)Passward)); 333 os_memcpy((PVOID)pWpaCore->WpaSupplParams.private_key_passwd, (PVOID)Passward, os_strlen((PS8)Passward)); 343 os_memcpy((PVOID)pWpaCore->WpaSupplParams.client_cert, (PVOID)Filepath, os_strlen((PS8)Filepath)) [all...] |
/hardware/ti/wlan/wl1271/CUDK/os/common/inc/ |
cu_osapi.h | 89 PVOID os_fopen (const PS8 path, os_fopen_mode_e mode); 92 PS8 os_fgets (PS8 s, S32 size, PVOID stream); 99 PS8 os_strcpy(PS8 dest, const PS8 src); 100 PS8 os_strncpy(PS8 dest, const PS8 src, S32 n); 101 S32 os_strcmp(const PS8 s1, const PS8 s2) [all...] |
cu_ostypes.h | 10 typedef /*signed*/ char S8,*PS8,**PPS8;
|
/system/wlan/ti/wilink_6_1/CUDK/os/common/inc/ |
cu_osapi.h | 85 PVOID os_fopen (const PS8 path, os_fopen_mode_e mode); 88 PS8 os_fgets (PS8 s, S32 size, PVOID stream); 95 PS8 os_strcpy(PS8 dest, const PS8 src); 96 PS8 os_strncpy(PS8 dest, const PS8 src, S32 n); 97 S32 os_strcmp(const PS8 s1, const PS8 s2) [all...] |
cu_ostypes.h | 10 typedef /*signed*/ char S8,*PS8,**PPS8;
|
/hardware/ti/wlan/wl1271/CUDK/tiwlan_loader/ |
tiwlan_loader.c | 47 os_error_printf (CU_MSG_INFO1, (PS8)"Usage: ./wlan_loader [driver_name] [options]\n"); 48 os_error_printf (CU_MSG_INFO1, (PS8)" -e <filename> - eeprom image file name. default=./nvs_map.bin\n"); 49 os_error_printf (CU_MSG_INFO1, (PS8)" -n - no eeprom file\n"); 50 os_error_printf (CU_MSG_INFO1, (PS8)" -i <filename> - init file name. default=tiwlan.ini\n"); 51 os_error_printf (CU_MSG_INFO1, (PS8)" -f <filename> - firmware image file name. default=firmware.bin\n"); 56 S32 init_driver( PS8 adapter_name, PS8 eeprom_file_name, 57 PS8 init_file_name, PS8 firmware_file_name ) 71 os_error_printf(CU_MSG_INFO1, (PS8)"+---------------------------+\n") [all...] |
/system/wlan/ti/wilink_6_1/CUDK/tiwlan_loader/ |
tiwlan_loader.c | 47 os_error_printf (CU_MSG_INFO1, (PS8)"Usage: ./wlan_loader [driver_name] [options]\n"); 48 os_error_printf (CU_MSG_INFO1, (PS8)" -e <filename> - eeprom image file name. default=./nvs_map.bin\n"); 49 os_error_printf (CU_MSG_INFO1, (PS8)" -n - no eeprom file\n"); 50 os_error_printf (CU_MSG_INFO1, (PS8)" -i <filename> - init file name. default=tiwlan.ini\n"); 51 os_error_printf (CU_MSG_INFO1, (PS8)" -f <filename> - firmware image file name. default=firmware.bin\n"); 56 S32 init_driver( PS8 adapter_name, PS8 eeprom_file_name, 57 PS8 init_file_name, PS8 firmware_file_name ) 71 os_error_printf(CU_MSG_INFO1, (PS8)"+---------------------------+\n") [all...] |
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/ |
ipc_wpa.h | 37 THandle IpcWpa_Create(PS32 pRes, PS8 pSupplIfFile); 40 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print); 41 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen);
|
/system/wlan/ti/wilink_6_1/CUDK/os/linux/inc/ |
ipc_wpa.h | 37 THandle IpcWpa_Create(PS32 pRes, PS8 pSupplIfFile); 40 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print); 41 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen);
|
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/ |
osapi.c | 79 VOID os_error_printf(S32 debug_level, const PS8 arg_list ,...) 118 inline PS8 os_strcpy(PS8 dest, const PS8 src) 120 return (PS8)strcpy((char*)dest, (char*)src); 132 PS8 os_strncpy(PS8 dest, const PS8 src, S32 n) 134 return (PS8)strncpy((char*)dest, (char*)src, n); 146 S32 os_sprintf(PS8 str, const PS8 arg_list, ... [all...] |
ipc_wpa.c | 63 static S32 IpcWpa_Sockets_Open(TIpcWpa* pIpcWpa, PS8 pSupplIfFile) 79 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcWpa_Sockets_Open - can't connect the socket\n"); 96 THandle IpcWpa_Create(PS32 pRes, PS8 pSupplIfFile) 102 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcWpa_Create - cant allocate control block\n"); 126 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print) 138 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); 143 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed (%d).\n", cmd, ret); 149 os_error_printf(CU_MSG_INFO2, (PS8)"%s", Resp); 157 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen [all...] |
ipc_event.c | 93 static VOID IpcEvent_SendMessageToChild(IpcEvent_t* pIpcEvent, PS8 msg) 193 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_ASSOCIATED\n"); 196 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_MEDIA_SPECIFIC\n"); 199 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_SCAN_COMPLETE\n"); 203 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_SCAN_STOPPED\n"); 206 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_LINK_SPEED\n"); 209 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_AUTH_SUCC\n"); 212 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_CCKM_START\n"); 215 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_EAPOL\n"); 218 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_RE_AUTH_STARTED\n") [all...] |
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/ |
osapi.c | 79 VOID os_error_printf(S32 debug_level, const PS8 arg_list ,...) 118 inline PS8 os_strcpy(PS8 dest, const PS8 src) 120 return (PS8)strcpy((char*)dest, (char*)src); 132 PS8 os_strncpy(PS8 dest, const PS8 src, S32 n) 134 return (PS8)strncpy((char*)dest, (char*)src, n); 146 S32 os_sprintf(PS8 str, const PS8 arg_list, ... [all...] |
ipc_wpa.c | 63 static S32 IpcWpa_Sockets_Open(TIpcWpa* pIpcWpa, PS8 pSupplIfFile) 79 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcWpa_Sockets_Open - can't connect the socket\n"); 96 THandle IpcWpa_Create(PS32 pRes, PS8 pSupplIfFile) 102 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcWpa_Create - cant allocate control block\n"); 126 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print) 138 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); 143 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed (%d).\n", cmd, ret); 149 os_error_printf(CU_MSG_INFO2, (PS8)"%s", Resp); 157 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen [all...] |
ipc_event.c | 93 static VOID IpcEvent_SendMessageToChild(IpcEvent_t* pIpcEvent, PS8 msg) 193 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_ASSOCIATED\n"); 196 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_MEDIA_SPECIFIC\n"); 199 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_SCAN_COMPLETE\n"); 203 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_SCAN_STOPPED\n"); 206 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_LINK_SPEED\n"); 209 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_AUTH_SUCC\n"); 212 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_CCKM_START\n"); 215 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_EAPOL\n"); 218 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_RE_AUTH_STARTED\n") [all...] |
/hardware/ti/wlan/wl1271/CUDK/configurationutility/inc/ |
console.h | 63 PS8 name; /* Parameter name. Shouldn't be allocated on stack! */ 76 THandle Console_Create(const PS8 device_name, S32 BypassSupplicant, PS8 pSupplIfFile); 83 const PS8 name, 84 const PS8 desc ); 87 const PS8 name, 88 const PS8 help,
|
cu_common.h | 52 THandle CuCommon_Create(THandle *pIpcSta, const PS8 device_name); 66 S32 CuCommon_GetRssi(THandle hCuCommon, PS8 pdRssi, PS8 pbRssi);
|
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/inc/ |
console.h | 63 PS8 name; /* Parameter name. Shouldn't be allocated on stack! */ 76 THandle Console_Create(const PS8 device_name, S32 BypassSupplicant, PS8 pSupplIfFile); 83 const PS8 name, 84 const PS8 desc ); 87 const PS8 name, 88 const PS8 help,
|