Maximum operating distance from router

How far do you estimate a cam can be placed from a wifi access point and still function properly?

It is always based on the number of walls and their type of construction. Since we can only use 2.4 ghz, not 5 it will be limited.