Question: how pmk is generated from msk?
Answer: The MSK is generated either through a password or through 802.1X/EAP authentication. From the MSK, the pairwise master key (PMK) is generated and installed on the supplicant and the A/AS. ... From the master keys, a set of temporal keys are generated by which subsequent data transmissions will be encrypted.