当前位置: 首页>>代码示例>>C++>>正文


C++ DPRINT_INFO函数代码示例

本文整理汇总了C++中DPRINT_INFO函数的典型用法代码示例。如果您正苦于以下问题:C++ DPRINT_INFO函数的具体用法?C++ DPRINT_INFO怎么用?C++ DPRINT_INFO使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了DPRINT_INFO函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: wfaStaSetIBSSResp

int wfaStaSetIBSSResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *setIBSSResp = (dutCmdResponse_t *) (cmdBuf + 4);

	DPRINT_INFO(WFA_OUT, "Entering wfaStaSetIBSSResp ...\n");
	switch(setIBSSResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaIBSS running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE\r\n");
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:26,代码来源:wfa_ca_resp.c

示例2: wfaStaGetStatsResp

int wfaStaGetStatsResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *getStatsResp = (dutCmdResponse_t *) (cmdBuf + 4);
	caStaGetStatsResp_t *stats = &getStatsResp->cmdru.ifStats;

	DPRINT_INFO(WFA_OUT, "Entering wfaStaGetStatsResp ...\n");

	switch(getStatsResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaGetStats running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,txFrames,%i,rxFrames,%i,txMulticast,%i,rxMulticast,%i,fcsErrors,%i,txRetries,%i\r\n",
			stats->txFrames, stats->rxFrames, stats->txMulticast, stats->rxMulticast, stats->fcsErrors, stats->txRetries);
		break;

	case STATUS_ERROR:
		sprintf(wfaCAAgetData.gRespStr, "status,ERROR\r\n");
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:33,代码来源:wfa_ca_resp.c

示例3: wfaStaGetMacAddressResp

int wfaStaGetMacAddressResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *getmacResp = (dutCmdResponse_t *) (cmdBuf + 4);

	DPRINT_INFO(WFA_OUT, "Entering wfaStaGetMacAddressResp ...\n");
	switch(getmacResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaGetMacAddress running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,mac,%s\r\n", getmacResp->cmdru.mac);
		break;

	case STATUS_ERROR:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,mac,00:00:00:00:00:00\r\n");
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,mac,00:00:00:00:00:00\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:30,代码来源:wfa_ca_resp.c

示例4: wfaStaSetEncryptionResp

int wfaStaSetEncryptionResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *getBssidResp = (dutCmdResponse_t *) (cmdBuf + 4);

	DPRINT_INFO(WFA_OUT, "Entering wfaStaGetBSSIDResp ...\n");
	switch(getBssidResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaSetEncryption running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,bssid,%s\r\n", getBssidResp->cmdru.bssid);
		break;

	case STATUS_ERROR:
		sprintf(wfaCAAgetData.gRespStr, "status,ERROR\r\n");
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, " %s\n", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:30,代码来源:wfa_ca_resp.c

示例5: wfaStaGetInfoResp

int wfaStaGetInfoResp(BYTE *cmdBuf)
{
	dutCmdResponse_t *infoResp = (dutCmdResponse_t *)(cmdBuf + 4);
	int done = 0;

	switch(infoResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaGetInfo running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,%s\r\n", infoResp->cmdru.info);
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:25,代码来源:wfa_ca_resp.c

示例6: wfaTrafficAgentPingStopResp

int wfaTrafficAgentPingStopResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *stpResp = (dutCmdResponse_t *) (cmdBuf + 4);

	switch(stpResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaTrafficAgentPingStop running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		{
			sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,sent,%d,replies,%d\r\n",
				stpResp->cmdru.pingStp.sendCnt,
				stpResp->cmdru.pingStp.repliedCnt);
			break;
		}

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));
	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:28,代码来源:wfa_ca_resp.c

示例7: wfaStaGetPskResp

int wfaStaGetPskResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *p2pResp = (dutCmdResponse_t *) (cmdBuf + 4);
	caP2pStaGetPskResp_t *pskInfo= &p2pResp->cmdru.pskInfo;

	DPRINT_INFO(WFA_OUT, "Entering wfaStaGetPskResp ...\n");
	switch(p2pResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaGetPskResp running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,passphrase,%s,ssid,%s\r\n", pskInfo->passPhrase,pskInfo->ssid);
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:27,代码来源:wfa_ca_resp.c

示例8: wfaStaVerifyIpConnectResp

int wfaStaVerifyIpConnectResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *verifyResp = (dutCmdResponse_t *)(cmdBuf + 4);

	DPRINT_INFO(WFA_OUT, "Entering wfaStaVerifyIpConnectResp\n");
	switch(verifyResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaVerifyConnect running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,connected,%i\r\n", verifyResp->cmdru.connected);
		break;

	case STATUS_ERROR:
		sprintf(wfaCAAgetData.gRespStr, "status,ERROR\r\n");

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:29,代码来源:wfa_ca_resp.c

示例9: wfaStaP2pStartGrpFormResp

int wfaStaP2pStartGrpFormResp(BYTE *cmdBuf)
{
	int done=0;
	dutCmdResponse_t *p2pResp = (dutCmdResponse_t *) (cmdBuf + 4);

	DPRINT_INFO(WFA_OUT, "Entering wfaStaP2pStartGrpFormResp ...\n");
	switch(p2pResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaStaP2pStartGrpFormResp running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,result,%s,groupid,%s\r\n", p2pResp->cmdru.p2presult,p2pResp->cmdru.grpid);
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:26,代码来源:wfa_ca_resp.c

示例10: wfaDeviceGetInfoResp

int wfaDeviceGetInfoResp(BYTE *cmdBuf)
{
	int done=1;
	dutCmdResponse_t *devInfoResp = (dutCmdResponse_t *) (cmdBuf + 4);
	caDeviceGetInfoResp_t *dinfo = &devInfoResp->cmdru.devInfo;

	switch(devInfoResp->status)
	{
	case STATUS_RUNNING:
		DPRINT_INFO(WFA_OUT, "wfaDeviceGetInfo running ...\n");
		done = 1;
		break;

	case STATUS_COMPLETE:
		sprintf(wfaCAAgetData.gRespStr, "status,COMPLETE,vendor,%s,model,%s,version,%s\r\n",
			dinfo->vendor, dinfo->model, dinfo->version);
		break;

	default:
		sprintf(wfaCAAgetData.gRespStr, "status,INVALID\r\n");
	}

	DPRINT_INFO(WFA_OUT, "%s", wfaCAAgetData.gRespStr);
	wfaCtrlSend(wfaCAAgetData.gCaSockfd, (BYTE *)wfaCAAgetData.gRespStr, strlen(wfaCAAgetData.gRespStr));

	return done;
}
开发者ID:WFA-BenZhang,项目名称:Wi-FiTestSuite-Win-DUT,代码行数:27,代码来源:wfa_ca_resp.c

示例11: wfaStaSetEapTTLS

/*
 * wfaStaSetEapTTLS():
 *   This is to set
 *   1. ssid
 *   2. username
 *   3. passwd
 *   4. encrypType - tkip or aes-ccmp
 *   5. keyManagementType - wpa or wpa2
 *   6. trustedRootCA
 */
int wfaStaSetEapTTLS(int len, BYTE *caCmdBuf, int *respLen, BYTE *respBuf)
{
   int ret = 0;
   char cmdStr[WFA_CMD_STR_SZ];
   caStaSetEapTTLS_t *setTTLS = (caStaSetEapTTLS_t *)caCmdBuf;
   char *ifname = setTTLS->intf;

   sprintf(cmdStr, "wpa_cli -i %s disable_network 0", ifname);
   system(cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 ssid '\"%s\"'", ifname, setTTLS->ssid);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 identity '\"%s\"'", ifname, setTTLS->username);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 password '\"%s\"'", ifname, setTTLS->passwd);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 key_mgmt WPA-EAP", ifname);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

/* This may not need to set. if it is not set, default to take all */
//   sprintf(cmdStr, "wpa_cli -i %s set_network 0 pairwise '\"%s\"", ifname, setTTLS->encrptype);
//   system(cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 eap TTLS", ifname);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 ca_cert '\"%s/%s\"'", ifname, CERTIFICATES_PATH, setTTLS->trustedRootCA);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 proto WPA", ifname);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 anonymous_identity '\"anonymous\"'", ifname);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s set_network 0 phase2 '\"auth=MSCHAPV2\"'", ifname);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   sprintf(cmdStr, "wpa_cli -i %s enable_network 0", ifname);
   system(cmdStr);
   DPRINT_INFO(WFA_OUT, "%s\n", cmdStr);

   ret = STATUS_COMPLETE;
   wfaEncodeTLV(WFA_STA_SET_EAPTTLS_RESP_TLV, 4, (BYTE *)&ret, respBuf);
   *respLen = WFA_TLV_HDR_LEN + 4;

   return TRUE;
}
开发者ID:EddyKuo,项目名称:linux-sdk-kernel-source,代码行数:70,代码来源:wfa_ca.c

示例12: wfaTGConfig

/*
 * wfaTGConfig: store the traffic profile setting that will be used to
 *           instruct traffic generation.
 * input: cmd -- not used
 * response: send success back to controller
 * return: success or fail
 * Note: the profile storage is a global space.
 */
int wfaTGConfig(int len, BYTE *caCmdBuf, int *respLen, BYTE *respBuf)
{
    int ret = FALSE;
    tgStream_t *myStream = NULL;
    dutCmdResponse_t *confResp = &gGenericResp;
    
    /* if the stream table over maximum, reset it */ 
    if(slotCnt == WFA_MAX_TRAFFIC_STREAMS)
       slotCnt = 0;

    if(slotCnt == 0)
    {
       printf("resetting stream table\n");
       wMEMSET(gStreams, 0, WFA_MAX_TRAFFIC_STREAMS*sizeof(tgStream_t));
    }
   
    DPRINT_INFO(WFA_OUT, "entering tcConfig ...\n");
    myStream = &gStreams[slotCnt++];
    wMEMSET(myStream, 0, sizeof(tgStream_t));
    wMEMCPY(&myStream->profile, caCmdBuf, len);
    myStream->id = ++streamId; /* the id start from 1 */ 
    myStream->tblidx = slotCnt-1;

#if 0
    DPRINT_INFO(WFA_OUT, "profile %i direction %i dest ip %s dport %i source %s sport %i rate %i duration %i size %i class %i delay %i\n", myStream->profile.profile, myStream->profile.direction, myStream->profile.dipaddr, myStream->profile.dport, myStream->profile.sipaddr, myStream->profile.sport, myStream->profile.rate, myStream->profile.duration, myStream->profile.pksize, myStream->profile.trafficClass, myStream->profile.startdelay);
#endif
 
    confResp->status = STATUS_COMPLETE; 
    confResp->streamId = myStream->id;
    wfaEncodeTLV(WFA_TRAFFIC_AGENT_CONFIG_RESP_TLV, sizeof(dutCmdResponse_t), (BYTE *)confResp, respBuf);
    *respLen = WFA_TLV_HDR_LEN + sizeof(dutCmdResponse_t); 


    return ret;
}
开发者ID:EddyKuo,项目名称:linux-sdk-kernel-source,代码行数:43,代码来源:wfa_tg.c

示例13: shutdown_onchannelcallback

static void shutdown_onchannelcallback(void *context)
{
	struct vmbus_channel *channel = context;
	u32 recvlen;
	u64 requestid;
	u8  execute_shutdown = false;

	struct shutdown_msg_data *shutdown_msg;

	struct icmsg_hdr *icmsghdrp;
	struct icmsg_negotiate *negop = NULL;

	vmbus_recvpacket(channel, shut_txf_buf,
			 PAGE_SIZE, &recvlen, &requestid);

	if (recvlen > 0) {
		DPRINT_DBG(VMBUS, "shutdown packet: len=%d, requestid=%lld",
			   recvlen, requestid);

		icmsghdrp = (struct icmsg_hdr *)&shut_txf_buf[
			sizeof(struct vmbuspipe_hdr)];

		if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) {
			prep_negotiate_resp(icmsghdrp, negop, shut_txf_buf);
		} else {
			shutdown_msg =
				(struct shutdown_msg_data *)&shut_txf_buf[
					sizeof(struct vmbuspipe_hdr) +
					sizeof(struct icmsg_hdr)];

			switch (shutdown_msg->flags) {
			case 0:
			case 1:
				icmsghdrp->status = HV_S_OK;
				execute_shutdown = true;

				DPRINT_INFO(VMBUS, "Shutdown request received -"
					    " gracefull shutdown initiated");
				break;
			default:
				icmsghdrp->status = HV_E_FAIL;
				execute_shutdown = false;

				DPRINT_INFO(VMBUS, "Shutdown request received -"
					    " Invalid request");
				break;
			};
		}

		icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION
			| ICMSGHDRFLAG_RESPONSE;

		vmbus_sendpacket(channel, shut_txf_buf,
				       recvlen, requestid,
				       VM_PKT_DATA_INBAND, 0);
	}

	if (execute_shutdown == true)
		orderly_poweroff(false);
}
开发者ID:LittleForker,项目名称:linux-2.6,代码行数:60,代码来源:hv_util.c

示例14: wfaDeviceGetInfo

int wfaDeviceGetInfo(int len, BYTE *caCmdBuf, int *respLen, BYTE *respBuf)
{
	caDeviceGetInfoResp_t dinfo;
	char cmdStr[WFA_CMD_STR_SZ];
	FILE *fd;

	if ((fd = popen("/tmp/ASD/wl ver | awk '{print $7}'", "r")) == NULL){
		printf("Couldn't open either /tmp/ASD/wl or awk\n");
		dinfo.status = STATUS_ERROR;
	} else {
		memset(&dinfo, 0, sizeof(dinfo));

		fgets(cmdStr, sizeof(cmdStr), fd);	/* Ignore first line */
		fgets(cmdStr, sizeof(cmdStr), fd);
		cmdStr[strlen(cmdStr) - 1] = 0;		/* Get rid of NL */
		pclose(fd);

	   dinfo.status = STATUS_COMPLETE;
	   sprintf(dinfo.vendor, "%.16s", "Broadcom");

	   sprintf(dinfo.version, "%.16s", cmdStr);
	   sprintf(dinfo.model, "%.8s", "BRCM");

	   DPRINT_INFO(WFA_OUT, "Entering wfaDeviceGetInfo ...\n");

	   DPRINT_INFO(WFA_OUT, "status %i vendor %s model %s version %s\n", dinfo.status, dinfo.vendor, dinfo.model, dinfo.version);

	   wfaEncodeTLV(WFA_DEVICE_GET_INFO_RESP_TLV, sizeof(dinfo), (BYTE *)&dinfo, respBuf);   
	   *respLen = WFA_TLV_HDR_LEN + sizeof(dinfo);

   }
   return TRUE;

}
开发者ID:EddyKuo,项目名称:linux-sdk-kernel-source,代码行数:34,代码来源:wfa_ca.c

示例15: DPRINT_INFO

bcmSsidObj_t *bcmWfaSsidObjTblAdd(char *ssidStr)
{
	bcmSsidObj_t *bso;

	DPRINT_INFO(WFA_OUT, "bcmWfaSsidObjTblAdd: ssidStr %s\n", ssidStr);

	if (bcmSsidIsGood(ssidStr) == FALSE) {
		return (NULL);
	}

	if ((bso = bcmWfaSsidTblSsidFind(ssidStr))) {
		DPRINT_ERR(WFA_OUT, "bcmWfaSsidObjTblAdd(%s): ssid already exists\n", ssidStr);
		return (bso);
	}

	if (!(bso = bcmWfaSsidTblFreeEntry())) {
		DPRINT_INFO(WFA_OUT, "no free entry\n");
		return (NULL);
	}	

	strcpy(bso->ssidStr, ssidStr);
	bso->bssType = BCM_BSS_INFRA; /* init it to infrastructure bss */
	bso->primary_key = BCM_PRI_KEY_BAD; /* init it to bad one */

	bsotbl.addCnt++;
	bsotbl.entries++;

	return (bso);
}
开发者ID:EddyKuo,项目名称:linux-sdk-kernel-source,代码行数:29,代码来源:wfa_ca.c


注:本文中的DPRINT_INFO函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。