+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)) //add by wellnw 20211213 +#define STATION_INFO_ASSOC_REQ_IES 0 +#endif环境说明
系统:Centos7 (3.10.0)
驱动版本:00014996-RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613.zip
网卡:Realtek RTL8192EU
错误log/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_sta_assoc’: /home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:4322:18: error: ‘STATION_INFO_ASSOC_REQ_IES’ undeclared (first use in this function) sinfo.filled = STATION_INFO_ASSOC_REQ_IES; ^解决方案
修改ioctl_cfg80211.c,文件开头增加以下定义
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)) //add by wellnw 20211213 +#define STATION_INFO_ASSOC_REQ_IES 0 +#endif驱动代码完整修改链接
Centos7(3.10.0内核)编译rtl8192EU WiFi driver v5.6.3.1出现 error: ‘IEEE80211_NUM_BANDS’ undeclared here修改方案_wgl307293845的博客-CSDN博客
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)