Your freedom hinges on getting all the tainted evidence from after the fact thrown out that was obtained from an illegal search of your home that you did not consent to. Fuck the one weed charge, no big deal.
Your wife is going to need to testify against the cops who came into search the house and the whole entire case hinges on lack of consent basically that is the key to this whole case. You need a lawyer and he needs to focus primarily on that first & foremost otherwise you are facing some serious time man. No federal safety valve with gun charges so no time off if they decide to hang you out to dry.
Why do you think your buddy set you up, did he get in trouble recently?
Correct me if I'm wrong, but if the wife consented to the search, it was legal...right? Even if they lied and said that he had consented in order to get her to do it...
haps had it right - get a real attorney...armchair litigators on a pot forum are the exact opposite of what you need right now. best of luck bro...
edit- nevermind then, glad to see it was resolved and that you're adult enough not to go gunning for them after the fact.