Environmental description
System: centos7 linux-3.10 0 kernel
Driver version: 00014996-rtl8192eu_linux_v5. 6.3. 1_34030_COEX20171113-0047.20190613.zip
Network card: Realtek rtl8192eu
Problem log
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/include/../os_dep/linux/ioctl_cfg80211.h:414:27: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)
#define NL80211_BAND_2GHZ IEEE80211_BAND_2GHZ
^
Solution:
Modify IOCTL_cfg80211.h
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0))
+#define IEEE80211_BAND_2GHZ 0 //add by wellnw 20211213
#define NL80211_BAND_2GHZ IEEE80211_BAND_2GHZ
#define NL80211_BAND_5GHZ IEEE80211_BAND_5GHZ
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0))
Read More:
- [Solved] Error ‘false‘ undeclared (first use in this function)
- [Solved] IEEE contribute error: Page n has margin implications
- Error: could not find function … in R [How to Solve]
- MFC:: error C2065: “IDD_DIALOG1”: undeclared identifier Sending and handling custom messages in MFC threads
- Error c2065: “gwl_wndproc”: undeclared identifier [How to Solve]
- Error c2065: ‘QAPP’: undeclared identifier [Solved]
- QT Error: use of undeclared identifier [How to Solve]
- [Solved] Vs2015 error c2065: undeclared identifier error (__func__)
- [Solved] Android Studio Error: Use of undeclared identifier ‘cv‘
- [Solved] Error: error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
- React Hook “useState“ is called in function “xxx“ which is neither a React function component or
- Syntax Error: TypeError: this.getOptions is not a function
- this.$el.querySelectorAll is not a function [How to Solve]
- [How to Fix] _this2.$xxxis not a function
- TypeError: res.render is not a function
- [Solved] Vue Install less Error: this.getOptions is not a function
- TypeError: db.collection is not a function
- Webpack packaging error TypeError: this.getOptions is not a function at Object.lessLoader
- Taro Use React Hooks Error: TypeError: Object(…) is not a function
- [Solved] Hikvision SDK: NET_DVR_GetDVRConfig failed Device does not support this function