/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
D | ticon.c | 49 #define CHK_NULL(p) ((p)) ? (VOID) 0 : os_error_printf(CU_MSG_ERROR, (PS8)"\nfailed: '%s', file … 50 #define CHK(p) ((!p)) ? (VOID) 0 : os_error_printf(CU_MSG_ERROR, (PS8)"\nfailed: '%s', file … 88 …CHK_NULL(h = (THandle) Console_AddDirExt(pTiCon->hConsole, (THandle) NULL, (PS8)"Driver", (PS8)"D… in TiCon_Init_Console_Menu() 89 …Console_AddToken(pTiCon->hConsole,h, (PS8)"Start", (PS8)"Start driver", (FuncToken_t) CuCmd_StartD… in TiCon_Init_Console_Menu() 90 …Console_AddToken(pTiCon->hConsole,h, (PS8)"sTop", (PS8)"Stop driver", (FuncToken_t) CuCmd_StopDri… in TiCon_Init_Console_Menu() 91 …Console_AddToken(pTiCon->hConsole,h, (PS8)"stAtus", (PS8)"Print status", (FuncToken_t) CuCmd_Show_… in TiCon_Init_Console_Menu() 95 … (THandle) Console_AddDirExt(pTiCon->hConsole, (THandle) NULL, (PS8)"Connection", (PS8)"Connectio… in TiCon_Init_Console_Menu() 96 …Console_AddToken(pTiCon->hConsole,h, (PS8)"Bssid_list", (PS8)"Bssid_list", (FuncToken_t) CuCmd_Bss… in TiCon_Init_Console_Menu() 98 ConParm_t aaa[] = { {(PS8)"ssid", CON_PARM_STRING | CON_PARM_OPTIONAL, 0, 32, 0 }, in TiCon_Init_Console_Menu() 99 {(PS8)"bssid", CON_PARM_STRING | CON_PARM_OPTIONAL, 0, 32, 0 }, in TiCon_Init_Console_Menu() [all …]
|
D | 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) ? … 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" }, 132 { IPC_EVENT_ASSOCIATED, (PS8)"Associated" }, 133 { IPC_EVENT_DISASSOCIATED, (PS8)"Disassociated" }, [all …]
|
D | 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) in Console_ltrim() 135 static TokenType_t Console_analizeToken( PS8 name ) in Console_analizeToken() 140 if (!os_strcmp(name, (PS8)TOKEN_UP ) ) in Console_analizeToken() 143 if (!os_strcmp(name, (PS8)TOKEN_ROOT ) ) in Console_analizeToken() 146 if (!os_strcmp(name, (PS8)TOKEN_BREAK ) ) in Console_analizeToken() 149 if (!os_strcmp(name, (PS8)TOKEN_HELP ) ) in Console_analizeToken() 152 if (!os_strcmp(name, (PS8)TOKEN_DIRHELP ) ) in Console_analizeToken() [all …]
|
D | wpa_core.c | 73 PS8 pWscPin; 132 THandle WpaCore_Create(PS32 pRes, PS8 pSupplIfFile) in WpaCore_Create() 138 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_Create - cant allocate control block\n"); in WpaCore_Create() 154 IpcWpa_Command(pWpaCore->hIpcWpa, (PS8)"AP_SCAN 2", FALSE); in WpaCore_Create() 229 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_SetAuthMode - unknown authentication mode (%d)… in WpaCore_SetAuthMode() 298 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - WpaCore_SetEncryptionGroup - group encryption cant be … in WpaCore_SetEncryptionGroup() 328 os_memcpy((PVOID)pWpaCore->WpaSupplParams.Identity, (PVOID)Identity, os_strlen((PS8)Identity)); in WpaCore_SetCredentials() 332 os_memcpy((PVOID)pWpaCore->WpaSupplParams.password, (PVOID)Passward, os_strlen((PS8)Passward)); in WpaCore_SetCredentials() 333 …os_memcpy((PVOID)pWpaCore->WpaSupplParams.private_key_passwd, (PVOID)Passward, os_strlen((PS8)Pass… in WpaCore_SetCredentials() 343 os_memcpy((PVOID)pWpaCore->WpaSupplParams.client_cert, (PVOID)Filepath, os_strlen((PS8)Filepath)); in WpaCore_SetCertificate() [all …]
|
D | cu_common.c | 70 THandle CuCommon_Create(THandle *pIpcSta, const PS8 device_name) in CuCommon_Create() 75 … os_error_printf(CU_MSG_ERROR, (PS8)("ERROR - CuCommon_Create - cant allocate control block\n") ); in CuCommon_Create() 228 S32 CuCommon_GetRssi(THandle hCuCommon, PS8 pdRssi, PS8 pbRssi) in CuCommon_GetRssi() 298 …os_error_printf(CU_MSG_INFO2, (PS8)"In CuCommon_Radio_Test: IPC_STA_Private_Send failed\n"); … in CuCommon_Radio_Test() 409 len = os_strlen((PS8)opt_param); in CuCommon_PrintDriverDebugBuffer() 411 os_memcpy((PS8)buf + sizeof(U32),(PS8)opt_param, len); in CuCommon_PrintDriverDebugBuffer()
|
/hardware/ti/wlan/wl1271/CUDK/os/common/inc/ |
D | 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); 102 S32 os_strncmp(const PS8 s1, const PS8 s2, U32 n); 103 S32 os_sscanf(const PS8 str, const PS8 format, ...); 104 S32 os_sprintf(PS8 str, const PS8 format, ...); 105 PS8 os_strcat(PS8 dest, const PS8 src); 106 U32 os_strlen(const PS8 s); [all …]
|
D | cu_ostypes.h | 10 typedef /*signed*/ char S8,*PS8,**PPS8; typedef
|
/hardware/ti/wlan/wl1271/CUDK/tiwlan_loader/ |
D | tiwlan_loader.c | 47 os_error_printf (CU_MSG_INFO1, (PS8)"Usage: ./wlan_loader [driver_name] [options]\n"); in print_usage() 48 …os_error_printf (CU_MSG_INFO1, (PS8)" -e <filename> - eeprom image file name. default=./nvs_map… in print_usage() 49 os_error_printf (CU_MSG_INFO1, (PS8)" -n - no eeprom file\n"); in print_usage() 50 os_error_printf (CU_MSG_INFO1, (PS8)" -i <filename> - init file name. default=tiwlan.ini\n"); in print_usage() 51 …os_error_printf (CU_MSG_INFO1, (PS8)" -f <filename> - firmware image file name. default=firmwar… in print_usage() 56 S32 init_driver( PS8 adapter_name, PS8 eeprom_file_name, in init_driver() 57 PS8 init_file_name, PS8 firmware_file_name ) in init_driver() 71 os_error_printf(CU_MSG_INFO1, (PS8)"+---------------------------+\n"); in init_driver() 72 os_error_printf(CU_MSG_INFO1, (PS8)"| wlan_loader: initializing |\n"); in init_driver() 73 os_error_printf(CU_MSG_INFO1, (PS8)"+---------------------------+\n"); in init_driver() [all …]
|
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/ |
D | osapi.c | 79 VOID os_error_printf(S32 debug_level, const PS8 arg_list ,...) in os_error_printf() 118 inline PS8 os_strcpy(PS8 dest, const PS8 src) in os_strcpy() 120 return (PS8)strcpy((char*)dest, (char*)src); in os_strcpy() 132 PS8 os_strncpy(PS8 dest, const PS8 src, S32 n) in os_strncpy() 134 return (PS8)strncpy((char*)dest, (char*)src, n); in os_strncpy() 146 S32 os_sprintf(PS8 str, const PS8 arg_list, ...) in os_sprintf() 167 S32 os_Printf(const PS8 buffer) in os_Printf() 182 PS8 os_strcat(PS8 dest, const PS8 src) in os_strcat() 184 return (PS8)strcat((char*)dest, (char*)src); in os_strcat() 196 U32 os_strlen(const PS8 s) in os_strlen() [all …]
|
D | ipc_event.c | 93 static VOID IpcEvent_SendMessageToChild(IpcEvent_t* pIpcEvent, PS8 msg) in IpcEvent_SendMessageToChild() 193 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_ASSOCIATED\n"); in IpcEvent_PrintEvent() 196 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_MEDIA_SPECIFIC\n"); in IpcEvent_PrintEvent() 199 os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_SCAN_COMPLETE\n"); in IpcEvent_PrintEvent() 203 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_SCAN_STOPPED\n"); in IpcEvent_PrintEvent() 206 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_LINK_SPEED\n"); in IpcEvent_PrintEvent() 209 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_AUTH_SUCC\n"); in IpcEvent_PrintEvent() 212 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_CCKM_START\n"); in IpcEvent_PrintEvent() 215 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_EAPOL\n"); in IpcEvent_PrintEvent() 218 … os_error_printf(CU_MSG_ERROR, (PS8)"IpcEvent_PrintEvent - received IPC_EVENT_RE_AUTH_STARTED\n"); in IpcEvent_PrintEvent() [all …]
|
D | ipc_wpa.c | 63 static S32 IpcWpa_Sockets_Open(TIpcWpa* pIpcWpa, PS8 pSupplIfFile) in IpcWpa_Sockets_Open() 79 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcWpa_Sockets_Open - can't connect the socket\n"); in IpcWpa_Sockets_Open() 96 THandle IpcWpa_Create(PS32 pRes, PS8 pSupplIfFile) in IpcWpa_Create() 102 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcWpa_Create - cant allocate control block\n"); in IpcWpa_Create() 126 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print) in IpcWpa_Command() 138 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); in IpcWpa_Command() 143 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed (%d).\n", cmd, ret); in IpcWpa_Command() 149 os_error_printf(CU_MSG_INFO2, (PS8)"%s", Resp); in IpcWpa_Command() 157 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen) in IpcWpa_CommandWithResp() 168 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); in IpcWpa_CommandWithResp() [all …]
|
D | ipc_sta.c | 111 THandle IpcSta_Create(const PS8 device_name) in IpcSta_Create() 116 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcSta_Create - cant allocate control block\n"); in IpcSta_Create() 124 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IpcSta_Create - cant open socket for communication wit… in IpcSta_Create() 129 os_strcpy((PS8)pIpcSta->wext_req.ifr_ifrn.ifrn_name, device_name); in IpcSta_Create() 170 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IPC_STA_Private_Send - error sending Wext private IOCT… in IPC_STA_Private_Send() 187 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IPC_STA_Wext_Send - error sending Wext IOCTL to STA dr… in IPC_STA_Wext_Send()
|
D | cu_wext.c | 97 if (0 == os_strcmp((PS8)ieee80211_modes[i], buffer)) in CuWext_FillBssidList() 140 if(!os_strncmp(buffer, (PS8)"Bcn", 3)) in CuWext_FillBssidList() 162 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - CuOs_Create - cant allocate control block\n"); in CuOs_Create() 258 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - CuOs_Start_Scan - too long SSID (%lu)\n",ssid->SsidLen… in CuOs_Start_Scan() 299 …os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - CuOs_Get_BssidList - cant allocate scan result buffer\… in CuOs_GetBssidList()
|
D | os_trans.c | 125 TI_BOOL os_sockSend (THandle socket_id, PS8 buffer, U32 bufferSize) in os_sockSend()
|
/hardware/ti/wlan/wl1271/CUDK/configurationutility/inc/ |
D | 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,
|
D | cu_common.h | 52 THandle CuCommon_Create(THandle *pIpcSta, const PS8 device_name); 66 S32 CuCommon_GetRssi(THandle hCuCommon, PS8 pdRssi, PS8 pbRssi);
|
D | wpa_core.h | 43 THandle WpaCore_Create(PS32 pRes, PS8 pSupplIfFile); 73 S32 WpaCore_SetPin(THandle hWpaCore, PS8 pPinStr);
|
D | cu_cmd.h | 36 PS8 name; 41 THandle CuCmd_Create(const PS8 device_name, THandle hConsole, S32 BypassSupplicant, PS8 pSupplIfFil…
|
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/ |
D | 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);
|
D | ipc_sta.h | 38 THandle IpcSta_Create(const PS8 device_name);
|
D | os_trans.h | 36 TI_BOOL os_sockSend (THandle socket_id, PS8 buffer, U32 bufferSize);
|