1.3.5.4 WDRV_PIC32MZW_AuthCtxConfigureMfp Function
C
WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_AuthCtxConfigureMfp ( WDRV_PIC32MZW_AUTH_CONTEXT *const pAuthCtx, WDRV_PIC32MZW_AUTH_MFP_CONFIG config )
Summary
Set the Management Frame Protection configuration of an authentication context.
Description
The authentication context is updated with the Management Frame Protection configuration specified in the config parameter.
Precondition
None.
Parameters
Param | Description |
---|---|
pAuthCtx | Pointer to an authentication context. |
config | The required Management Frame Protection configuration. |
Returns
WDRV_PIC32MZW_STATUS_OK - The context has been updated.
WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect.
Remarks
Not all MFP configurations are compatible with all auth types. When an auth context is applied, the MFP configuration is ignored if it is not compatible with the auth type. The MFP configuration is initialised to WDRV_PIC32MZW_AUTH_MFP_ENABLED by WDRV_PIC32MZW_AuthCtxSetPersonal and WDRV_PIC32MZW_AuthCtxSetEnterpriseTLS.