Getting maximum range out of XIAO nrf52840 with bluefruit.h

but the disconnects happen around the same distance as before, no matter what I try.

Do you mean 6-8m? Is the 32mm antenna soldered on?
I just remembered that I was wearing my iPhone and Apple watch when I experimented today. It may be interfering with the XIAO connection.