GNU/Linux Mint 21 Installing TP-Link TL-WN823N Wifi/Bluetooth Driver Guide
Hi! The linked Tutorial shows you Step-by-Step How to Install TP-Link TL-WN823N N300 Dongle Wireless Driver in Linux Mint 21.x Vanessa/Vera/Victoria/Virginia LTS GNU/Linux.
And the Mint 21 TP-Link TL-WN823N V2 Setup is based on the Realtek rtl8192EU Chipset Driver Installation.
Especially relevant, in case to check your Adapter Chipset see: How to Check Wireless Device ID on GNU/Linux.
GNU/Linux Mint 21 TP-Link TL-WN823N Driver Setup Guide
For V2 see: Realtek rtl8192EU Linux Driver Installation
Instead for the Legacy V1: It should work Out-of-Box with the bundled rtl8xxxu Module.