I had a minor meniscus repair done on my left knee. I was consistent but not terribly aggressive with rehab. It took 2 weeks to start deadlifting at around 30% max weights and 3 weeks to reach parallel on a bodyweight squat. From there I added weights slowly and was back to full training weights in 3 months.
Unless there is a real reason to not squat or deadlift for several months, I wouldn't stop doing them, they are the best rehab imo.
Even stuff like stiff legged kettlebell deadlifts and hand assisted quarter squats were good to me done at home several times a day after the worst swelling went away.