Lines Matching refs:pndis_status
131 * pndis_status : the input global parameters.
137 int QCTL_ReleaseClientID(UInt8* pMsgBuff,UInt32 length,NDIS_QMI_STATUS* pndis_status)
170 pReq->QMIType = pndis_status->fQMIType;
171 pReq->ClientId = pndis_status->fClientID;
406 NDIS_QMI_STATUS* pndis_status,//fClientID
429 qmi->ClientId = pndis_status->fClientID;
443 //pndis_status->fConnectionTransId = cpu_to_le16(pQCQMUX->TransactionId);
824 * pndis_status:ndis global status parameters.
830 int QC_WDS_Disconnect(UInt8* pMsgBuff,UInt32 length,NDIS_QMI_STATUS* pndis_status,UInt8 flag)
853 qmi->ClientId = pndis_status->fClientID;
868 pStopMsg->Packet_Handle = cpu_to_le32(pndis_status->fPacketHandle);
870 pStopMsg->Packet_Handle = cpu_to_le32(pndis_status->fPacketHandle1);
921 * Output: pndis_status : qmi global status parameters.
926 int QCTL_Procecess_SetDataFormat_Response(QCQMI* pQmi,NDIS_QMI_STATUS* pndis_status)
934 if (pndis_status->fIPPacketSupport)
948 pndis_status->fIPModeEnabled = (pMsg->Proto.LinkProt == SET_DATA_FORMAT_LINK_PROTO_IP);
949 if (pndis_status->fIPModeEnabled)
1063 * Output: pndis_status : qmi global status parameters.
1068 int QCTL_Procecess_GetVersion_Respons(QCQMI* pQmi,NDIS_QMI_STATUS* pndis_status)
1109 pndis_status->fIPPacketSupport = true;
1112 sprintf(pndis_status->fVersion,"%u.%u",pVersion->MajorVersion, pVersion->MinorVersion);
1160 pndis_status->fIPPacketSupport = true;
1163 sprintf(pndis_status->fVersion,"%u.%u",pVersion->MajorVersion, pVersion->MinorVersion);
1195 * Output: pndis_status: ndis global status parameters.
1200 int QCQMI_ProcessQMUXWDSResponse(QCQMI* pQmi,NDIS_QMI_STATUS* pndis_status)
1243 pndis_status->fPacketHandle = 0;
1244 //if((pndis_status->fConnectionError == -1) && (pndis_status->fConnectionError != 0))
1245 if(pndis_status->fConnecting)
1247 pndis_status->fConnectionError = pStartMsg->QMUXError;
1255 if (pndis_status->fConnecting)
1257 pndis_status->fConnecting = false;
1264 if(pndis_status->fPacketHandle)
1265 pndis_status->fPacketHandle = le32_to_cpu(pStartMsg->Pkt_Data_Handle);
1266 if(!pndis_status->fPacketHandle)
1267 pndis_status->fPacketHandle1 = le32_to_cpu(pStartMsg->Pkt_Data_Handle);
1268 pndis_status->fConnectionError = 0;
1272 if (pndis_status->fConnecting && !pndis_status->fIPModeEnabled)
1274 pndis_status->fConnecting = false;
1289 pndis_status->fConnectionError = pMsgHeader->QMUXError;
1294 pndis_status->fPacketHandle = 0;
1295 pndis_status->fConnectionError = 0;
1298 if (pndis_status->fDisconnecting)
1300 pndis_status->fDisconnecting = false;
1311 QC_WDS_Process_GetRunTimeSettings_Respons(pQmuxMsg,pndis_status);
1359 * Output: pndis_status: ndis global status parameters.
1364 int QC_WDS_Process_GetRunTimeSettings_Respons(QCQMUX_MSG_HDR* pQMuxMsg,NDIS_QMI_STATUS* pndis_status)
1373 pndis_status->fIPAddress = 0;
1374 pndis_status->fConnectionError = pGetMsg->QMUXError;
1394 pndis_status->fIPAddress = ntohl(pAddr->IPV4Address);
1397 if (pndis_status->fIPPacketSupport && pndis_status->fIPModeEnabled && pndis_status->fPacketHandle != 0)
1401 // medium = IONetworkMedium::getMediumWithType(pndis_status->fMediumDict, mediumType);
1403 pndis_status->fLinkStatus = 1;
1407 pAddr->IPV4Address, pndis_status->fIPAddress);
1434 * Output: pndis_status: ndis global status parameters.
1439 int processQMIResponse(void *buffer,NDIS_QMI_STATUS* pndis_status)
1471 QCTL_Procecess_SetInstanceId_Response(qmi,&(pndis_status->fSetInstanceIdFail),&(pndis_status->fQMI_ID));
1479 QCTL_Procecess_GetClient_ID_Response(qmi,&(pndis_status->fClientID),&(pndis_status->fQMIType));
1487 QCTL_Procecess_ReleaseClient_ID_Response(qmi,&(pndis_status->fClientID),&(pndis_status->fQMIType));
1494 QCTL_Procecess_GetVersion_Respons(qmi,pndis_status);
1501 QCTL_Procecess_SetDataFormat_Response(qmi,pndis_status);
1524 pndis_status->fClientID = 0;
1525 pndis_status->fQMIType = 0;
1568 ret = QCQMI_ProcessQMUXWDSResponse(qmi, pndis_status);
1592 ret = QCQMI_ProcessQMUXWDSIndication(qmi, pndis_status);
1621 * Output: pndis_status: ndis global status parameters.
1626 int QCQMI_ProcessQMUXWDSIndication(QCQMI* pQmi,NDIS_QMI_STATUS* pndis_status)
1669 if (!pndis_status->fIPModeEnabled)
1675 pndis_status->fLinkStatus = 1;
1684 pndis_status->fLinkStatus = 0;
1685 pndis_status->fPacketHandle = 0;
1686 pndis_status->fIPAddress = 0;
1695 pndis_status->fLinkStatus = 0;
1696 pndis_status->fPacketHandle = 0;
1697 pndis_status->fIPAddress = 0;
1700 pndis_status->fLinkStatus = 0;
1705 if (pndis_status->fConnecting)
1707 pndis_status->fConnecting = false;
1708 // pndis_status->fCommandGate->commandWakeup(NULL, false);