An upstream driver site seems to be still working on checking PR of this issue.

Here is a tentative workaround patch to the latest git master of aircrack-ng.
referenced PR's site: https://github.com/morrownr/8821au-20210708
※ I appreciate to Pull-Request's owner "morrownr" for fixing this issue.


rtl8812au-kernel-5.19.2-Fix.patch
[code]
--- rtl8812au_kernel-5.18/os_dep/linux/ioctl_cfg80211.c    2022-06-08 04:56:04.921980223 +0900
+++ rtl8812au_kernel-5.19.2_test/os_dep/linux/ioctl_cfg80211.c    2022-08-18 14:10:05.000000000 +0900
@@ -472,7 +472,11 @@
     if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
         goto exit;
 
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19, 2))
+    cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
+#else
     cfg80211_ch_switch_notify(adapter->pnetdev, &chdef);
+#endif
 
 #else
     int freq = rtw_ch2freq(ch);
@@ -1145,7 +1149,11 @@
         #endif
 
         #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0))
+        roam_info.links[0].bssid = cur_network->network.MacAddress;
+#else
         roam_info.bssid = cur_network->network.MacAddress;
+#endif
         roam_info.req_ie = pmlmepriv->assoc_req + sizeof(struct rtw_ieee80211_hdr_3addr) + 2;
         roam_info.req_ie_len = pmlmepriv->assoc_req_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 2;
         roam_info.resp_ie = pmlmepriv->assoc_rsp + sizeof(struct rtw_ieee80211_hdr_3addr) + 6;
@@ -5219,7 +5227,11 @@
     return ret;
 }
 
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19, 2))
+static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev, unsigned int link_id)
+#else
 static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev)
+#endif
 {
     _adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);
 
@@ -6092,7 +6104,11 @@
     return 0;
 }
 
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19, 2))
+static int cfg80211_rtw_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, unsigned int link_id, struct cfg80211_chan_def *chandef){
+#else
 static int cfg80211_rtw_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, struct cfg80211_chan_def *chandef){
+#endif
     _adapter *padapter= wiphy_to_adapter(wiphy);
     int channel;
     int control_freq;
@@ -10395,7 +10411,13 @@
     rtw_cfg80211_indicate_scan_done(adapter, _TRUE);
 
     #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)) || defined(COMPAT_KERNEL_RELEASE)
+    #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19, 2))
+    if (wdev->connected) {
+    #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0))
+    if (wdev->links[0].client.current_bss) {
+    #else
     if (wdev->current_bss) {
+    #endif
         RTW_INFO(FUNC_ADPT_FMT" clear current_bss by cfg80211_disconnected\n", FUNC_ADPT_ARG(adapter));
         rtw_cfg80211_indicate_disconnect(adapter, 0, 1);
     }

How to use this patch

Step-1. retleave git source
  # git clone https://github.com/aircrack-ng/rtl8812au.git

Step-2. Apply the patch
  # cd rtl8812au
  # patch -p1 < [PATH_TO]/rtl8812au-kernel-5.19.2-Fix.patch
     patching file os_dep/linux/ioctl_cfg80211.c

Step-3. Make driver
  # make
     make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.19.2-jw/build M=/usr/src/888/rtl8812au  modules
     make[1]: Entering directory '/usr/src/linux-5.19.2'
       CC [M]  /usr/src/888/rtl8812au/core/rtw_cmd.o
       CC [M]  /usr/src/888/rtl8812au/core/rtw_security.o
       ...
       ...
       LD [M]  /usr/src/888/rtl8812au/88XXau.o
       MODPOST /usr/src/888/rtl8812au/Module.symvers
       CC [M]  /usr/src/888/rtl8812au/88XXau.mod.o
       LD [M]  /usr/src/888/rtl8812au/
88XXau.ko
     make[1]: Leaving directory '/usr/src/linux-5.19.2'
---------------------------------------------------------------------------
Visit https://github.com/aircrack-ng/rtl8812au for support/reporting issues
or check for newer versions (branches) of these drivers.                   
---------------------------------------------------------------------------   


Step-4. Install driver
  # make install


    
引き続き更新予定