]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/TftpDynamicCommand: Add one option for tftp command to specify windowsize.
authorJiaxin Wu <Jiaxin.wu@intel.com>
Fri, 14 Sep 2018 07:48:17 +0000 (15:48 +0800)
committerJiaxin Wu <Jiaxin.wu@intel.com>
Thu, 27 Sep 2018 01:00:01 +0000 (09:00 +0800)
commit5c6fdb5e8345840224b7fa77f1e1b4650b5b0769
tree4c56ae28f45bff812eacfadec41e742f8d95ddec
parentf3427f12a4a53b8cc32a6816934dbcf59072c1db
ShellPkg/TftpDynamicCommand: Add one option for tftp command to specify windowsize.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=886

This patch is to define one new option for TFTP shell command to specify the
windowsize option as defined in RFC 7440. Valid range is between 1 and 64,
default value is 1.

Note that: RFC 7440 does not mention max window size value, but for the
stability reason, the value is limited to 64.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Carsey Jaben <jaben.carsey@intel.com>
Cc: Shao Ming <ming.shao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.uni