Can Turkey's new PKK law bring peace?

Turkey's parliament has passed a framework law for the peace process with the Kurdistan Workers' Party. What does it stipulate, why is it controversial and what does it mean for the future of the peace process?