device: TP link WDR3500 v1.
I installed OpenWrt 22.03, the default wireless driver is ath9k. How do I know if this hardware support ath10k ? If so, how can I upgrade to use ath10k.
I already installed ath10k driver package, but it still loaded ath9k driver, when I use lsmod command to check it.
TL;DR: you can't.
Your device has its WiFi interfaces soldered onto the board. You cannot upgrade the WiFi hardware.
ath9k supports different WiFi hardware than ath10k, and your WiFi hardware is only supported by ath9k.
See https://wireless.wiki.kernel.org/en/users/drivers/ath9k and https://wireless.wiki.kernel.org/en/users/drivers/ath10k
OK, thanks