Mange / rtl8192eu-linux-driver

Drivers for the rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)
1.33k stars 436 forks source link

Does not compile under 6.9.1-arch1-1 (x86_64) #341

Closed dafengsu7 closed 6 months ago

dafengsu7 commented 6 months ago

Here's the make.log

DKMS make.log for 8192eu-r301.2741064 for kernel 6.9.1-arch1-1 (x86_64)
Sat May 18 11:22:16 PM CST 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.9.1-arch1-1/build M=/var/lib/dkms/8192eu/r301.2741064/build  modules
make[1]: Entering directory '/usr/lib/modules/6.9.1-arch1-1/build'
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2069:6: warning: no previous prototype for ‘free_assoc_resources_hdl’ [-Wmissing-prototypes]
 2069 | void free_assoc_resources_hdl(_adapter *padapter, u8 lock_scanned_queue)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2232:4: warning: no previous prototype for ‘_rtw_set_chplan_cmd’ [-Wmissing-prototypes]
 2232 | u8 _rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, const struct country_chplan *country_ent, u8 swconfig)
      |    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2504:4: warning: no previous prototype for ‘rtw_ssmps_wk_hdl’ [-Wmissing-prototypes]
 2504 | u8 rtw_ssmps_wk_hdl(_adapter *adapter, struct ssmps_cmd_parm *ssmp_param)
      |    ^~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3295:6: warning: no previous prototype for ‘rtw_dynamic_chk_wk_hdl’ [-Wmissing-prototypes]
 3295 | void rtw_dynamic_chk_wk_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3337:6: warning: no previous prototype for ‘lps_ctrl_wk_hdl’ [-Wmissing-prototypes]
 3337 | void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type, u8 *buf)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3500:6: warning: no previous prototype for ‘rtw_dm_in_lps_hdl’ [-Wmissing-prototypes]
 3500 | void rtw_dm_in_lps_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3541:6: warning: no previous prototype for ‘rtw_lps_change_dtim_hdl’ [-`DKMS make.log for 8192eu-r301.2741064 for kernel 6.9.1-arch1-1 (x86_64)
Sat May 18 11:22:16 PM CST 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.9.1-arch1-1/build M=/var/lib/dkms/8192eu/r301.2741064/build  modules
make[1]: Entering directory '/usr/lib/modules/6.9.1-arch1-1/build'
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2069:6: warning: no previous prototype for ‘free_assoc_resources_hdl’ [-Wmissing-prototypes]
 2069 | void free_assoc_resources_hdl(_adapter *padapter, u8 lock_scanned_queue)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2232:4: warning: no previous prototype for ‘_rtw_set_chplan_cmd’ [-Wmissing-prototypes]
 2232 | u8 _rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, const struct country_chplan *country_ent, u8 swconfig)
      |    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2504:4: warning: no previous prototype for ‘rtw_ssmps_wk_hdl’ [-Wmissing-prototypes]
 2504 | u8 rtw_ssmps_wk_hdl(_adapter *adapter, struct ssmps_cmd_parm *ssmp_param)
      |    ^~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3295:6: warning: no previous prototype for ‘rtw_dynamic_chk_wk_hdl’ [-Wmissing-prototypes]
 3295 | void rtw_dynamic_chk_wk_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3337:6: warning: no previous prototype for ‘lps_ctrl_wk_hdl’ [-Wmissing-prototypes]
 3337 | void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type, u8 *buf)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3500:6: warning: no previous prototype for ‘rtw_dm_in_lps_hdl’ [-Wmissing-prototypes]
 3500 | void rtw_dm_in_lps_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3541:6: warning: no previous prototype for ‘rtw_lps_change_dtim_hdl’ [-Wmissing-prototypes]
 3541 | void rtw_lps_change_dtim_hdl(_adapter *padapter, u8 dtim)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3720:6: warning: no previous prototype for ‘rtw_dm_ra_mask_hdl’ [-Wmissing-prototypes]
 3720 | void rtw_dm_ra_mask_hdl(_adapter *padapter, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3762:6: warning: no previous prototype for ‘power_saving_wk_hdl’ [-Wmissing-prototypes]
 3762 | void power_saving_wk_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3768:6: warning: no previous prototype for ‘reset_securitypriv_hdl’ [-Wmissing-prototypes]
 3768 | void reset_securitypriv_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:4585:6: warning: no previous prototype for ‘btinfo_evt_dump’ [-Wmissing-prototypes]
 4585 | void btinfo_evt_dump(void *sel, void *buf)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5016:4: warning: no previous prototype for ‘rtw_c2h_wk_cmd’ [-Wmissing-prototypes]
 5016 | u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *pbuf, u16 length, u8 type)
      |    ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5134:4: warning: no previous prototype for ‘session_tracker_cmd’ [-Wmissing-prototypes]
 5134 | u8 session_tracker_cmd(_adapter *adapter, u8 cmd, struct sta_info *sta, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
      |    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5200:6: warning: no previous prototype for ‘session_tracker_chk_for_sta’ [-Wmissing-prototypes]
 5200 | void session_tracker_chk_for_sta(_adapter *adapter, struct sta_info *sta)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5282:6: warning: no previous prototype for ‘session_tracker_chk_for_adapter’ [-Wmissing-prototypes]
 5282 | void session_tracker_chk_for_adapter(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5314:6: warning: no previous prototype for ‘session_tracker_cmd_hdl’ [-Wmissing-prototypes]
 5314 | void session_tracker_cmd_hdl(_adapter *adapter, struct st_cmd_parm *parm)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:671:5: warning: no previous prototype for ‘rtw_get_akm_suite_bitmap’ [-Wmissing-prototypes]
  671 | u32 rtw_get_akm_suite_bitmap(u8 *s)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1643:6: warning: no previous prototype for ‘dump_ht_cap_ie’ [-Wmissing-prototypes]
 1643 | void dump_ht_cap_ie(void *sel, const u8 *ie, u32 ie_len)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1662:6: warning: no previous prototype for ‘dump_ht_op_ie_content’ [-Wmissing-prototypes]
 1662 | void dump_ht_op_ie_content(void *sel, const u8 *buf, u32 buf_len)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1676:6: warning: no previous prototype for ‘dump_ht_op_ie’ [-Wmissing-prototypes]
 1676 | void dump_ht_op_ie(void *sel, const u8 *ie, u32 ie_len)
      |      ^~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:23:6: warning: no previous prototype for ‘rtw_init_mlme_timer’ [-Wmissing-prototypes]
   23 | void rtw_init_mlme_timer(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:40:9: warning: no previous prototype for ‘_rtw_init_mlme_priv’ [-Wmissing-prototypes]
   40 | sint    _rtw_init_mlme_priv(_adapter *padapter)
      |         ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:295:6: warning: no previous prototype for ‘_rtw_free_mlme_priv’ [-Wmissing-prototypes]
  295 | void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:313:9: warning: no previous prototype for ‘_rtw_enqueue_network’ [-Wmissing-prototypes]
  313 | sint    _rtw_enqueue_network(_queue *queue, struct wlan_network *pnetwork)
      |         ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:1632:6: warning: no previous prototype for ‘rtw_reset_rx_info’ [-Wmissing-prototypes]
 1632 | void rtw_reset_rx_info(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:1110:6: warning: no previous prototype for ‘init_mlme_ext_timer’ [-Wmissing-prototypes]
 1110 | void init_mlme_ext_timer(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:1389:5: warning: no previous prototype for ‘p2p_listen_state_process’ [-Wmissing-prototypes]
 1389 | u32 p2p_listen_state_process(_adapter *padapter, unsigned char *da)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:3084:14: warning: no previous prototype for ‘on_action_spct_ch_switch’ [-Wmissing-prototypes]
 3084 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:4131:6: warning: no previous prototype for ‘issue_p2p_GO_response’ [-Wmissing-prototypes]
 4131 | void issue_p2p_GO_response(_adapter *padapter, u8 *raddr, u8 *frame_body, uint len, u8 result)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:4548:6: warning: no previous prototype for ‘issue_p2p_GO_confirm’ [-Wmissing-prototypes]
 4548 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:5426:4: warning: no previous prototype for ‘is_matched_in_profilelist’ [-Wmissing-prototypes]
 5426 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:5778:5: warning: no previous prototype for ‘_issue_probereq_p2p’ [-Wmissing-prototypes]
 5778 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6154:5: warning: no previous prototype for ‘rtw_action_public_decache’ [-Wmissing-prototypes]
 6154 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6179:14: warning: no previous prototype for ‘on_action_public_p2p’ [-Wmissing-prototypes]
 6179 | unsigned int on_action_public_p2p(union recv_frame *precv_frame)
      |              ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6555:14: warning: no previous prototype for ‘on_action_public_vendor’ [-Wmissing-prototypes]
 6555 | unsigned int on_action_public_vendor(union recv_frame *precv_frame)
      |              ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6575:14: warning: no previous prototype for ‘on_action_public_default’ [-Wmissing-prototypes]
 6575 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:7442:20: warning: no previous prototype for ‘_alloc_mgtxmitframe’ [-Wmissing-prototypes]
 7442 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once)
      |                    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:7742:5: warning: no previous prototype for ‘update_hidden_ssid’ [-Wmissing-prototypes]
 7742 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:8378:5: warning: no previous prototype for ‘_issue_probereq’ [-Wmissing-prototypes]
 8378 | int _issue_probereq(_adapter *padapter, const NDIS_802_11_SSID *pssid, const u8 *da, u8 ch, bool append_wps, int wait_ack)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:10516:5: warning: no previous prototype for ‘_issue_action_SM_PS’ [-Wmissing-prototypes]
10516 | int _issue_action_SM_PS(_adapter *padapter ,  unsigned char *raddr , u8 NewMimoPsMode ,  u8 wait_ack)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12547:6: warning: no previous prototype for ‘rtw_delba_check’ [-Wmissing-prototypes]
12547 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12585:4: warning: no previous prototype for ‘chk_ap_is_alive’ [-Wmissing-prototypes]
12585 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta)
      |    ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12625:4: warning: no previous prototype for ‘chk_adhoc_peer_is_alive’ [-Wmissing-prototypes]
12625 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta)
      |    ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:13166:6: warning: no previous prototype for ‘report_sta_timeout_event’ [-Wmissing-prototypes]
13166 | void report_sta_timeout_event(_adapter *padapter, u8 *MacAddr, unsigned short reason)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:13223:6: warning: no previous prototype for ‘clnt_sa_query_timeout’ [-Wmissing-prototypes]
13223 | void clnt_sa_query_timeout(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14209:4: warning: no previous prototype for ‘rtw_scan_sparse’ [-Wmissing-prototypes]
14209 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num)
      |    ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14313:4: warning: no previous prototype for ‘rtw_scan_backop_decision’ [-Wmissing-prototypes]
14313 | u8 rtw_scan_backop_decision(_adapter *adapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14728:6: warning: no previous prototype for ‘survey_done_set_ch_bw’ [-Wmissing-prototypes]
14728 | void survey_done_set_ch_bw(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14798:4: warning: no previous prototype for ‘rtw_ps_annc’ [-Wmissing-prototypes]
14798 | u8 rtw_ps_annc(_adapter *adapter, bool ps)
      |    ^~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14887:6: warning: no previous prototype for ‘sitesurvey_set_igi’ [-Wmissing-prototypes]
14887 | void sitesurvey_set_igi(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14947:6: warning: no previous prototype for ‘sitesurvey_set_msr’ [-Wmissing-prototypes]
14947 | void sitesurvey_set_msr(_adapter *adapter, bool enter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:197:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  197 |                 if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:41,
                 from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_rf.h:176:14: note: source object ‘regd_name’ of size 0
  176 |         char regd_name[0];
      |              ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:199:26: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  199 |                 else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_rf.h:176:14: note: source object ‘regd_name’ of size 0
  176 |         char regd_name[0];
      |              ^~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.c:886:4: warning: no previous prototype for ‘_rtw_mi_busy_traffic_check’ [-Wmissing-prototypes]
  886 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.c:1345:6: warning: no previous prototype for ‘rtw_dbg_skb_process’ [-Wmissing-prototypes]
 1345 | void rtw_dbg_skb_process(_adapter *padapter, union recv_frame *precvframe, union recv_frame *pcloneframe)
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1015:6: warning: no previous prototype for ‘_rtw_sec_camid_is_used’ [-Wmissing-prototypes]
 1015 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1103:6: warning: no previous prototype for ‘cam_cache_chk’ [-Wmissing-prototypes]
 1103 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk)
      |      ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1121:5: warning: no previous prototype for ‘_rtw_camid_search’ [-Wmissing-prototypes]
 1121 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1161:5: warning: no previous prototype for ‘rtw_get_camid’ [-Wmissing-prototypes]
 1161 | s16 rtw_get_camid(_adapter *adapter, u8 *addr, s16 kid, u8 gk)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1280:6: warning: no previous prototype for ‘rtw_camid_set’ [-Wmissing-prototypes]
 1280 | void rtw_camid_set(_adapter *adapter, u8 cam_id)
      |      ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1363:5: warning: no previous prototype for ‘rtw_get_empty_cam_entry’ [-Wmissing-prototypes]
 1363 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:2236:5: warning: no previous prototype for ‘check_ielen’ [-Wmissing-prototypes]
 2236 | int check_ielen(u8 *start, uint len)
      |     ^~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:197:6: warning: no previous prototype for ‘rtw_pwr_unassociated_idle’ [-Wmissing-prototypes]
  197 | bool rtw_pwr_unassociated_idle(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:402:6: warning: no previous prototype for ‘pwr_state_check_handler’ [-Wmissing-prototypes]
  402 | void pwr_state_check_handler(void *ctx)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:692:4: warning: no previous prototype for ‘PS_RDY_CHECK’ [-Wmissing-prototypes]
  692 | u8 PS_RDY_CHECK(_adapter *padapter)
      |    ^~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:581:6: warning: no previous prototype for ‘_dump_regd_exc_list’ [-Wmissing-prototypes]
  581 | void _dump_regd_exc_list(void *sel, struct rf_ctl_t *rfctl)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1211:4: warning: no previous prototype for ‘rtw_rf_get_kfree_tx_gain_offset’ [-Wmissing-prototypes]
 1211 | s8 rtw_rf_get_kfree_tx_gain_offset(_adapter *padapter, u8 path, u8 ch)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:39,
                 from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:899:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  899 |                                                                 , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_debug.h:202:46: note: in definition of macro ‘_RTW_PRINT_SEL’
  202 |                         _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
      |                                              ^~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:18:
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c: In function ‘_rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1141:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
 1141 |                 if (strcmp(ent->regd_name, regd_name) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
In function ‘_rtw_txpwr_lmt_get_by_name’,
    inlined from ‘rtw_txpwr_lmt_get_by_name’ at /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1158:8:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1141:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
 1141 |                 if (strcmp(ent->regd_name, regd_name) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h: In function ‘rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_chplan.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_chplan.c:415:6: warning: no previous prototype for ‘rtw_regsty_is_excl_chs’ [-Wmissing-prototypes]
  415 | bool rtw_regsty_is_excl_chs(struct registry_priv *regsty, u8 ch)
      |      ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:833:6: warning: no previous prototype for ‘recv_decache’ [-Wmissing-prototypes]
  833 | sint recv_decache(union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:888:6: warning: no previous prototype for ‘process_pwrbit_data’ [-Wmissing-prototypes]
  888 | void process_pwrbit_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:916:6: warning: no previous prototype for ‘process_wmmps_data’ [-Wmissing-prototypes]
  916 | void process_wmmps_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1149:6: warning: no previous prototype for ‘sta2sta_data_frame’ [-Wmissing-prototypes]
 1149 | sint sta2sta_data_frame(
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1328:6: warning: no previous prototype for ‘ap2sta_data_frame’ [-Wmissing-prototypes]
 1328 | sint ap2sta_data_frame(
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1468:6: warning: no previous prototype for ‘sta2ap_data_frame’ [-Wmissing-prototypes]
 1468 | sint sta2ap_data_frame(
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1553:6: warning: no previous prototype for ‘validate_recv_ctrl_frame’ [-Wmissing-prototypes]
 1553 | void validate_recv_ctrl_frame(_adapter *padapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1938:6: warning: no previous prototype for ‘validate_recv_mgnt_frame’ [-Wmissing-prototypes]
 1938 | sint validate_recv_mgnt_frame(PADAPTER padapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:2029:6: warning: no previous prototype for ‘validate_recv_data_frame’ [-Wmissing-prototypes]
 2029 | sint validate_recv_data_frame(_adapter *adapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:2384:6: warning: no previous prototype for ‘wlanhdr_to_ethhdr’ [-Wmissing-prototypes]
 2384 | sint wlanhdr_to_ethhdr(union recv_frame *precvframe)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3005:5: warning: no previous prototype for ‘amsdu_to_msdu’ [-Wmissing-prototypes]
 3005 | int amsdu_to_msdu(_adapter *padapter, union recv_frame *prframe)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3641:5: warning: no previous prototype for ‘validate_mp_recv_frame’ [-Wmissing-prototypes]
 3641 | int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3777:5: warning: no previous prototype for ‘mp_recv_frame’ [-Wmissing-prototypes]
 3777 | int mp_recv_frame(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4215:5: warning: no previous prototype for ‘recv_frame_monitor’ [-Wmissing-prototypes]
 4215 | int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4261:5: warning: no previous prototype for ‘recv_func_prehandle’ [-Wmissing-prototypes]
 4261 | int recv_func_prehandle(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4298:5: warning: no previous prototype for ‘recv_func_posthandle’ [-Wmissing-prototypes]
 4298 | int recv_func_posthandle(_adapter *padapter, union recv_frame *prframe)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4406:5: warning: no previous prototype for ‘recv_func’ [-Wmissing-prototypes]
 4406 | int recv_func(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4727:6: warning: no previous prototype for ‘rx_process_phy_info’ [-Wmissing-prototypes]
 4727 | void rx_process_phy_info(_adapter *padapter, union recv_frame *rframe)
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.c:19:6: warning: no previous prototype for ‘test_st_match_rule’ [-Wmissing-prototypes]
   19 | bool test_st_match_rule(_adapter *adapter, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.c:1003:4: warning: no previous prototype for ‘_rtw_access_ctrl’ [-Wmissing-prototypes]
 1003 | u8 _rtw_access_ctrl(_adapter *adapter, u8 period, const u8 *mac_addr)
      |    ^~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:937:6: warning: no previous prototype for ‘rtw_init_bmc_sta_tx_rate’ [-Wmissing-prototypes]
  937 | void rtw_init_bmc_sta_tx_rate(_adapter *padapter, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:2852:4: warning: no previous prototype for ‘rtw_ap_bmc_frames_hdl’ [-Wmissing-prototypes]
 2852 | u8 rtw_ap_bmc_frames_hdl(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:4173:6: warning: no previous prototype for ‘rtw_ap_bcmc_sta_flush’ [-Wmissing-prototypes]
 4173 | void rtw_ap_bcmc_sta_flush(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:473:6: warning: no previous prototype for ‘rtw_get_shared_macid_tx_rate_bmp_by_bw’ [-Wmissing-prototypes]
  473 | void rtw_get_shared_macid_tx_rate_bmp_by_bw(struct dvobj_priv *dvobj, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht, u32 *r_bmp_vht)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:3442:6: warning: no previous prototype for ‘rtw_init_xmitframe’ [-Wmissing-prototypes]
 3442 | void rtw_init_xmitframe(struct xmit_frame *pxframe)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:3733:20: warning: no previous prototype for ‘rtw_get_xframe’ [-Wmissing-prototypes]
 3733 | struct xmit_frame *rtw_get_xframe(struct xmit_priv *pxmitpriv, int *num_frame)
      |                    ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:4116:5: warning: no previous prototype for ‘rtw_br_client_tx’ [-Wmissing-prototypes]
 4116 | int rtw_br_client_tx(_adapter *padapter, struct sk_buff **pskb)
      |     ^~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:5785:6: warning: no previous prototype for ‘rtw_sctx_chk_waring_status’ [-Wmissing-prototypes]
 5785 | bool rtw_sctx_chk_waring_status(int status)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:21:5: warning: no previous prototype for ‘rtw_p2p_is_channel_list_ok’ [-Wmissing-prototypes]
   21 | int rtw_p2p_is_channel_list_ok(u8 desired_ch, u8 *ch_list, u8 ch_cnt)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:34:5: warning: no previous prototype for ‘is_any_client_associated’ [-Wmissing-prototypes]
   34 | int is_any_client_associated(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:2547:4: warning: no previous prototype for ‘rtw_p2p_get_peer_ch_list’ [-Wmissing-prototypes]
 2547 | u8 rtw_p2p_get_peer_ch_list(struct wifidirect_info *pwdinfo, u8 *ch_content, u8 ch_cnt, u8 *peer_ch_list)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:2569:4: warning: no previous prototype for ‘rtw_p2p_ch_inclusion’ [-Wmissing-prototypes]
 2569 | u8 rtw_p2p_ch_inclusion(_adapter *adapter, u8 *peer_ch_list, u8 peer_ch_num, u8 *ch_list_inclusioned)
      |    ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3064:6: warning: no previous prototype for ‘find_phase_handler’ [-Wmissing-prototypes]
 3064 | void find_phase_handler(_adapter        *padapter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3089:6: warning: no previous prototype for ‘restore_p2p_state_handler’ [-Wmissing-prototypes]
 3089 | void restore_p2p_state_handler(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3122:6: warning: no previous prototype for ‘pre_tx_invitereq_handler’ [-Wmissing-prototypes]
 3122 | void pre_tx_invitereq_handler(_adapter  *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3134:6: warning: no previous prototype for ‘pre_tx_provdisc_handler’ [-Wmissing-prototypes]
 3134 | void pre_tx_provdisc_handler(_adapter   *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3146:6: warning: no previous prototype for ‘pre_tx_negoreq_handler’ [-Wmissing-prototypes]
 3146 | void pre_tx_negoreq_handler(_adapter    *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3733:5: warning: no previous prototype for ‘rtw_xframe_build_wfd_ie’ [-Wmissing-prototypes]
 3733 | u32 rtw_xframe_build_wfd_ie(struct xmit_frame *xframe)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3811:6: warning: no previous prototype for ‘rtw_xframe_del_wfd_ie’ [-Wmissing-prototypes]
 3811 | bool rtw_xframe_del_wfd_ie(struct xmit_frame *xframe)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3883:5: warning: no previous prototype for ‘dump_p2p_attr_ch_list’ [-Wmissing-prototypes]
 3883 | u8 *dump_p2p_attr_ch_list(u8 *p2p_ie, uint p2p_ielen, u8 *buf, u32 buf_len)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3935:6: warning: no previous prototype for ‘rtw_p2p_nego_intent_compare’ [-Wmissing-prototypes]
 3935 | bool rtw_p2p_nego_intent_compare(u8 req, u8 resp)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:640:6: warning: no previous prototype for ‘nat25_db_expire’ [-Wmissing-prototypes]
  640 | void nat25_db_expire(_adapter *priv)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:756:5: warning: no previous prototype for ‘nat25_db_handle’ [-Wmissing-prototypes]
  756 | int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1386:5: warning: no previous prototype for ‘nat25_handle_frame’ [-Wmissing-prototypes]
 1386 | int nat25_handle_frame(_adapter *priv, struct sk_buff *skb)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1517:6: warning: no previous prototype for ‘dhcp_flag_bcast’ [-Wmissing-prototypes]
 1517 | void dhcp_flag_bcast(_adapter *priv, struct sk_buff *skb)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1558:7: warning: no previous prototype for ‘scdb_findEntry’ [-Wmissing-prototypes]
 1558 | void *scdb_findEntry(_adapter *priv, unsigned char *macAddr,
      |       ^~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:104:6: warning: no previous prototype for ‘sreset_restore_security_station’ [-Wmissing-prototypes]
  104 | void sreset_restore_security_station(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:140:6: warning: no previous prototype for ‘sreset_restore_network_station’ [-Wmissing-prototypes]
  140 | void sreset_restore_network_station(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:198:6: warning: no previous prototype for ‘sreset_restore_network_status’ [-Wmissing-prototypes]
  198 | void sreset_restore_network_status(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:378:6: warning: no previous prototype for ‘rtw_btcoex_SetBtPatchVersion’ [-Wmissing-prototypes]
  378 | void rtw_btcoex_SetBtPatchVersion(PADAPTER padapter, u16 btHciVer, u16 btPatchVer)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:383:6: warning: no previous prototype for ‘rtw_btcoex_SetHciVersion’ [-Wmissing-prototypes]
  383 | void rtw_btcoex_SetHciVersion(PADAPTER  padapter, u16 hciVersion)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:388:6: warning: no previous prototype for ‘rtw_btcoex_StackUpdateProfileInfo’ [-Wmissing-prototypes]
  388 | void rtw_btcoex_StackUpdateProfileInfo(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:67:6: warning: no previous prototype for ‘rtw_odm_adaptivity_ver_msg’ [-Wmissing-prototypes]
   67 | void rtw_odm_adaptivity_ver_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:75:6: warning: no previous prototype for ‘rtw_odm_adaptivity_en_msg’ [-Wmissing-prototypes]
   75 | void rtw_odm_adaptivity_en_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:92:6: warning: no previous prototype for ‘rtw_odm_adaptivity_mode_msg’ [-Wmissing-prototypes]
   92 | void rtw_odm_adaptivity_mode_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rm.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rm_fsm.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.o
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:796:6: warning: no previous prototype for ‘efuse_PreUpdateAction’ [-Wmissing-prototypes]
  796 | VOID efuse_PreUpdateAction(
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:825:6: warning: no previous prototype for ‘efuse_PostUpdateAction’ [-Wmissing-prototypes]
  825 | VOID efuse_PostUpdateAction(
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:2218:1: warning: no previous prototype for ‘Efuse_PgPacketWrite_BT’ [-Wmissing-prototypes]
 2218 | Efuse_PgPacketWrite_BT(IN       PADAPTER        pAdapter,
      | ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/osdep_service.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/osdep_service.c:1549:5: warning: no previous prototype for ‘rtw_change_ifname’ [-Wmissing-prototypes]
 1549 | int rtw_change_ifname(_adapter *padapter, const char *ifname)
      |     ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:808:6: warning: no previous prototype for ‘rtw_regsty_load_target_tx_power’ [-Wmissing-prototypes]
  808 | void rtw_regsty_load_target_tx_power(struct registry_priv *regsty)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1308:14: warning: no previous prototype for ‘rtw_classify8021d’ [-Wmissing-prototypes]
 1308 | unsigned int rtw_classify8021d(struct sk_buff *skb)
      |              ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1449:5: warning: no previous prototype for ‘rtw_ndev_init’ [-Wmissing-prototypes]
 1449 | int rtw_ndev_init(struct net_device *dev)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1462:6: warning: no previous prototype for ‘rtw_ndev_uninit’ [-Wmissing-prototypes]
 1462 | void rtw_ndev_uninit(struct net_device *dev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1532:6: warning: no previous prototype for ‘rtw_hook_if_ops’ [-Wmissing-prototypes]
 1532 | void rtw_hook_if_ops(struct net_device *ndev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1614:5: warning: no previous prototype for ‘rtw_os_ndev_alloc’ [-Wmissing-prototypes]
 1614 | int rtw_os_ndev_alloc(_adapter *adapter)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1668:5: warning: no previous prototype for ‘rtw_os_ndev_register’ [-Wmissing-prototypes]
 1668 | int rtw_os_ndev_register(_adapter *adapter, const char *name)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1810:5: warning: no previous prototype for ‘rtw_os_ndevs_alloc’ [-Wmissing-prototypes]
 1810 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1863:6: warning: no previous prototype for ‘rtw_os_ndevs_free’ [-Wmissing-prototypes]
 1863 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1995:4: warning: no previous prototype for ‘rtw_init_default_value’ [-Wmissing-prototypes]
 1995 | u8 rtw_init_default_value(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3094:5: warning: no previous prototype for ‘rtw_os_ndevs_register’ [-Wmissing-prototypes]
 3094 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3213:6: warning: no previous prototype for ‘netdev_br_init’ [-Wmissing-prototypes]
 3213 | void netdev_br_init(struct net_device *netdev)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3559:6: warning: no previous prototype for ‘ips_netdrv_open’ [-Wmissing-prototypes]
 3559 | int  ips_netdrv_open(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3761:5: warning: no previous prototype for ‘pm_netdev_open’ [-Wmissing-prototypes]
 3761 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3896:5: warning: no previous prototype for ‘pm_netdev_close’ [-Wmissing-prototypes]
 3896 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:4588:5: warning: no previous prototype for ‘rtw_suspend_normal’ [-Wmissing-prototypes]
 4588 | int rtw_suspend_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:4998:6: warning: no previous prototype for ‘rtw_mi_resume_process_normal’ [-Wmissing-prototypes]
 4998 | void rtw_mi_resume_process_normal(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:5027:5: warning: no previous prototype for ‘rtw_resume_process_normal’ [-Wmissing-prototypes]
 5027 | int rtw_resume_process_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:858:5: warning: no previous prototype for ‘rtw_hw_suspend’ [-Wmissing-prototypes]
  858 | int rtw_hw_suspend(_adapter *padapter)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:930:5: warning: no previous prototype for ‘rtw_hw_resume’ [-Wmissing-prototypes]
  930 | int rtw_hw_resume(_adapter *padapter)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:1006:5: warning: no previous prototype for ‘rtw_resume_process’ [-Wmissing-prototypes]
 1006 | int rtw_resume_process(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:1263:11: warning: no previous prototype for ‘rtw_usb_primary_adapter_init’ [-Wmissing-prototypes]
 1263 | _adapter *rtw_usb_primary_adapter_init(struct dvobj_priv *dvobj,
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:628:6: warning: no previous prototype for ‘usb_init_recvbuf’ [-Wmissing-prototypes]
  628 | void usb_init_recvbuf(_adapter *padapter, struct recv_buf *precvbuf)
      |      ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/usb_ops.h:30,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:1738,
                 from /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/include/usb_ops_linux.h:42:49: warning: no previous prototype for ‘usb_read_port_complete’ [-Wmissing-prototypes]
   42 | #define usb_read_port_complete(purb, regs)      usb_read_port_complete(purb)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:820:6: note: in expansion of macro ‘usb_read_port_complete’
  820 | void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
      |      ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:120:6: warning: no previous prototype for ‘indicate_wx_scan_complete_event’ [-Wmissing-prototypes]
  120 | void indicate_wx_scan_complete_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:133:6: warning: no previous prototype for ‘rtw_indicate_wx_assoc_event’ [-Wmissing-prototypes]
  133 | void rtw_indicate_wx_assoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:156:6: warning: no previous prototype for ‘rtw_indicate_wx_disassoc_event’ [-Wmissing-prototypes]
  156 | void rtw_indicate_wx_disassoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/xmit_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/xmit_linux.c:369:5: warning: no previous prototype for ‘rtw_mlcst2unicst’ [-Wmissing-prototypes]
  369 | int rtw_mlcst2unicst(_adapter *padapter, struct sk_buff *skb)
      |     ^~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:410:6: warning: no previous prototype for ‘rtw_cfg80211_allow_ch_switch_notify’ [-Wmissing-prototypes]
  410 | bool rtw_cfg80211_allow_ch_switch_notify(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:443:17: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
  443 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/osdep_service_linux.h:92,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/osdep_service.h:45,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:27,
                 from /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8811:6: note: declared here
 8811 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:458:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
  458 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/net/cfg80211.h:8795:6: note: declared here
 8795 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:486:6: warning: no previous prototype for ‘rtw_2g_channels_init’ [-Wmissing-prototypes]
  486 | void rtw_2g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:491:6: warning: no previous prototype for ‘rtw_5g_channels_init’ [-Wmissing-prototypes]
  491 | void rtw_5g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:496:6: warning: no previous prototype for ‘rtw_2g_rates_init’ [-Wmissing-prototypes]
  496 | void rtw_2g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:503:6: warning: no previous prototype for ‘rtw_5g_rates_init’ [-Wmissing-prototypes]
  503 | void rtw_5g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:510:34: warning: no previous prototype for ‘rtw_spt_band_alloc’ [-Wmissing-prototypes]
  510 | struct ieee80211_supported_band *rtw_spt_band_alloc(BAND_TYPE band)
      |                                  ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:553:6: warning: no previous prototype for ‘rtw_spt_band_free’ [-Wmissing-prototypes]
  553 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:641:36: warning: no previous prototype for ‘nl80211_iftype_to_rtw_network_type’ [-Wmissing-prototypes]
  641 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:674:5: warning: no previous prototype for ‘nl80211_iftype_to_rtw_mlme_state’ [-Wmissing-prototypes]
  674 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:2090:5: warning: no previous prototype for ‘cfg80211_rtw_set_default_mgmt_key’ [-Wmissing-prototypes]
 2090 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:2614:5: warning: no previous prototype for ‘rtw_cfg80211_is_target_wps_scan’ [-Wmissing-prototypes]
 2614 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_connect’:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:3899:32: warning: implicit conversion from ‘enum mlme_auth_type’ to ‘enum nl80211_auth_type’ [-Wenum-conversion]
 3899 |                 sme->auth_type = MLME_AUTHTYPE_SAE;
      |                                ^
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:5227:6: warning: no previous prototype for ‘dump_station_parameters’ [-Wmissing-prototypes]
 5227 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:5756:18: warning: no previous prototype for ‘rtw_sta_info_get_by_idx’ [-Wmissing-prototypes]
 5756 | struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:9792:5: warning: no previous prototype for ‘cfg80211_rtw_external_auth’ [-Wmissing-prototypes]
 9792 | int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/lib/modules/6.9.1-arch1-1/build/Makefile:1919: /var/lib/dkms/8192eu/r301.2741064/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.9.1-arch1-1/build'
make: *** [Makefile:2287: modules] Error 2
`Wmissing-prototypes]
 3541 | void rtw_lps_change_dtim_hdl(_adapter *padapter, u8 dtim)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3720:6: warning: no previous prototype for ‘rtw_dm_ra_mask_hdl’ [-Wmissing-prototypes]
 3720 | void rtw_dm_ra_mask_hdl(_adapter *padapter, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3762:6: warning: no previous prototype for ‘power_saving_wk_hdl’ [-Wmissing-prototypes]
 3762 | void power_saving_wk_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3768:6: warning: no previous prototype for ‘reset_securitypriv_hdl’ [-Wmissing-prototypes]
 3768 | void reset_securitypriv_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:4585:6: warning: no previous prototype for ‘btinfo_evt_dump’ [-Wmissing-prototypes]
 4585 | void btinfo_evt_dump(void *sel, void *buf)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5016:4: warning: no previous prototype for ‘rtw_c2h_wk_cmd’ [-Wmissing-prototypes]
 5016 | u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *pbuf, u16 length, u8 type)
      |    ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5134:4: warning: no previous prototype for ‘session_tracker_cmd’ [-Wmissing-prototypes]
 5134 | u8 session_tracker_cmd(_adapter *adapter, u8 cmd, struct sta_info *sta, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
      |    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5200:6: warning: no previous prototype for ‘session_tracker_chk_for_sta’ [-Wmissing-prototypes]
 5200 | void session_tracker_chk_for_sta(_adapter *adapter, struct sta_info *sta)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5282:6: warning: no previous prototype for ‘session_tracker_chk_for_adapter’ [-Wmissing-prototypes]
 5282 | void session_tracker_chk_for_adapter(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5314:6: warning: no previous prototype for ‘session_tracker_cmd_hdl’ [-Wmissing-prototypes]
 5314 | void session_tracker_cmd_hdl(_adapter *adapter, struct st_cmd_parm *parm)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:671:5: warning: no previous prototype for ‘rtw_get_akm_suite_bitmap’ [-Wmissing-prototypes]
  671 | u32 rtw_get_akm_suite_bitmap(u8 *s)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1643:6: warning: no previous prototype for ‘dump_ht_cap_ie’ [-Wmissing-prototypes]
 1643 | void dump_ht_cap_ie(void *sel, const u8 *ie, u32 ie_len)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1662:6: warning: no previous prototype for ‘dump_ht_op_ie_content’ [-Wmissing-prototypes]
 1662 | void dump_ht_op_ie_content(void *sel, const u8 *buf, u32 buf_len)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1676:6: warning: no previous prototype for ‘dump_ht_op_ie’ [-Wmissing-prototypes]
 1676 | void dump_ht_op_ie(void *sel, const u8 *ie, u32 ie_len)
      |      ^~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:23:6: warning: no previous prototype for ‘rtw_init_mlme_timer’ [-Wmissing-prototypes]
   23 | void rtw_init_mlme_timer(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:40:9: warning: no previous prototype for ‘_rtw_init_mlme_priv’ [-Wmissing-prototypes]
   40 | sint    _rtw_init_mlme_priv(_adapter *padapter)
      |         ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:295:6: warning: no previous prototype for ‘_rtw_free_mlme_priv’ [-Wmissing-prototypes]
  295 | void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:313:9: warning: no previous prototype for ‘_rtw_enqueue_network’ [-Wmissing-prototypes]
  313 | sint    _rtw_enqueue_network(_queue *queue, struct wlan_network *pnetwork)
      |         ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:1632:6: warning: no previous prototype for ‘rtw_reset_rx_info’ [-Wmissing-prototypes]
 1632 | void rtw_reset_rx_info(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:1110:6: warning: no previous prototype for ‘init_mlme_ext_timer’ [-Wmissing-prototypes]
 1110 | void init_mlme_ext_timer(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:1389:5: warning: no previous prototype for ‘p2p_listen_state_process’ [-Wmissing-prototypes]
 1389 | u32 p2p_listen_state_process(_adapter *padapter, unsigned char *da)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:3084:14: warning: no previous prototype for ‘on_action_spct_c`DKMS make.log for 8192eu-r301.2741064 for kernel 6.9.1-arch1-1 (x86_64)
Sat May 18 11:22:16 PM CST 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.9.1-arch1-1/build M=/var/lib/dkms/8192eu/r301.2741064/build  modules
make[1]: Entering directory '/usr/lib/modules/6.9.1-arch1-1/build'
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2069:6: warning: no previous prototype for ‘free_assoc_resources_hdl’ [-Wmissing-prototypes]
 2069 | void free_assoc_resources_hdl(_adapter *padapter, u8 lock_scanned_queue)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2232:4: warning: no previous prototype for ‘_rtw_set_chplan_cmd’ [-Wmissing-prototypes]
 2232 | u8 _rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, const struct country_chplan *country_ent, u8 swconfig)
      |    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:2504:4: warning: no previous prototype for ‘rtw_ssmps_wk_hdl’ [-Wmissing-prototypes]
 2504 | u8 rtw_ssmps_wk_hdl(_adapter *adapter, struct ssmps_cmd_parm *ssmp_param)
      |    ^~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3295:6: warning: no previous prototype for ‘rtw_dynamic_chk_wk_hdl’ [-Wmissing-prototypes]
 3295 | void rtw_dynamic_chk_wk_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3337:6: warning: no previous prototype for ‘lps_ctrl_wk_hdl’ [-Wmissing-prototypes]
 3337 | void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type, u8 *buf)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3500:6: warning: no previous prototype for ‘rtw_dm_in_lps_hdl’ [-Wmissing-prototypes]
 3500 | void rtw_dm_in_lps_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3541:6: warning: no previous prototype for ‘rtw_lps_change_dtim_hdl’ [-Wmissing-prototypes]
 3541 | void rtw_lps_change_dtim_hdl(_adapter *padapter, u8 dtim)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3720:6: warning: no previous prototype for ‘rtw_dm_ra_mask_hdl’ [-Wmissing-prototypes]
 3720 | void rtw_dm_ra_mask_hdl(_adapter *padapter, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3762:6: warning: no previous prototype for ‘power_saving_wk_hdl’ [-Wmissing-prototypes]
 3762 | void power_saving_wk_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:3768:6: warning: no previous prototype for ‘reset_securitypriv_hdl’ [-Wmissing-prototypes]
 3768 | void reset_securitypriv_hdl(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:4585:6: warning: no previous prototype for ‘btinfo_evt_dump’ [-Wmissing-prototypes]
 4585 | void btinfo_evt_dump(void *sel, void *buf)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5016:4: warning: no previous prototype for ‘rtw_c2h_wk_cmd’ [-Wmissing-prototypes]
 5016 | u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *pbuf, u16 length, u8 type)
      |    ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5134:4: warning: no previous prototype for ‘session_tracker_cmd’ [-Wmissing-prototypes]
 5134 | u8 session_tracker_cmd(_adapter *adapter, u8 cmd, struct sta_info *sta, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
      |    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5200:6: warning: no previous prototype for ‘session_tracker_chk_for_sta’ [-Wmissing-prototypes]
 5200 | void session_tracker_chk_for_sta(_adapter *adapter, struct sta_info *sta)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5282:6: warning: no previous prototype for ‘session_tracker_chk_for_adapter’ [-Wmissing-prototypes]
 5282 | void session_tracker_chk_for_adapter(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_cmd.c:5314:6: warning: no previous prototype for ‘session_tracker_cmd_hdl’ [-Wmissing-prototypes]
 5314 | void session_tracker_cmd_hdl(_adapter *adapter, struct st_cmd_parm *parm)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:671:5: warning: no previous prototype for ‘rtw_get_akm_suite_bitmap’ [-Wmissing-prototypes]
  671 | u32 rtw_get_akm_suite_bitmap(u8 *s)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1643:6: warning: no previous prototype for ‘dump_ht_cap_ie’ [-Wmissing-prototypes]
 1643 | void dump_ht_cap_ie(void *sel, const u8 *ie, u32 ie_len)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1662:6: warning: no previous prototype for ‘dump_ht_op_ie_content’ [-Wmissing-prototypes]
 1662 | void dump_ht_op_ie_content(void *sel, const u8 *buf, u32 buf_len)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ieee80211.c:1676:6: warning: no previous prototype for ‘dump_ht_op_ie’ [-Wmissing-prototypes]
 1676 | void dump_ht_op_ie(void *sel, const u8 *ie, u32 ie_len)
      |      ^~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:23:6: warning: no previous prototype for ‘rtw_init_mlme_timer’ [-Wmissing-prototypes]
   23 | void rtw_init_mlme_timer(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:40:9: warning: no previous prototype for ‘_rtw_init_mlme_priv’ [-Wmissing-prototypes]
   40 | sint    _rtw_init_mlme_priv(_adapter *padapter)
      |         ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:295:6: warning: no previous prototype for ‘_rtw_free_mlme_priv’ [-Wmissing-prototypes]
  295 | void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:313:9: warning: no previous prototype for ‘_rtw_enqueue_network’ [-Wmissing-prototypes]
  313 | sint    _rtw_enqueue_network(_queue *queue, struct wlan_network *pnetwork)
      |         ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme.c:1632:6: warning: no previous prototype for ‘rtw_reset_rx_info’ [-Wmissing-prototypes]
 1632 | void rtw_reset_rx_info(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:1110:6: warning: no previous prototype for ‘init_mlme_ext_timer’ [-Wmissing-prototypes]
 1110 | void init_mlme_ext_timer(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:1389:5: warning: no previous prototype for ‘p2p_listen_state_process’ [-Wmissing-prototypes]
 1389 | u32 p2p_listen_state_process(_adapter *padapter, unsigned char *da)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:3084:14: warning: no previous prototype for ‘on_action_spct_ch_switch’ [-Wmissing-prototypes]
 3084 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:4131:6: warning: no previous prototype for ‘issue_p2p_GO_response’ [-Wmissing-prototypes]
 4131 | void issue_p2p_GO_response(_adapter *padapter, u8 *raddr, u8 *frame_body, uint len, u8 result)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:4548:6: warning: no previous prototype for ‘issue_p2p_GO_confirm’ [-Wmissing-prototypes]
 4548 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:5426:4: warning: no previous prototype for ‘is_matched_in_profilelist’ [-Wmissing-prototypes]
 5426 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:5778:5: warning: no previous prototype for ‘_issue_probereq_p2p’ [-Wmissing-prototypes]
 5778 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6154:5: warning: no previous prototype for ‘rtw_action_public_decache’ [-Wmissing-prototypes]
 6154 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6179:14: warning: no previous prototype for ‘on_action_public_p2p’ [-Wmissing-prototypes]
 6179 | unsigned int on_action_public_p2p(union recv_frame *precv_frame)
      |              ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6555:14: warning: no previous prototype for ‘on_action_public_vendor’ [-Wmissing-prototypes]
 6555 | unsigned int on_action_public_vendor(union recv_frame *precv_frame)
      |              ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6575:14: warning: no previous prototype for ‘on_action_public_default’ [-Wmissing-prototypes]
 6575 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:7442:20: warning: no previous prototype for ‘_alloc_mgtxmitframe’ [-Wmissing-prototypes]
 7442 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once)
      |                    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:7742:5: warning: no previous prototype for ‘update_hidden_ssid’ [-Wmissing-prototypes]
 7742 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:8378:5: warning: no previous prototype for ‘_issue_probereq’ [-Wmissing-prototypes]
 8378 | int _issue_probereq(_adapter *padapter, const NDIS_802_11_SSID *pssid, const u8 *da, u8 ch, bool append_wps, int wait_ack)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:10516:5: warning: no previous prototype for ‘_issue_action_SM_PS’ [-Wmissing-prototypes]
10516 | int _issue_action_SM_PS(_adapter *padapter ,  unsigned char *raddr , u8 NewMimoPsMode ,  u8 wait_ack)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12547:6: warning: no previous prototype for ‘rtw_delba_check’ [-Wmissing-prototypes]
12547 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12585:4: warning: no previous prototype for ‘chk_ap_is_alive’ [-Wmissing-prototypes]
12585 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta)
      |    ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12625:4: warning: no previous prototype for ‘chk_adhoc_peer_is_alive’ [-Wmissing-prototypes]
12625 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta)
      |    ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:13166:6: warning: no previous prototype for ‘report_sta_timeout_event’ [-Wmissing-prototypes]
13166 | void report_sta_timeout_event(_adapter *padapter, u8 *MacAddr, unsigned short reason)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:13223:6: warning: no previous prototype for ‘clnt_sa_query_timeout’ [-Wmissing-prototypes]
13223 | void clnt_sa_query_timeout(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14209:4: warning: no previous prototype for ‘rtw_scan_sparse’ [-Wmissing-prototypes]
14209 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num)
      |    ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14313:4: warning: no previous prototype for ‘rtw_scan_backop_decision’ [-Wmissing-prototypes]
14313 | u8 rtw_scan_backop_decision(_adapter *adapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14728:6: warning: no previous prototype for ‘survey_done_set_ch_bw’ [-Wmissing-prototypes]
14728 | void survey_done_set_ch_bw(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14798:4: warning: no previous prototype for ‘rtw_ps_annc’ [-Wmissing-prototypes]
14798 | u8 rtw_ps_annc(_adapter *adapter, bool ps)
      |    ^~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14887:6: warning: no previous prototype for ‘sitesurvey_set_igi’ [-Wmissing-prototypes]
14887 | void sitesurvey_set_igi(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14947:6: warning: no previous prototype for ‘sitesurvey_set_msr’ [-Wmissing-prototypes]
14947 | void sitesurvey_set_msr(_adapter *adapter, bool enter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:197:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  197 |                 if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:41,
                 from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_rf.h:176:14: note: source object ‘regd_name’ of size 0
  176 |         char regd_name[0];
      |              ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:199:26: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  199 |                 else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_rf.h:176:14: note: source object ‘regd_name’ of size 0
  176 |         char regd_name[0];
      |              ^~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.c:886:4: warning: no previous prototype for ‘_rtw_mi_busy_traffic_check’ [-Wmissing-prototypes]
  886 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.c:1345:6: warning: no previous prototype for ‘rtw_dbg_skb_process’ [-Wmissing-prototypes]
 1345 | void rtw_dbg_skb_process(_adapter *padapter, union recv_frame *precvframe, union recv_frame *pcloneframe)
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1015:6: warning: no previous prototype for ‘_rtw_sec_camid_is_used’ [-Wmissing-prototypes]
 1015 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1103:6: warning: no previous prototype for ‘cam_cache_chk’ [-Wmissing-prototypes]
 1103 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk)
      |      ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1121:5: warning: no previous prototype for ‘_rtw_camid_search’ [-Wmissing-prototypes]
 1121 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1161:5: warning: no previous prototype for ‘rtw_get_camid’ [-Wmissing-prototypes]
 1161 | s16 rtw_get_camid(_adapter *adapter, u8 *addr, s16 kid, u8 gk)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1280:6: warning: no previous prototype for ‘rtw_camid_set’ [-Wmissing-prototypes]
 1280 | void rtw_camid_set(_adapter *adapter, u8 cam_id)
      |      ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1363:5: warning: no previous prototype for ‘rtw_get_empty_cam_entry’ [-Wmissing-prototypes]
 1363 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:2236:5: warning: no previous prototype for ‘check_ielen’ [-Wmissing-prototypes]
 2236 | int check_ielen(u8 *start, uint len)
      |     ^~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:197:6: warning: no previous prototype for ‘rtw_pwr_unassociated_idle’ [-Wmissing-prototypes]
  197 | bool rtw_pwr_unassociated_idle(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:402:6: warning: no previous prototype for ‘pwr_state_check_handler’ [-Wmissing-prototypes]
  402 | void pwr_state_check_handler(void *ctx)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:692:4: warning: no previous prototype for ‘PS_RDY_CHECK’ [-Wmissing-prototypes]
  692 | u8 PS_RDY_CHECK(_adapter *padapter)
      |    ^~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:581:6: warning: no previous prototype for ‘_dump_regd_exc_list’ [-Wmissing-prototypes]
  581 | void _dump_regd_exc_list(void *sel, struct rf_ctl_t *rfctl)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1211:4: warning: no previous prototype for ‘rtw_rf_get_kfree_tx_gain_offset’ [-Wmissing-prototypes]
 1211 | s8 rtw_rf_get_kfree_tx_gain_offset(_adapter *padapter, u8 path, u8 ch)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:39,
                 from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:899:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  899 |                                                                 , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_debug.h:202:46: note: in definition of macro ‘_RTW_PRINT_SEL’
  202 |                         _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
      |                                              ^~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:18:
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c: In function ‘_rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1141:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
 1141 |                 if (strcmp(ent->regd_name, regd_name) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
In function ‘_rtw_txpwr_lmt_get_by_name’,
    inlined from ‘rtw_txpwr_lmt_get_by_name’ at /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1158:8:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1141:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
 1141 |                 if (strcmp(ent->regd_name, regd_name) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h: In function ‘rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_chplan.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_chplan.c:415:6: warning: no previous prototype for ‘rtw_regsty_is_excl_chs’ [-Wmissing-prototypes]
  415 | bool rtw_regsty_is_excl_chs(struct registry_priv *regsty, u8 ch)
      |      ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:833:6: warning: no previous prototype for ‘recv_decache’ [-Wmissing-prototypes]
  833 | sint recv_decache(union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:888:6: warning: no previous prototype for ‘process_pwrbit_data’ [-Wmissing-prototypes]
  888 | void process_pwrbit_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:916:6: warning: no previous prototype for ‘process_wmmps_data’ [-Wmissing-prototypes]
  916 | void process_wmmps_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1149:6: warning: no previous prototype for ‘sta2sta_data_frame’ [-Wmissing-prototypes]
 1149 | sint sta2sta_data_frame(
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1328:6: warning: no previous prototype for ‘ap2sta_data_frame’ [-Wmissing-prototypes]
 1328 | sint ap2sta_data_frame(
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1468:6: warning: no previous prototype for ‘sta2ap_data_frame’ [-Wmissing-prototypes]
 1468 | sint sta2ap_data_frame(
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1553:6: warning: no previous prototype for ‘validate_recv_ctrl_frame’ [-Wmissing-prototypes]
 1553 | void validate_recv_ctrl_frame(_adapter *padapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1938:6: warning: no previous prototype for ‘validate_recv_mgnt_frame’ [-Wmissing-prototypes]
 1938 | sint validate_recv_mgnt_frame(PADAPTER padapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:2029:6: warning: no previous prototype for ‘validate_recv_data_frame’ [-Wmissing-prototypes]
 2029 | sint validate_recv_data_frame(_adapter *adapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:2384:6: warning: no previous prototype for ‘wlanhdr_to_ethhdr’ [-Wmissing-prototypes]
 2384 | sint wlanhdr_to_ethhdr(union recv_frame *precvframe)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3005:5: warning: no previous prototype for ‘amsdu_to_msdu’ [-Wmissing-prototypes]
 3005 | int amsdu_to_msdu(_adapter *padapter, union recv_frame *prframe)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3641:5: warning: no previous prototype for ‘validate_mp_recv_frame’ [-Wmissing-prototypes]
 3641 | int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3777:5: warning: no previous prototype for ‘mp_recv_frame’ [-Wmissing-prototypes]
 3777 | int mp_recv_frame(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4215:5: warning: no previous prototype for ‘recv_frame_monitor’ [-Wmissing-prototypes]
 4215 | int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4261:5: warning: no previous prototype for ‘recv_func_prehandle’ [-Wmissing-prototypes]
 4261 | int recv_func_prehandle(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4298:5: warning: no previous prototype for ‘recv_func_posthandle’ [-Wmissing-prototypes]
 4298 | int recv_func_posthandle(_adapter *padapter, union recv_frame *prframe)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4406:5: warning: no previous prototype for ‘recv_func’ [-Wmissing-prototypes]
 4406 | int recv_func(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4727:6: warning: no previous prototype for ‘rx_process_phy_info’ [-Wmissing-prototypes]
 4727 | void rx_process_phy_info(_adapter *padapter, union recv_frame *rframe)
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.c:19:6: warning: no previous prototype for ‘test_st_match_rule’ [-Wmissing-prototypes]
   19 | bool test_st_match_rule(_adapter *adapter, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.c:1003:4: warning: no previous prototype for ‘_rtw_access_ctrl’ [-Wmissing-prototypes]
 1003 | u8 _rtw_access_ctrl(_adapter *adapter, u8 period, const u8 *mac_addr)
      |    ^~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:937:6: warning: no previous prototype for ‘rtw_init_bmc_sta_tx_rate’ [-Wmissing-prototypes]
  937 | void rtw_init_bmc_sta_tx_rate(_adapter *padapter, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:2852:4: warning: no previous prototype for ‘rtw_ap_bmc_frames_hdl’ [-Wmissing-prototypes]
 2852 | u8 rtw_ap_bmc_frames_hdl(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:4173:6: warning: no previous prototype for ‘rtw_ap_bcmc_sta_flush’ [-Wmissing-prototypes]
 4173 | void rtw_ap_bcmc_sta_flush(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:473:6: warning: no previous prototype for ‘rtw_get_shared_macid_tx_rate_bmp_by_bw’ [-Wmissing-prototypes]
  473 | void rtw_get_shared_macid_tx_rate_bmp_by_bw(struct dvobj_priv *dvobj, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht, u32 *r_bmp_vht)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:3442:6: warning: no previous prototype for ‘rtw_init_xmitframe’ [-Wmissing-prototypes]
 3442 | void rtw_init_xmitframe(struct xmit_frame *pxframe)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:3733:20: warning: no previous prototype for ‘rtw_get_xframe’ [-Wmissing-prototypes]
 3733 | struct xmit_frame *rtw_get_xframe(struct xmit_priv *pxmitpriv, int *num_frame)
      |                    ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:4116:5: warning: no previous prototype for ‘rtw_br_client_tx’ [-Wmissing-prototypes]
 4116 | int rtw_br_client_tx(_adapter *padapter, struct sk_buff **pskb)
      |     ^~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:5785:6: warning: no previous prototype for ‘rtw_sctx_chk_waring_status’ [-Wmissing-prototypes]
 5785 | bool rtw_sctx_chk_waring_status(int status)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:21:5: warning: no previous prototype for ‘rtw_p2p_is_channel_list_ok’ [-Wmissing-prototypes]
   21 | int rtw_p2p_is_channel_list_ok(u8 desired_ch, u8 *ch_list, u8 ch_cnt)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:34:5: warning: no previous prototype for ‘is_any_client_associated’ [-Wmissing-prototypes]
   34 | int is_any_client_associated(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:2547:4: warning: no previous prototype for ‘rtw_p2p_get_peer_ch_list’ [-Wmissing-prototypes]
 2547 | u8 rtw_p2p_get_peer_ch_list(struct wifidirect_info *pwdinfo, u8 *ch_content, u8 ch_cnt, u8 *peer_ch_list)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:2569:4: warning: no previous prototype for ‘rtw_p2p_ch_inclusion’ [-Wmissing-prototypes]
 2569 | u8 rtw_p2p_ch_inclusion(_adapter *adapter, u8 *peer_ch_list, u8 peer_ch_num, u8 *ch_list_inclusioned)
      |    ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3064:6: warning: no previous prototype for ‘find_phase_handler’ [-Wmissing-prototypes]
 3064 | void find_phase_handler(_adapter        *padapter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3089:6: warning: no previous prototype for ‘restore_p2p_state_handler’ [-Wmissing-prototypes]
 3089 | void restore_p2p_state_handler(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3122:6: warning: no previous prototype for ‘pre_tx_invitereq_handler’ [-Wmissing-prototypes]
 3122 | void pre_tx_invitereq_handler(_adapter  *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3134:6: warning: no previous prototype for ‘pre_tx_provdisc_handler’ [-Wmissing-prototypes]
 3134 | void pre_tx_provdisc_handler(_adapter   *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3146:6: warning: no previous prototype for ‘pre_tx_negoreq_handler’ [-Wmissing-prototypes]
 3146 | void pre_tx_negoreq_handler(_adapter    *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3733:5: warning: no previous prototype for ‘rtw_xframe_build_wfd_ie’ [-Wmissing-prototypes]
 3733 | u32 rtw_xframe_build_wfd_ie(struct xmit_frame *xframe)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3811:6: warning: no previous prototype for ‘rtw_xframe_del_wfd_ie’ [-Wmissing-prototypes]
 3811 | bool rtw_xframe_del_wfd_ie(struct xmit_frame *xframe)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3883:5: warning: no previous prototype for ‘dump_p2p_attr_ch_list’ [-Wmissing-prototypes]
 3883 | u8 *dump_p2p_attr_ch_list(u8 *p2p_ie, uint p2p_ielen, u8 *buf, u32 buf_len)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3935:6: warning: no previous prototype for ‘rtw_p2p_nego_intent_compare’ [-Wmissing-prototypes]
 3935 | bool rtw_p2p_nego_intent_compare(u8 req, u8 resp)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:640:6: warning: no previous prototype for ‘nat25_db_expire’ [-Wmissing-prototypes]
  640 | void nat25_db_expire(_adapter *priv)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:756:5: warning: no previous prototype for ‘nat25_db_handle’ [-Wmissing-prototypes]
  756 | int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1386:5: warning: no previous prototype for ‘nat25_handle_frame’ [-Wmissing-prototypes]
 1386 | int nat25_handle_frame(_adapter *priv, struct sk_buff *skb)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1517:6: warning: no previous prototype for ‘dhcp_flag_bcast’ [-Wmissing-prototypes]
 1517 | void dhcp_flag_bcast(_adapter *priv, struct sk_buff *skb)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1558:7: warning: no previous prototype for ‘scdb_findEntry’ [-Wmissing-prototypes]
 1558 | void *scdb_findEntry(_adapter *priv, unsigned char *macAddr,
      |       ^~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:104:6: warning: no previous prototype for ‘sreset_restore_security_station’ [-Wmissing-prototypes]
  104 | void sreset_restore_security_station(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:140:6: warning: no previous prototype for ‘sreset_restore_network_station’ [-Wmissing-prototypes]
  140 | void sreset_restore_network_station(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:198:6: warning: no previous prototype for ‘sreset_restore_network_status’ [-Wmissing-prototypes]
  198 | void sreset_restore_network_status(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:378:6: warning: no previous prototype for ‘rtw_btcoex_SetBtPatchVersion’ [-Wmissing-prototypes]
  378 | void rtw_btcoex_SetBtPatchVersion(PADAPTER padapter, u16 btHciVer, u16 btPatchVer)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:383:6: warning: no previous prototype for ‘rtw_btcoex_SetHciVersion’ [-Wmissing-prototypes]
  383 | void rtw_btcoex_SetHciVersion(PADAPTER  padapter, u16 hciVersion)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:388:6: warning: no previous prototype for ‘rtw_btcoex_StackUpdateProfileInfo’ [-Wmissing-prototypes]
  388 | void rtw_btcoex_StackUpdateProfileInfo(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:67:6: warning: no previous prototype for ‘rtw_odm_adaptivity_ver_msg’ [-Wmissing-prototypes]
   67 | void rtw_odm_adaptivity_ver_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:75:6: warning: no previous prototype for ‘rtw_odm_adaptivity_en_msg’ [-Wmissing-prototypes]
   75 | void rtw_odm_adaptivity_en_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:92:6: warning: no previous prototype for ‘rtw_odm_adaptivity_mode_msg’ [-Wmissing-prototypes]
   92 | void rtw_odm_adaptivity_mode_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rm.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rm_fsm.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.o
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:796:6: warning: no previous prototype for ‘efuse_PreUpdateAction’ [-Wmissing-prototypes]
  796 | VOID efuse_PreUpdateAction(
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:825:6: warning: no previous prototype for ‘efuse_PostUpdateAction’ [-Wmissing-prototypes]
  825 | VOID efuse_PostUpdateAction(
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:2218:1: warning: no previous prototype for ‘Efuse_PgPacketWrite_BT’ [-Wmissing-prototypes]
 2218 | Efuse_PgPacketWrite_BT(IN       PADAPTER        pAdapter,
      | ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/osdep_service.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/osdep_service.c:1549:5: warning: no previous prototype for ‘rtw_change_ifname’ [-Wmissing-prototypes]
 1549 | int rtw_change_ifname(_adapter *padapter, const char *ifname)
      |     ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:808:6: warning: no previous prototype for ‘rtw_regsty_load_target_tx_power’ [-Wmissing-prototypes]
  808 | void rtw_regsty_load_target_tx_power(struct registry_priv *regsty)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1308:14: warning: no previous prototype for ‘rtw_classify8021d’ [-Wmissing-prototypes]
 1308 | unsigned int rtw_classify8021d(struct sk_buff *skb)
      |              ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1449:5: warning: no previous prototype for ‘rtw_ndev_init’ [-Wmissing-prototypes]
 1449 | int rtw_ndev_init(struct net_device *dev)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1462:6: warning: no previous prototype for ‘rtw_ndev_uninit’ [-Wmissing-prototypes]
 1462 | void rtw_ndev_uninit(struct net_device *dev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1532:6: warning: no previous prototype for ‘rtw_hook_if_ops’ [-Wmissing-prototypes]
 1532 | void rtw_hook_if_ops(struct net_device *ndev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1614:5: warning: no previous prototype for ‘rtw_os_ndev_alloc’ [-Wmissing-prototypes]
 1614 | int rtw_os_ndev_alloc(_adapter *adapter)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1668:5: warning: no previous prototype for ‘rtw_os_ndev_register’ [-Wmissing-prototypes]
 1668 | int rtw_os_ndev_register(_adapter *adapter, const char *name)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1810:5: warning: no previous prototype for ‘rtw_os_ndevs_alloc’ [-Wmissing-prototypes]
 1810 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1863:6: warning: no previous prototype for ‘rtw_os_ndevs_free’ [-Wmissing-prototypes]
 1863 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1995:4: warning: no previous prototype for ‘rtw_init_default_value’ [-Wmissing-prototypes]
 1995 | u8 rtw_init_default_value(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3094:5: warning: no previous prototype for ‘rtw_os_ndevs_register’ [-Wmissing-prototypes]
 3094 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3213:6: warning: no previous prototype for ‘netdev_br_init’ [-Wmissing-prototypes]
 3213 | void netdev_br_init(struct net_device *netdev)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3559:6: warning: no previous prototype for ‘ips_netdrv_open’ [-Wmissing-prototypes]
 3559 | int  ips_netdrv_open(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3761:5: warning: no previous prototype for ‘pm_netdev_open’ [-Wmissing-prototypes]
 3761 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3896:5: warning: no previous prototype for ‘pm_netdev_close’ [-Wmissing-prototypes]
 3896 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:4588:5: warning: no previous prototype for ‘rtw_suspend_normal’ [-Wmissing-prototypes]
 4588 | int rtw_suspend_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:4998:6: warning: no previous prototype for ‘rtw_mi_resume_process_normal’ [-Wmissing-prototypes]
 4998 | void rtw_mi_resume_process_normal(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:5027:5: warning: no previous prototype for ‘rtw_resume_process_normal’ [-Wmissing-prototypes]
 5027 | int rtw_resume_process_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:858:5: warning: no previous prototype for ‘rtw_hw_suspend’ [-Wmissing-prototypes]
  858 | int rtw_hw_suspend(_adapter *padapter)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:930:5: warning: no previous prototype for ‘rtw_hw_resume’ [-Wmissing-prototypes]
  930 | int rtw_hw_resume(_adapter *padapter)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:1006:5: warning: no previous prototype for ‘rtw_resume_process’ [-Wmissing-prototypes]
 1006 | int rtw_resume_process(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:1263:11: warning: no previous prototype for ‘rtw_usb_primary_adapter_init’ [-Wmissing-prototypes]
 1263 | _adapter *rtw_usb_primary_adapter_init(struct dvobj_priv *dvobj,
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:628:6: warning: no previous prototype for ‘usb_init_recvbuf’ [-Wmissing-prototypes]
  628 | void usb_init_recvbuf(_adapter *padapter, struct recv_buf *precvbuf)
      |      ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/usb_ops.h:30,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:1738,
                 from /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/include/usb_ops_linux.h:42:49: warning: no previous prototype for ‘usb_read_port_complete’ [-Wmissing-prototypes]
   42 | #define usb_read_port_complete(purb, regs)      usb_read_port_complete(purb)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:820:6: note: in expansion of macro ‘usb_read_port_complete’
  820 | void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
      |      ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:120:6: warning: no previous prototype for ‘indicate_wx_scan_complete_event’ [-Wmissing-prototypes]
  120 | void indicate_wx_scan_complete_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:133:6: warning: no previous prototype for ‘rtw_indicate_wx_assoc_event’ [-Wmissing-prototypes]
  133 | void rtw_indicate_wx_assoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:156:6: warning: no previous prototype for ‘rtw_indicate_wx_disassoc_event’ [-Wmissing-prototypes]
  156 | void rtw_indicate_wx_disassoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/xmit_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/xmit_linux.c:369:5: warning: no previous prototype for ‘rtw_mlcst2unicst’ [-Wmissing-prototypes]
  369 | int rtw_mlcst2unicst(_adapter *padapter, struct sk_buff *skb)
      |     ^~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:410:6: warning: no previous prototype for ‘rtw_cfg80211_allow_ch_switch_notify’ [-Wmissing-prototypes]
  410 | bool rtw_cfg80211_allow_ch_switch_notify(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:443:17: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
  443 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/osdep_service_linux.h:92,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/osdep_service.h:45,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:27,
                 from /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8811:6: note: declared here
 8811 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:458:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
  458 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/net/cfg80211.h:8795:6: note: declared here
 8795 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:486:6: warning: no previous prototype for ‘rtw_2g_channels_init’ [-Wmissing-prototypes]
  486 | void rtw_2g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:491:6: warning: no previous prototype for ‘rtw_5g_channels_init’ [-Wmissing-prototypes]
  491 | void rtw_5g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:496:6: warning: no previous prototype for ‘rtw_2g_rates_init’ [-Wmissing-prototypes]
  496 | void rtw_2g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:503:6: warning: no previous prototype for ‘rtw_5g_rates_init’ [-Wmissing-prototypes]
  503 | void rtw_5g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:510:34: warning: no previous prototype for ‘rtw_spt_band_alloc’ [-Wmissing-prototypes]
  510 | struct ieee80211_supported_band *rtw_spt_band_alloc(BAND_TYPE band)
      |                                  ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:553:6: warning: no previous prototype for ‘rtw_spt_band_free’ [-Wmissing-prototypes]
  553 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:641:36: warning: no previous prototype for ‘nl80211_iftype_to_rtw_network_type’ [-Wmissing-prototypes]
  641 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:674:5: warning: no previous prototype for ‘nl80211_iftype_to_rtw_mlme_state’ [-Wmissing-prototypes]
  674 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:2090:5: warning: no previous prototype for ‘cfg80211_rtw_set_default_mgmt_key’ [-Wmissing-prototypes]
 2090 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:2614:5: warning: no previous prototype for ‘rtw_cfg80211_is_target_wps_scan’ [-Wmissing-prototypes]
 2614 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_connect’:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:3899:32: warning: implicit conversion from ‘enum mlme_auth_type’ to ‘enum nl80211_auth_type’ [-Wenum-conversion]
 3899 |                 sme->auth_type = MLME_AUTHTYPE_SAE;
      |                                ^
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:5227:6: warning: no previous prototype for ‘dump_station_parameters’ [-Wmissing-prototypes]
 5227 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:5756:18: warning: no previous prototype for ‘rtw_sta_info_get_by_idx’ [-Wmissing-prototypes]
 5756 | struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:9792:5: warning: no previous prototype for ‘cfg80211_rtw_external_auth’ [-Wmissing-prototypes]
 9792 | int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/lib/modules/6.9.1-arch1-1/build/Makefile:1919: /var/lib/dkms/8192eu/r301.2741064/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.9.1-arch1-1/build'
make: *** [Makefile:2287: modules] Error 2
`h_switch’ [-Wmissing-prototypes]
 3084 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:4131:6: warning: no previous prototype for ‘issue_p2p_GO_response’ [-Wmissing-prototypes]
 4131 | void issue_p2p_GO_response(_adapter *padapter, u8 *raddr, u8 *frame_body, uint len, u8 result)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:4548:6: warning: no previous prototype for ‘issue_p2p_GO_confirm’ [-Wmissing-prototypes]
 4548 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:5426:4: warning: no previous prototype for ‘is_matched_in_profilelist’ [-Wmissing-prototypes]
 5426 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:5778:5: warning: no previous prototype for ‘_issue_probereq_p2p’ [-Wmissing-prototypes]
 5778 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6154:5: warning: no previous prototype for ‘rtw_action_public_decache’ [-Wmissing-prototypes]
 6154 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6179:14: warning: no previous prototype for ‘on_action_public_p2p’ [-Wmissing-prototypes]
 6179 | unsigned int on_action_public_p2p(union recv_frame *precv_frame)
      |              ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6555:14: warning: no previous prototype for ‘on_action_public_vendor’ [-Wmissing-prototypes]
 6555 | unsigned int on_action_public_vendor(union recv_frame *precv_frame)
      |              ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:6575:14: warning: no previous prototype for ‘on_action_public_default’ [-Wmissing-prototypes]
 6575 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:7442:20: warning: no previous prototype for ‘_alloc_mgtxmitframe’ [-Wmissing-prototypes]
 7442 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once)
      |                    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:7742:5: warning: no previous prototype for ‘update_hidden_ssid’ [-Wmissing-prototypes]
 7742 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:8378:5: warning: no previous prototype for ‘_issue_probereq’ [-Wmissing-prototypes]
 8378 | int _issue_probereq(_adapter *padapter, const NDIS_802_11_SSID *pssid, const u8 *da, u8 ch, bool append_wps, int wait_ack)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:10516:5: warning: no previous prototype for ‘_issue_action_SM_PS’ [-Wmissing-prototypes]
10516 | int _issue_action_SM_PS(_adapter *padapter ,  unsigned char *raddr , u8 NewMimoPsMode ,  u8 wait_ack)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12547:6: warning: no previous prototype for ‘rtw_delba_check’ [-Wmissing-prototypes]
12547 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12585:4: warning: no previous prototype for ‘chk_ap_is_alive’ [-Wmissing-prototypes]
12585 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta)
      |    ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:12625:4: warning: no previous prototype for ‘chk_adhoc_peer_is_alive’ [-Wmissing-prototypes]
12625 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta)
      |    ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:13166:6: warning: no previous prototype for ‘report_sta_timeout_event’ [-Wmissing-prototypes]
13166 | void report_sta_timeout_event(_adapter *padapter, u8 *MacAddr, unsigned short reason)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:13223:6: warning: no previous prototype for ‘clnt_sa_query_timeout’ [-Wmissing-prototypes]
13223 | void clnt_sa_query_timeout(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14209:4: warning: no previous prototype for ‘rtw_scan_sparse’ [-Wmissing-prototypes]
14209 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num)
      |    ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14313:4: warning: no previous prototype for ‘rtw_scan_backop_decision’ [-Wmissing-prototypes]
14313 | u8 rtw_scan_backop_decision(_adapter *adapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14728:6: warning: no previous prototype for ‘survey_done_set_ch_bw’ [-Wmissing-prototypes]
14728 | void survey_done_set_ch_bw(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14798:4: warning: no previous prototype for ‘rtw_ps_annc’ [-Wmissing-prototypes]
14798 | u8 rtw_ps_annc(_adapter *adapter, bool ps)
      |    ^~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14887:6: warning: no previous prototype for ‘sitesurvey_set_igi’ [-Wmissing-prototypes]
14887 | void sitesurvey_set_igi(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:14947:6: warning: no previous prototype for ‘sitesurvey_set_msr’ [-Wmissing-prototypes]
14947 | void sitesurvey_set_msr(_adapter *adapter, bool enter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:197:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  197 |                 if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:41,
                 from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_rf.h:176:14: note: source object ‘regd_name’ of size 0
  176 |         char regd_name[0];
      |              ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mlme_ext.c:199:26: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  199 |                 else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_rf.h:176:14: note: source object ‘regd_name’ of size 0
  176 |         char regd_name[0];
      |              ^~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.c:886:4: warning: no previous prototype for ‘_rtw_mi_busy_traffic_check’ [-Wmissing-prototypes]
  886 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_mi.c:1345:6: warning: no previous prototype for ‘rtw_dbg_skb_process’ [-Wmissing-prototypes]
 1345 | void rtw_dbg_skb_process(_adapter *padapter, union recv_frame *precvframe, union recv_frame *pcloneframe)
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1015:6: warning: no previous prototype for ‘_rtw_sec_camid_is_used’ [-Wmissing-prototypes]
 1015 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1103:6: warning: no previous prototype for ‘cam_cache_chk’ [-Wmissing-prototypes]
 1103 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk)
      |      ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1121:5: warning: no previous prototype for ‘_rtw_camid_search’ [-Wmissing-prototypes]
 1121 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1161:5: warning: no previous prototype for ‘rtw_get_camid’ [-Wmissing-prototypes]
 1161 | s16 rtw_get_camid(_adapter *adapter, u8 *addr, s16 kid, u8 gk)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1280:6: warning: no previous prototype for ‘rtw_camid_set’ [-Wmissing-prototypes]
 1280 | void rtw_camid_set(_adapter *adapter, u8 cam_id)
      |      ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:1363:5: warning: no previous prototype for ‘rtw_get_empty_cam_entry’ [-Wmissing-prototypes]
 1363 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_wlan_util.c:2236:5: warning: no previous prototype for ‘check_ielen’ [-Wmissing-prototypes]
 2236 | int check_ielen(u8 *start, uint len)
      |     ^~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:197:6: warning: no previous prototype for ‘rtw_pwr_unassociated_idle’ [-Wmissing-prototypes]
  197 | bool rtw_pwr_unassociated_idle(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:402:6: warning: no previous prototype for ‘pwr_state_check_handler’ [-Wmissing-prototypes]
  402 | void pwr_state_check_handler(void *ctx)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_pwrctrl.c:692:4: warning: no previous prototype for ‘PS_RDY_CHECK’ [-Wmissing-prototypes]
  692 | u8 PS_RDY_CHECK(_adapter *padapter)
      |    ^~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:581:6: warning: no previous prototype for ‘_dump_regd_exc_list’ [-Wmissing-prototypes]
  581 | void _dump_regd_exc_list(void *sel, struct rf_ctl_t *rfctl)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1211:4: warning: no previous prototype for ‘rtw_rf_get_kfree_tx_gain_offset’ [-Wmissing-prototypes]
 1211 | s8 rtw_rf_get_kfree_tx_gain_offset(_adapter *padapter, u8 path, u8 ch)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:39,
                 from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:899:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
  899 |                                                                 , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/rtw_debug.h:202:46: note: in definition of macro ‘_RTW_PRINT_SEL’
  202 |                         _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
      |                                              ^~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:18:
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c: In function ‘_rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1141:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
 1141 |                 if (strcmp(ent->regd_name, regd_name) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
In function ‘_rtw_txpwr_lmt_get_by_name’,
    inlined from ‘rtw_txpwr_lmt_get_by_name’ at /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1158:8:
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rf.c:1141:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
 1141 |                 if (strcmp(ent->regd_name, regd_name) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h: In function ‘rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/8192eu/r301.2741064/build/include/hal_data.h:335:14: note: source object ‘regd_name’ of size 0
  335 |         char regd_name[0];
      |              ^~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_chplan.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_chplan.c:415:6: warning: no previous prototype for ‘rtw_regsty_is_excl_chs’ [-Wmissing-prototypes]
  415 | bool rtw_regsty_is_excl_chs(struct registry_priv *regsty, u8 ch)
      |      ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:833:6: warning: no previous prototype for ‘recv_decache’ [-Wmissing-prototypes]
  833 | sint recv_decache(union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:888:6: warning: no previous prototype for ‘process_pwrbit_data’ [-Wmissing-prototypes]
  888 | void process_pwrbit_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:916:6: warning: no previous prototype for ‘process_wmmps_data’ [-Wmissing-prototypes]
  916 | void process_wmmps_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1149:6: warning: no previous prototype for ‘sta2sta_data_frame’ [-Wmissing-prototypes]
 1149 | sint sta2sta_data_frame(
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1328:6: warning: no previous prototype for ‘ap2sta_data_frame’ [-Wmissing-prototypes]
 1328 | sint ap2sta_data_frame(
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1468:6: warning: no previous prototype for ‘sta2ap_data_frame’ [-Wmissing-prototypes]
 1468 | sint sta2ap_data_frame(
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1553:6: warning: no previous prototype for ‘validate_recv_ctrl_frame’ [-Wmissing-prototypes]
 1553 | void validate_recv_ctrl_frame(_adapter *padapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:1938:6: warning: no previous prototype for ‘validate_recv_mgnt_frame’ [-Wmissing-prototypes]
 1938 | sint validate_recv_mgnt_frame(PADAPTER padapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:2029:6: warning: no previous prototype for ‘validate_recv_data_frame’ [-Wmissing-prototypes]
 2029 | sint validate_recv_data_frame(_adapter *adapter, union recv_frame *precv_frame)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:2384:6: warning: no previous prototype for ‘wlanhdr_to_ethhdr’ [-Wmissing-prototypes]
 2384 | sint wlanhdr_to_ethhdr(union recv_frame *precvframe)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3005:5: warning: no previous prototype for ‘amsdu_to_msdu’ [-Wmissing-prototypes]
 3005 | int amsdu_to_msdu(_adapter *padapter, union recv_frame *prframe)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3641:5: warning: no previous prototype for ‘validate_mp_recv_frame’ [-Wmissing-prototypes]
 3641 | int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:3777:5: warning: no previous prototype for ‘mp_recv_frame’ [-Wmissing-prototypes]
 3777 | int mp_recv_frame(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4215:5: warning: no previous prototype for ‘recv_frame_monitor’ [-Wmissing-prototypes]
 4215 | int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4261:5: warning: no previous prototype for ‘recv_func_prehandle’ [-Wmissing-prototypes]
 4261 | int recv_func_prehandle(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4298:5: warning: no previous prototype for ‘recv_func_posthandle’ [-Wmissing-prototypes]
 4298 | int recv_func_posthandle(_adapter *padapter, union recv_frame *prframe)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4406:5: warning: no previous prototype for ‘recv_func’ [-Wmissing-prototypes]
 4406 | int recv_func(_adapter *padapter, union recv_frame *rframe)
      |     ^~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_recv.c:4727:6: warning: no previous prototype for ‘rx_process_phy_info’ [-Wmissing-prototypes]
 4727 | void rx_process_phy_info(_adapter *padapter, union recv_frame *rframe)
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.c:19:6: warning: no previous prototype for ‘test_st_match_rule’ [-Wmissing-prototypes]
   19 | bool test_st_match_rule(_adapter *adapter, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sta_mgt.c:1003:4: warning: no previous prototype for ‘_rtw_access_ctrl’ [-Wmissing-prototypes]
 1003 | u8 _rtw_access_ctrl(_adapter *adapter, u8 period, const u8 *mac_addr)
      |    ^~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:937:6: warning: no previous prototype for ‘rtw_init_bmc_sta_tx_rate’ [-Wmissing-prototypes]
  937 | void rtw_init_bmc_sta_tx_rate(_adapter *padapter, struct sta_info *psta)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:2852:4: warning: no previous prototype for ‘rtw_ap_bmc_frames_hdl’ [-Wmissing-prototypes]
 2852 | u8 rtw_ap_bmc_frames_hdl(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_ap.c:4173:6: warning: no previous prototype for ‘rtw_ap_bcmc_sta_flush’ [-Wmissing-prototypes]
 4173 | void rtw_ap_bcmc_sta_flush(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:473:6: warning: no previous prototype for ‘rtw_get_shared_macid_tx_rate_bmp_by_bw’ [-Wmissing-prototypes]
  473 | void rtw_get_shared_macid_tx_rate_bmp_by_bw(struct dvobj_priv *dvobj, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht, u32 *r_bmp_vht)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:3442:6: warning: no previous prototype for ‘rtw_init_xmitframe’ [-Wmissing-prototypes]
 3442 | void rtw_init_xmitframe(struct xmit_frame *pxframe)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:3733:20: warning: no previous prototype for ‘rtw_get_xframe’ [-Wmissing-prototypes]
 3733 | struct xmit_frame *rtw_get_xframe(struct xmit_priv *pxmitpriv, int *num_frame)
      |                    ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:4116:5: warning: no previous prototype for ‘rtw_br_client_tx’ [-Wmissing-prototypes]
 4116 | int rtw_br_client_tx(_adapter *padapter, struct sk_buff **pskb)
      |     ^~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_xmit.c:5785:6: warning: no previous prototype for ‘rtw_sctx_chk_waring_status’ [-Wmissing-prototypes]
 5785 | bool rtw_sctx_chk_waring_status(int status)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:21:5: warning: no previous prototype for ‘rtw_p2p_is_channel_list_ok’ [-Wmissing-prototypes]
   21 | int rtw_p2p_is_channel_list_ok(u8 desired_ch, u8 *ch_list, u8 ch_cnt)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:34:5: warning: no previous prototype for ‘is_any_client_associated’ [-Wmissing-prototypes]
   34 | int is_any_client_associated(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:2547:4: warning: no previous prototype for ‘rtw_p2p_get_peer_ch_list’ [-Wmissing-prototypes]
 2547 | u8 rtw_p2p_get_peer_ch_list(struct wifidirect_info *pwdinfo, u8 *ch_content, u8 ch_cnt, u8 *peer_ch_list)
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:2569:4: warning: no previous prototype for ‘rtw_p2p_ch_inclusion’ [-Wmissing-prototypes]
 2569 | u8 rtw_p2p_ch_inclusion(_adapter *adapter, u8 *peer_ch_list, u8 peer_ch_num, u8 *ch_list_inclusioned)
      |    ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3064:6: warning: no previous prototype for ‘find_phase_handler’ [-Wmissing-prototypes]
 3064 | void find_phase_handler(_adapter        *padapter)
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3089:6: warning: no previous prototype for ‘restore_p2p_state_handler’ [-Wmissing-prototypes]
 3089 | void restore_p2p_state_handler(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3122:6: warning: no previous prototype for ‘pre_tx_invitereq_handler’ [-Wmissing-prototypes]
 3122 | void pre_tx_invitereq_handler(_adapter  *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3134:6: warning: no previous prototype for ‘pre_tx_provdisc_handler’ [-Wmissing-prototypes]
 3134 | void pre_tx_provdisc_handler(_adapter   *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3146:6: warning: no previous prototype for ‘pre_tx_negoreq_handler’ [-Wmissing-prototypes]
 3146 | void pre_tx_negoreq_handler(_adapter    *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3733:5: warning: no previous prototype for ‘rtw_xframe_build_wfd_ie’ [-Wmissing-prototypes]
 3733 | u32 rtw_xframe_build_wfd_ie(struct xmit_frame *xframe)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3811:6: warning: no previous prototype for ‘rtw_xframe_del_wfd_ie’ [-Wmissing-prototypes]
 3811 | bool rtw_xframe_del_wfd_ie(struct xmit_frame *xframe)
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3883:5: warning: no previous prototype for ‘dump_p2p_attr_ch_list’ [-Wmissing-prototypes]
 3883 | u8 *dump_p2p_attr_ch_list(u8 *p2p_ie, uint p2p_ielen, u8 *buf, u32 buf_len)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_p2p.c:3935:6: warning: no previous prototype for ‘rtw_p2p_nego_intent_compare’ [-Wmissing-prototypes]
 3935 | bool rtw_p2p_nego_intent_compare(u8 req, u8 resp)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:640:6: warning: no previous prototype for ‘nat25_db_expire’ [-Wmissing-prototypes]
  640 | void nat25_db_expire(_adapter *priv)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:756:5: warning: no previous prototype for ‘nat25_db_handle’ [-Wmissing-prototypes]
  756 | int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1386:5: warning: no previous prototype for ‘nat25_handle_frame’ [-Wmissing-prototypes]
 1386 | int nat25_handle_frame(_adapter *priv, struct sk_buff *skb)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1517:6: warning: no previous prototype for ‘dhcp_flag_bcast’ [-Wmissing-prototypes]
 1517 | void dhcp_flag_bcast(_adapter *priv, struct sk_buff *skb)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_br_ext.c:1558:7: warning: no previous prototype for ‘scdb_findEntry’ [-Wmissing-prototypes]
 1558 | void *scdb_findEntry(_adapter *priv, unsigned char *macAddr,
      |       ^~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:104:6: warning: no previous prototype for ‘sreset_restore_security_station’ [-Wmissing-prototypes]
  104 | void sreset_restore_security_station(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:140:6: warning: no previous prototype for ‘sreset_restore_network_station’ [-Wmissing-prototypes]
  140 | void sreset_restore_network_station(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_sreset.c:198:6: warning: no previous prototype for ‘sreset_restore_network_status’ [-Wmissing-prototypes]
  198 | void sreset_restore_network_status(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:378:6: warning: no previous prototype for ‘rtw_btcoex_SetBtPatchVersion’ [-Wmissing-prototypes]
  378 | void rtw_btcoex_SetBtPatchVersion(PADAPTER padapter, u16 btHciVer, u16 btPatchVer)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:383:6: warning: no previous prototype for ‘rtw_btcoex_SetHciVersion’ [-Wmissing-prototypes]
  383 | void rtw_btcoex_SetHciVersion(PADAPTER  padapter, u16 hciVersion)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_btcoex.c:388:6: warning: no previous prototype for ‘rtw_btcoex_StackUpdateProfileInfo’ [-Wmissing-prototypes]
  388 | void rtw_btcoex_StackUpdateProfileInfo(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.o
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:67:6: warning: no previous prototype for ‘rtw_odm_adaptivity_ver_msg’ [-Wmissing-prototypes]
   67 | void rtw_odm_adaptivity_ver_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:75:6: warning: no previous prototype for ‘rtw_odm_adaptivity_en_msg’ [-Wmissing-prototypes]
   75 | void rtw_odm_adaptivity_en_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/rtw_odm.c:92:6: warning: no previous prototype for ‘rtw_odm_adaptivity_mode_msg’ [-Wmissing-prototypes]
   92 | void rtw_odm_adaptivity_mode_msg(void *sel, _adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rm.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/rtw_rm_fsm.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.o
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:796:6: warning: no previous prototype for ‘efuse_PreUpdateAction’ [-Wmissing-prototypes]
  796 | VOID efuse_PreUpdateAction(
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:825:6: warning: no previous prototype for ‘efuse_PostUpdateAction’ [-Wmissing-prototypes]
  825 | VOID efuse_PostUpdateAction(
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/core/efuse/rtw_efuse.c:2218:1: warning: no previous prototype for ‘Efuse_PgPacketWrite_BT’ [-Wmissing-prototypes]
 2218 | Efuse_PgPacketWrite_BT(IN       PADAPTER        pAdapter,
      | ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/osdep_service.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/osdep_service.c:1549:5: warning: no previous prototype for ‘rtw_change_ifname’ [-Wmissing-prototypes]
 1549 | int rtw_change_ifname(_adapter *padapter, const char *ifname)
      |     ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:808:6: warning: no previous prototype for ‘rtw_regsty_load_target_tx_power’ [-Wmissing-prototypes]
  808 | void rtw_regsty_load_target_tx_power(struct registry_priv *regsty)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1308:14: warning: no previous prototype for ‘rtw_classify8021d’ [-Wmissing-prototypes]
 1308 | unsigned int rtw_classify8021d(struct sk_buff *skb)
      |              ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1449:5: warning: no previous prototype for ‘rtw_ndev_init’ [-Wmissing-prototypes]
 1449 | int rtw_ndev_init(struct net_device *dev)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1462:6: warning: no previous prototype for ‘rtw_ndev_uninit’ [-Wmissing-prototypes]
 1462 | void rtw_ndev_uninit(struct net_device *dev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1532:6: warning: no previous prototype for ‘rtw_hook_if_ops’ [-Wmissing-prototypes]
 1532 | void rtw_hook_if_ops(struct net_device *ndev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1614:5: warning: no previous prototype for ‘rtw_os_ndev_alloc’ [-Wmissing-prototypes]
 1614 | int rtw_os_ndev_alloc(_adapter *adapter)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1668:5: warning: no previous prototype for ‘rtw_os_ndev_register’ [-Wmissing-prototypes]
 1668 | int rtw_os_ndev_register(_adapter *adapter, const char *name)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1810:5: warning: no previous prototype for ‘rtw_os_ndevs_alloc’ [-Wmissing-prototypes]
 1810 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1863:6: warning: no previous prototype for ‘rtw_os_ndevs_free’ [-Wmissing-prototypes]
 1863 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:1995:4: warning: no previous prototype for ‘rtw_init_default_value’ [-Wmissing-prototypes]
 1995 | u8 rtw_init_default_value(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3094:5: warning: no previous prototype for ‘rtw_os_ndevs_register’ [-Wmissing-prototypes]
 3094 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3213:6: warning: no previous prototype for ‘netdev_br_init’ [-Wmissing-prototypes]
 3213 | void netdev_br_init(struct net_device *netdev)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3559:6: warning: no previous prototype for ‘ips_netdrv_open’ [-Wmissing-prototypes]
 3559 | int  ips_netdrv_open(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3761:5: warning: no previous prototype for ‘pm_netdev_open’ [-Wmissing-prototypes]
 3761 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:3896:5: warning: no previous prototype for ‘pm_netdev_close’ [-Wmissing-prototypes]
 3896 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:4588:5: warning: no previous prototype for ‘rtw_suspend_normal’ [-Wmissing-prototypes]
 4588 | int rtw_suspend_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:4998:6: warning: no previous prototype for ‘rtw_mi_resume_process_normal’ [-Wmissing-prototypes]
 4998 | void rtw_mi_resume_process_normal(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/os_intfs.c:5027:5: warning: no previous prototype for ‘rtw_resume_process_normal’ [-Wmissing-prototypes]
 5027 | int rtw_resume_process_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:858:5: warning: no previous prototype for ‘rtw_hw_suspend’ [-Wmissing-prototypes]
  858 | int rtw_hw_suspend(_adapter *padapter)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:930:5: warning: no previous prototype for ‘rtw_hw_resume’ [-Wmissing-prototypes]
  930 | int rtw_hw_resume(_adapter *padapter)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:1006:5: warning: no previous prototype for ‘rtw_resume_process’ [-Wmissing-prototypes]
 1006 | int rtw_resume_process(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_intf.c:1263:11: warning: no previous prototype for ‘rtw_usb_primary_adapter_init’ [-Wmissing-prototypes]
 1263 | _adapter *rtw_usb_primary_adapter_init(struct dvobj_priv *dvobj,
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:628:6: warning: no previous prototype for ‘usb_init_recvbuf’ [-Wmissing-prototypes]
  628 | void usb_init_recvbuf(_adapter *padapter, struct recv_buf *precvbuf)
      |      ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/usb_ops.h:30,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:1738,
                 from /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:17:
/var/lib/dkms/8192eu/r301.2741064/build/include/usb_ops_linux.h:42:49: warning: no previous prototype for ‘usb_read_port_complete’ [-Wmissing-prototypes]
   42 | #define usb_read_port_complete(purb, regs)      usb_read_port_complete(purb)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/usb_ops_linux.c:820:6: note: in expansion of macro ‘usb_read_port_complete’
  820 | void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
      |      ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:120:6: warning: no previous prototype for ‘indicate_wx_scan_complete_event’ [-Wmissing-prototypes]
  120 | void indicate_wx_scan_complete_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:133:6: warning: no previous prototype for ‘rtw_indicate_wx_assoc_event’ [-Wmissing-prototypes]
  133 | void rtw_indicate_wx_assoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_linux.c:156:6: warning: no previous prototype for ‘rtw_indicate_wx_disassoc_event’ [-Wmissing-prototypes]
  156 | void rtw_indicate_wx_disassoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/xmit_linux.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/xmit_linux.c:369:5: warning: no previous prototype for ‘rtw_mlcst2unicst’ [-Wmissing-prototypes]
  369 | int rtw_mlcst2unicst(_adapter *padapter, struct sk_buff *skb)
      |     ^~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.o
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:410:6: warning: no previous prototype for ‘rtw_cfg80211_allow_ch_switch_notify’ [-Wmissing-prototypes]
  410 | bool rtw_cfg80211_allow_ch_switch_notify(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:443:17: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
  443 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/8192eu/r301.2741064/build/include/osdep_service_linux.h:92,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/osdep_service.h:45,
                 from /var/lib/dkms/8192eu/r301.2741064/build/include/drv_types.h:27,
                 from /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8811:6: note: declared here
 8811 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:458:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
  458 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/net/cfg80211.h:8795:6: note: declared here
 8795 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:486:6: warning: no previous prototype for ‘rtw_2g_channels_init’ [-Wmissing-prototypes]
  486 | void rtw_2g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:491:6: warning: no previous prototype for ‘rtw_5g_channels_init’ [-Wmissing-prototypes]
  491 | void rtw_5g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:496:6: warning: no previous prototype for ‘rtw_2g_rates_init’ [-Wmissing-prototypes]
  496 | void rtw_2g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:503:6: warning: no previous prototype for ‘rtw_5g_rates_init’ [-Wmissing-prototypes]
  503 | void rtw_5g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:510:34: warning: no previous prototype for ‘rtw_spt_band_alloc’ [-Wmissing-prototypes]
  510 | struct ieee80211_supported_band *rtw_spt_band_alloc(BAND_TYPE band)
      |                                  ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:553:6: warning: no previous prototype for ‘rtw_spt_band_free’ [-Wmissing-prototypes]
  553 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:641:36: warning: no previous prototype for ‘nl80211_iftype_to_rtw_network_type’ [-Wmissing-prototypes]
  641 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:674:5: warning: no previous prototype for ‘nl80211_iftype_to_rtw_mlme_state’ [-Wmissing-prototypes]
  674 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:2090:5: warning: no previous prototype for ‘cfg80211_rtw_set_default_mgmt_key’ [-Wmissing-prototypes]
 2090 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:2614:5: warning: no previous prototype for ‘rtw_cfg80211_is_target_wps_scan’ [-Wmissing-prototypes]
 2614 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_connect’:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:3899:32: warning: implicit conversion from ‘enum mlme_auth_type’ to ‘enum nl80211_auth_type’ [-Wenum-conversion]
 3899 |                 sme->auth_type = MLME_AUTHTYPE_SAE;
      |                                ^
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:5227:6: warning: no previous prototype for ‘dump_station_parameters’ [-Wmissing-prototypes]
 5227 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:5756:18: warning: no previous prototype for ‘rtw_sta_info_get_by_idx’ [-Wmissing-prototypes]
 5756 | struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.c:9792:5: warning: no previous prototype for ‘cfg80211_rtw_external_auth’ [-Wmissing-prototypes]
 9792 | int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/8192eu/r301.2741064/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/lib/modules/6.9.1-arch1-1/build/Makefile:1919: /var/lib/dkms/8192eu/r301.2741064/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.9.1-arch1-1/build'
make: *** [Makefile:2287: modules] Error 2
CGarces commented 6 months ago

Please confirm that works after #342

dafengsu7 commented 5 months ago

Everything is ok, Thank you a lot!