friendlyarm / h3_lichee

BSP for FriendlyARM NanoPi H3
106 stars 104 forks source link

can't build rtl8188eu driver #6

Open mczerski opened 8 years ago

mczerski commented 8 years ago

Hi,

I'm trying to rebuild kernel with rtl8188eu driver enabled (why it is not enabled by default ?) so i set CONFIG_RTL8188EU=m but i get undefined symbols errors:

ERROR: "wiphy_free" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "wiphy_new" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "wiphy_register" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined! ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!

in the debian image available for the nanopi m1 there is this driver so it must be supported, what i'm doing wrong ?

mczerski commented 8 years ago

I had to add #undef CONFIG_IOCTL_CFG80211 to linux-3.4/drivers/net/wireless/rtl8188eu/include/autoconf.h i don't believe thi is proper solution.

wuweidong0107 commented 7 years ago

WiFi module driver repo: https://github.com/friendlyarm/wireless