MAC_DRVR_ParametersGet Function

C

TCPIP_MAC_RES MAC_DRVR_ParametersGet(
    DRV_HANDLE              hMac,
    TCPIP_MAC_PARAMETERS *  pMacParams
    ); 

Returns

  • TCPIP_MAC_RES_OK if pMacParams updated properly

  • a TCPIP_MAC_RES error code if processing failed for some reason

Description

This is a function that returns the run time parameters of the MAC driver.

Remarks

None

Preconditions

  • MAC_DRVR_Initialize() should have been called.

  • MAC_DRVR_Open() should have been called to obtain a valid handle.

Parameters

ParametersDescription
hMachandle identifying the MAC driver client
pMacParamsaddress to store the MAC parameters