Tp link c2600 cannot get the output when entering "dmesg"

The openwrt version is the newest SNAPSHOT version and linux version is 5.10.131. Next, I do the following steps to get the output when
enter "dmesg".

With the view to get the out put when enter "dmesg",
I put this line "ath10k_dbg(ar, ATH10K_DBG_MAC, "Hello, World\n");" in the function which is **"static void ath10k_mac_op_wake_tx_queue (struct ieee80211_hw hw, struct ieee80211_txq txq)" in mac.c.

Then, after update and compile it, I send ath10k_core.ko and ath10k_pci.ko to root@192.168.1.1:/lib/modules/5.10.131/.

What's more, I enter anothor five lines in order to get the output Hello World under the AP which is c2600.

  1. rmmod ath10k_pci && rmmod ath10k_core
  2. modprobe ath10k_pci && wifi down radio0 && wifi up radio0
  3. modprobe ath10k_pci debug_mask=0x10
  4. echo 0x10 > /sys/module/ath10k_core/parameters/debug_mask
  5. dmesg

Howerer, the output below is out of my expected. How can I fixed it? Thx.