I'm trying to compile this driver for the TP-Link T2U usb WLAN adapter on Ubuntu 16.10. Trying to perform make command I get the following error:
/home/iks/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];
The solution from here contains exactly the same installation manual as in the repository and therefore doesn't help.
Could someone help me to solve this?