logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 24-06-2018 19:54:04

jean1994
Membre
Inscription : 24-06-2018

comment installer la clé wifi tp link archer t2uh ac600

bonsoirs tous le monde je voudrais savoir comment fait t'on pour l'installer avec quelle paquets ? j'en n'est essayer plein j'ai jamais reussie a chaque fois je bloque sur make pourquoi ??? si quelqu'un a deja reussi a faire marcher cette clé neutral merci a tous ce qui m'aideront

Hors ligne

#2 24-06-2018 23:46:42

èfpé
Membre
Inscription : 10-07-2016

Re : comment installer la clé wifi tp link archer t2uh ac600

Bonsoir, et bienvenue jean199X,

Les adaptateurs TP-LINK Archer T1U/T2U(H)(P) sont basés sur le contrôleur MediaTek MT7610U, donc essayer,


D'une façon générale, préciser la version de Debian, les pilotes tentés et le retour de lsusb est cool.

Dernière modification par èfpé (26-06-2018 19:46:42)

Hors ligne

#3 25-06-2018 01:35:07

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : comment installer la clé wifi tp link archer t2uh ac600

èfpé a écrit :

préciser la version de Debian


Afin de nous permettre de vous communiquer les meilleurs réponses, ou d'entendre au mieux tes interventions, il est bon de renseigner de manière permanente sous ton avatar la configuration du (des) PC que tu utilises.
Voir le tuto : Trop cool d'indiquer son installation dans son profil ! smile


saque eud dun (patois chtimi : fonce dedans)

Hors ligne

#4 25-06-2018 15:48:42

èfpé
Membre
Inscription : 10-07-2016

Re : comment installer la clé wifi tp link archer t2uh ac600

Re-,

OK ; aucun souci de compilation via DKMS sous Debian 9.4, par contre il faut patcher le fichier de configuration.

apt-cache policy dkms linux-headers-$(uname -r)


cd ~/Téléchargements


wget https://github.com/xtknight/mt7610u-linksys-ae6000-wifi-fixes/archive/master.zip

--2018-06-25 13:42:00--  https://github.com/xtknight/mt7610u-linksys-ae6000-wifi-fixes/archive/master.zip
Résolution de github.com (github.com)… 192.30.253.113, 192.30.253.112
Connexion à github.com (github.com)|192.30.253.113|:443… connecté.
requête HTTP transmise, en attente de la réponse… 302 Found
Emplacement : https://codeload.github.com/xtknight/mt7610u-linksys-ae6000-wifi-fixes/zip/master [suivant]
--2018-06-25 13:42:00--  https://codeload.github.com/xtknight/mt7610u-linksys-ae6000-wifi-fixes/zip/master
Résolution de codeload.github.com (codeload.github.com)… 192.30.253.121, 192.30.253.120
Connexion à codeload.github.com (codeload.github.com)|192.30.253.121|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : non indiqué [application/zip]
Sauvegarde en : « master.zip »

master.zip                             [            <=>                     ]   1,94M   785KB/s    in 2,5s

2018-06-25 13:42:04 (785 KB/s) - « master.zip » sauvegardé [2038602]


unzip -q master.zip


cd mt7610u-linksys-ae6000-wifi-fixes-master


cat dkms.conf

PACKAGE_NAME=mt7610u_sta
PACKAGE_VERSION=1.0
CLEAN="make clean"
MAKE[0]="make -j$(nproc) && make install"
BUILT_MODULE_NAME[0]=mt7610u_sta
BUILT_MODULE_LOCATION[0]="./os/linux/"
DEST_MODULE_LOCATION[0]="/kernel/updates/dkms"
AUTOINSTALL="YES"


sed -i s/" && make install"// dkms.conf


cat dkms.conf

PACKAGE_NAME=mt7610u_sta
PACKAGE_VERSION=1.0
CLEAN="make clean"
MAKE[0]="make -j$(nproc)"
BUILT_MODULE_NAME[0]=mt7610u_sta
BUILT_MODULE_LOCATION[0]="./os/linux/"
DEST_MODULE_LOCATION[0]="/kernel/updates/dkms"
AUTOINSTALL="YES"


dkms add .

Creating symlink /var/lib/dkms/mt7610u_sta/1.0/source ->
                 /usr/src/mt7610u_sta-1.0

DKMS: add completed.


dkms build mt7610u_sta/1.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.9.0-6-amd64 -j2..........................
cleaning build area...

DKMS: build completed.


dkms install mt7610u_sta/1.0

mt7610u_sta:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-6-amd64/updates/dkms/

depmod...

DKMS: install completed.


dkms status

mt7610u_sta, 1.0, 4.9.0-6-amd64, x86_64: installed


modinfo mt7610u_sta

filename:       /lib/modules/4.9.0-6-amd64/updates/dkms/mt7610u_sta.ko
version:        3.0.0.2
license:        GPL
description:    RT2870 Wireless Lan Linux Driver
author:         Paul Lin <paul_lin@ralinktech.com>
license:        GPL
srcversion:     5338B386ECA2F27591152E8
alias:          usb:v0E8Dp7650d*dc*dsc*dp*icFFisc02ipFFin*
alias:          usb:v0E8Dp7630d*dc*dsc*dp*icFFisc02ipFFin*
alias:          usb:v20F4p806Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB31d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v293Cp5702d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v057Cp8502d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0951d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p7610d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p3425d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3D02d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0075d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17DBd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D1d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0105d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp761Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pC711d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pB711d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA711d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13B1p003Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E8Dp7610d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7610d*dc*dsc*dp*ic*isc*ip*in*
depends:        cfg80211,usbcore
retpoline:      Y
vermagic:       4.9.0-6-amd64 SMP mod_unload modversions
parm:           mac:wireless mac addr (charp)
parm:           debug:log verbosity level (0: off, 1: error only [default], 2: warnings, 3: trace, 4: info, 5: loud) (long)
 


ls -lh /lib/modules/4.9.0-6-amd64/updates/dkms/mt7610u_sta.ko

-rw-r--r-- 1 root root 1,4M juin  25 13:44 /lib/modules/4.9.0-6-amd64/updates/dkms/mt7610u_sta.ko


L'intérêt de DKMS est que le module est automatiquement recompilé en cas d'upgrade du noyau.

Hors ligne

#5 02-08-2018 16:23:50

jean1994
Membre
Inscription : 24-06-2018

Re : comment installer la clé wifi tp link archer t2uh ac600

bonjours et desoler de na pas avoir repondu plutot j'avais abandonner puis la je suis chaud a essayer encore et merci de m'avoir repondu j'ai fait ce que tu ma dit et j'ai une erreur hmm a dkms add

Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>



je suis sous debian 4.15.11-1kali1 (2018-03-21)

Hors ligne

#6 02-08-2018 16:53:55

jean1994
Membre
Inscription : 24-06-2018

Re : comment installer la clé wifi tp link archer t2uh ac600

j'ai reussi por dkms add mes pas dkms build mt7610u_sta/1.0 pourquoi sa me marque sa c'est parce que mon noyau n'est pas bon neutral

root@kali:~/Downloads/mt7610u-linksys-ae6000-wifi-fixes-master# dkms build mt7610u_sta/1.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.15.0-kali2-amd64 -j2........................(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.15.0-kali2-amd64 (x86_64)
Consult /var/lib/dkms/mt7610u_sta/1.0/build/make.log for more information.

Hors ligne

#7 04-08-2018 17:46:42

èfpé
Membre
Inscription : 10-07-2016

Re : comment installer la clé wifi tp link archer t2uh ac600

Re-,

OK ; l'archive datant du mois de février, il est possible que le noyau 4.15 soit trop récent, et donc que retourne :

cat /var/lib/dkms/mt7610u_sta/1.0/build/make.log


apt-cache policy linux-image-amd64 linux-headers-amd64

linux-image-amd64:
  Installed: 4.15+91+kali1
  Candidate: 4.17+95+kali1
  Version table:
     4.17+95+kali1 500
        500 http://http.kali.org/kali kali-rolling/main amd64 Packages
        500 http://http.kali.org/kali kali-dev-only/main amd64 Packages
        500 http://http.kali.org/kali kali-dev/main amd64 Packages
        100 http://http.kali.org/kali kali-experimental/main amd64 Packages
        500 http://http.kali.org/kali kali-last-snapshot/main amd64 Packages
 *** 4.15+91+kali1 100
        100 /var/lib/dpkg/status
     4.6+74+kali1 500
        500 http://http.kali.org/kali kali-last-snapshot-backup/main amd64 Packages
linux-headers-amd64:
  Installed: (none)
  Candidate: 4.17+95+kali1
  Version table:
     4.17+95+kali1 500
        500 http://http.kali.org/kali kali-rolling/main amd64 Packages
        500 http://http.kali.org/kali kali-dev-only/main amd64 Packages
        500 http://http.kali.org/kali kali-dev/main amd64 Packages
        100 http://http.kali.org/kali kali-experimental/main amd64 Packages
        500 http://http.kali.org/kali kali-last-snapshot/main amd64 Packages
     4.6+74+kali1 500
        500 http://http.kali.org/kali kali-last-snapshot-backup/main amd64 Packages
 


apt-cache policy linux-image-$(uname -r) linux-headers-$(uname -r)

linux-image-4.15.0-kali2-amd64:
  Installed: 4.15.11-1kali1
  Candidate: 4.15.11-1kali1
  Version table:
 *** 4.15.11-1kali1 100
        100 /var/lib/dpkg/status
N: Unable to locate package linux-headers-4.15.0-kali2-amd64
N: Couldn't find any package by glob 'linux-headers-4.15.0-kali2-amd64'
N: Couldn't find any package by regex 'linux-headers-4.15.0-kali2-amd64'


Impossible de reproduire le problème en Live Kali 2018.2 ; note que ton système n'est pas à jour...

Hors ligne

#8 05-08-2018 09:55:28

jean1994
Membre
Inscription : 24-06-2018

Re : comment installer la clé wifi tp link archer t2uh ac600

cat /var/lib/dkms/mt7610u_sta/1.0/build/make.log


DKMS make.log for mt7610u_sta-1.0 for kernel 4.15.0-kali2-amd64 (x86_64)
Thu Aug  2 12:09:15 EDT 2018
make -C tools
cp -f os/linux/Makefile.6 /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/Makefile
make[1]: Entering directory '/var/lib/dkms/mt7610u_sta/1.0/build/tools'
gcc -g bin2h.c -o bin2h
make -C /lib/modules/4.15.0-kali2-amd64/build SUBDIRS=/var/lib/dkms/mt7610u_sta/1.0/build/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-kali2-amd64'
make[1]: Leaving directory '/var/lib/dkms/mt7610u_sta/1.0/build/tools'
/var/lib/dkms/mt7610u_sta/1.0/build/tools/bin2h
chipset = mt7610u
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:341:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:450:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
                                   ^                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:450:9: note: in expansion of macro ‘DBGPRINT’
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c: In function ‘PeerAssocRspAction’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c:1164:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     PFRAME_802_11 pFrame =  (PFRAME_802_11) (Elem->Msg);
     ^~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c: In function ‘AssocPostProc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c:1450:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    PUCHAR pVIE;
    ^~~~~~
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth_rsp.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth_rsp.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sync.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sanity.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sanity.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sync.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/rtmp_data.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/connect.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/rtmp_data.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/wpa.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/connect.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/wpa.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_vht.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_vht.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:797:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:800:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if (pAd->StaCfg.BssType == BSS_ADHOC)
  ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:5734:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:5737:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return NDIS_STATUS_SUCCESS;
  ^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:7617:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rate_index >= rate_count)
     ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:7620:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  *(ULONG *)pData = ralinkrate[rate_index] * 500000;
  ^
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/vht.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/vht.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_md5.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_sha2.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_md5.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_hmac.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_sha2.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_hmac.h:31,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_hmac.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_arc4.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_aes.h:31,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_arc4.h:31,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_arc4.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_aes.h:31,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
                                ^                                                    ~~~~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
      ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
                                ^                                                      ~~~~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
      ^~~~~~~~
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/mlme.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wep.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/mlme.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wep.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/action.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_data.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/action.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_data.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init_inf.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
    ~                        
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                ~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                                            ~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                                                                        ~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:4:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
    ~                        
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:31:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                               ~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:58:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                          ~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:85:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                                                     ~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
  USHORT i;
         ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 2048 bytes [-Wframe-larger-than=]
 }
 ^
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:85: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                                                     ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:58: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                          ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:717:32: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:717:4: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
    ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_tkip.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init_inf.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_aes.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_tkip.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sync.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_aes.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/eeprom.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sync.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sanity.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/eeprom.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sanity.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1084:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
  DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n", RTDebugFunc));
                              ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:684:9: note: in definition of macro ‘DBGPRINT_S’
  printk Fmt;     \
         ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1752:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(enc == Ndis802_11Encryption3Enabled)
     ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1754:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(enc == Ndis802_11Encryption4Enabled)
  ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1764:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeShared)
     ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1766:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(auth == Ndis802_11AuthModeAutoSwitch)
  ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1776:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeWPA2PSK)
     ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1778:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(auth == Ndis802_11AuthModeWPA1WPA2)
  ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:4214:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (idx = 0; idx < 32; idx++)
     ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:4217:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  return 0;
  ^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:5960:28: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
                           ~^                         ~~~~~~~~~
                           %hhx
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
                         VOID **ppINTF = (VOID **)pData;
                                ^~~~~~
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_radar.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c:1249:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
     ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c:1254:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
  ^~~~~~~~~~~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_radar.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_timer.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
                             ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
   ^~~~~~~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_timer.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_channel.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_profile.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_channel.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_profile.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/scan.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  UCHAR i, PhyMode = 0x4000;
                     ^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c:384:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode, 3: HT green field, 4: VHT mode, 5-7: Reserved */
            ^~~~~~
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cmd.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/scan.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/uapsd.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cmd.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ps.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/uapsd.c:29:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/ra_ctrl.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ps.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_legacy.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/ra_ctrl.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../chips/rtmp_chip.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_legacy.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/txpower.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../chips/rtmp_chip.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mac/rtmp_mac.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/txpower.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_hw.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mac/rtmp_mac.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_entrytb.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_hw.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rtmp_phy.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_entrytb.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rtmp_phy.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_rf.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable]
  UCHAR rf_val;
        ^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^~~~~~~
At top level:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:153:14: warning: ‘vht_prim_ch_val’ defined but not used [-Wunused-variable]
 static UCHAR vht_prim_ch_val[] = {
              ^~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_grp.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_rf.c:30:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ba_action.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_grp.c:29:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ba_action.c:30:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_ht.o
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_os_util.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_ht.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/sta_ioctl.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_os_util.c:33:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
  CC [M]  /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/sta_ioctl.c:30:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:31:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */
 
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘__RTMP_OS_Init_Timer’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:117:3: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
   init_timer(pTimer);
   ^~~~~~~~~~
   init_timers
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:118:9: error: ‘OS_NDIS_MINIPORT_TIMER {aka struct timer_list}’ has no member named ‘data’
   pTimer->data = (unsigned long)data;
         ^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:119:20: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   pTimer->function = function;
                    ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:176:8: warning: unused variable ‘i’ [-Wunused-variable]
  ULONG i;
        ^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:2159:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev = (struct net_device *)pNetDev;
                     ^~~~~~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
                 from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:31:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘CFG80211_SupBandInit’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:2663:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  CFG80211DBG(RT_DEBUG_ERROR, ("80211> Number of channel = %d\n",
                               ^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:324:37: note: in expansion of macro ‘DBGPRINT’
 #define CFG80211DBG(__Flg, __pMsg)  DBGPRINT(__Flg, __pMsg)
                                     ^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:2663:2: note: in expansion of macro ‘CFG80211DBG’
  CFG80211DBG(RT_DEBUG_ERROR, ("80211> Number of channel = %d\n",
  ^~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘CFG80211OS_Scaning’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:3234:2: warning: ignoring return value of ‘cfg80211_inform_bss_frame’, declared with attribute warn_unused_result [-Wunused-result]
  cfg80211_inform_bss_frame(pCfg80211_CB->pCfg80211_Wdev->wiphy,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         &pCfg80211_CB->ChanInfo[IdChan],
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         (struct ieee80211_mgmt *)pFrame,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         FrameLen,
         ~~~~~~~~~
         RSSI,
         ~~~~~
         GFP_ATOMIC);
         ~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.15.0-kali2-common/scripts/Makefile.build:329: recipe for target '/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.o' failed
make[4]: *** [/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.15.0-kali2-common/Makefile:1528: recipe for target '_module_/var/lib/dkms/mt7610u_sta/1.0/build/os/linux' failed
make[3]: *** [_module_/var/lib/dkms/mt7610u_sta/1.0/build/os/linux] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-kali2-amd64'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
 


apt-cache policy linux-image-amd64 linux-headers-amd64


linux-image-amd64:
  Installed: 4.15+91+kali1
  Candidate: 4.17+95+kali1
  Version table:
     4.17+95+kali1 500
        500 [url]http://http.kali.org/kali[/url] kali-rolling/main amd64 Packages
 *** 4.15+91+kali1 100
        100 /var/lib/dpkg/status
linux-headers-amd64:
  Installed: 4.15+91+kali1
  Candidate: 4.17+95+kali1
  Version table:
     4.17+95+kali1 500
        500 [url]http://http.kali.org/kali[/url] kali-rolling/main amd64 Packages
 *** 4.15+91+kali1 100
        100 /var/lib/dpkg/status
 


apt-cache policy linux-image-amd64 linux-headers-amd64


linux-image-amd64:
  Installed: 4.15+91+kali1
  Candidate: 4.17+95+kali1
  Version table:
     4.17+95+kali1 500
        500 [url]http://http.kali.org/kali[/url] kali-rolling/main amd64 Packages
 *** 4.15+91+kali1 100
        100 /var/lib/dpkg/status
linux-headers-amd64:
  Installed: 4.15+91+kali1
  Candidate: 4.17+95+kali1
  Version table:
     4.17+95+kali1 500
        500 [url]http://http.kali.org/kali[/url] kali-rolling/main amd64 Packages
 *** 4.15+91+kali1 100
        100 /var/lib/dpkg/status
 


apt-cache policy linux-image-$(uname -r) linux-headers-$(uname -r)


linux-image-4.15.0-kali2-amd64:
  Installed: 4.15.11-1kali1
  Candidate: 4.15.11-1kali1
  Version table:
 *** 4.15.11-1kali1 100
        100 /var/lib/dpkg/status
linux-headers-4.15.0-kali2-amd64:
  Installed: 4.15.11-1kali1
  Candidate: 4.15.11-1kali1
  Version table:
 *** 4.15.11-1kali1 100
        100 /var/lib/dpkg/status
 



re comment je fait pour mettre a jours mon systeme desoler si je suis un peut newbi
et par aillieur sur la premiere ligne de commande j'ai toujours ce probleme de make [1] sa vien d'ou ce probleme ?

Hors ligne

#9 06-08-2018 09:40:42

èfpé
Membre
Inscription : 10-07-2016

Re : comment installer la clé wifi tp link archer t2uh ac600

Re-,

OK ; beaucoup d'erreurs de compilation... tu peux retenter le pilote ulli-kroll (mais en suivant la doc, cette fois).
Aucun souci de compilation avec/pour le noyau 4.15.4 de MX-17.1, mais je n'ai pas pu tester le fonctionnement.

edit: pas eu de souci de compilation avec/pour le noyau 4.17.8 de Kali Linux (kali-weekly, 2018-W32) non plus.

apt update && apt upgrade


Est la commande de base classique permettant de mettre à jour un système basé sur Debian (wiki).

Note que Kali Linux n'est vraiment pas une distribution destinée aux débutants... vois DFLinux etc.

Dernière modification par èfpé (06-08-2018 17:00:42)

Hors ligne

#10 28-02-2022 21:27:39

Darbon
Membre
Distrib. : Debian bullseye 11
Noyau : Linux 5.10.0-11-amd64
(G)UI : Gnome 3.38.5
Inscription : 31-05-2017

Re : comment installer la clé wifi tp link archer t2uh ac600

Bonsoir tout le monde, je relance la discussion sur le TP-link ac600. J'ai suivi le tuto proposé par èfpé et je suis bloqué à la commande cat dkms.conf même en suivant le reste. pouvez m'aider? SVP
Merci beaucoup

voici le retour lsusb

julien@Julien-PC:~$ lsusb
Bus 003 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 248a:8367 Maxxter Telink Wireless Receiver
Bus 002 Device 010: ID 2717:ff80 Xiaomi Inc. Mi/Redmi series (RNDIS)
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 008: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 


Débutant ! On l'est toujours, non?

Hors ligne

#11 01-03-2022 07:14:48

anonyme
Invité

Re : comment installer la clé wifi tp link archer t2uh ac600

Bonjour
tu a le paquet "firmware-misc-nonfree"  pour le chipset "mediatek"


* MediaTek MT7961 bluetooth firmware, version 20210223142901
   (mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin)
 * MediaTek MT76x0 wifi firmware (mediatek/mt7610e.bin)
 * MediaTek MT76x0 wifi firmware (mediatek/mt7610u.bin)
 * MediaTek MT7615 cr4 firmware (mediatek/mt7615_cr4.bin)
 * MediaTek MT7615 n9 firmware (mediatek/mt7615_n9.bin)
 * MediaTek MT7615 rom firmware (mediatek/mt7615_rom_patch.bin)
 * MediaTek MT7622 Bluetooth firmware (mediatek/mt7622pr2h.bin)
 * MediaTek MT76x0 wifi firmware (mediatek/mt7650e.bin)
 * MediaTek MT7622 N9 firmware (mediatek/mt7622_n9.bin)
 * MediaTek MT7622 rom firmware (mediatek/mt7622_rom_patch.bin)
 * MediaTek MT76x2u wifi firmware (mediatek/mt7662u.bin)
 * MediaTek MT76x2u wifi firmware (mediatek/mt7662u_rom_patch.bin)
 * MediaTek MT7663 firmware (mediatek/mt7663pr2h.bin)
 * MediaTek MT7663 rebb rom firmware (mediatek/mt7663pr2h_rebb.bin)
 * MediaTek MT7663 rebb n9 firmware (mediatek/mt7663_n9_rebb.bin)
 * MediaTek MT7663 n9 v3 firmware (mediatek/mt7663_n9_v3.bin)
 * MediaTek MT7668 Bluetooth firmware (mediatek/mt7668pr2h.bin)
 * MediaTek MT7915E firmware (mediatek/mt7915_wm.bin)
 * MediaTek MT7915E firmware (mediatek/mt7915_wa.bin)
 * MediaTek MT7915E firmware (mediatek/mt7915_rom_patch.bin)
 * MediaTek MT8173 VPU_D firmware, version 1.1.16
   (mediatek/mt8173/vpu_d.bin)
 * MediaTek MT8173 VPU_P firmware, version 1.1.16
   (mediatek/mt8173/vpu_p.bin)
 * MediaTek mt8183 SCP firmware, version v12573.77
   (mediatek/mt8183/scp.img)
 * MediaTek MT7922 hdr firmware, version 20210727184234a
   (mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin)
 * MediaTek MT7922 firmware, version 20210727184325
   (mediatek/WIFI_RAM_CODE_MT7922_1.bin)
 * MediaTek MT7921 hdr firmware, version 20210122002654a
   (mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin)
 * MediaTek MT7921 firmware, version 20210122002730
   (mediatek/WIFI_RAM_CODE_MT7961_1.bin)
 



mais (dans le cas de realtek par exemple) voir le retour de cette commande


journalctl -b -r -p err
 



voir si un firmware de debian ne prend pas en charge ce wifi (le fil date de 2018 quand même  roll  )

tu peu essayer aussi


dmesg | grep firmware
 



sur une recherche je tombe sur ceci  =>  https://forum.ubuntu-fr.org/viewtopic.php?id=2043524
ps: avec le retour de lsusb => ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]

rien trouvé sur le firmware-realtek de debian pour "rtl8811au"
si èfpé passe par la il sera te répondre , mais je te conseille d'ouvrir un fil pour ce wifi  smile

Dernière modification par anonyme (01-03-2022 07:43:00)

#12 06-03-2022 19:50:23

Darbon
Membre
Distrib. : Debian bullseye 11
Noyau : Linux 5.10.0-11-amd64
(G)UI : Gnome 3.38.5
Inscription : 31-05-2017

Re : comment installer la clé wifi tp link archer t2uh ac600

Merci anonyme d'avoir pour du temps pour mon problème de wifi.
J'ai trouvé une solution sur ce site : https://blog.abysm.org/2020/03/realtek- … tallation/

et ça marche, super !!!

En plus il y a d'autres distributions alors je partage big_smile

Bonne soirée

PS : je n'arrive pas à mettre le post en [Résolu] puisque je ne l'ai pas crée.

Dernière modification par Darbon (06-03-2022 19:51:40)


Débutant ! On l'est toujours, non?

Hors ligne

Pied de page des forums