WF_YieldPassphrase2Host Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_YieldPassphrase2Host Function
C
void WF_YieldPassphrase2Host();
Description

WPS supporting Functions 

DERIVE_KEY_FROM_PASSPHRASE_IN_HOST must be enabled. Applicable for MRF24WG0M only. This function is used only for WF_SECURITY_WPS_PUSH_BUTTON and WF_SECURITY_WPS_PIN security mode. Allows host (eg PIC32) to convert pass phrase to key in WPS WPA/WPA2-PSK. The SW process flow is like this: WF_YieldPassphrase2Host() will inform MRF24W that host wants to do conversion. MRF24W will then generate an event (WF_EVENT_KEY_CALCULATION_REQUEST) to host and set g_WpsPassphrase.valid to TRUE. Upon receipt of this event, the host will execute the function WF_ConvPassphrase2Key() to convert the passphrase to key. Upon completion of this conversion, the host will call WF_SetPSK() to pass the converted key to MRF24W.

Preconditions

MACInit must be called first.

Returns

None.

Remarks

None.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.