Not able to Load Protocol gEfiWiFi2Protocol (Wifi 2)

Pranay Kadam

Hi Team,
I'm new to Edk2 platform. I am trying to write simple program to display available Wifi network in Uefi Shell.

I'm trying to load gEfiWiFi2ProtocolGuid Protocol using *LocateProtocol* function as below.
But I can see the return status as "NOT_FOUND". I don't know what am I missing here ?

DEBUG((DEBUG_INFO, "Loafing Protocol....."));

Status = gBS->LocateProtocol(&gEfiWiFi2ProtocolGuid, NULL, (VOID**)(&WifiNetwork));

DEBUG((DEBUG_ERROR, "Error %r",Status));
return Status;

Join to automatically receive all group messages.