oms_wp_phy_module_changes_commit()

摘要

提交 PHY 模块属性的更改。

语法

oms_wp_phy_module_changes_commit (phy_handle)

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

返回类型

Compcode

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

详细说明

该函数把在 PHY 句柄中设置的属性提交给实际的 PHY 模块。PHY 句柄属性通过 oms_wp_phy_module_attr_set() 设置。此函数用于在初始化完成之后的仿真过程中发生的更改。

示例

lte_ue_as 进程模型 function block 中函数 lte_ue_as_phy_info_update() 的节选。

/* Set the PHY properties that need to be changed.					*/
oms_wp_phy_module_attr_set (phy_module_hdl,
	OMSC_WP_ATTR_PHY_CELL_ID, 			enb_id,
	OMSC_WP_ATTR_PHY_SERVING_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*) cell_chnl_descriptor_ptr,
	OMSC_WP_ATTR_PHY_PEER_NODE_ANT_INFO_UPDATE_PROC, 	(void*)
	lte_support_enb_antenna_info_update,
	OMSC_WP_ATTR_PHY_MCARRIER_SUBBAND_MEASURE_PROC, 	(void*)
	((enb_info_ptr->chnl_info_ptr->scheduling_mode ==LteC_Sched_Link_Channel_Adapt)
	?llte_link_adaptation_support_subband_sinr_measurements_record: OPC_NIL),
	OMSC_WP_ATTR_ARG_END);
/* Commit the PHY properties' changes.							*/
oms_wp_phy_module_changes_commit(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