If the free (libre) software / free whatever else community had managed to solve the last mile problem with regard to wireless communications, we wouldn't be in this mess. Consider a situation where the last mile connectivity is much more decentralized. There would be no "phone company" type carrier to be a single point of wiretapping or a coercive force keeping device firmware and software locked down. Consolidation of power, (wireless and media industries,) is what has caused the diversion of energy from writing freedom-preserving software to arguing about whether or not the FBI should get a backdoor in phones. The free (libre) software community can take some of these matters into their own hands by developing stuff that is an alternative to proprietary products.
Current WiFi, bluetooth, and other wireless standards could be used to implement mesh networking. IP is inherently decentralized. The internet was designed to route around points of failure. There are alternatives to captive mobile phone/broadband service that could exist now, with existing hardware. I don't know of anyone working on this stuff because nobody seems to talk about things like that anymore. I assume this is because the common forums for such discussions are all now owned and operated by entities that have consolidated significant power. I unfortunately don't know how to fix this when nobody seems to be interested in anything that smells like a DIY project.