/* sets the Frame Control WiFi frame header conversion parameter  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBWiFiFrameControlSet(IxEthDBPortId portID, UINT16 frameControl)
/* sets the Frame Control WiFi frame header conversion parameter  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBWiFiFrameControlSet(IxEthDBPortId portID, UINT16 frameControl)
{
    IX_ETH_DB_CHECK_PORT(portID);
    IX_ETH_DB_CHECK_SINGLE_NPE(portID);
    IX_ETH_DB_CHECK_FEATURE(portID, IX_ETH_DB_WIFI_HEADER_CONVERSION);
    ixEthDBPortInfo[portID].frameControlDurationID = (ixEthDBPortInfo[portID].frameControlDurationID & 0xFFFF) | (frameControl << 16); 
    return ixEthDBWiFiFrameControlDurationIDUpdate(portID);
}