oms_wp_phy_module_activate()

摘要

初始化并提交 PHY 模块属性。

语法

oms_wp_phy_module_activate (phy_handle)

参数 类型 说明
phy_handle OmsT_WP_Phy_Handle* PHY 模块句柄

返回类型

Compcode

如果指定了无效的 phy_handle,返回 OPC_COMPCODE_FAILURE;如果操作成功,返回 OPC_COMPCODE_SUCCESS。

详细说明

该函数把在 PHY 句柄中设置的属性提交给实际的 PHY 模块,并让 PHY 模块完成其初始化状态。PHY 句柄属性通过 oms_wp_phy_module_attr_set() 设置。仅在初始化状态期间使用此函数。

示例

lte_enb_as 进程模型 init exit executives 的节选。

/* Set the properties of the PHY layer.							*/
oms_wp_phy_module_attr_set (phy_module_hdl,
	OMSC_WP_ATTR_PHY_TYPE, 	OmsC_WP_OFDMA,
	OMSC_WP_ATTR_PHY_MODEL, 	OmsC_WP_Lte_Ofdma,
	OMSC_WP_ATTR_PHY_CELL_ID,	enb_id,
	OMSC_WP_ATTR_PHY_MAC_TO_PHY_PARAMS_CONVERT_PROC,	(void*)
	lte_support_mac_config_to_phy_convert,
	OMSC_WP_ATTR_PHY_CLIENT_INFO, (void*) &chnl_descriptor,
	OMSC_WP_ATTR_PHY_MCARRIER_SUBBAND_MEASURE_PROC, 	(void*) OPC_NIL,
	OMSC_WP_ATTR_ARG_END);
/* Initialize and commit the PHY layer properties.							*/
oms_wp_phy_module_activate (phy_module_hdl);

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com