Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with installing drivers. #1203

Open
H4CKS3T opened this issue Nov 7, 2024 · 3 comments
Open

Problems with installing drivers. #1203

H4CKS3T opened this issue Nov 7, 2024 · 3 comments

Comments

@H4CKS3T
Copy link

H4CKS3T commented Nov 7, 2024

When installing the driver, the following picture is displayed:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.11.2-amd64/build M=/opt/Drivers/rtl8812au  modules
make[1]: Entering directory '/usr/src/linux-headers-6.11.2-amd64'
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_cmd.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_security.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_debug.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_io.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_ioctl_query.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_ioctl_set.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_ieee80211.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_mlme.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_mlme_ext.o
/opt/Drivers/rtl8812au/core/rtw_mlme_ext.c: In function ‘OnAuth’:
/opt/Drivers/rtl8812au/core/rtw_mlme_ext.c:2167:41: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 2167 |                                         ;/* TODO: STA re_auth within expire_to */
      |                                         ^
/opt/Drivers/rtl8812au/core/rtw_mlme_ext.c:2172:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 2172 |                                 ; /* TODO: STA re_auth and auth timeout */
      |                                 ^
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_mi.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_wlan_util.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_vht.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_pwrctrl.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_rf.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_chplan.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_recv.o
/opt/Drivers/rtl8812au/core/rtw_recv.c: In function ‘validate_recv_frame’:
/opt/Drivers/rtl8812au/core/rtw_recv.c:2390:79: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 2390 |                         DBG_COUNTER(adapter->rx_logs.core_rx_pre_data_handled);
      |                                                                               ^
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_sta_mgt.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_ap.o
/opt/Drivers/rtl8812au/core/rtw_ap.c:313:12: warning: ‘issue_aka_chk_frame’ defined but not used [-Wunused-function]
  313 | static int issue_aka_chk_frame(_adapter *adapter, struct sta_info *psta)
      |            ^~~~~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/core/mesh/rtw_mesh.o
  CC [M]  /opt/Drivers/rtl8812au/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /opt/Drivers/rtl8812au/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_xmit.o
/opt/Drivers/rtl8812au/core/rtw_xmit.c: In function ‘update_attrib’:
/opt/Drivers/rtl8812au/core/rtw_xmit.c:1376:74: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 1376 |                 DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_unknown);
      |                                                                          ^
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_p2p.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_rson.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_tdls.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_br_ext.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_iol.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_sreset.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_btcoex_wifionly.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_btcoex.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_beamforming.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_odm.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_rm.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_rm_fsm.o
  CC [M]  /opt/Drivers/rtl8812au/core/efuse/rtw_efuse.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/osdep_service.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/os_intfs.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/usb_intf.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/usb_ops_linux.o
/opt/Drivers/rtl8812au/os_dep/linux/usb_ops_linux.c:323:12: warning: ‘usb_bulkout_zero’ defined but not used [-Wunused-function]
  323 | static u32 usb_bulkout_zero(struct intf_hdl *pintfhdl, u32 addr)
      |            ^~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.o
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10674:12: warning: ‘rtw_tdls_get_best_ch’ defined but not used [-Wunused-function]
10674 | static int rtw_tdls_get_best_ch(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10631:12: warning: ‘rtw_tdls_getsta’ defined but not used [-Wunused-function]
10631 | static int rtw_tdls_getsta(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10581:12: warning: ‘rtw_wfd_tdls_status’ defined but not used [-Wunused-function]
10581 | static int rtw_wfd_tdls_status(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10551:12: warning: ‘rtw_tdls_dis_result’ defined but not used [-Wunused-function]
10551 | static int rtw_tdls_dis_result(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10521:12: warning: ‘rtw_tdls_getport’ defined but not used [-Wunused-function]
10521 | static int rtw_tdls_getport(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10490:12: warning: ‘rtw_tdls_getip’ defined but not used [-Wunused-function]
10490 | static int rtw_tdls_getip(struct net_device *dev,
      |            ^~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10445:12: warning: ‘rtw_tdls_setip’ defined but not used [-Wunused-function]
10445 | static int rtw_tdls_setip(struct net_device *dev,
      |            ^~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10418:12: warning: ‘rtw_tdls_psoff’ defined but not used [-Wunused-function]
10418 | static int rtw_tdls_psoff(struct net_device *dev,
      |            ^~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10392:12: warning: ‘rtw_tdls_pson’ defined but not used [-Wunused-function]
10392 | static int rtw_tdls_pson(struct net_device *dev,
      |            ^~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10356:12: warning: ‘rtw_tdls_ch_offset’ defined but not used [-Wunused-function]
10356 | static int rtw_tdls_ch_offset(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10332:12: warning: ‘rtw_tdls_off_ch_num’ defined but not used [-Wunused-function]
10332 | static int rtw_tdls_off_ch_num(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10308:12: warning: ‘rtw_tdls_dump_ch’ defined but not used [-Wunused-function]
10308 | static int rtw_tdls_dump_ch(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10254:12: warning: ‘rtw_tdls_ch_switch_off’ defined but not used [-Wunused-function]
10254 | static int rtw_tdls_ch_switch_off(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10193:12: warning: ‘rtw_tdls_ch_switch’ defined but not used [-Wunused-function]
10193 | static int rtw_tdls_ch_switch(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10168:12: warning: ‘rtw_tdls_discovery’ defined but not used [-Wunused-function]
10168 | static int rtw_tdls_discovery(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10128:12: warning: ‘rtw_tdls_teardown’ defined but not used [-Wunused-function]
10128 | static int rtw_tdls_teardown(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10085:12: warning: ‘rtw_tdls_setup’ defined but not used [-Wunused-function]
10085 | static int rtw_tdls_setup(struct net_device *dev,
      |            ^~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10065:12: warning: ‘rtw_tdls_enable’ defined but not used [-Wunused-function]
10065 | static int rtw_tdls_enable(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10041:12: warning: ‘rtw_tdls_weaksec’ defined but not used [-Wunused-function]
10041 | static int rtw_tdls_weaksec(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:10017:12: warning: ‘rtw_wx_tdls_wfd_enable’ defined but not used [-Wunused-function]
10017 | static int rtw_wx_tdls_wfd_enable(struct net_device *dev,
      |            ^~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:3429:13: warning: ‘rtw_dbg_mode_hdl’ defined but not used [-Wunused-function]
 3429 | static void rtw_dbg_mode_hdl(_adapter *padapter, u32 id, u8 *pdata, u32 len)
      |             ^~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:125:13: warning: ‘request_wps_pbc_event’ defined but not used [-Wunused-function]
  125 | static void request_wps_pbc_event(_adapter *padapter)
      |             ^~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_linux.c:99:13: warning: ‘indicate_wx_custom_event’ defined but not used [-Wunused-function]
   99 | static void indicate_wx_custom_event(_adapter *padapter, char *msg)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/xmit_linux.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/mlme_linux.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/recv_linux.o
/opt/Drivers/rtl8812au/os_dep/linux/recv_linux.c: In function ‘rtw_os_recv_indicate_pkt’:
/opt/Drivers/rtl8812au/os_dep/linux/recv_linux.c:537:68: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  537 |                         DBG_COUNTER(padapter->rx_logs.os_netif_err);
      |                                                                    ^
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.o
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:6415:17: warning: ‘cfg80211_rtw_assoc’ defined but not used [-Wunused-function]
 6415 | static int      cfg80211_rtw_assoc(struct wiphy *wiphy, struct net_device *ndev,
      |                 ^~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:6407:17: warning: ‘cfg80211_rtw_auth’ defined but not used [-Wunused-function]
 6407 | static int      cfg80211_rtw_auth(struct wiphy *wiphy, struct net_device *ndev,
      |                 ^~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:6151:17: warning: ‘cfg80211_rtw_set_channel’ defined but not used [-Wunused-function]
 6151 | static int      cfg80211_rtw_set_channel(struct wiphy *wiphy
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:4834:12: warning: ‘rtw_cfg80211_add_monitor_if’ defined but not used [-Wunused-function]
 4834 | static int rtw_cfg80211_add_monitor_if(_adapter *padapter, char *name, struct net_device **ndev)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:4808:13: warning: ‘rtw_cfg80211_monitor_if_set_multicast_list’ defined but not used [-Wunused-function]
 4808 | static void rtw_cfg80211_monitor_if_set_multicast_list(struct net_device *ndev)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:370:13: warning: ‘rtw_get_chbw_from_cfg80211_chan_def’ defined but not used [-Wunused-function]
  370 | static void rtw_get_chbw_from_cfg80211_chan_def(struct cfg80211_chan_def *chdef, u8 *ht, u8 *ch, u8 *bw, u8 *offset)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:300:20: warning: ‘nl80211_chan_width_str’ defined but not used [-Wunused-function]
  300 | static const char *nl80211_chan_width_str(enum nl80211_chan_width cwidth)
      |                    ^~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:255:13: warning: ‘rtw_get_chbw_from_nl80211_channel_type’ defined but not used [-Wunused-function]
  255 | static void rtw_get_chbw_from_nl80211_channel_type(struct ieee80211_channel *chan, enum nl80211_channel_type ctype, u8 *ht, u8 *ch, u8 *bw, u8 *offset)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:238:34: warning: ‘rtw_chbw_to_nl80211_channel_type’ defined but not used [-Wunused-function]
  238 | static enum nl80211_channel_type rtw_chbw_to_nl80211_channel_type(u8 ch, u8 bw, u8 offset, u8 ht)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:222:20: warning: ‘nl80211_channel_type_str’ defined but not used [-Wunused-function]
  222 | static const char *nl80211_channel_type_str(enum nl80211_channel_type ctype)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/wifi_regd.o
/opt/Drivers/rtl8812au/os_dep/linux/wifi_regd.c:417:40: warning: ‘_rtw_regd_find_country’ defined but not used [-Wunused-function]
  417 | static struct country_code_to_enum_rd *_rtw_regd_find_country(u16 countrycode)
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/rtw_android.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/rtw_proc.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/rtw_rhashtable.o
  CC [M]  /opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.o
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:560:25: warning: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Wrestrict]
  560 |                         sprintf(extra, "%s,pathb=%d", extra, txpower_inx);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:533:55: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  533 |                          struct iw_point *wrqu, char *extra)
      |                                                 ~~~~~~^~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:564:25: warning: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Wrestrict]
  564 |                         sprintf(extra, "%s,pathc=%d", extra, txpower_inx);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:533:55: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  533 |                          struct iw_point *wrqu, char *extra)
      |                                                 ~~~~~~^~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:568:25: warning: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Wrestrict]
  568 |                         sprintf(extra, "%s,pathd=%d", extra, txpower_inx);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:533:55: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  533 |                          struct iw_point *wrqu, char *extra)
      |                                                 ~~~~~~^~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c: In function ‘rtw_efuse_mask_file’:
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:2147:25: warning: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Wrestrict]
 2147 |                         sprintf(extra, "%s:%02x", extra, maskfileBuffer[i]);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:2092:55: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 2092 |                         union iwreq_data *wrqu, char *extra)
      |                                                 ~~~~~~^~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:2151:17: warning: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Wrestrict]
 2151 |                 sprintf(extra, "%s\nLoad Efuse Mask data %d hex ok\n", extra, count);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/os_dep/linux/ioctl_mp.c:2092:55: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 2092 |                         union iwreq_data *wrqu, char *extra)
      |                                                 ~~~~~~^~~~~
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_intf.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_com.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_com_phycfg.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_phy.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_dm.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_dm_acs.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_btcoex_wifionly.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_btcoex.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_mp.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_mcc.o
  CC [M]  /opt/Drivers/rtl8812au/hal/hal_hci/hal_usb.o
  CC [M]  /opt/Drivers/rtl8812au/hal/led/hal_led.o
  CC [M]  /opt/Drivers/rtl8812au/hal/led/hal_usb_led.o
  CC [M]  /opt/Drivers/rtl8812au/hal/HalPwrSeqCmd.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/Hal8812PwrSeq.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/Hal8821APwrSeq.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_xmit.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_sreset.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_hal_init.o
/opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_hal_init.c:1575:1: warning: ‘Hal_EfuseSwitchToBank8812A’ defined but not used [-Wunused-function]
 1575 | Hal_EfuseSwitchToBank8812A(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_hal_init.c:287:1: warning: ‘_FillDummy_8812’ defined but not used [-Wunused-function]
  287 | _FillDummy_8812(
      | ^~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_hal_init.c:59:1: warning: ‘_LLTRead_8812A’ defined but not used [-Wunused-function]
   59 | _LLTRead_8812A(
      | ^~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_phycfg.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_rf6052.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_dm.o
/opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_dm.c:35:1: warning: ‘dm_CheckProtection’ defined but not used [-Wunused-function]
   35 | dm_CheckProtection(
      | ^~~~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_rxdesc.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/rtl8812a_cmd.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/usb/usb_halinit.o
/opt/Drivers/rtl8812au/hal/rtl8812a/usb/usb_halinit.c:1247:1: warning: ‘HalDetectSelectiveSuspendMode’ defined but not used [-Wunused-function]
 1247 | HalDetectSelectiveSuspendMode(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8812a/usb/usb_halinit.c:1207:13: warning: ‘_RfPowerSave’ defined but not used [-Wunused-function]
 1207 | static VOID _RfPowerSave(
      |             ^~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8812a/usb/usb_halinit.c:1195:13: warning: ‘_BBTurnOnBlock’ defined but not used [-Wunused-function]
 1195 | static VOID _BBTurnOnBlock(
      |             ^~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8812a/usb/usb_halinit.c:27:13: warning: ‘_dbg_dump_macreg’ defined but not used [-Wunused-function]
   27 | static void _dbg_dump_macreg(_adapter *padapter)
      |             ^~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/usb/rtl8812au_led.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/usb/rtl8812au_xmit.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/usb/rtl8812au_recv.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/usb/usb_ops_linux.o
  CC [M]  /opt/Drivers/rtl8812au/hal/efuse/rtl8812a/HalEfuseMask8812A_USB.o
  CC [M]  /opt/Drivers/rtl8812au/hal/efuse/rtl8812a/HalEfuseMask8821A_USB.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/hal8812a_fw.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8812a/hal8821a_fw.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/Hal8814PwrSeq.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_xmit.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_sreset.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_hal_init.o
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_hal_init.c:5376:13: warning: ‘hw_var_set_mlme_join’ defined but not used [-Wunused-function]
 5376 | static void hw_var_set_mlme_join(PADAPTER Adapter, u8 variable, u8* val)
      |             ^~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_hal_init.c:5226:13: warning: ‘hw_var_set_mlme_disconnect’ defined but not used [-Wunused-function]
 5226 | static void hw_var_set_mlme_disconnect(PADAPTER Adapter, u8 variable, u8* val)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_hal_init.c:5129:13: warning: ‘hw_var_set_correct_tsf’ defined but not used [-Wunused-function]
 5129 | static void hw_var_set_correct_tsf(PADAPTER Adapter, u8 variable, u8* val)
      |             ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_phycfg.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_rf6052.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_dm.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_rxdesc.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_cmd.o
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_cmd.c:1079:13: warning: ‘rtl8814_set_FwRsvdPage_cmd’ defined but not used [-Wunused-function]
 1079 | static void rtl8814_set_FwRsvdPage_cmd(PADAPTER padapter, PRSVDPAGE_LOC rsvdpageloc)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_cmd.c:527:13: warning: ‘ConstructNullFunctionData’ defined but not used [-Wunused-function]
  527 | static void ConstructNullFunctionData(
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_cmd.c:497:13: warning: ‘ConstructPSPoll’ defined but not used [-Wunused-function]
  497 | static void ConstructPSPoll(_adapter *padapter, u8 *pframe, u32 *pLength)
      |             ^~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_cmd.c:395:13: warning: ‘ConstructBeacon’ defined but not used [-Wunused-function]
  395 | static void ConstructBeacon(_adapter *padapter, u8 *pframe, u32 *pLength)
      |             ^~~~~~~~~~~~~~~
/opt/Drivers/rtl8812au/hal/rtl8814a/rtl8814a_cmd.c:186:17: warning: ‘Get_VHT_ENI’ defined but not used [-Wunused-function]
  186 | static u8       Get_VHT_ENI(
      |                 ^~~~~~~~~~~
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/hal8814a_fw.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/usb/usb_halinit.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/usb/rtl8814au_led.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/usb/rtl8814au_xmit.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/usb/rtl8814au_recv.o
  CC [M]  /opt/Drivers/rtl8812au/hal/rtl8814a/usb/usb_ops_linux.o
  CC [M]  /opt/Drivers/rtl8812au/hal/efuse/rtl8814a/HalEfuseMask8814A_USB.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_debug.o
/opt/Drivers/rtl8812au/hal/phydm/phydm_debug.c: In function ‘phydm_basic_dbg_message’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_debug.c:2219:56: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 2219 |                 PHYDM_DBG(dm, DBG_CMN, "No Link !!!\n");
      |                                                        ^
/opt/Drivers/rtl8812au/hal/phydm/phydm_debug.c: In function ‘phydm_fw_trace_handler_code’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_debug.c:4456:35: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 4456 |                           cmd_len);
      |                                   ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_antdiv.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_soml.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_smt_ant.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_antdect.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_interface.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_phystatus.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_hwconfig.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_dig.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_pathdiv.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_rainfo.o
/opt/Drivers/rtl8812au/hal/phydm/phydm_rainfo.c: In function ‘phydm_c2h_ra_report_handler’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_rainfo.c:445:60: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  445 |                         PHYDM_DBG(dm, DBG_RA, "Try rate\n");
      |                                                            ^
/opt/Drivers/rtl8812au/hal/phydm/phydm_rainfo.c: In function ‘phydm_get_tx_stream_num’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_rainfo.c:829:76: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  829 |                 PHYDM_DBG(dm, DBG_RA, "[Warrning] no mimo_type is found\n");
      |                                                                            ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_adaptivity.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_cfotracking.o
/opt/Drivers/rtl8812au/hal/phydm/phydm_cfotracking.c: In function ‘phydm_set_crystal_cap’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_cfotracking.c:218:57: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  218 |                 PHYDM_DBG(dm, DBG_CFO_TRK, "Set fail\n");
      |                                                         ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_noisemonitor.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.o
/opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.c: In function ‘phydm_beamforming_notify’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.c:1114:44: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 1114 |                                   __func__);
      |                                            ^
/opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.c: In function ‘beamforming_init_entry’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.c:1252:52: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 1252 |                                           __func__);
      |                                                    ^
/opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.c: In function ‘beamforming_timer_callback’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_beamforming.c:1680:36: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 1680 |                           __func__);
      |                                    ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_dfs.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.o
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c: In function ‘hal_com_txbf_config_gtab’:
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c:47:47: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
   47 |                 hal_txbf_8822b_config_gtab(dm);
      |                                               ^
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c: In function ‘hal_com_txbf_enter_work_item_callback’:
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c:194:46: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  194 |                 hal_txbf_8822b_enter(dm, idx);
      |                                              ^
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c: In function ‘hal_com_txbf_leave_work_item_callback’:
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c:224:46: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  224 |                 hal_txbf_8822b_leave(dm, idx);
      |                                              ^
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c: In function ‘hal_com_txbf_fw_ndpa_work_item_callback’:
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c:253:48: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  253 |                 hal_txbf_8822b_fw_txbf(dm, idx);
      |                                                ^
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c: In function ‘hal_com_txbf_status_work_item_callback’:
/opt/Drivers/rtl8812au/hal/phydm/txbf/halcomtxbf.c:351:47: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  351 |                 hal_txbf_8822b_status(dm, idx);
      |                                               ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_adc_sampling.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_ccx.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_psd.o
/opt/Drivers/rtl8812au/hal/phydm/phydm_psd.c: In function ‘phydm_psd’:
/opt/Drivers/rtl8812au/hal/phydm/phydm_psd.c:204:66: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  204 |                           odm_get_bb_reg(dm, R_0xc50, MASKDWORD));
      |                                                                  ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_primary_cca.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_cck_pd.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_auto_dbg.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_math_lib.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_api.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_pow_train.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_lna_sat.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_pmac_tx_setting.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/phydm_mp.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/halrf.o
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf.c: In function ‘halrf_compare’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf.c:2270:73: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 2270 |                 RF_DBG(dm, DBG_RF_DACK, "[DACK]overflow!!!!!!!!!!!!!!!");
      |                                                                         ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_debug.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/halphyrf_ce.o
/opt/Drivers/rtl8812au/hal/phydm/halrf/halphyrf_ce.c: In function ‘odm_txpowertracking_callback_thermal_meter’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halphyrf_ce.c:481:62: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  481 |                        "reload ofdm index for band switch\n");
      |                                                              ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.o
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c: In function ‘phydm_get_thermal_trim_offset_8821c’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c:151:49: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  151 |                        power_trim_info->thermal);
      |                                                 ^
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c: In function ‘phydm_get_thermal_trim_offset_8822b’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c:279:49: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  279 |                        power_trim_info->thermal);
      |                                                 ^
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c: In function ‘phydm_get_thermal_trim_offset_8710b’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c:524:49: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  524 |                        power_trim_info->thermal);
      |                                                 ^
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c: In function ‘phydm_get_power_trim_offset_8710b’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c:551:55: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  551 |                        power_trim_info->bb_gain[0][0]);
      |                                                       ^
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c: In function ‘phydm_get_thermal_trim_offset_8192f’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c:608:49: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  608 |                        power_trim_info->thermal);
      |                                                 ^
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c: In function ‘phydm_get_thermal_trim_offset_8198f’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/halrf_kfree.c:792:49: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  792 |                        power_trim_info->thermal);
      |                                                 ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8812a/halhwimg8812a_mac.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8812a/halhwimg8812a_bb.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8812a/halhwimg8812a_rf.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8812a/halrf_8812a_ce.o
/opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8812a/halrf_8812a_ce.c: In function ‘phy_iq_calibrate_8812a’:
/opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8812a/halrf_8812a_ce.c:1302:89: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 1302 |                                "== FW IQK TIMEOUT (Still in progress after 500ms) ==\n");
      |                                                                                         ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8812a/phydm_regconfig8812a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8812a/phydm_rtl8812a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/txbf/haltxbfjaguar.o
/opt/Drivers/rtl8812au/hal/phydm/txbf/haltxbfjaguar.c: In function ‘hal_txbf_jaguar_download_ndpa’:
/opt/Drivers/rtl8812au/hal/phydm/txbf/haltxbfjaguar.c:144:36: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
  144 |                           __func__);
      |                                    ^
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8821a/halhwimg8821a_mac.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8821a/halhwimg8821a_bb.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8821a/halhwimg8821a_rf.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8821a/halrf_8821a_ce.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8821a/phydm_regconfig8821a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8821a/phydm_rtl8821a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8821a/halrf_iqk_8821a_ce.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8814a/halhwimg8814a_bb.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8814a/halhwimg8814a_mac.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8814a/halhwimg8814a_rf.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8814a/phydm_regconfig8814a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_8814a_ce.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/rtl8814a/phydm_rtl8814a.o
  CC [M]  /opt/Drivers/rtl8812au/hal/phydm/txbf/haltxbf8814a.o
  CC [M]  /opt/Drivers/rtl8812au/platform/platform_ops.o
  CC [M]  /opt/Drivers/rtl8812au/core/rtw_mp.o
  LD [M]  /opt/Drivers/rtl8812au/88XXau.o
/opt/Drivers/rtl8812au/88XXau.o: warning: objtool: rtw_mp_cmd+0xfe: unannotated intra-function call
  MODPOST /opt/Drivers/rtl8812au/Module.symvers
  CC [M]  /opt/Drivers/rtl8812au/88XXau.mod.o
  LD [M]  /opt/Drivers/rtl8812au/88XXau.ko
  BTF [M] /opt/Drivers/rtl8812au/88XXau.ko
Skipping BTF generation for /opt/Drivers/rtl8812au/88XXau.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.11.2-amd64'
---------------------------------------------------------------------------
Visit https://github.com/aircrack-ng/rtl8812au for support/reporting issues
or check for newer versions (branches) of these drivers.                   
---------------------------------------------------------------------------

After installation and reboot, the adapter refuses to work while lying down or simply not seeing any network.

@FARHAN10058
Copy link

I'm in same trouble

@Antimorph
Copy link

I have a similar problem. The adapters are listed but greyed out. Also it seemed to have a problem with the gcc and g++ version.

@iamAika
Copy link

iamAika commented Nov 28, 2024

same problem here

┌──(root㉿kali)-[~/rtl8812au]
└─# dkms status
8812au/5.6.4.2_35491.20191025, 6.11.2-amd64, x86_64: built

┌──(root㉿kali)-[~/rtl8812au]
└─# modprobe rtl8812au
modprobe: FATAL: Module rtl8812au not found in directory /lib/modules/6.11.2-amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants