0
(06-01-2025, 17:51)ontos napisał(a): Spróbuj tego, może pomoże: https://github.com/ivanovborislav/rtl8188eu
Kod:
mint@mint:~$ cd rtl8188eu
bash: cd: rtl8188eu: No such file or directory
mint@mint:~$ cd rtl8188eu
bash: cd: rtl8188eu: No such file or directory
mint@mint:~$ cd rtl8188e
bash: cd: rtl8188e: No such file or directory
mint@mint:~$ git clone https://github.com/ivanovborislav/rtl8188eu.git
cd rtl8188eu
Cloning into 'rtl8188eu'...
remote: Enumerating objects: 878, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 878 (delta 57), reused 45 (delta 45), pack-reused 816 (from 2)
Receiving objects: 100% (878/878), 2.87 MiB | 4.09 MiB/s, done.
Resolving deltas: 100% (379/379), done.
mint@mint:~/rtl8188eu$ sudo apt-get install bc build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bc is already the newest version (1.07.1-3ubuntu4).
build-essential is already the newest version (12.10ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mint@mint:~/rtl8188eu$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.8.0-38-generic is already the newest version (6.8.0-38.38).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mint@mint:~/rtl8188eu$ make
sudo make install
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.0-38-generic/build M=/home/mint/rtl8188eu modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-38-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using: gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
CC [M] /home/mint/rtl8188eu/core/rtw_cmd.o
In file included from /home/mint/rtl8188eu/include/drv_types.h:114,
from /home/mint/rtl8188eu/core/rtw_cmd.c:17:
/home/mint/rtl8188eu/include/rtw_mlme_ext.h:1181:4: warning: no previous prototype for ‘rtw_mesh_set_plink_state_cmd_hdl’ [-Wmissing-prototypes]
1181 | u8 rtw_mesh_set_plink_state_cmd_hdl(_adapter *adapter, u8 *parmbuf) { return H2C_CMD_FAIL; };
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:1634:6: warning: no previous prototype for ‘free_assoc_resources_hdl’ [-Wmissing-prototypes]
1634 | void free_assoc_resources_hdl(_adapter *padapter, u8 lock_scanned_queue)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:2212:4: warning: no previous prototype for ‘rtw_ssmps_wk_hdl’ [-Wmissing-prototypes]
2212 | u8 rtw_ssmps_wk_hdl(_adapter *adapter, struct ssmps_cmd_parm *ssmp_param)
| ^~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:2992:6: warning: no previous prototype for ‘rtw_dynamic_chk_wk_hdl’ [-Wmissing-prototypes]
2992 | void rtw_dynamic_chk_wk_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3049:6: warning: no previous prototype for ‘lps_ctrl_wk_hdl’ [-Wmissing-prototypes]
3049 | void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type, u8 *buf)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3228:6: warning: no previous prototype for ‘rtw_dm_in_lps_hdl’ [-Wmissing-prototypes]
3228 | void rtw_dm_in_lps_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3269:6: warning: no previous prototype for ‘rtw_lps_change_dtim_hdl’ [-Wmissing-prototypes]
3269 | void rtw_lps_change_dtim_hdl(_adapter *padapter, u8 dtim)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3351:6: warning: no previous prototype for ‘rpt_timer_setting_wk_hdl’ [-Wmissing-prototypes]
3351 | void rpt_timer_setting_wk_hdl(_adapter *padapter, u16 minRptTime)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3448:6: warning: no previous prototype for ‘rtw_dm_ra_mask_hdl’ [-Wmissing-prototypes]
3448 | void rtw_dm_ra_mask_hdl(_adapter *padapter, struct sta_info *psta)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3490:6: warning: no previous prototype for ‘power_saving_wk_hdl’ [-Wmissing-prototypes]
3490 | void power_saving_wk_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:3496:6: warning: no previous prototype for ‘reset_securitypriv_hdl’ [-Wmissing-prototypes]
3496 | void reset_securitypriv_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:4781:4: warning: no previous prototype for ‘rtw_c2h_wk_cmd’ [-Wmissing-prototypes]
4781 | u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *pbuf, u16 length, u8 type)
| ^~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:4921:4: warning: no previous prototype for ‘session_tracker_cmd’ [-Wmissing-prototypes]
4921 | u8 session_tracker_cmd(_adapter *adapter, u8 cmd, struct sta_info *sta, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:4987:6: warning: no previous prototype for ‘session_tracker_chk_for_sta’ [-Wmissing-prototypes]
4987 | void session_tracker_chk_for_sta(_adapter *adapter, struct sta_info *sta)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:5069:6: warning: no previous prototype for ‘session_tracker_chk_for_adapter’ [-Wmissing-prototypes]
5069 | void session_tracker_chk_for_adapter(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:5101:6: warning: no previous prototype for ‘session_tracker_cmd_hdl’ [-Wmissing-prototypes]
5101 | void session_tracker_cmd_hdl(_adapter *adapter, struct st_cmd_parm *parm)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:5263:6: warning: no previous prototype for ‘rtw_ac_parm_cmd_hdl’ [-Wmissing-prototypes]
5263 | void rtw_ac_parm_cmd_hdl(_adapter *padapter, u8 *_ac_parm_buf, int ac_type)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_cmd.c:5623:6: warning: no previous prototype for ‘rtw_getrttbl_cmd_cmdrsp_callback’ [-Wmissing-prototypes]
5623 | void rtw_getrttbl_cmd_cmdrsp_callback(_adapter *padapter, struct cmd_obj *pcmd)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_security.o
CC [M] /home/mint/rtl8188eu/core/rtw_debug.o
CC [M] /home/mint/rtl8188eu/core/rtw_io.o
CC [M] /home/mint/rtl8188eu/core/rtw_ioctl_query.o
CC [M] /home/mint/rtl8188eu/core/rtw_ioctl_set.o
CC [M] /home/mint/rtl8188eu/core/rtw_ieee80211.o
/home/mint/rtl8188eu/core/rtw_ieee80211.c:489:6: warning: no previous prototype for ‘rtw_filter_suppport_rateie’ [-Wmissing-prototypes]
489 | void rtw_filter_suppport_rateie(WLAN_BSSID_EX *pbss_network, u8 keep)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_ieee80211.c:766:5: warning: no previous prototype for ‘rtw_get_akm_suite_bitmap’ [-Wmissing-prototypes]
766 | u32 rtw_get_akm_suite_bitmap(u8 *s)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_ieee80211.c:1824:6: warning: no previous prototype for ‘dump_ht_cap_ie’ [-Wmissing-prototypes]
1824 | void dump_ht_cap_ie(void *sel, const u8 *ie, u32 ie_len)
| ^~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_ieee80211.c:1843:6: warning: no previous prototype for ‘dump_ht_op_ie_content’ [-Wmissing-prototypes]
1843 | void dump_ht_op_ie_content(void *sel, const u8 *buf, u32 buf_len)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_ieee80211.c:1857:6: warning: no previous prototype for ‘dump_ht_op_ie’ [-Wmissing-prototypes]
1857 | void dump_ht_op_ie(void *sel, const u8 *ie, u32 ie_len)
| ^~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_mlme.o
/home/mint/rtl8188eu/core/rtw_mlme.c:26:6: warning: no previous prototype for ‘rtw_init_mlme_timer’ [-Wmissing-prototypes]
26 | void rtw_init_mlme_timer(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme.c:43:9: warning: no previous prototype for ‘_rtw_init_mlme_priv’ [-Wmissing-prototypes]
43 | sint _rtw_init_mlme_priv(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme.c:333:6: warning: no previous prototype for ‘_rtw_free_mlme_priv’ [-Wmissing-prototypes]
333 | void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme.c:361:9: warning: no previous prototype for ‘_rtw_enqueue_network’ [-Wmissing-prototypes]
361 | sint _rtw_enqueue_network(_queue *queue, struct wlan_network *pnetwork)
| ^~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme.c:2421:6: warning: no previous prototype for ‘rtw_reset_rx_info’ [-Wmissing-prototypes]
2421 | void rtw_reset_rx_info(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_mlme_ext.o
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:1430:6: warning: no previous prototype for ‘init_mlme_ext_timer’ [-Wmissing-prototypes]
1430 | void init_mlme_ext_timer(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:1715:5: warning: no previous prototype for ‘p2p_listen_state_process’ [-Wmissing-prototypes]
1715 | u32 p2p_listen_state_process(_adapter *padapter, unsigned char *da)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:3567:14: warning: no previous prototype for ‘on_action_spct_ch_switch’ [-Wmissing-prototypes]
3567 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:4647:6: warning: no previous prototype for ‘issue_p2p_GO_response’ [-Wmissing-prototypes]
4647 | void issue_p2p_GO_response(_adapter *padapter, u8 *raddr, u8 *frame_body, uint len, u8 result)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:5064:6: warning: no previous prototype for ‘issue_p2p_GO_confirm’ [-Wmissing-prototypes]
5064 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result)
| ^~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:5942:4: warning: no previous prototype for ‘is_matched_in_profilelist’ [-Wmissing-prototypes]
5942 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:6258:5: warning: no previous prototype for ‘_issue_probereq_p2p’ [-Wmissing-prototypes]
6258 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:6635:5: warning: no previous prototype for ‘rtw_action_public_decache’ [-Wmissing-prototypes]
6635 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:6660:14: warning: no previous prototype for ‘on_action_public_p2p’ [-Wmissing-prototypes]
6660 | unsigned int on_action_public_p2p(union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:7013:14: warning: no previous prototype for ‘on_action_public_vendor’ [-Wmissing-prototypes]
7013 | unsigned int on_action_public_vendor(union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:7043:14: warning: no previous prototype for ‘on_action_public_default’ [-Wmissing-prototypes]
7043 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:7581:20: warning: no previous prototype for ‘_alloc_mgtxmitframe’ [-Wmissing-prototypes]
7581 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:7916:5: warning: no previous prototype for ‘update_hidden_ssid’ [-Wmissing-prototypes]
7916 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:8548:5: warning: no previous prototype for ‘_issue_probereq’ [-Wmissing-prototypes]
8548 | int _issue_probereq(_adapter *padapter, const NDIS_802_11_SSID *pssid, const u8 *da, u8 ch, bool append_wps, int wait_ack)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:10764:5: warning: no previous prototype for ‘_issue_action_SM_PS’ [-Wmissing-prototypes]
10764 | int _issue_action_SM_PS(_adapter *padapter , unsigned char *raddr , u8 NewMimoPsMode , u8 wait_ack)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:12587:6: warning: no previous prototype for ‘rtw_delba_check’ [-Wmissing-prototypes]
12587 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:12626:4: warning: no previous prototype for ‘chk_ap_is_alive’ [-Wmissing-prototypes]
12626 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:12666:4: warning: no previous prototype for ‘chk_adhoc_peer_is_alive’ [-Wmissing-prototypes]
12666 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:13317:6: warning: no previous prototype for ‘report_sta_timeout_event’ [-Wmissing-prototypes]
13317 | void report_sta_timeout_event(_adapter *padapter, u8 *MacAddr, unsigned short reason)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:13374:6: warning: no previous prototype for ‘clnt_sa_query_timeout’ [-Wmissing-prototypes]
13374 | void clnt_sa_query_timeout(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:14011:4: warning: no previous prototype for ‘rtw_scan_sparse’ [-Wmissing-prototypes]
14011 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:14093:4: warning: no previous prototype for ‘rtw_scan_backop_decision’ [-Wmissing-prototypes]
14093 | u8 rtw_scan_backop_decision(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:14520:6: warning: no previous prototype for ‘survey_done_set_ch_bw’ [-Wmissing-prototypes]
14520 | void survey_done_set_ch_bw(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:14590:4: warning: no previous prototype for ‘rtw_ps_annc’ [-Wmissing-prototypes]
14590 | u8 rtw_ps_annc(_adapter *adapter, bool ps)
| ^~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:14679:6: warning: no previous prototype for ‘sitesurvey_set_igi’ [-Wmissing-prototypes]
14679 | void sitesurvey_set_igi(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:14739:6: warning: no previous prototype for ‘sitesurvey_set_msr’ [-Wmissing-prototypes]
14739 | void sitesurvey_set_msr(_adapter *adapter, bool enter)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:201:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
201 | if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mint/rtl8188eu/include/drv_types.h:62,
from /home/mint/rtl8188eu/core/rtw_mlme_ext.c:17:
/home/mint/rtl8188eu/include/rtw_rf.h:267:14: note: source object ‘regd_name’ of size 0
267 | char regd_name[0];
| ^~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mlme_ext.c:203:26: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
203 | else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/include/rtw_rf.h:267:14: note: source object ‘regd_name’ of size 0
267 | char regd_name[0];
| ^~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_mi.o
/home/mint/rtl8188eu/core/rtw_mi.c:877:4: warning: no previous prototype for ‘_rtw_mi_busy_traffic_check’ [-Wmissing-prototypes]
877 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_mi.c:1320:6: warning: no previous prototype for ‘rtw_dbg_skb_process’ [-Wmissing-prototypes]
1320 | void rtw_dbg_skb_process(_adapter *padapter, union recv_frame *precvframe, union recv_frame *pcloneframe)
| ^~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_wlan_util.o
/home/mint/rtl8188eu/core/rtw_wlan_util.c:937:6: warning: no previous prototype for ‘_rtw_sec_camid_is_used’ [-Wmissing-prototypes]
937 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:1025:6: warning: no previous prototype for ‘cam_cache_chk’ [-Wmissing-prototypes]
1025 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk)
| ^~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:1043:5: warning: no previous prototype for ‘_rtw_camid_search’ [-Wmissing-prototypes]
1043 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:1083:5: warning: no previous prototype for ‘rtw_get_camid’ [-Wmissing-prototypes]
1083 | s16 rtw_get_camid(_adapter *adapter, u8 *addr, s16 kid, u8 gk, bool ext_sec)
| ^~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:1213:6: warning: no previous prototype for ‘rtw_camid_set’ [-Wmissing-prototypes]
1213 | void rtw_camid_set(_adapter *adapter, u8 cam_id)
| ^~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:1294:5: warning: no previous prototype for ‘rtw_get_empty_cam_entry’ [-Wmissing-prototypes]
1294 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:2184:5: warning: no previous prototype for ‘check_ielen’ [-Wmissing-prototypes]
2184 | int check_ielen(u8 *start, uint len)
| ^~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:2409:5: warning: no previous prototype for ‘_rtw_get_bcn_keys’ [-Wmissing-prototypes]
2409 | int _rtw_get_bcn_keys(u8 *cap_info, u32 buf_len, u8 def_ch, ADAPTER *adapter
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_wlan_util.c:3930:6: warning: no previous prototype for ‘rtw_iface_bcmc_sec_cam_map_restore’ [-Wmissing-prototypes]
3930 | void rtw_iface_bcmc_sec_cam_map_restore(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_vht.o
CC [M] /home/mint/rtl8188eu/core/rtw_pwrctrl.o
/home/mint/rtl8188eu/core/rtw_pwrctrl.c:200:6: warning: no previous prototype for ‘rtw_pwr_unassociated_idle’ [-Wmissing-prototypes]
200 | bool rtw_pwr_unassociated_idle(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_pwrctrl.c:352:6: warning: no previous prototype for ‘pwr_state_check_handler’ [-Wmissing-prototypes]
352 | void pwr_state_check_handler(void *ctx)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_pwrctrl.c:642:4: warning: no previous prototype for ‘PS_RDY_CHECK’ [-Wmissing-prototypes]
642 | u8 PS_RDY_CHECK(_adapter *padapter)
| ^~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_rf.o
/home/mint/rtl8188eu/core/rtw_rf.c:1683:6: warning: no previous prototype for ‘_dump_regd_exc_list’ [-Wmissing-prototypes]
1683 | void _dump_regd_exc_list(void *sel, struct rf_ctl_t *rfctl)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_rf.c:2285:4: warning: no previous prototype for ‘rtw_rf_get_kfree_tx_gain_offset’ [-Wmissing-prototypes]
2285 | s8 rtw_rf_get_kfree_tx_gain_offset(_adapter *padapter, u8 path, u8 ch)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/asm-generic/bug.h:22,
from ./arch/x86/include/asm/bug.h:87,
from ./include/linux/bug.h:5,
from ./arch/x86/include/asm/paravirt.h:19,
from ./arch/x86/include/asm/cpuid.h:62,
from ./arch/x86/include/asm/processor.h:19,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:67,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /home/mint/rtl8188eu/include/basic_types.h:76,
from /home/mint/rtl8188eu/include/drv_types.h:26,
from /home/mint/rtl8188eu/core/rtw_rf.c:17:
/home/mint/rtl8188eu/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/home/mint/rtl8188eu/core/rtw_rf.c:2003:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
2003 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/printk.h:429:33: note: in definition of macro ‘printk_index_wrap’
429 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
/home/mint/rtl8188eu/include/rtw_debug.h:85:26: note: in expansion of macro ‘printk’
85 | #define _dbgdump printk
| ^~~~~~
/home/mint/rtl8188eu/include/rtw_debug.h:263:25: note: in expansion of macro ‘_RTW_PRINT’
263 | _RTW_PRINT(fmt, ##arg); \
| ^~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_rf.c:2002:57: note: in expansion of macro ‘_RTW_PRINT_SEL’
2002 | _RTW_PRINT_SEL(sel, "%3c "
| ^~~~~~~~~~~~~~
In file included from /home/mint/rtl8188eu/core/rtw_rf.c:18:
/home/mint/rtl8188eu/include/hal_data.h:345:14: note: source object ‘regd_name’ of size 0
345 | char regd_name[0];
| ^~~~~~~~~
In file included from /home/mint/rtl8188eu/include/drv_types.h:60:
/home/mint/rtl8188eu/core/rtw_rf.c:2003:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
2003 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/include/rtw_debug.h:265:46: note: in definition of macro ‘_RTW_PRINT_SEL’
265 | _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
| ^~~
/home/mint/rtl8188eu/include/hal_data.h:345:14: note: source object ‘regd_name’ of size 0
345 | char regd_name[0];
| ^~~~~~~~~
/home/mint/rtl8188eu/core/rtw_rf.c: In function ‘_rtw_txpwr_lmt_get_by_name’:
/home/mint/rtl8188eu/core/rtw_rf.c:2215:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
2215 | if (strcmp(ent->regd_name, regd_name) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/include/hal_data.h:345:14: note: source object ‘regd_name’ of size 0
345 | char regd_name[0];
| ^~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_chplan.o
/home/mint/rtl8188eu/core/rtw_chplan.c:332:4: warning: no previous prototype for ‘rtw_chplan_get_default_regd_2g’ [-Wmissing-prototypes]
332 | u8 rtw_chplan_get_default_regd_2g(u8 id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_chplan.c:337:4: warning: no previous prototype for ‘rtw_chplan_get_default_regd_5g’ [-Wmissing-prototypes]
337 | u8 rtw_chplan_get_default_regd_5g(u8 id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/monitor/rtw_radiotap.o
CC [M] /home/mint/rtl8188eu/core/rtw_recv.o
/home/mint/rtl8188eu/core/rtw_recv.c:882:6: warning: no previous prototype for ‘recv_decache’ [-Wmissing-prototypes]
882 | sint recv_decache(union recv_frame *precv_frame)
| ^~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:1294:5: warning: no previous prototype for ‘rtw_sta_rx_data_validate_hdr’ [-Wmissing-prototypes]
1294 | int rtw_sta_rx_data_validate_hdr(_adapter *adapter, union recv_frame *rframe, struct sta_info **sta)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:1426:5: warning: no previous prototype for ‘rtw_sta_rx_amsdu_act_check’ [-Wmissing-prototypes]
1426 | int rtw_sta_rx_amsdu_act_check(union recv_frame *rframe
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:1445:6: warning: no previous prototype for ‘sta2sta_data_frame’ [-Wmissing-prototypes]
1445 | sint sta2sta_data_frame(
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:1511:6: warning: no previous prototype for ‘ap2sta_data_frame’ [-Wmissing-prototypes]
1511 | sint ap2sta_data_frame(
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:1575:6: warning: no previous prototype for ‘sta2ap_data_frame’ [-Wmissing-prototypes]
1575 | sint sta2ap_data_frame(
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:2033:6: warning: no previous prototype for ‘validate_recv_mgnt_frame’ [-Wmissing-prototypes]
2033 | sint validate_recv_mgnt_frame(PADAPTER padapter, union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:2077:6: warning: no previous prototype for ‘validate_recv_data_frame’ [-Wmissing-prototypes]
2077 | sint validate_recv_data_frame(_adapter *adapter, union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:2517:21: warning: no previous prototype for ‘rtw_recv_llc_parse’ [-Wmissing-prototypes]
2517 | enum rtw_rx_llc_hdl rtw_recv_llc_parse(u8 *msdu, u16 msdu_len)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:2540:6: warning: no previous prototype for ‘wlanhdr_to_ethhdr’ [-Wmissing-prototypes]
2540 | sint wlanhdr_to_ethhdr(union recv_frame *precvframe, enum rtw_rx_llc_hdl llc_hdl)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:3089:5: warning: no previous prototype for ‘amsdu_to_msdu’ [-Wmissing-prototypes]
3089 | int amsdu_to_msdu(_adapter *padapter, union recv_frame *prframe)
| ^~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:3793:5: warning: no previous prototype for ‘validate_mp_recv_frame’ [-Wmissing-prototypes]
3793 | int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:3928:5: warning: no previous prototype for ‘mp_recv_frame’ [-Wmissing-prototypes]
3928 | int mp_recv_frame(_adapter *padapter, union recv_frame *rframe)
| ^~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:4057:5: warning: no previous prototype for ‘recv_frame_monitor’ [-Wmissing-prototypes]
4057 | int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:4106:5: warning: no previous prototype for ‘recv_func_prehandle’ [-Wmissing-prototypes]
4106 | int recv_func_prehandle(_adapter *padapter, union recv_frame *rframe)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:4143:5: warning: no previous prototype for ‘recv_func_posthandle’ [-Wmissing-prototypes]
4143 | int recv_func_posthandle(_adapter *padapter, union recv_frame *prframe)
| ^~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:4251:5: warning: no previous prototype for ‘recv_func’ [-Wmissing-prototypes]
4251 | int recv_func(_adapter *padapter, union recv_frame *rframe)
| ^~~~~~~~~
/home/mint/rtl8188eu/core/rtw_recv.c:4577:6: warning: no previous prototype for ‘rx_process_phy_info’ [-Wmissing-prototypes]
4577 | void rx_process_phy_info(_adapter *padapter, union recv_frame *rframe)
| ^~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_sta_mgt.o
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_sta_mgt.c:1111:4: warning: no previous prototype for ‘_rtw_access_ctrl’ [-Wmissing-prototypes]
1111 | u8 _rtw_access_ctrl(_adapter *adapter, u8 period, const u8 *mac_addr)
| ^~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_ap.o
/home/mint/rtl8188eu/core/rtw_ap.c:955:6: warning: no previous prototype for ‘rtw_init_bmc_sta_tx_rate’ [-Wmissing-prototypes]
955 | void rtw_init_bmc_sta_tx_rate(_adapter *padapter, struct sta_info *psta)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_ap.c:2873:4: warning: no previous prototype for ‘rtw_ap_bmc_frames_hdl’ [-Wmissing-prototypes]
2873 | u8 rtw_ap_bmc_frames_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/wds/rtw_wds.o
CC [M] /home/mint/rtl8188eu/core/mesh/rtw_mesh.o
CC [M] /home/mint/rtl8188eu/core/mesh/rtw_mesh_pathtbl.o
CC [M] /home/mint/rtl8188eu/core/mesh/rtw_mesh_hwmp.o
CC [M] /home/mint/rtl8188eu/core/rtw_xmit.o
/home/mint/rtl8188eu/core/rtw_xmit.c:63:6: warning: no previous prototype for ‘rtw_free_xmit_block’ [-Wmissing-prototypes]
63 | void rtw_free_xmit_block(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:473:6: warning: no previous prototype for ‘rtw_get_adapter_tx_rate_bmp_by_bw’ [-Wmissing-prototypes]
473 | void rtw_get_adapter_tx_rate_bmp_by_bw(_adapter *adapter, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht, u64 *r_bmp_vht)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:517:6: warning: no previous prototype for ‘rtw_get_shared_macid_tx_rate_bmp_by_bw’ [-Wmissing-prototypes]
517 | 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, u64 *r_bmp_vht)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:552:6: warning: no previous prototype for ‘rtw_get_adapter_tx_rate_bmp’ [-Wmissing-prototypes]
552 | void rtw_get_adapter_tx_rate_bmp(_adapter *adapter, u16 r_bmp_cck_ofdm[], u32 r_bmp_ht[], u64 r_bmp_vht[])
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:3881:6: warning: no previous prototype for ‘rtw_init_xmitframe’ [-Wmissing-prototypes]
3881 | void rtw_init_xmitframe(struct xmit_frame *pxframe)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:4248:20: warning: no previous prototype for ‘rtw_get_xframe’ [-Wmissing-prototypes]
4248 | struct xmit_frame *rtw_get_xframe(struct xmit_priv *pxmitpriv, int *num_frame)
| ^~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:4611:5: warning: no previous prototype for ‘rtw_br_client_tx’ [-Wmissing-prototypes]
4611 | int rtw_br_client_tx(_adapter *padapter, struct sk_buff **pskb)
| ^~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_xmit.c:6619:6: warning: no previous prototype for ‘rtw_sctx_chk_waring_status’ [-Wmissing-prototypes]
6619 | bool rtw_sctx_chk_waring_status(int status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_p2p.o
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:2492:4: warning: no previous prototype for ‘rtw_p2p_get_peer_ch_list’ [-Wmissing-prototypes]
2492 | u8 rtw_p2p_get_peer_ch_list(struct wifidirect_info *pwdinfo, u8 *ch_content, u8 ch_cnt, u8 *peer_ch_list)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:2514:4: warning: no previous prototype for ‘rtw_p2p_ch_inclusion’ [-Wmissing-prototypes]
2514 | u8 rtw_p2p_ch_inclusion(_adapter *adapter, u8 *peer_ch_list, u8 peer_ch_num, u8 *ch_list_inclusioned)
| ^~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3010:6: warning: no previous prototype for ‘find_phase_handler’ [-Wmissing-prototypes]
3010 | void find_phase_handler(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3033:6: warning: no previous prototype for ‘restore_p2p_state_handler’ [-Wmissing-prototypes]
3033 | void restore_p2p_state_handler(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3066:6: warning: no previous prototype for ‘pre_tx_invitereq_handler’ [-Wmissing-prototypes]
3066 | void pre_tx_invitereq_handler(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3078:6: warning: no previous prototype for ‘pre_tx_provdisc_handler’ [-Wmissing-prototypes]
3078 | void pre_tx_provdisc_handler(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3090:6: warning: no previous prototype for ‘pre_tx_negoreq_handler’ [-Wmissing-prototypes]
3090 | void pre_tx_negoreq_handler(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3339:5: warning: no previous prototype for ‘rtw_xframe_build_wfd_ie’ [-Wmissing-prototypes]
3339 | u32 rtw_xframe_build_wfd_ie(struct xmit_frame *xframe)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3417:6: warning: no previous prototype for ‘rtw_xframe_del_wfd_ie’ [-Wmissing-prototypes]
3417 | bool rtw_xframe_del_wfd_ie(struct xmit_frame *xframe)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3489:5: warning: no previous prototype for ‘dump_p2p_attr_ch_list’ [-Wmissing-prototypes]
3489 | u8 *dump_p2p_attr_ch_list(u8 *p2p_ie, uint p2p_ielen, u8 *buf, u32 buf_len)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_p2p.c:3541:6: warning: no previous prototype for ‘rtw_p2p_nego_intent_compare’ [-Wmissing-prototypes]
3541 | bool rtw_p2p_nego_intent_compare(u8 req, u8 resp)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_rson.o
CC [M] /home/mint/rtl8188eu/core/rtw_tdls.o
CC [M] /home/mint/rtl8188eu/core/rtw_br_ext.o
/home/mint/rtl8188eu/core/rtw_br_ext.c:645:6: warning: no previous prototype for ‘nat25_db_expire’ [-Wmissing-prototypes]
645 | void nat25_db_expire(_adapter *priv)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_br_ext.c:761:5: warning: no previous prototype for ‘nat25_db_handle’ [-Wmissing-prototypes]
761 | int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_br_ext.c:1393:5: warning: no previous prototype for ‘nat25_handle_frame’ [-Wmissing-prototypes]
1393 | int nat25_handle_frame(_adapter *priv, struct sk_buff *skb)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_br_ext.c:1524:6: warning: no previous prototype for ‘dhcp_flag_bcast’ [-Wmissing-prototypes]
1524 | void dhcp_flag_bcast(_adapter *priv, struct sk_buff *skb)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_br_ext.c:1565:7: warning: no previous prototype for ‘scdb_findEntry’ [-Wmissing-prototypes]
1565 | void *scdb_findEntry(_adapter *priv, unsigned char *macAddr,
| ^~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_iol.o
CC [M] /home/mint/rtl8188eu/core/rtw_sreset.o
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_sreset.c:200:6: warning: no previous prototype for ‘sreset_restore_network_status’ [-Wmissing-prototypes]
200 | void sreset_restore_network_status(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_btcoex_wifionly.o
CC [M] /home/mint/rtl8188eu/core/rtw_btcoex.o
CC [M] /home/mint/rtl8188eu/core/rtw_beamforming.o
CC [M] /home/mint/rtl8188eu/core/rtw_odm.o
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/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] /home/mint/rtl8188eu/core/rtw_rm.o
CC [M] /home/mint/rtl8188eu/core/rtw_rm_fsm.o
CC [M] /home/mint/rtl8188eu/core/rtw_ft.o
CC [M] /home/mint/rtl8188eu/core/rtw_wnm.o
CC [M] /home/mint/rtl8188eu/core/rtw_mbo.o
CC [M] /home/mint/rtl8188eu/core/rtw_rm_util.o
CC [M] /home/mint/rtl8188eu/core/efuse/rtw_efuse.o
/home/mint/rtl8188eu/core/efuse/rtw_efuse.c:60:9: warning: no previous prototype for ‘efuse_IsBT_Masked’ [-Wmissing-prototypes]
60 | BOOLEAN efuse_IsBT_Masked(PADAPTER pAdapter, u16 Offset)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/efuse/rtw_efuse.c:985:6: warning: no previous prototype for ‘efuse_PreUpdateAction’ [-Wmissing-prototypes]
985 | void efuse_PreUpdateAction(
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/efuse/rtw_efuse.c:1014:6: warning: no previous prototype for ‘efuse_PostUpdateAction’ [-Wmissing-prototypes]
1014 | void efuse_PostUpdateAction(
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/efuse/rtw_efuse.c:2511:1: warning: no previous prototype for ‘Efuse_PgPacketWrite_BT’ [-Wmissing-prototypes]
2511 | Efuse_PgPacketWrite_BT(PADAPTER pAdapter,
| ^~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/rtw_roch.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-internal.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-internal-enc.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-gcm.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-ccm.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-omac1.o
CC [M] /home/mint/rtl8188eu/core/crypto/ccmp.o
/home/mint/rtl8188eu/core/crypto/ccmp.c:179:6: warning: no previous prototype for ‘ccmp_get_pn’ [-Wmissing-prototypes]
179 | void ccmp_get_pn(u8 *pn, const u8 *data)
| ^~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/core/crypto/gcmp.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-siv.o
CC [M] /home/mint/rtl8188eu/core/crypto/aes-ctr.o
CC [M] /home/mint/rtl8188eu/core/crypto/sha256-internal.o
CC [M] /home/mint/rtl8188eu/core/crypto/sha256.o
CC [M] /home/mint/rtl8188eu/core/crypto/sha256-prf.o
CC [M] /home/mint/rtl8188eu/core/crypto/rtw_crypto_wrap.o
CC [M] /home/mint/rtl8188eu/core/rtw_swcrypto.o
/home/mint/rtl8188eu/core/rtw_swcrypto.c:30:5: warning: no previous prototype for ‘_rtw_ccmp_encrypt’ [-Wmissing-prototypes]
30 | int _rtw_ccmp_encrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_swcrypto.c:71:5: warning: no previous prototype for ‘_rtw_ccmp_decrypt’ [-Wmissing-prototypes]
71 | int _rtw_ccmp_decrypt(_adapter * padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame,
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_swcrypto.c:134:5: warning: no previous prototype for ‘_rtw_gcmp_encrypt’ [-Wmissing-prototypes]
134 | int _rtw_gcmp_encrypt(_adapter * padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_swcrypto.c:165:5: warning: no previous prototype for ‘_rtw_gcmp_decrypt’ [-Wmissing-prototypes]
165 | int _rtw_gcmp_decrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_swcrypto.c:196:4: warning: no previous prototype for ‘_bip_ccmp_protect’ [-Wmissing-prototypes]
196 | u8 _bip_ccmp_protect(const u8 *key, size_t key_len,
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/core/rtw_swcrypto.c:220:4: warning: no previous prototype for ‘_bip_gcmp_protect’ [-Wmissing-prototypes]
220 | u8 _bip_gcmp_protect(u8 *whdr_pos, size_t len,
| ^~~~~~~~~~~~~~~~~
CC [M] /home/mint/rtl8188eu/os_dep/osdep_service.o
CC [M] /home/mint/rtl8188eu/os_dep/linux/os_intfs.o
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:1087:6: warning: no previous prototype for ‘rtw_regsty_load_target_tx_power’ [-Wmissing-prototypes]
1087 | void rtw_regsty_load_target_tx_power(struct registry_priv *regsty)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:1703:14: warning: no previous prototype for ‘rtw_classify8021d’ [-Wmissing-prototypes]
1703 | unsigned int rtw_classify8021d(struct sk_buff *skb)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:1839:5: warning: no previous prototype for ‘rtw_ndev_init’ [-Wmissing-prototypes]
1839 | int rtw_ndev_init(struct net_device *dev)
| ^~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:1852:6: warning: no previous prototype for ‘rtw_ndev_uninit’ [-Wmissing-prototypes]
1852 | void rtw_ndev_uninit(struct net_device *dev)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:1912:6: warning: no previous prototype for ‘rtw_hook_if_ops’ [-Wmissing-prototypes]
1912 | void rtw_hook_if_ops(struct net_device *ndev)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:1994:5: warning: no previous prototype for ‘rtw_os_ndev_alloc’ [-Wmissing-prototypes]
1994 | int rtw_os_ndev_alloc(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c: In function ‘rtw_ethtool_get_drvinfo’:
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:2050:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
2050 | strlcpy(info->driver, wiphy_dev(wdev->wiphy)->driver->name,
| ^~~~~~~
| strscpy
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c: At top level:
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:2149:5: warning: no previous prototype for ‘rtw_os_ndev_register’ [-Wmissing-prototypes]
2149 | int rtw_os_ndev_register(_adapter *adapter, const char *name)
| ^~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:2300:5: warning: no previous prototype for ‘rtw_os_ndevs_alloc’ [-Wmissing-prototypes]
2300 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:2352:6: warning: no previous prototype for ‘rtw_os_ndevs_free’ [-Wmissing-prototypes]
2352 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj)
| ^~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:2484:4: warning: no previous prototype for ‘rtw_init_default_value’ [-Wmissing-prototypes]
2484 | u8 rtw_init_default_value(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:3721:5: warning: no previous prototype for ‘rtw_os_ndevs_register’ [-Wmissing-prototypes]
3721 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj)
| ^~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:3838:6: warning: no previous prototype for ‘netdev_br_init’ [-Wmissing-prototypes]
3838 | void netdev_br_init(struct net_device *netdev)
| ^~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:4155:6: warning: no previous prototype for ‘ips_netdrv_open’ [-Wmissing-prototypes]
4155 | int ips_netdrv_open(_adapter *padapter)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:4350:5: warning: no previous prototype for ‘pm_netdev_open’ [-Wmissing-prototypes]
4350 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal)
| ^~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:4478:5: warning: no previous prototype for ‘pm_netdev_close’ [-Wmissing-prototypes]
4478 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal)
| ^~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:5162:5: warning: no previous prototype for ‘rtw_suspend_normal’ [-Wmissing-prototypes]
5162 | int rtw_suspend_normal(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:5575:6: warning: no previous prototype for ‘rtw_mi_resume_process_normal’ [-Wmissing-prototypes]
5575 | void rtw_mi_resume_process_normal(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mint/rtl8188eu/os_dep/linux/os_intfs.c:5608:5: warning: no previous prototype for ‘rtw_resume_process_normal’ [-Wmissing-prototypes]
5608 | int rtw_resume_process_normal(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /home/mint/rtl8188eu/os_dep/linux/os_intfs.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-38-generic/Makefile:1926: /home/mint/rtl8188eu] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-38-generic'
make: *** [Makefile:2491: modules] Error 2
install -p -m 644 8188eu.ko /lib/modules/6.8.0-38-generic/kernel/drivers/net/wireless/
install: cannot stat '8188eu.ko': No such file or directory
make: *** [Makefile:2497: install] Error 1
Chyba jednak nie pomoze