oms_wp_phy_module_activate()

Abstract

Initializes and commits the PHY module properties.

Syntax

oms_wp_phy_module_activate (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 and allows the PHY module complete its initialization states. PHY handle properties are set via oms_wp_phy_module_attr_set(). Use this function only during initialization states.

Example

Excerpt from lte_enb_as process model, 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