2

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?

1 Answers1

3

The circa-2013 driver file is too old for your 4.8.0-xx kernel, try this instead:

git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make
sudo cp firmware/*  /lib/firmware
sudo insmod mt7610u.ko

Please tell us how it went as we will have additional steps.

pbhj
  • 3,364
chili555
  • 61,330