Sorry to hear about your injury. A total dislocation of patella is usually managed conservatively i.e. no surgery. The rehabilitation usually takes 12 weeks and given your choice of sport, perhaps a specially tailored program would be appropriate. Failing the rehabilitation, recurrent dislocations of the patella is subjected to orthopedic review. A physiotherapist would be able to provide with you the general guidelines in the specifics of rehabilitation.
It is not uncommon for quadricep muscle to waste following an injury. However, I would suggest that you do try to start to put some weight on your leg! Once again have a talk with a physio regarding the exercises you can do at this point in time.
Good luck.