Move mac_IF_mutex to MAC instance and use it for ensuring thread safety when modifying MAC structures from RRC.