That's the problem:
[ 543.226923] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -5
[ 543.226936] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -5
[ 543.226950] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -5
[ 543.226963] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -5
....
In a infinite loop this error is being thrown through brcmfmac driver. I found in some forums that it could be a hardware failure so that means that it needs to be replaced.
What do you think @balbes150 ?