Skip to content

Commit 69d16b7

Browse files
committed
pldm-file: Allow up to 8192 byte host transfers
Signed-off-by: Matt Johnston <[email protected]>
1 parent 35659ab commit 69d16b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pldm-file/src/host.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ use crate::PLDM_TYPE_FILE_TRANSFER;
1515

1616
const FILE_ID: FileIdentifier = FileIdentifier(0);
1717

18-
const MAX_PART_SIZE: u16 = 1024;
18+
// Largest possible power of two
19+
const MAX_PART_SIZE: u16 = 8192;
1920

2021
pub trait Host {
2122
/// Returns number of bytes read

0 commit comments

Comments
 (0)