You say: "Excuse me, I have asthma and I can't handle all the smoke, can you please close the door and open a window if you want to smoke"

then he says "Sure, sorry for that"

and you say "thank you"

I don't expect any manager to be heartless enough to fire you for that.