Lines Matching defs:pMsgBuff
78 * length:the pMsgBuff max length.
79 * Output: pMsgBuff : the buf used to generate a package.
84 int QCTL_GetClientID(UInt8* pMsgBuff,UInt32 length,UInt8 qmiType)
87 // void *pMsgBuff = NULL;
96 if(msgLength>length||pMsgBuff==NULL)
98 lc_kdbg("QCTL_GetClientID : length=%d < msgLength=%d OR pMsgBuff==NULL\n",msgLength,length);
102 bzero(pMsgBuff, length);
104 qmi = (QCQMI*)pMsgBuff;
130 * Input: length:the pMsgBuff max length.
132 * Output: pMsgBuff : the buf used to generate a package.
137 int QCTL_ReleaseClientID(UInt8* pMsgBuff,UInt32 length,NDIS_QMI_STATUS* pndis_status)
140 // void *pMsgBuff = NULL;
147 if(msgLength>length||pMsgBuff==NULL)
149 lc_kdbg("QCTL_ReleaseClientID : length=%d < msgLength=%d OR pMsgBuff==NULL\n",msgLength,length);
152 bzero(pMsgBuff, length);
154 qmi = (QCQMI*)pMsgBuff;
181 * Input: length:the pMsgBuff max length.
182 * Output: pMsgBuff : the buf used to generate a package.
187 int QCTL_GetVersionReq(UInt8* pMsgBuff,UInt32 length)
190 // void *pMsgBuff = NULL;
198 if (msgLength>length||pMsgBuff==NULL)
200 lc_kdbg("QCTL_GetVersionReq : length=%d < msgLength=%d OR pMsgBuff==NULL\n",msgLength,length);
204 bzero(pMsgBuff, length);
206 qmi = (QCQMI*)pMsgBuff;
232 * Input: length:the pMsgBuff max length.
233 * Output: pMsgBuff : the buf used to generate a package.
238 int QCTL_SetDataFormatReq(UInt8* pMsgBuff,UInt32 length)
241 // void *pMsgBuff = NULL;
249 // pMsgBuff = IOMalloc(msgLength);
251 if (msgLength>length||pMsgBuff==NULL)
253 lc_kdbg("QCTL_SetDataFormatReq : length=%d < msgLength=%d OR pMsgBuff==NULL\n",msgLength,length);
257 bzero(pMsgBuff, length);
259 qmi = (QCQMI*)pMsgBuff;
288 * Input: length:the pMsgBuff max length.
289 * Output: pMsgBuff : the buf used to generate a package.
294 int QCTL_SetInstanceId(UInt8* pMsgBuff,UInt32 length)
297 // void *pMsgBuff = NULL;
306 // pMsgBuff = IOMalloc(msgLength);
307 if (msgLength>length||pMsgBuff==NULL)
309 lc_kdbg("%s : length=%d < msgLength=%d OR pMsgBuff==NULL\n",__func__,msgLength,length);
313 bzero(pMsgBuff, length);
315 qmi = (QCQMI*)pMsgBuff;
341 * Input: length:the pMsgBuff max length.
343 * Output: pMsgBuff : the buf used to generate a package.
348 int QC_WDS_GetIPAddress(UInt8* pMsgBuff,UInt32 length,UInt8 fClientID)
357 if (msgLength>length||pMsgBuff==NULL)
359 lc_kdbg("%s : length=%d < msgLength=%d OR pMsgBuff==NULL\n",__func__,msgLength,length);
362 qmi = (QCQMI*)pMsgBuff;
363 bzero(pMsgBuff, length);
393 * Input: length:the pMsgBuff max length;
399 * Output: pMsgBuff : the buf used to generate a package.
404 int QC_WDS_ModifyProfile(UInt8* pMsgBuff,
422 qmi = (QCQMI*)pMsgBuff;
424 bzero(pMsgBuff, length);
432 pMsg = (UInt8 *)pMsgBuff;
438 //lc_kdbg_hex(pMsgBuff,32);
444 //lc_kdbg_hex(pMsgBuff,32);
446 //lc_kdbg_hex(pMsgBuff,32);
451 //lc_kdbg_hex(pMsgBuff,32);
618 printk_hex(pMsgBuff,msgLength);
629 * Input: length:the pMsgBuff max length;
635 * Output: pMsgBuff : the buf used to generate a package.
640 int QC_WDS_Connect(UInt8* pMsgBuff,
658 qmi = (QCQMI*)pMsgBuff;
660 bzero(pMsgBuff, length);
668 pMsg = (UInt8 *)pMsgBuff;
674 //lc_kdbg_hex(pMsgBuff,32);
679 //lc_kdbg_hex(pMsgBuff,32);
681 //lc_kdbg_hex(pMsgBuff,32);
686 //lc_kdbg_hex(pMsgBuff,32);
813 printk_hex(pMsgBuff,msgLength);
823 * Input: length:the pMsgBuff max length.
825 * Output: pMsgBuff : the buf used to generate a package.
830 int QC_WDS_Disconnect(UInt8* pMsgBuff,UInt32 length,NDIS_QMI_STATUS* pndis_status,UInt8 flag)
840 if (msgLength>length||pMsgBuff==NULL)
842 lc_kdbg("%s : length=%d < msgLength=%d OR pMsgBuff==NULL\n",__func__,msgLength,length);
846 qmi = (QCQMI*)pMsgBuff;
848 bzero(pMsgBuff, length);