If you're getting such errors in dmesg output while facing wireless abnormal disconnects
[20718.137775] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[20720.697821] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[20720.697843] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
Update udev rules
$ cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="brcmfmac", KERNEL=="wlan0", RUN="/sbin/iwconfig wlan0 power off"
Reload configuration
sudo udevadm control --reload-rules && sudo udevadm trigger
As a result of this command you should see the following line in dmesg output
[21232.631104] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled