Tp link 823n driver not working after kernel upgrade

You need the kernel headers installed as well as the kernel. Normally they would be installed but I’m not sure why they aren’t. Are you able to check. Are you able to boot to a desktop?

pacman -Qi linux linux-headers

unfortunately i could not connect to an ethernet cable since i was only using this famous tp-link usb driver ! So i reinstalled Endeavouros with the current kernel and the kernel-lts and now poblem is solved i reinstall tp link wifi drivers and everything is ok now