Are you sure it is wifi problem, not LTE?
If you test 5G wifi and Ethernet cable and it works OK, then it should not be a wifi problem.
For LTE, pls try the config in this post North American Carriers, ATT, Verizon, Cricket, T-Mobile Setup and Update 2021
Especially use ttyUSB3 as device to connect which is more compatible.