Handle the state machine
void phy_state_machine(struct work_struct * work);
work
work_struct that describes the work to be done