Correct PMI_MAX_VAL_LEN to be 1024 bytes.