oms_wp_phy_module_changes_commit()

Abstract

Commits the PHY module properties changes.

Syntax

oms_wp_phy_module_changes_commit (phy_handle)

Argument Type Description
phy_handle OmsT_WP_Phy_Handle* Handle to the PHY module

Return Type

Compcode

Returns OPC_COMPCODE_FAILURE if an invalid phy_handle is specified, or OPC_COMPCODE_SUCCESS if the operation was successful.

Details

This function commits the properties set in the PHY handle towards the actual PHY module. PHY handle properties are set via oms_wp_phy_module_attr_set(). This function is intended to be called for changes that happen during the simulation after initialization has been completed.

Example

Excerpt from lte_ue_as process model, function block, function 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