Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 01/10/2018, à 11:30

xubu1957

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Bonjour,

Vu :

  *-network:0 DÉSACTIVÉ
       
       configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=Ralink STA

et :

lsmod 
cfg80211              622592  0

Le pilote WiFi n'est pas chargé !


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

Hors ligne

#27 Le 01/10/2018, à 12:59

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Bonjour,

Un paquet .deb est assez facile à installer. Il faut utiliser dpkg :

sudo dpkg -i nom_du_paquet.deb

Hors ligne

#28 Le 01/10/2018, à 13:28

joshw

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Merci pour l'info !

Voici le retour (c'est peut-être prévu pour du 32 bits ?)

baghou@baghou-All-Series:~/Documents/test/tmp$ sudo dpkg -i linux-headers-4.1.7-v7+_4.1.7-v7+-2_armhf.deb 
dpkg: erreur de traitement de l'archive linux-headers-4.1.7-v7+_4.1.7-v7+-2_armhf.deb (--install) :
 l'architecture du paquet (armhf) ne correspond pas à celle du système (amd64)
Des erreurs ont été rencontrées pendant l'exécution :
 linux-headers-4.1.7-v7+_4.1.7-v7+-2_armhf.deb

Hors ligne

#29 Le 01/10/2018, à 13:41

cqfd93

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Bonjour,

Ce que tu essayes d'installer est fait pour architecture arm alors que tu as du amd64, donc ça ne peut pas marcher. Oublie cette piste !


cqfd93

Hors ligne

#30 Le 01/10/2018, à 13:44

joshw

Re : [RESOLU] Installation d'un driver wifi / Installation locale

ok merci !

Hors ligne

#31 Le 01/10/2018, à 14:06

cqfd93

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Pour compiler un pilote, il me semble que les dépôts src doivent être activés. Passe ces commandes pour les activer ainsi que les dépôts partner :

sudo sed -i '/partner$/s/# //' /etc/apt/sources.list 
sudo sed -i '/deb-src/s/# //' /etc/apt/sources.list

Fais à nouveau des mises à jour :

sudo apt update
sudo apt full-upgrade

Après ça, tu peux re-tenter la compilation dont tu parlais dans la première page.


cqfd93

Hors ligne

#32 Le 01/10/2018, à 14:09

Mornagest

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Salut,

Normalement, pas besoin des sources, build-essential et les linux-headers à jour devraient suffire.

Quel est ce pilote que tu dois compiler ? edit : ok, j'ai vu le lien fourni smile

La compilation devrait être simple, tu dois te rendre dans le dossier décompressé en faisant cd ~/Archer_T2U_V1_150901/ (en supposant que tu as créé le dossier décompressé dans ta /home/utilisateur)

Ensuite, tu fais sudo make

Puis sudo bash load.sh

Enfin, tu fais lsmod pour vérifier que le pilote est bien installé et surtout pris en charge.

Donne-nous les résultats de toutes ces commandes smile

edit bis : eh ben, pas vu le lien vers le GitHub tout de suite ! tongue

Dernière modification par Mornagest (Le 01/10/2018, à 14:17)


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#33 Le 01/10/2018, à 14:14

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

joshw a écrit :

Merci pour l'info !

Voici le retour (c'est peut-être prévu pour du 32 bits ?)

baghou@baghou-All-Series:~/Documents/test/tmp$ sudo dpkg -i linux-headers-4.1.7-v7+_4.1.7-v7+-2_armhf.deb 
dpkg: erreur de traitement de l'archive linux-headers-4.1.7-v7+_4.1.7-v7+-2_armhf.deb (--install) :
 l'architecture du paquet (armhf) ne correspond pas à celle du système (amd64)
Des erreurs ont été rencontrées pendant l'exécution :
 linux-headers-4.1.7-v7+_4.1.7-v7+-2_armhf.deb

Quel est le paquet debian que tu essaies d'installer et pourquoi? Là, ce sont les headers pour une architecture arm (et je ne suis même pas sûr que ce soit une version à jour)

Ta compilation du post #23 a peu de chance d'aboutir. Tu as un kernel 4.15.0-34, ce que tu as téléchargé date de 2015, donc plus du tout à jour par rapport au noyau que tu as. Le github du #24 à l'air d'être à jour, la dernière modification date d'il y a 3 mois.

EDIT : vous avez posté avant moi, j'ai passé du temps à analyser le github du #24
@cqfd93 : Je pense que ce qu'il a essayé de compiler en premier ne peut pas fonctionner : trop ancien, pas maintenu, plus compatible du noyau actuel

Dernière modification par NicoApi73 (Le 01/10/2018, à 14:17)

Hors ligne

#34 Le 01/10/2018, à 14:20

Mornagest

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Le readme de cette archive GitHub donne un lien mais c'est pour les headers pour les Raspberry. Ici, ça ne te concerne pas car tu es sur une installation classique avec tes compileurs à jour.

Donc, tu décompresses ton archive dans /home/utilisateur, tu te rends dans le dossier avec cd /home/utilisateur/mt7610u_wifi_sta_v3002_dpo_20130916-master

puis tu tapes :

make
sudo make install
sudo cp cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

en nous donnant le résultat de toutes ces commandes pour voir si ça s'est bien déroulé.

(@ Nico : on va laisser tomber checkinstall pour cette fois ^^)


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#35 Le 01/10/2018, à 14:22

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

wink

Hors ligne

#36 Le 01/10/2018, à 14:42

joshw

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Bonjour,

J'espère que je n'ai pas fait de gaffe :

baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ sudo make clean
[sudo] Mot de passe de baghou : 
cp -f os/linux/Makefile.clean os/linux/Makefile
make -C os/linux clean
make[1] : on entre dans le répertoire « /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux »
rm -f ../../common/*.o
rm -f ../../common/.*.cmd .*.flags .*.d
rm -f ../../os/linux/*.o *.ko *.mod.o *.mod.c
rm -f ../../os/linux/.*.cmd .*.flags .*.d
rm -fr ../../os/linux/.tmp_versions
rm -f ../../os/linux/Module.symvers
rm -f ../../os/linux/Modules.symvers
rm -f ../../os/linux/Module.markers
rm -f ../../os/linux/modules.order
rm -f ../../chips/*.o
rm -f ../../chips/.*.cmd .*.flags .*.d
rm -f ../../rate_ctrl/*.o
rm -f ../../rate_ctrl/.*.cmd .*.flags .*.d
rm -f ../../ate/common/*.o
rm -f ../../ate/common/.*.cmd .*.flags .*.d
rm -f ../../ate/chips/*.o
rm -f ../../ate/chips/.*.cmd .*.flags .*.d
rm -f ../../phy/*.o
rm -f ../../phy/.*.cmd .*.flags .*.d
rm -f ../../mac/*.o
rm -f ../../mac/.*.cmd .*.flags .*.d
rm -f ../../mcu/*.o
rm -f ../../mcu/.*.cmd .*.flags .*.d
rm -f ../../mgmt/*.o
rm -f ../../mgmt/.*.cmd .*.flags .*.d
rm -f ../../naf/*.o
rm -f ../../naf/.*.cmd .*.flags .*.d
rm -f ../../sta/*.o
rm -f ../../sta/.*.cmd .*.flags .*.d
make[1] : on quitte le répertoire « /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux »
rm -rf os/linux/Makefile

et

baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ make
make -C tools
make[1] : on entre dans le répertoire « /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools »
gcc -g bin2h.c -o bin2h
make[1] : on quitte le répertoire « /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools »
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/Makefile
make -C /lib/modules/4.15.0-34-generic/build SUBDIRS=/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.15.0-34-generic »
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^~~
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.c:443: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)));
                                   ^                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_profile.c:443: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)));
         ^~~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/assoc.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/auth.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sync.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sanity.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/connect.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/wpa.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c:789:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c:792:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if (pAd->StaCfg.BssType == BSS_ADHOC)
  ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c:5647:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c:5650:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return NDIS_STATUS_SUCCESS;
  ^~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c:7518:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rate_index >= rate_count)
     ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../sta/sta_cfg.c:7521: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]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mgmt/mgmt_vht.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/vht.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_md5.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_aes.o
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/crypt_aes.h:31,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_aes.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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));
                                ^                                                    ~~~~~~~~~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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));
      ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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));
                                ^                                                      ~~~~~~~~~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/mlme.o
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/mlme.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/mlme.c:538:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecEnd -
       ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:471:76: note: in definition of macro ‘NdisZeroMemory’
 fine NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                         ^~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/mlme.c:539:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecStart);
       ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:471:76: note: in definition of macro ‘NdisZeroMemory’
 fine NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                         ^~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_wep.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/action.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_data.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.o
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
    ~                        
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
                                ~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
                                                            ~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
                                                                                        ~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
                            ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:719:4:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
    ~                        
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
                            ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:719:31:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                               ~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
                            ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:719:58:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                          ~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
                            ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:719:85:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                                                     ~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
  USHORT i;
         ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init.c:719:85: warning: array subscript is above array bounds [-Warray-bounds]
 BoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                                     ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
                                                          ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
                                ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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",
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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],
    ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_aes.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_sync.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/eeprom.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.o
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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));
                              ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:678:9: note: in definition of macro ‘DBGPRINT_S’
  printk Fmt;     \
         ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c:1752:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(enc == Ndis802_11Encryption3Enabled)
     ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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)
  ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c:1764:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeShared)
     ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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)
  ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c:1776:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeWPA2PSK)
     ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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)
  ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c:4214:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (idx = 0; idx < 32; idx++)
     ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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;
  ^~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_cfg.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
                         VOID **ppINTF = (VOID **)pData;
                                ^~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_wpa.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_wpa.c:1249:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
     ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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);
  ^~~~~~~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_radar.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/spectrum.o
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/spectrum.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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)));
                             ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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)));
   ^~~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rt_channel.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_profile.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_asic.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  UCHAR i, PhyMode = 0x4000;
                     ^~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/scan.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/uapsd.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ps.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/rtmp_chip.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/txpower.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mac/rtmp_mac.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mgmt/mgmt_hw.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mgmt/mgmt_entrytb.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rtmp_phy.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_phy.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable]
  UCHAR rf_val;
        ^~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^~~~~~~
At top level:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/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]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../phy/rlt_rf.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../rate_ctrl/alg_grp.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ba_action.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mgmt/mgmt_ht.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rt_os_util.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/sta_ioctl.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c:180:8: warning: unused variable ‘i’ [-Wunused-variable]
  ULONG i;
        ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c:2048:22: warning: unused variable ‘macValue’ [-Wunused-variable]
  UINT32 macAddr = 0, macValue = 0;
                      ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c:2048:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
  UINT32 macAddr = 0, macValue = 0;
         ^~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_linux.c:2190:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev = (struct net_device *)pNetDev;
                     ^~~~~~~
symbolmap: la: invalid section
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_main_dev.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rt_led.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_mac_usb.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_mac_usb.c: In function ‘RT28XXDMAEnable’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_mac_usb.c:1347:22: warning: unused variable ‘GloCfg’ [-Wunused-variable]
  WPDMA_GLO_CFG_STRUC GloCfg;
                      ^~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_data_usb.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_data_usb.c: In function ‘GetPacketFromRxRing’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_data_usb.c:1161:8: warning: unused variable ‘RXWISize’ [-Wunused-variable]
  UINT8 RXWISize = pAd->chipCap.RXWISize;
        ^~~~~~~~
At top level:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/cmm_data_usb.c:214:13: warning: ‘rlt_usb_update_txinfo’ defined but not used [-Wunused-function]
 static VOID rlt_usb_update_txinfo(
             ^~~~~~~~~~~~~~~~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c: In function ‘write_reg’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:522:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:495:5: note: declared here
 int write_reg(
     ^~~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c: In function ‘RTUSBWriteEEPROM’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:804:9: warning: unused variable ‘Value’ [-Wunused-variable]
  USHORT Value;
         ^~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c: In function ‘RTUSBEnqueueCmdFromNdis’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:942:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if ((status != NDIS_STATUS_SUCCESS) || (cmdqelmt == NULL))
  ^~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:945:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   cmdqelmt->buffer = NULL;
   ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c: In function ‘read_reg’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:554:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_io.c:533:5: warning: ‘req’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  u8 req;
     ^~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_data.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_bulk.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_bulk.c: In function ‘RTUSBCancelPendingBulkInIRP’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_bulk.c:1371:8: warning: unused variable ‘IrqFlags’ [-Wunused-variable]
  ULONG IrqFlags;
        ^~~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_usb.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ee_prom.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ee_efuse.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ee_efuse.c: In function ‘rtmp_ee_efuse_write16’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ee_efuse.c:1443:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/ee_efuse.c:1445:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return 0;
  ^~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rt_rf.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/rt65xx.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c: In function ‘SetRfChFreqParametersMT76x0’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:1224:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     pMT76x0_freq_item = &(MT76x0_SDM_Frequency_Plan[i]);
                       ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:1226:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     pMT76x0_freq_item = &(MT76x0_Frequency_Plan[i]);
                       ^
In file included from ./include/linux/list.h:9:0,
                 from ./include/linux/module.h:9,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:31,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c: In function ‘NICInitMT76x0RFRegisters’:
./include/linux/kernel.h:809:16: warning: comparison of distinct pointer types lacks a cast
  (void) (&min1 == &min2);   \
                ^
./include/linux/kernel.h:818:2: note: in expansion of macro ‘__min’
  __min(typeof(x), typeof(y),   \
  ^~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:1576:12: note: in expansion of macro ‘min’
  RFValue = min(RFValue, 0xBF); /* Max of 9-bit built-in crystal oscillator C1 code */
            ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c: In function ‘MT76x0_ChipSwitchChannel’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:1791:20: warning: unused variable ‘delta_pwr’ [-Wunused-variable]
  UCHAR bbp_ch_idx, delta_pwr;
                    ^~~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:1787:8: warning: unused variable ‘RFValue’ [-Wunused-variable]
  UCHAR RFValue = 0;
        ^~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_per_rate_tx_pwr’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:2319:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  UCHAR bw40_gband_delta = 0, bw40_aband_delta = 0, bw80_aband_delta = 0;
  ^~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:2361:35: warning: overflow in implicit constant conversion [-Woverflow]
  pAd->chipCap.delta_tw_pwr_bw80 = (e2p_val & 0xFF00) == 0xFF00 ? 0 : (e2p_val & 0xFF00);
                                   ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_tx_alc_info_from_eeprom’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../chips/mt76x0.c:5498:10: warning: unused variable ‘status’ [-Wunused-variable]
  BOOLEAN status = TRUE;
          ^~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mac/ral_nmac.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu.c: In function ‘MCUBurstWrite’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu.c:35:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu.c: In function ‘MCURandomWrite’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu.c:43:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.o
In file included from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
                 from /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c:28:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c: In function ‘andes_usb_loadfw’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c:114:30: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
    DBGPRINT(RT_DEBUG_ERROR, ("%s: can not get the hw semaphore\n"));
                              ^
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:663:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c:114:4: note: in expansion of macro ‘DBGPRINT’
    DBGPRINT(RT_DEBUG_ERROR, ("%s: can not get the hw semaphore\n"));
    ^~~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c: In function ‘andes_dequeue_and_kick_out_cmd_msgs’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c:1275:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  while (msg = andes_dequeue_cmd_msg(ctl, &ctl->txq)) {
         ^~~
At top level:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../mcu/mcu_and.c:787:12: warning: ‘andes_queue_empty’ defined but not used [-Wunused-function]
 static int andes_queue_empty(struct MCU_CTRL *ctl, DL_LIST *list)
            ^~~~~~~~~~~~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/rt_usb_util.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/usb_main_dev.o
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_suspend’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/usb_main_dev.c:393:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev;
                     ^~~~~~~
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_resume’:
/home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../os/linux/usb_main_dev.c:441:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev;
                     ^~~~~~~
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/rtusb_dev_id.o
  CC [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/../../common/frq_cal.o
  LD [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/mt7650u_sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/mt7650u_sta.mod.o
  LD [M]  /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/mt7650u_sta.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.15.0-34-generic »
cp -f /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/mt7650u_sta.ko /tftpboot 2>/dev/null || :

et

baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ sudo make install
make -C /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux -f Makefile.6 install
make[1] : on entre dans le répertoire « /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux »
mkdir: impossible de créer le répertoire «/etc/Wireless»: Le fichier existe
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/baghou/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master/conf/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/4.15.0-34-generic/kernel/drivers/net/wireless/
install -m 644 -c mt7650u_sta.ko /lib/modules/4.15.0-34-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.15.0-34-generic

et

baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
cp: impossible de créer le fichier standard '/etc/Wireless/RT2870STA/RT2870STA.dat': Aucun fichier ou dossier de ce type
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ ls
ate     conf     include           mac       mgmt  phy        README_STA_usb     RT2870STA.dat             tools
chips   doc      iwpriv_usage.txt  Makefile  naf   rate_ctrl  retour_cmd.txt     sta
common  hw_ctrl  LICENSE           mcu       os    README.md  RT2870STACard.dat  sta_ate_iwpriv_usage.txt

Hors ligne

#37 Le 01/10/2018, à 14:53

Mornagest

Re : [RESOLU] Installation d'un driver wifi / Installation locale

C'est curieux, il y a une erreur dans les noms des dossiers lors de la compilation. Je vois

/etc/Wireless/RT2860STA et
/etc/Wireless/RT2870STA

L'erreur dans la dernière commande vient sans doute de là. Je dirais qu'il faut renommer le dossier...

sudo mv /etc/WirelessRT2860STA /etc/Wireless/RT2870STA

Ensuite, tu refais sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#38 Le 01/10/2018, à 14:55

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Non, tu n'as pas fait de bêtises.

C'est le répartoire /etc/Wireless/RT2870STA qui n'existe pas

Fais :

sudo mkdir /etc/Wireless/RT2870STA

EDIT : doublon avec le post de Mornagest, je suis trop lent wink

Dernière modification par NicoApi73 (Le 01/10/2018, à 15:00)

Hors ligne

#39 Le 01/10/2018, à 14:58

Mornagest

Re : [RESOLU] Installation d'un driver wifi / Installation locale

@ Nico : je partais sur l'option du renommage de dossier pour éviter les surprises en cas de liens défectueux, qu'en penses-tu ?


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#40 Le 01/10/2018, à 15:01

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Mornagest a écrit :

@ Nico : je partais sur l'option du renommage de dossier pour éviter les surprises en cas de liens défectueux, qu'en penses-tu ?

Je vais regarder de nouveau le contenu du github.

Hors ligne

#41 Le 01/10/2018, à 15:04

xubu1957

Re : [RESOLU] Installation d'un driver wifi / Installation locale

J'avais eu cette discussion, non aboutie > forum.ubuntu-fr.org/viewtopic.php?pid=21900059#p21900059


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

Hors ligne

#42 Le 01/10/2018, à 15:11

joshw

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Voici le retour :

baghou@baghou-All-Series:~$ sudo mv /etc/Wireless/RT2860STA /etc/Wireless/RT2870STA
baghou@baghou-All-Series:~$ cd Documents
baghou@baghou-All-Series:~/Documents$ cd test
baghou@baghou-All-Series:~/Documents/test$ cd mt7610u_wifi_sta_v3002_dpo_20130916-master/
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ ls
ate     hw_ctrl           Makefile  phy             RT2870STACard.dat
chips   include           mcu       rate_ctrl       RT2870STA.dat
common  iwpriv_usage.txt  mgmt      README.md       sta
conf    LICENSE           naf       README_STA_usb  sta_ate_iwpriv_usage.txt
doc     mac               os        retour_cmd.txt  tools
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ sudo cp R
README.md          README_STA_usb     RT2870STACard.dat  RT2870STA.dat
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ ls /etc/Wireless/RT2870STA/
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ 
baghou@baghou-All-Series:~/Documents/test/mt7610u_wifi_sta_v3002_dpo_20130916-master$ ls /etc/Wireless/RT2870STA/
RT2860STA.dat  RT2870STA.dat

Hors ligne

#43 Le 01/10/2018, à 15:15

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Je viens de voir le fil donné par xubu. Il n'arrivait pas à compiler (de ce que j'en ai compris, j'ai regardé en diagonal). Ici, la compilation est faite.

Pour l'instant, je ne comprends pas pourquoi nous avons 2 références : RT2860STA et RT2870STA

La première référence est celle qui a été compilée. La seconde est fournie telle quelle dans le github.

Je ne suis pas familier des .dat. Pour les drivers (en tout cas les pci), c'est du .ko et il y a besoin d'un firmware .bin en général.

Hors ligne

#44 Le 01/10/2018, à 15:19

xubu1957

Re : [RESOLU] Installation d'un driver wifi / Installation locale

@Nico

rt2870sta est un module pour les chipsets de réseau local sans fil USB Ralink RT2800U[D] et RT3000U[D] 802.11 draft-n. Les périphériques pris en charge sont listés à la fin de cette page.

Ce pilote propriétaire expérimental est incorporé comme pilote transitoire dans le noyau Linux depuis la version 2.6.29. Il est présent dans les images noyau de Debian depuis la version 2.6.29 (i386, amd64). Le pilote transitoire rt3070sta s'est fondu avec rt2870sta dans le noyau Linux 2.6.32.

Le firmware a été retiré du pilote dans les images noyau de Debian à partir de la version 2.6.30.1 Il est disponible dans le paquet firmware-ralink depuis la version 0.17.2

<!> Le pilote transitoire dépend pour l'instant des architectures x86 ou x86-64 (ports Debian i386 et AMD64 respectivement).

{i} Les périphériques PCI Ralink 802.11n PCI sont gérés par le pilote rt2860sta. Les périphériques USB Ralink 802.11g sont gérés par les pilotes rt73usb et rt2500usb.

> wiki.debian.org/fr/rt2870sta


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

Hors ligne

#45 Le 01/10/2018, à 15:29

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Merci xubu.

En paralllèle, toujours en essayant de comprendre la relation entre ces 2 références, je suis tombé sur un driver à jour chez tp-link : https://www.tp-link.com/us/download/Arc … tml#Driver C'est pour la version 2 (HW V2) de la clé.

Question : avais tu vérifié quelle est la version HW de ta clé? https://www.tp-link.com/us/faq-46.html

Hors ligne

#46 Le 01/10/2018, à 15:33

Mornagest

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Il va falloir choisir lequel charger avec sudo modprobe (à moins que ça ne soit chargé automatiquement, mais j'ai un doute)

tp-link a écrit :

Operating System: Linux (Kernel version 2.6~3.16)

Faut voir ^^

Dernière modification par Mornagest (Le 01/10/2018, à 15:35)


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#47 Le 01/10/2018, à 15:38

NicoApi73

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Dans le makefile, il y a ceci :

	install -d $(LINUX_SRC_MODULE)
	install -m 644 -c $(addsuffix .ko,$(MOD_NAME)) $(LINUX_SRC_MODULE)
/sbin/depmod -a ${shell uname -r}

Je pense que install fait appel à modprobe, mais je n'en suis pas sûr. Je ne sais pas ce que c'est que cet utilitaire ou macro.

Là, il faut rebooter et faire un lsmod pour voir ce qu'il y a comme driver

L'ensemble de ces commandes installe le module. install s'occupe des fichiers, depmod de gérer les drivers et dépendances.

Dernière modification par NicoApi73 (Le 01/10/2018, à 15:59)

Hors ligne

#48 Le 01/10/2018, à 15:38

xubu1957

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Je viens de trouver > nicola-spanti.info/fr/documents/tutorials/computing/os/gnu-linux/driver/mt7610u-wifi.

_ _ _

sudo modprobe -v mt7650u_sta

?

Dans > github.com/maage/mt7610u_wifi/tree/some_changes

Dernière modification par xubu1957 (Le 01/10/2018, à 15:44)


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

Hors ligne

#49 Le 01/10/2018, à 15:51

joshw

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Voici le retour :

baghou@baghou-All-Series:~$ lsmod
Module                  Size  Used by
cfg80211              622592  0
mt7650u_sta           917504  0
joydev                 24576  0
input_leds             16384  0
eeepc_wmi              16384  0
asus_wmi               28672  1 eeepc_wmi
sparse_keymap          16384  1 asus_wmi
wmi_bmof               16384  0
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             212992  0
snd_hda_codec_realtek   106496  1
snd_hda_codec_hdmi     49152  1
kvm                   598016  1 kvm_intel
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
snd_hda_intel          40960  8
snd_hda_codec         126976  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
aesni_intel           188416  0
aes_x86_64             20480  1 aesni_intel
snd_pcm                98304  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate           20480  0
intel_rapl_perf        16384  0
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
rndis_host             16384  0
cdc_ether              16384  1 rndis_host
lpc_ich                24576  0
usbnet                 45056  2 rndis_host,cdc_ether
snd                    81920  27 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
mei_me                 40960  0
soundcore              16384  1 snd
mei                    90112  1 mei_me
mac_hid                16384  0
shpchp                 36864  0
sch_fq_codel           20480  3
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
amdgpu               2703360  0
chash                  16384  1 amdgpu
hid_microsoft          16384  0
hid_generic            16384  0
usbhid                 49152  0
uas                    24576  0
usb_storage            69632  1 uas
hid                   118784  3 hid_generic,usbhid,hid_microsoft
radeon               1470464  20
i2c_algo_bit           16384  2 amdgpu,radeon
ttm                   106496  2 amdgpu,radeon
drm_kms_helper        172032  2 amdgpu,radeon
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
r8169                  86016  0
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
mii                    16384  2 r8169,usbnet
drm                   401408  17 amdgpu,radeon,ttm,drm_kms_helper
ahci                   36864  2
libahci                32768  1 ahci
wmi                    24576  2 asus_wmi,wmi_bmof
video                  45056  1 asus_wmi

Hors ligne

#50 Le 01/10/2018, à 15:58

joshw

Re : [RESOLU] Installation d'un driver wifi / Installation locale

Voici un autre retour :

baghou@baghou-All-Series:~$ sudo modprobe -v mt7650u_sta
[sudo] Mot de passe de baghou : 
baghou@baghou-All-Series:~$ iwconfig
lo        no wireless extensions.

enp3s0    no wireless extensions.

ra0       Ralink STA  
          
enp0s20u1  no wireless extensions.

et

baghou@baghou-All-Series:~$ sudo ifconfig ra0 up
baghou@baghou-All-Series:~$ iwconfig
lo        no wireless extensions.

enp3s0    no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"MT7610U_STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp0s20u1  no wireless extensions.

Il y a une amélioration, car précédemment, j'avais des messages d'erreurs avec :

sudo ifconfig ra0 up

Hors ligne