mirror_edk2/MdeModulePkg/Universal/Network
Jiaxin Wu 43b9d23dd3 MdeModulePkg: Fix SNP.Initialize() spec conformance issue
v2:
*Refine the coding style according edk2 community's feedback.

Current SNP UNDI Initialize command does not follow the UEFI Spec
to update the SNP MediaPresent field. The result for the Initialize
command execution check should be:
StatFlags: (1) Monitor the upper two bits (14 & 15) in the field to know
whether the command has been executed by the UNDI (Not started, Queued,
Error, Complete). (2) Check the other field to see if there is an active
connection to this network device (used to update MediaPresent).
StatCode: After command execution completes, either successfully or not,
this field contains the result of the command execution (success or failure).
This patch is used to fix it.

NOTE: If any UNDI driver does not follow the UEFI Spec for the media status
update, it may meet failure with this more conditions check (StatFlags).

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
2016-06-02 10:25:58 +08:00
..
ArpDxe MdeModulePkg: Check received packet size before use it. 2016-04-01 13:30:08 +08:00
Dhcp4Dxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DpcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Ip4Dxe MdeModulePkg: Stop the timer before clean IP service. 2016-05-31 10:56:04 +08:00
IScsiDxe MdeModulePkg: Fix GCC code build error of iSCSI driver. 2016-04-22 16:57:54 +08:00
MnpDxe MdeModulePkg:Fix a robustness issue of Mnp Driver 2016-02-29 09:24:58 +08:00
Mtftp4Dxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SnpDxe MdeModulePkg: Fix SNP.Initialize() spec conformance issue 2016-06-02 10:25:58 +08:00
Tcp4Dxe MdeModulePkg: Fix incorrect status check for SockProcessRcvToken 2016-05-26 16:14:40 +08:00
Udp4Dxe MdeModulePkg: Check received packet size before use it. 2016-04-01 13:30:08 +08:00
UefiPxeBcDxe MdeModulePkg: Ignore BootFileName if it is overloaded. 2016-05-06 11:41:40 +08:00
VlanConfigDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00