TP-Link wifi adapter for desktop is not working with linux

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

TP-Link wifi adapter for desktop is not working with linux

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
TP-Link wifi adapter for desktop is not working with linux
TP-Link wifi adapter for desktop is not working with linux
2021-08-06 07:47:35 - last edited 2021-08-16 10:11:27
Model: TL-WN725N  
Hardware Version: V3
Firmware Version:

I bought this adapter from amazon for my linux desktop. 

https://www.amazon.in/gp/product/B008IFXQFU/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

 

An downloaded the drivers from here : https://www.tp-link.com/in/support/download/tl-wn725n/

 

Whe n I run the make command in order to build the driver it give sme this error : 

 

 

 

In file included from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:41,
                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32,
                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
/home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:261:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  261 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:262:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  262 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:35,

 

 

Does anyone know why this is failing ?


                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
/home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/wifi.h: At top level:
/home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/wifi.h:988: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  988 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from ./include/net/cfg80211.h:21,
                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:83,
                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:41,
                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32,
                 from /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1460: note: this is the location of the previous definition
 1460 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:271: /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1762: /home/harsh/installed/wi-fi/rtl8188EUS_linux_v4.3.0.8_13968.20150417] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-80-generic'
make: *** [Makefile:1367: modules] Error 2

 

  0      
  0      
#1
Options

Information

Helpful: 0

Views: 987

Replies: 0

Related Articles