Home
last modified time | relevance | path

Searched refs:_u16 (Results 1 – 20 of 20) sorted by relevance

/hal_ti-2.7.6/simplelink/source/ti/drivers/net/wifi/source/
Dprotocol.h84 _u16 Opcode;
85 _u16 Len;
92 _u16 Short;
104 _u16 MinMaxPayload;
105 _u16 SocketTXFailure;
106 _u16 SocketNonBlocking;
444 _u16 sender;
450 _u16 Caller;
451 _u16 Padding;
456 _u16 Timeout;
[all …]
Dfs.c55 static _u16 _SlFsStrlen(const _u8 *buffer);
62 static _u16 _SlFsStrlen(const _u8 *buffer) in _SlFsStrlen()
64 _u16 len = 0; in _SlFsStrlen()
171 _SlDrvMemZero(&CmdExt, (_u16)sizeof(_SlCmdExt_t)); in sl_FsOpen()
178 …CmdExt.TxPayload1Len = (_u16)((_SlFsStrlen(pFileName)+4) & (~3)); /* add 4: 1 for NULL and the 3 f… in sl_FsOpen()
255 _SlDrvMemZero(&Msg, (_u16)sizeof(SlFsCloseCommand_t)); in sl_FsClose()
268 _SlDrvMemZero(&ExtCtrl, (_u16)sizeof(_SlCmdExt_t)); in sl_FsClose()
270 ExtCtrl.TxPayload1Len = (_u16)(((SignatureLen+3) & (~3))); /* align */ in sl_FsClose()
309 _u16 ChunkLen; in sl_FsRead()
317 _SlDrvMemZero(&ExtCtrl, (_u16)sizeof(_SlCmdExt_t)); in sl_FsRead()
[all …]
Ddriver.h178 #define SL_SET_DEVICE_STATUS(x) (g_SlDeviceStatus = ((g_SlDeviceStatus & 0xFF00) | (_u16)…
219 _u16 TxPayload1Len;
220 _u16 TxPayload2Len;
280 _u16 ActionAsyncOpcode;
288 _u16 MinTxPayloadSize;
327 _u16 readlist;
328 _u16 writelist;
334 _u16 readsds;
335 _u16 writesds;
336 _u16 CtrlSockFD;
[all …]
Dnetcfg.c63 _i16 sl_NetCfgSet(const _u16 ConfigId,const _u16 ConfigOpt,const _u16 ConfigLen,const _u8 *pValues) in sl_NetCfgSet()
104 _i16 sl_NetCfgGet(const _u16 ConfigId, _u16 *pConfigOpt,_u16 *pConfigLen, _u8 *pValues) in sl_NetCfgGet()
129 Msg.Cmd.ConfigOpt = (_u16)*pConfigOpt; in sl_NetCfgGet()
Dnetapp.c63 const _u16 Port,
68 _u16 _SlNetAppSendTokenValue(SlNetAppHttpServerData_t * Token);
70 _u16 _SlNetAppSendResponse( _u16 handle, SlNetAppResponse_t *NetAppResponse);
75 static _u16 NetAppServiceSizeLUT[] =
77 (_u16)sizeof(_BasicResponse_t), /* 0 - Default value */
78 …(_u16)sizeof(SlNetAppGetFullServiceWithTextIpv4List_t), /* 1 - SL_NETAPP_FULL_SERVICE_WITH_TEXT_I…
79 …(_u16)sizeof(SlNetAppGetFullServiceIpv4List_t), /* 2 - SL_NETAPP_FULL_SERVICE_IPV4_TYPE */
80 …(_u16)sizeof(SlNetAppGetShortServiceIpv4List_t), /* 3 - SL_NETAPP_SHORT_SERVICE_IPV4_TYPE …
81 …(_u16)sizeof(SlNetAppGetFullServiceWithTextIpv6List_t), /* 4 - SL_NETAPP_FULL_SERVICE_WITH_TEXT_I…
82 …(_u16)sizeof(SlNetAppGetFullServiceIpv6List_t), /* 5 - SL_NETAPP_FULL_SERVICE_IPV6_TYPE */
[all …]
Dnetutil.c74 _i16 sl_NetUtilGet(const _u16 Option, const _u32 ObjID, _u8 *pValues, _u16 *pValueLen) in sl_NetUtilGet()
162 _i16 sl_NetUtilCmd(const _u16 Cmd, const _u8 *pAttrib, const _u16 AttribLen, in sl_NetUtilCmd()
163 const _u8 *pInputValues, const _u16 InputLen, in sl_NetUtilCmd()
164 _u8 *pOutputValues, _u16 *pOutputLen) in sl_NetUtilCmd()
Ddriver.c531 _u16 g_SlDeviceStatus = 0;
551 _u16 opcode;
599 static _SlReturnVal_t _SlDrvMsgRead(_u16* outMsgReadLen, _u8** pAsyncBuf);
601 static _SlReturnVal_t _SlDrvMsgReadCmdCtx(_u16 cmdOpcode, _u8 IsLockRequired);
630 _SlDrvMemZero(g_pCB, (_u16)sizeof(_SlDriverCb_t)); in _SlDrvDriverCBInit()
647 _SlDrvMemZero(&g_pCB->ObjPool[0], (_u16)(MAX_CONCURRENT_ACTIONS*sizeof(_SlPoolObj_t))); in _SlDrvDriverCBInit()
772 _SlReturnVal_t _SlDrvDriverIsApiAllowed(_u16 Silo) in _SlDrvDriverIsApiAllowed()
992_u16 opcodeAsyncEvent = (pCmdCtrl->Opcode == SL_OPCODE_SOCKET_RECV) ? SL_OPCODE_SOCKET_RECVASYNCR… in _SlDrvDataReadOp()
1125 g_pCB->TempProtocolHeader.Len = (_u16)(_SL_PROTOCOL_CALC_LEN(pCmdCtrl, pCmdExt)); in _SlDrvMsgWrite()
1242 _SlReturnVal_t _SlDrvMsgRead(_u16* outMsgReadLen, _u8** pOutAsyncBuf) in _SlDrvMsgRead()
[all …]
Ddevice.c280 _i16 sl_Stop(const _u16 Timeout) in sl_Stop()
491 _i16 sl_DeviceGet(const _u8 DeviceGetId, _u8 *pOption,_u16 *pConfigLen, _u8 *pValues) in sl_DeviceGet()
514 Msg.Cmd.Option = (_u16)*pOption; in sl_DeviceGet()
525 *pConfigLen = (_u16)CmdExt.RxPayloadLen; in sl_DeviceGet()
531 *pConfigLen = (_u16)CmdExt.ActualRxPayloadLen; in sl_DeviceGet()
563 _i16 sl_DeviceSet(const _u8 DeviceSetId ,const _u8 Option,const _u16 ConfigLen,const _u8 *pValues) in sl_DeviceSet()
741 _i16 sl_DeviceStatGet(const _u16 ConfigId,_u16 length,void* buffer) in sl_DeviceStatGet()
764 _SlDrvMemZero(buffer, (_u16)sizeof(SlDeviceGetStat_t)); in sl_DeviceStatGet()
Dwlan.c77 _SlDrvMemZero(&Msg, (_u16)sizeof(_SlWlanConnectMsg_u)); in sl_WlanConnect()
201 _SlDrvMemZero(Msg.Cmd.Args.Common.Bssid, (_u16)sizeof(Msg.Cmd.Args.Common.Bssid)); in sl_WlanConnect()
502 _SlDrvMemZero(Msg.Cmd.Args.Common.Bssid, (_u16)sizeof(Msg.Cmd.Args.Common.Bssid)); in sl_WlanProfileAdd()
694 _SlDrvMemZero(Msg.Cmd.Args.Bssid, (_u16)sizeof(Msg.Cmd.Args.Bssid)); in sl_WlanProfileUpdate()
999 _SlDrvMemZero(pRxStat, (_u16)sizeof(SlWlanGetRxStatResponse_t)); in sl_WlanRxStatGet()
1060 _i16 sl_WlanProvisioning(_u8 ProvisioningCmd, _u8 RequestedRoleAfterSuccess, _u16 InactivityTimeout… in sl_WlanProvisioning()
1079 _SlDrvMemZero(&Msg, (_u16)sizeof (_SlProvisioningStartMsg_u)); in sl_WlanProvisioning()
1083 Msg.Cmd.ProvParams.InactivityTimeoutSec = (_u16)InactivityTimeoutSec; in sl_WlanProvisioning()
1159 _i16 sl_WlanSet(const _u16 ConfigId ,const _u16 ConfigOpt,const _u16 ConfigLen,const _u8 *pValues) in sl_WlanSet()
1169 CmdExt.TxPayload1Len = (_u16)((ConfigLen+3) & (~3)); in sl_WlanSet()
[all …]
Dsl_socket.c308 CmdExt.TxPayload1Len = (_u16)Len; in sl_SendTo()
381 Msg.Cmd.StatusOrLen = (_u16)Len; in sl_RecvFrom()
606 CmdExt.TxPayload1Len = (_u16)Len; in sl_Send()
827 _u16 sl_Htons( _u16 val ) in sl_Htons()
835 return (_u16)i; in sl_Htons()
896 Msg.Cmd.StatusOrLen = (_u16)Len; in sl_Recv()
1076 #define CTRL_SOCK_FD (((_u16)(1)) << g_pCB->MultiSelectCB.CtrlSockFD)
1077 #define SELECT_TIMEOUT ((_u16)0)
1102 static inline _u8 CountSetBits(_u16 fdList) in CountSetBits()
1108 Count += (fdList & ((_u16)1)); in CountSetBits()
[all …]
Dwlanconfig.c49 _u16 uIPMode; in sl_WifiConfig()
55 _u16 ipConfigSize = 0; in sl_WifiConfig()
/hal_ti-2.7.6/simplelink/source/ti/drivers/net/wifi/
Dnetapp.h237 _u16 Padding;
244 _u16 Reason;
258 _u16 AddMode;
265 _u16 AddMode;
273 _u16 Padding;
284 _u16 Padding;
312 _u16 MinRoundTime;
313 _u16 MaxRoundTime;
314 _u16 AvgRoundTime;
321 _u16 PingSize; /* ping packet size in bytes */
[all …]
Dnetutil.h91 _u16 *pOutputLen;
244 _u16 MsgLen;
245 _u16 SigLen;
253 _u16 SubCmd;
262 _u16 SubCmd;
268 _u16 NumOfRetries; /* number of retires for ARP request, range 1-20 */
269 _u16 Timeout; /* timeout between ARP requests, range 10-500 mSec , 10 mSec resolution*/
295 _i32 sl_NetUtilSet(const _u16 Option, const _u32 ObjID, const _u8 *pValues, const _u16 ValueLen);
344 _i16 sl_NetUtilGet(const _u16 Option, const _u32 ObjID, _u8 *pValues, _u16 *pValueLen);
528 _i16 sl_NetUtilCmd(const _u16 Cmd, const _u8 *pAttrib, const _u16 AttribLen,
[all …]
Dfs.h144 _u16 Flags; /* see Flags options */
215 _u16 DeviceBlockSize;
216 _u16 DeviceBlocksCapacity;
217 _u16 NumOfAllocatedBlocks;
218 _u16 NumOfReservedBlocks;
219 _u16 NumOfReservedBlocksForSystemfiles;
220 _u16 LargestAllocatedGapInBlocks;
221 _u16 NumOfAvailableBlocksForUserFiles;
237_u16 FATWriteCounter;/*Though it is increased during the programming, the programming and ret to f…
238 _u16 Padding2;
[all …]
Ddevice.h90 _u16 Caller;
267 _u16 RomVersion;
268 _u16 Padding;
309_u16 RateHistogram[SL_WLAN_NUM_OF_RATE_INDEXES]; /* rate histogram for all valid packets receiv…
310_u16 RssiHistogram[SL_WLAN_SIZE_OF_RSSI_HISTOGRAM]; /* RSSI histogram from -40 until -87 (all belo…
461 _i16 sl_Stop(const _u16 Timeout);
516 _i16 sl_DeviceSet(const _u8 DeviceSetId ,const _u8 Option,const _u16 ConfigLen,const _u8 *pValues);
623 _i16 sl_DeviceGet(const _u8 DeviceGetId, _u8 *pOption,_u16 *pConfigLen, _u8 *pValues);
917 _i16 sl_DeviceStatGet(const _u16 ConfigId,_u16 length,void* buffer);
Dnetcfg.h193 _u16 Status;
485 _i16 sl_NetCfgSet(const _u16 ConfigId,const _u16 ConfigOpt,const _u16 ConfigLen,const _u8 *pValues);
690 _i16 sl_NetCfgGet(const _u16 ConfigId ,_u16 *pConfigOpt, _u16 *pConfigLen, _u8 *pValues);
Dsl_socket.h230 struct { _u16 s_w1,s_w2; } S_un_w;
326 _u16 SubjectNameXoredSha1;
327 _u16 IssuerNameXoredSha1;
356_u16 type; /* holds the type of the info frame, currently only value 1 indicating DATA frame */
357 _u16 length; /* holds the length of the info frame recevied */
448 typedef _u16 SlSocklen_t;
453 _u16 sa_family; /* Address family (e.g. , AF_INET) */
459 _u16 sin6_family; /* AF_INET6 || AF_INET6_EUI_48*/
460 _u16 sin6_port; /* Transport layer port. */
470 _u16 sin_family; /* Internet Protocol (AF_INET). */
[all …]
Dwlan.h533 _u16 Status;
534 _u16 Padding;
539 _u16 Status;
540 _u16 Padding;
545 _u16 Status;
546 _u16 Padding;
642 _u16 Status;
643 _u16 Padding;
704_u16 RateHistogram[SL_WLAN_NUM_OF_RATE_INDEXES]; /* rate histogram for all valid packets recei…
705_u16 RssiHistogram[SL_WLAN_SIZE_OF_RSSI_HISTOGRAM]; /* RSSI histogram from -40 until -87 (all bel…
[all …]
Dwlanconfig.h51 _u16 const MaxSleepTimeMS;
Dsimplelink.h235 #define _u16 unsigned short macro
317 typedef _u16 _SlOpcode_t;