/* sets the Duration/ID WiFi frame header conversion parameter  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBWiFiDurationIDSet(IxEthDBPortId portID, UINT16 durationID)
/* sets the Duration/ID WiFi frame header conversion parameter  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBWiFiDurationIDSet(IxEthDBPortId portID, UINT16 durationID)
{
    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 & 0xFFFF0000) | durationID;
    return ixEthDBWiFiFrameControlDurationIDUpdate(portID);
}