The Mobile City Council voted on an ordinance banning pre-dawn raids and no-knock warrants Tuesday after months of discussion and debate.