summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/NetworkPkg.dec
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2017-02-17 14:43:41 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2017-02-23 16:50:54 +0800
commit8d1f5e04168c1f140cd421fd95cff516a3629b72 (patch)
treecd8fd4073b3145bd4841faf06cba85dd658a9c4a /NetworkPkg/NetworkPkg.dec
parent1d8cebf91040e74f6c82352edd5c5cccf6b69853 (diff)
downloadedk2-8d1f5e04168c1f140cd421fd95cff516a3629b72.tar.gz
edk2-8d1f5e04168c1f140cd421fd95cff516a3629b72.tar.bz2
edk2-8d1f5e04168c1f140cd421fd95cff516a3629b72.zip
NetworkPkg:Add scriptable configuration to iSCSI driver by leveraging x-UEFI.
v2: Add error handling if can not create Attempts in driver entry point. Since we support to define a macro be a PCD value, we enhance our code by modifying the structure in IFR_NVDATA. This effect code logic mainly in Creating Keywords,Convert IFR NvData To AttemptConfigData ByKeyword and reverse function. Fix typo errors and sync based on the latest code. Enable iSCSI keywords configuration based on x-UEFI name space. we introduce new PCD to control the attempt numbers which will be created in non activated state, besides the Attempt name is changed to READ_ONLY attribute in UI. We can invoke KEYWORD HANDLER Protocol to configure the related keywords. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin jiaxin.wu@intel.com
Diffstat (limited to 'NetworkPkg/NetworkPkg.dec')
-rw-r--r--NetworkPkg/NetworkPkg.dec6
1 files changed, 5 insertions, 1 deletions
diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec
index 2aa88942fc..28558d3c25 100644
--- a/NetworkPkg/NetworkPkg.dec
+++ b/NetworkPkg/NetworkPkg.dec
@@ -45,7 +45,11 @@
# Include/Guid/TlsAuthentication.h
gEfiTlsCaCertificateGuid = { 0xfd2340D0, 0x3dab, 0x4349, { 0xa6, 0xc7, 0x3b, 0x4f, 0x12, 0xb4, 0x8e, 0xae }}
-
+
+[PcdsFixedAtBuild]
+ ## The max attempt number will be created by iSCSI driver.
+ # @Prompt Max attempt number.
+ gEfiNetworkPkgTokenSpaceGuid.PcdMaxIScsiAttemptNumber|0x08|UINT8|0x0000000D
[PcdsFeatureFlag]
## Indicates if the IPsec IKEv2 Certificate Authentication feature is enabled or not.<BR><BR>