A cable modem is nowhere near powerful enough to provide WiFi. Its just used for internet access through a coaxial line, which delivers electricity that powers the router and provides WIFI signals with it.