That’s an odd assertion to make when the full pharmacodynamics and mechanism of action are unknown. Modafinil doesn’t increase your cognitive performance in the way that a substituted phenethylamine would. Focus and attention are certainly related to wakefulness, but wakefulness in and of itself doesn’t increase cognitive performance.