diff options
author | fanwang2 <fan.wang@intel.com> | 2017-12-06 13:00:21 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-12-06 13:10:05 +0800 |
commit | ca4e43239282a97bdc1f5b34abafa2f8774691d9 (patch) | |
tree | 08c2dc86d3e4ee05046369f6335f1428108ec687 /BaseTools/Source/Python/GenFds/ComponentStatement.py | |
parent | 1e6e6e188e01fa08f653706076a6465e0fcb0441 (diff) | |
download | edk2-ca4e43239282a97bdc1f5b34abafa2f8774691d9.tar.gz edk2-ca4e43239282a97bdc1f5b34abafa2f8774691d9.tar.bz2 edk2-ca4e43239282a97bdc1f5b34abafa2f8774691d9.zip |
MdeModulePkg/NetLib: Add NetLibDetectMediaWaitTimeout() API to support EFI_NOT_READY media state detection
In wireless connection, connecting state needs to be cared more
about. ECR 1772 redefined the state EFI_NOT_READY to represent
connecting state and can be retrieved from Aip protocol. This
patch adds a new API to check media state at a specified time
interval when network is connecting until the connection process
finishes or timeout.
V2:
* Return error status code directly when Aip protocol falied to detect
media rather than wait for another time's check.
* Set media state default value to EFI_SUCCESS since some platforms may
not support retrieving media state from Aip protocol.
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/ComponentStatement.py')
0 files changed, 0 insertions, 0 deletions