Contenu | Rechercher | Menus

Annonce

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.

#1 Le 25/11/2016, à 10:11

pachyderme69

[Abandonné] [Résolu] Clé Wifi Générique AC600

Bonjour à tous!

Je rejoins la communauté aujourd'hui afin de vous demander un peu d'aide smile

J'ai récemment monté un ordi et j'ai choisi d'acheter une clé WiFi que je n'arrive pas a faire fonctionner.
J'ai essayé il y a quelques semaines de l'installer par tout les moyens que j'ai pu trouver sur internet, mais sans succès.
Je ne me rapelle plus exactement des manips tellement j'en ai fait...

Me voici donc au point de départ...et j'aurai besoin de votre aide pour arriver a faire marcher ce machin ;-)
Quelques infos:

Je suis sous Ubuntu 16.04.1 LTS

lsusb donne :

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c513 Logitech, Inc. MX3000 Cordless Desktop Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0b05:5602 ASUSTek Computer, Inc. 
Bus 001 Device 004: ID 0e8d:7610 MediaTek Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Il s'agit de la clé MediaTek...mais je n'ai aucune interface wifi active.

Cette clé est livrée avec un petit CD comprenant quelques infos :
"IEEE802.11b/g/n/ac
For MTK Chipset 2.5"
C'est une clé double bande 2.4 & 5Ghz, le vendeur (ebay) indique AC600 sur l'annonce
N° de fabriquant fournis par le vendeur : ELGA-USB0171BK

Il y a bien un mode opératoire pour installer la clé sur le CD, mais tout est en codage et je n'y suis pas arrivé...(tout comme les méthodes sur internet, qui au passage m'ont fait installer pleins de truc inutiles)

Help :-)

Du coup je ne sais plus par ou recommencer


Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par Ayral (Le 16/01/2020, à 22:07)

Hors ligne

#2 Le 25/11/2016, à 17:10

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Bonjour,

Peux-tu donner tes infos : Configuration wifi ?

en te servant du : Retour utilisable de commande


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#3 Le 28/11/2016, à 14:54

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Coucou,
Dsl pour les balises, je vais vous donner toutes les config WiFi...
je précise que mon Asus zenfone est banché en usb pour partager la connexion.

cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

lsusb sans la clé WiFi

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c513 Logitech, Inc. MX3000 Cordless Desktop Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0b05:5602 ASUSTek Computer, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Lsusb avec la clé :

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c513 Logitech, Inc. MX3000 Cordless Desktop Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0b05:5602 ASUSTek Computer, Inc. 
Bus 001 Device 007: ID 0e8d:7610 MediaTek Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

A partir de la, les commandes ont été tapées avec la clé branchée...

lspci

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 06)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller

lspci -k -nn | grep -A 3 -i net

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]

lspci -k

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
	Subsystem: ASUSTeK Computer Inc. Skylake Host Bridge/DRAM Registers
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 06)
	DeviceName:  Onboard IGD
	Subsystem: ASUSTeK Computer Inc. Skylake Integrated Graphics
	Kernel driver in use: i915_bpo
	Kernel modules: i915_bpo
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H USB 3.0 xHCI Controller
	Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H CSME HECI
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H SATA controller [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H HD Audio
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-H SMBus
	Kernel modules: i2c_i801
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
	Subsystem: ASUSTeK Computer Inc. ASM1142 USB 3.1 Host Controller
	Kernel driver in use: xhci_hcd

sudo lshw -C network

  *-network               
       description: Ethernet interface
       produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:02:00.0
       nom logique: enp2s0
       version: 15
       numéro de série: 2c:56:dc:d5:6c:d2
       taille: 10Mbit/s
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       ressources: irq:127 portE/S:e000(taille=256) mémoire:f7104000-f7104fff mémoire:f7100000-f7103fff
  *-network
       description: Ethernet interface
       identifiant matériel: 2
       nom logique: enp0s20f0u9
       numéro de série: 46:80:26:b0:4a:b9
       fonctionnalités: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.123 link=yes multicast=yes

lsmod

Module                  Size  Used by
rndis_host             16384  0
cdc_ether              16384  1 rndis_host
usbnet                 45056  2 rndis_host,cdc_ether
nls_utf8               16384  0
udf                    94208  0
crc_itu_t              16384  1 udf
uas                    24576  0
usb_storage            69632  1 uas
bnep                   20480  2
nls_iso8859_1          16384  1
snd_hda_codec_hdmi     53248  1
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    77824  1 snd_hda_codec_realtek
snd_hda_intel          40960  3
snd_hda_codec         135168  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           73728  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               106496  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
eeepc_wmi              16384  0
asus_wmi               28672  1 eeepc_wmi
sparse_keymap          16384  1 asus_wmi
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
joydev                 20480  0
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
kvm                   540672  0
snd_timer              32768  2 snd_pcm,snd_seq
input_leds             16384  0
irqbypass              16384  1 kvm
serio_raw              16384  0
snd                    81920  17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore              16384  1 snd
mei_me                 36864  0
mei                    98304  1 mei_me
shpchp                 36864  0
hci_uart               77824  0
btbcm                  16384  1 hci_uart
btqca                  16384  1 hci_uart
btintel                16384  1 hci_uart
bluetooth             520192  9 bnep,btbcm,btqca,hci_uart,btintel
8250_fintek            16384  0
acpi_pad               20480  0
intel_lpss_acpi        16384  0
intel_lpss             16384  1 intel_lpss_acpi
mac_hid                16384  0
acpi_als               16384  0
kfifo_buf              16384  1 acpi_als
industrialio           61440  2 acpi_als,kfifo_buf
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,ppdev,parport_pc
autofs4                40960  2
drbg                   32768  1
ansi_cprng             16384  0
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
dm_crypt               28672  1
hid_logitech           32768  0
ff_memless             16384  1 hid_logitech
usbhid                 49152  0
mxm_wmi                16384  0
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
i915_bpo             1302528  7
aesni_intel           167936  2
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  3 aesni_intel,ablk_helper
intel_ips              20480  1 i915_bpo
i2c_algo_bit           16384  1 i915_bpo
drm_kms_helper        155648  1 i915_bpo
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   364544  8 i915_bpo,drm_kms_helper
r8169                  81920  0
ahci                   36864  3
mii                    16384  2 r8169,usbnet
libahci                32768  1 ahci
wmi                    20480  2 mxm_wmi,asus_wmi
video                  40960  2 i915_bpo,asus_wmi
pinctrl_sunrisepoint    28672  0
i2c_hid                20480  0
pinctrl_intel          20480  1 pinctrl_sunrisepoint
hid                   118784  3 i2c_hid,hid_logitech,usbhid
fjes                   28672  0

iwconfig

enp2s0    no wireless extensions.

enp0s20f0u9  no wireless extensions.

lo        no wireless extensions.

ifconfig

enp0s20f0u9 Link encap:Ethernet  HWaddr 46:80:26:b0:4a:b9  
          inet adr:192.168.42.123  Bcast:192.168.42.255  Masque:255.255.255.0
          adr inet6: fe80::b884:12f3:f2b2:f102/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:3554 erreurs:0 :0 overruns:0 frame:0
          TX packets:3280 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:3680534 (3.6 MB) Octets transmis:470995 (470.9 KB)

enp2s0    Link encap:Ethernet  HWaddr 2c:56:dc:d5:6c:d2  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          Packets reçus:7147 erreurs:0 :0 overruns:0 frame:0
          TX packets:7147 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1 
          Octets reçus:545942 (545.9 KB) Octets transmis:545942 (545.9 KB)

sudo iwlist scan

enp2s0    Interface doesn't support scanning.

enp0s20f0u9  Interface doesn't support scanning.

lo        Interface doesn't support scanning.

uname -r -m

4.4.0-47-generic x86_64

cat  /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

nm-tool

La commande « nm-tool » est introuvable, vouliez-vous dire :
 La commande « dm-tool » du paquet « lightdm » (main)
nm-tool : commande introuvable

sudo rfkill list
--> rien ne s'affiche

nmcli connection show

NOM                    UUID                                  TYPE            PÉRIPHÉRIQUE 
Connexion filaire 1    19741ffd-8f23-3ea0-af65-8fe60214135d  802-3-ethernet  enp0s20f0u9  
Home Work              d46e3bc5-96ef-3db5-9893-2781d2a7ff16  802-3-ethernet  --           
Home Work              67fbc476-0df3-4728-815a-726a6cba1c09  802-3-ethernet  --           
connexion USB Zenfone  3a4f20fa-a5df-3f23-89dc-216812a5ae60  802-3-ethernet  --           

Voila j'espère que ca pourra vous aider a trouver ce qui cloche avec cette clé, merci :-)

Dernière modification par pachyderme69 (Le 28/11/2016, à 14:57)

Hors ligne

#4 Le 28/11/2016, à 17:44

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Bonjour,

Tentes cette solution :

Le 21/01/2014, toutafai a écrit :

a tous ceux qui sont avec de l'ASUS :

Essayer cette modification, facilement "réversible" :

gksudo gedit   /etc/modprobe.d/blacklist.conf

A la fin du fichier, rajouter la ligne suivante :

blacklist asus_nb_wmi

Enregistrer la modification, rebooter et tester si le wifi est ok

PS : Pour annuler la modification, il suffit simplement de supprimer la ligne ajouté, enregistrer et rebooter


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#5 Le 29/11/2016, à 11:46

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Salut,

Je viens d'essayer, mais sans succès.
Par contre quand j'ai effacé la ligne et enregistré, j'ai eu ce message dans le terminal :

** (gedit:2260): WARNING **: Set document metadata failed: La définition de l'attribut metadata::gedit-spell-enabled n'est pas prise en charge

** (gedit:2260): WARNING **: Set document metadata failed: La définition de l'attribut metadata::gedit-encoding n'est pas prise en charge

** (gedit:2260): WARNING **: Set document metadata failed: La définition de l'attribut metadata::gedit-position n'est pas prise en charge

Je ne suis pas sur que cela ai une influence sur mon soucis cependant...

Una autre piste:
J'ai rejeté un coup d’œil aux drivers proposés dans le CD d'installation, ça pourrait peut être aider:

DPA_MT7601U_LinuxSTA_3.0.0.4_20130916.rar
DPA_MT7610u_wifi_sta_v3004_rev1_20140529.rar
DPA_RT5572_LinuxSTA_2.6.1.4_20121211.rar
MT7601U_LinuxAP_3.0.0.1_20130802.rar
RT5572_RT5372_Linux_AP_V2.7.1.1_Beta_DPA_20121113.rar

Le soucis : quand j'essaie d'extraire les archives, un message d'erreur apparait :
"Parsing filters is unsupported"
Et les archives ne se décompressent pas...si j'arrive a résoudre ce soucis je pourrai installer les drivers fournis sur le CD d'install...

Hors ligne

#6 Le 29/11/2016, à 17:35

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Bonjour,

Essaies la solution de toutafai :

toutafai a écrit :

Télécharge le driver MT7601U USB a cette adresse
enregistre le sur le bureau et décompresse le tout dans un dossier nommé wifi que tu met sur le bureau

sudo apt-get install linux-headers-generic build-essential
cd ~/Bureau/wifi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913
make
sudo make install
sudo modprobe mt7601Usta
echo "mt7601Usta" | sudo tee -a /etc/modules

puis on active la carte avec (une des 2 commandes donnera une erreur, c'est pas grave) a adapter suite aux nouvelles dénominations des interfaces

sudo ifconfig wlan0 up
sudo ifconfig ra0 up

Si tous c'est bien passé il te reste plus qu'a te connecter a ton wifi en utilisant network manager

PS : a chaque mise à jour de noyaux il faudra recompilé :

sudo apt-get install linux-headers-generic build-essential
cd ~/Bureau/wifi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913
sudo make clean
make
sudo make install
sudo modprobe mt7601Usta

issu du message 4 de : installation clé usb Wifi LT WN727N[résolu]


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#7 Le 29/11/2016, à 20:24

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Salut!

Merci pour la solution mais ça n'a pas marché...tout d'abord parceque je n'avais pas le bon driver, j'ai rectifié et fait avec le MT7610U...rien a faire.

Voici le déroulement:

sudo apt-get install linux-headers-generic build-essential

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
build-essential is already the newest version (12.1ubuntu2).
linux-headers-generic is already the newest version (4.4.0.47.50).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

pas de soucis de ce coté la vu que j'avais essayé d'autres options...

puis je bascule sur le dossier 'wifi' du bureau,

make

make -C tools
make[1] : on entre dans le répertoire « /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/tools »
gcc -g bin2h.c -o bin2h
make[1] : on quitte le répertoire « /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/tools »
/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.4.0-47-generic/build SUBDIRS=/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.4.0-47-generic »
  CC [M]  /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o
/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:5401:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
 intf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, _
                                                                     ^
/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:5401:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
 , size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
                                                                     ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258 : la recette pour la cible « /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o » a échouée
make[2]: *** [/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o] Erreur 1
Makefile:1418 : la recette pour la cible « _module_/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux » a échouée
make[1]: *** [_module_/home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.4.0-47-generic »
Makefile:393 : la recette pour la cible « LINUX » a échouée
make: *** [LINUX] Erreur 2

sudo make install

make -C /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install
make[1] : on entre dans le répertoire « /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/conf/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/4.4.0-47-generic/kernel/drivers/net/wireless/
install -m 644 -c mt7650u_sta.ko /lib/modules/4.4.0-47-generic/kernel/drivers/net/wireless/
install: impossible d'évaluer 'mt7650u_sta.ko': Aucun fichier ou dossier de ce type
Makefile.6:454 : la recette pour la cible « install » a échouée
make[1]: *** [install] Erreur 1
make[1] : on quitte le répertoire « /home/nina/Bureau/wifi/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux »
Makefile:489 : la recette pour la cible « install » a échouée
make: *** [install] Erreur 2

sudo modprobe mt7610Usta

modprobe: FATAL: Module mt7610Usta not found in directory /lib/modules/4.4.0-47-generic

Je ne sais pas pourquoi il y a des erreurs qui apparaissent dès la commande "make"...

Dernière modification par pachyderme69 (Le 29/11/2016, à 20:37)

Hors ligne

#8 Le 29/11/2016, à 20:46

Rufus T. Firefly

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600


La provocation est une façon de remettre la réalité sur ses pieds. (Bertolt Brecht)
Il n'y a pas de route royale pour la science et ceux-là seulement ont chance d'arriver à ses sommets lumineux qui ne craignent pas de se fatiguer à gravir ses sentiers escarpés. (Karl Marx)
Il est devenu plus facile de penser la fin du monde que la fin du capitalisme

Hors ligne

#9 Le 29/11/2016, à 20:48

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Je viens d'essayer une autre méthode, utilisant le même driver, pas de changements...

d'après ce topic:https://forum.ubuntu-fr.org/viewtopic.php?id=1988818

nina@nina:~$ git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916
Clonage dans 'mt7610u_wifi_sta_v3002_dpo_20130916'...
remote: Counting objects: 544, done.
remote: Total 544 (delta 0), reused 0 (delta 0), pack-reused 544
Réception d'objets: 100% (544/544), 1.99 MiB | 190.00 KiB/s, fait.
Résolution des deltas: 100% (246/246), fait.
Vérification de la connectivité... fait.
nina@nina:~$ cd mt7610u_wifi_sta_v3002_dpo_20130916
nina@nina:~/mt7610u_wifi_sta_v3002_dpo_20130916$ make
make -C tools
make[1] : on entre dans le répertoire « /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/tools »
gcc -g bin2h.c -o bin2h
make[1] : on quitte le répertoire « /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/tools »
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.4.0-47-generic/build SUBDIRS=/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.4.0-47-generic »
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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_
                                   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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_
         ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.c: In function ‘PeerAssocRspAction’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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);
     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.c: In function ‘AssocPostProc’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.c:1450:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    PUCHAR pVIE;
    ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth_rsp.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth_rsp.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sync.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sync.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sanity.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sanity.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/rtmp_data.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/rtmp_data.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/connect.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/connect.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/wpa.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/wpa.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_vht.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_vht.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/vht.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/vht.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_md5.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_md5.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_sha2.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_sha2.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_hmac.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/crypt_hmac.h:31,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_hmac.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/crypt_aes.h:31,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/crypt_aes.h:31,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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.
                                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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.
      ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 failur
                                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 failur
      ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_arc4.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/crypt_arc4.h:31,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_arc4.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wep.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wep.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/action.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/action.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
                            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
  USHORT i;
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds]
         printk Fmt;               \
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’
 #define DBGPRINT(Level, Fmt)    DBGPRINT_RAW(Level, Fmt)
                                 ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds]
         printk Fmt;               \
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’
 #define DBGPRINT(Level, Fmt)    DBGPRINT_RAW(Level, Fmt)
                                 ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds]
         printk Fmt;               \
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’
 #define DBGPRINT(Level, Fmt)    DBGPRINT_RAW(Level, Fmt)
                                 ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds]
         printk Fmt;               \
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’
 #define DBGPRINT(Level, Fmt)    DBGPRINT_RAW(Level, Fmt)
                                 ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 
   ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init_inf.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init_inf.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_tkip.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_tkip.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_aes.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_aes.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sync.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sync.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/eeprom.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/eeprom.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sanity.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sanity.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:684:9: note: in definition of macro ‘DBGPRINT_S’
  printk Fmt;     \
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:5960:20: 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));
                    ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
                         VOID **ppINTF = (VOID **)pData;
                                ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_radar.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_radar.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 buffe
                             ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 buffe
   ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_timer.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_timer.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_channel.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_channel.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_profile.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_profile.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  UCHAR i, PhyMode = 0x4000;
                     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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, 
            ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/scan.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/scan.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cmd.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cmd.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/uapsd.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/uapsd.c:29:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ps.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ps.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/ra_ctrl.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/ra_ctrl.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_legacy.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_legacy.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.c: In function ‘RtmpChipOpsHook’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.c:910:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  pChipOps->ChipSwitchChannel = Default_ChipSwitchChannel;
                              ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c: In function ‘AsicGetAutoAgcOffsetForExternalTxAlc’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c:164:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    pTssiMinusBoundary = &pAd->TssiMinusBoundaryA[0];
                       ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c:165:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    pTssiPlusBoundary = &pAd->TssiPlusBoundaryA[0];
                      ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/rtmp_mac.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/rtmp_mac.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_hw.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_hw.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_entrytb.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_entrytb.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rtmp_phy.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rtmp_phy.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val; 
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable]
  UCHAR rf_val;
        ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: At top level:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_rf.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_rf.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_grp.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_grp.c:29:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ba_action.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ba_action.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_ht.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_ht.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_os_util.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_os_util.c:33:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:176:8: warning: unused variable ‘i’ [-Wunused-variable]
  ULONG i;
        ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘CFG80211_SupBandInit’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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",
                               ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:324:37: note: in expansion of macro ‘DBGPRINT’
 #define CFG80211DBG(__Flg, __pMsg)  DBGPRINT(__Flg, __pMsg)
                                     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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",
  ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_main_dev.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_main_dev.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_led.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_led.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsChannelSet’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:236:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct net_device *dev = NULL;
  ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsScan’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:447:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:451:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct net_device *pNdev = NULL;
  ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsIbssJoin’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:550:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  IbssInfo.pSsid = pParams->ssid;
                 ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsStaGet’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:726:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsConnect’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1319:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  ConnInfo.pSsid = pSme->ssid;
                 ^
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:33:0:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1328:38: warning: passing argument 5 of ‘RTMP_STA_IoctlHandle’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    RTMP_DRIVER_80211_GEN_IE_SET(pAd, pSme->ie, pSme->ie_len);
                                      ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h:567:77: note: in definition of macro ‘RTMP_DRIVER_80211_GEN_IE_SET’
 _STA_IoctlHandle(__pAd, NULL, CMD_RTPRIV_IOCTL_STA_SIOCSIWGENIE, 0, __pData, __
                                                                     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h:240:5: note: expected ‘VOID * {aka void *}’ but argument is of type ‘const u8 * {aka const unsigned char *}’
 INT RTMP_STA_IoctlHandle(
     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1349:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ConnInfo.pBssid = pSme->bssid;
                   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsPmksaSet’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1533:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  pIoctlPmaSa->pPmkid = pPmksa->pmkid;
                      ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsPmksaDel’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1578:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  pIoctlPmaSa->pPmkid = pPmksa->pmkid;
                      ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: At top level:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1890:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .set_tx_power    = CFG80211_OpsTxPwrSet,
                     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1890:21: note: (near initialization for ‘CFG80211_Ops.set_tx_power’)
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1892:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .get_tx_power    = CFG80211_OpsTxPwrGet,
                     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1892:21: note: (near initialization for ‘CFG80211_Ops.get_tx_power’)
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1896:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .get_station    = CFG80211_OpsStaGet,
                    ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1896:20: note: (near initialization for ‘CFG80211_Ops.get_station’)
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_WdevAlloc’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:2038:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  pWdev->wiphy->reg_notifier = CFG80211_RegNotifier;
                             ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c: At top level:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:213:12: warning: ‘CFG80211_OpsChannelSet’ defined but not used [-Wunused-function]
 static int CFG80211_OpsChannelSet(
            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1755:12: warning: ‘CFG80211_OpsStartAp’ defined but not used [-Wunused-function]
 static int CFG80211_OpsStartAp(
            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1797:12: warning: ‘CFG80211_OpsChangeBeacon’ defined but not used [-Wunused-function]
 static int CFG80211_OpsChangeBeacon(
            ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211.c:1835:12: warning: ‘CFG80211_OpsStopAp’ defined but not used [-Wunused-function]
 static int CFG80211_OpsStopAp(
            ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c: In function ‘CFG80211DRV_KeyAdd’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c:548:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE, ("Set_WPAPSK_Proc ==> %d, %d, %d...\n", pKeyInfo->Ke
                             ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c:548:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE, ("Set_WPAPSK_Proc ==> %d, %d, %d...\n", pKeyInfo->Ke
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c:550:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   RT_CMD_STA_IOCTL_SECURITY IoctlSec;
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c: In function ‘CFG80211_LostApInform’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/cfg80211drv.c:1363:15: warning: unused variable ‘p80211CB’ [-Wunused-variable]
  CFG80211_CB *p80211CB = pAd->pCfg80211_CB;
               ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.c:33:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.c: In function ‘RT28XXDMAEnable’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.c:1349:22: warning: unused variable ‘GloCfg’ [-Wunused-variable]
  WPDMA_GLO_CFG_STRUC GloCfg;
                      ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c: In function ‘GetPacketFromRxRing’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c:1161:8: warning: unused variable ‘RXWISize’ [-Wunused-variable]
  UINT8 RXWISize = pAd->chipCap.RXWISize;
        ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c: At top level:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘RTUSBWriteMACRegister’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:484:3: warning: passing argument 3 of ‘RTUSBMultiWrite_nBytes’ from incompatible pointer type [-Wincompatible-pointer-types]
   &Value,
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:282:10: note: expected ‘PUCHAR {aka unsigned char *}’ but argument is of type ‘UINT32 * {aka unsigned int *}’
 NTSTATUS RTUSBMultiWrite_nBytes(
          ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘write_reg’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:522:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘RTUSBWriteEEPROM’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:804:9: warning: unused variable ‘Value’ [-Wunused-variable]
  USHORT Value;
         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘read_reg’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:554:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_data.o
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.c: In function ‘RTUSBCancelPendingBulkInIRP’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.c:1371:8: warning: unused variable ‘IrqFlags’ [-Wunused-variable]
  ULONG IrqFlags;
        ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_usb.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_usb.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_prom.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_prom.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_efuse.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_efuse.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_rf.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_rf.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rt65xx.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rt65xx.c:30:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘SetRfChFreqParametersMT76x0’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]);
                       ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘MT76x0_ChipSwitchChannel’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1791:20: warning: unused variable ‘delta_pwr’ [-Wunused-variable]
  UCHAR bbp_ch_idx, delta_pwr;
                    ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1787:8: warning: unused variable ‘RFValue’ [-Wunused-variable]
  UCHAR RFValue = 0;
        ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_per_rate_tx_pwr’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 &
                                   ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘MT76x0_Init’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2774:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  pChipOps->ChipSwitchChannel = MT76x0_ChipSwitchChannel;
                              ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_tx_alc_info_from_eeprom’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:5498:10: warning: unused variable ‘status’ [-Wunused-variable]
  BOOLEAN status = TRUE;
          ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/ral_nmac.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/ral_nmac.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c: In function ‘MCUBurstWrite’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:33:38: warning: passing argument 3 of ‘RTUSBMultiWrite_nBytes’ from incompatible pointer type [-Wincompatible-pointer-types]
  RTUSBMultiWrite_nBytes(pAd, Offset, Data, Cnt * 4, 64); 
                                      ^
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:63:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp.h:7272:10: note: expected ‘PUCHAR {aka unsigned char *}’ but argument is of type ‘UINT32 * {aka unsigned int *}’
 NTSTATUS RTUSBMultiWrite_nBytes(
          ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c: In function ‘ChipOpsMCUHook’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:62:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   pChipOps->Calibration = andes_calibration;
                         ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c: In function ‘MCUBurstWrite’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:35:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c: In function ‘MCURandomWrite’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:43:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c: In function ‘andes_usb_loadfw’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:325:11: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type [-Wincompatible-pointer-types]
           usb_uploadfw_complete,
           ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:1398:32: note: in definition of macro ‘RTUSB_FILL_HTTX_BULK_URB’
         pTransferBuf, BufSize, Complete, pContext); \
                                ^
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:53:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:28:
include/linux/usb.h:1542:20: note: expected ‘usb_complete_t {aka void (*)(struct urb *)}’ but argument is of type ‘VOID (*)(struct urb *, pregs *) {aka void (*)(struct urb *, struct pt_regs *)}’
 static inline void usb_fill_bulk_urb(struct urb *urb,
                    ^
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:28:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:474:11: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type [-Wincompatible-pointer-types]
           usb_uploadfw_complete,
           ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:1398:32: note: in definition of macro ‘RTUSB_FILL_HTTX_BULK_URB’
         pTransferBuf, BufSize, Complete, pContext); \
                                ^
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:53:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:28:
include/linux/usb.h:1542:20: note: expected ‘usb_complete_t {aka void (*)(struct urb *)}’ but argument is of type ‘VOID (*)(struct urb *, pregs *) {aka void (*)(struct urb *, struct pt_regs *)}’
 static inline void usb_fill_bulk_urb(struct urb *urb,
                    ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c: In function ‘andes_dequeue_and_kick_out_cmd_msgs’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:1275:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  while (msg = andes_dequeue_cmd_msg(ctl, &ctl->txq)) {
  ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c: At top level:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_usb_util.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_usb_util.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_suspend’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c:394:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev;
                     ^
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_resume’:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c:442:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev;
                     ^
  CC [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_dev_id.o
In file included from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_dev_id.c:31:
/home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/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]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/frq_cal.o
  LD [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7610u_sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7610u_sta.mod.o
  LD [M]  /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7610u_sta.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.4.0-47-generic »
nina@nina:~/mt7610u_wifi_sta_v3002_dpo_20130916$ sudo make install
[sudo] Mot de passe de nina : 
make -C /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install
make[1] : on entre dans le répertoire « /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux »
mkdir: impossible de créer le répertoire «/etc/Wireless»: Le fichier existe
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/4.4.0-47-generic/kernel/drivers/net/wireless/
install -m 644 -c mt7610u_sta.ko /lib/modules/4.4.0-47-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.4.0-47-generic
make[1] : on quitte le répertoire « /home/nina/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux »
nina@nina:~/mt7610u_wifi_sta_v3002_dpo_20130916$ sudo cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat
nina@nina:~/mt7610u_wifi_sta_v3002_dpo_20130916$ reboot

Hors ligne

#10 Le 29/11/2016, à 21:01

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Rufus T. Firefly a écrit :

Salut,

Une solution ici ?
https://www.linuxquestions.org/question … ost5532424

merci mais malheureusement non...j'ai suivi les instructions la:
http://askubuntu.com/questions/674116/h … nk-mt7610u
pas de changement la clé ne marche toujours pas hmm

j'ai également essayé avec le driver disponible sur :
http://trendtechcn.com/Product.aspx?Pro … 2&TypeId=2
pareil...

Hors ligne

#11 Le 29/11/2016, à 21:43

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

J'ai également vérifié dans le BIOS si il n'y avais pas un soucis...RAS

Hors ligne

#12 Le 29/11/2016, à 21:59

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

je viens de corriger dans une commande mt7610Usta en mt7610u_sta, et la le module est enfin trouvé, mais j'ai ce message d'erreur

mt7610u_wifi_sta_v3002_dpo_20130916$ sudo modprobe mt7610u_sta
modprobe: ERROR: could not insert 'mt7610u_sta': Required key not available

Hors ligne

#13 Le 29/11/2016, à 22:10

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

A tout hasard, le secure-boot est désactivé ?

Pour une autre carte Mediatek : [RESOLU] Pilote wifi MT7630E sous Ubuntu 16.04


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#14 Le 29/11/2016, à 22:38

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

secure-boot est bien desactivé...je regarde le post en lien
merci smile

Hors ligne

#15 Le 29/11/2016, à 22:52

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

le modules

mt7601Usta            602112  0

apparaît, mais toujours pas de fonctionnement

Hors ligne

#16 Le 29/11/2016, à 22:56

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Avec cette discussion : Ubuntu 15.04 | MT7601U_LinuxSTA | RT2870 Configuration | USB Wifi Chinese Dongle ?

Dernière modification par xubu1957 (Le 29/11/2016, à 22:57)


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#17 Le 29/11/2016, à 23:55

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

ca a aidé a enlever les 2 erreurs de la ligne 5766, mais il y a encore 8 autres erreurs dans le terminal -.-'

Edit : apres avoir refait la manip, il n'y a plus d'erreur sur les commandes 'make' et 'make install', modprobe mt7601Usta est effectuée sans soucis.
Toujours pas de wifi meme apres avoir redémarrer, je vérifierai si ce n'est pas le driver mt7610u a la place du mt7601u...

Dernière modification par pachyderme69 (Le 30/11/2016, à 00:16)

Hors ligne

#18 Le 11/12/2016, à 20:52

pachyderme69

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

bon j'ai essayé avec les drivers de mt7610u & mt7601u
je les ai bien installés et j'ai eu le wifi affiché dans network manager pendant un moment, puis il a disparu (la clé n'étais pas fonctionnelle)...
un problème logiciel selon une fenêtre qui s'est ouverte
depuis la fenêtre apparaît de temps en temps la mais toujours pas le wifi...

je n'ai plus d'idées pour le moment :-(

edit:

modprobe: ERROR: could not insert 'mt7610u_sta': Device or resource busy

Dernière modification par pachyderme69 (Le 11/12/2016, à 21:05)

Hors ligne

#19 Le 01/05/2017, à 18:46

Claros

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Salut @pachyderme69 tu es la première personne que je trouve avec le même dongle Wi-Fi (d'après ton lsusb) ayant des problèmes à installer le driver. As-tu finalement réussi à l'utiliser ou pas ?


Linux Mint 18.1 Serena
Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Hors ligne

#20 Le 01/05/2017, à 18:55

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Bonjour,

Voir aussi : github.com/ulli-kroll/mt7610u


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#21 Le 01/05/2017, à 19:00

Claros

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

xubu1957 a écrit :

Bonjour,

Voir aussi : github.com/ulli-kroll/mt7610u

Justement, je suis arrivé sur ce post pour avoir des infos si @pachyderme69 a le même problème que moi. J'ai testé tous les drivers mt7610u que j'ai trouvé, mais la plupart (ceux qui fonctionnent) arrivent au même problème : le kernel crash complètement lorsque j'essaye de me connecter à n'importe quel réseau. J'avais l'intention de créer un nouveau sujet pour parler de ça, vu que cela semble être un problème différent.


Linux Mint 18.1 Serena
Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Hors ligne

#22 Le 01/05/2017, à 19:12

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Et avec le PPA : https://launchpad.net/~hanipouspilot/+a … tu/rtlwifi sorti le 01/09/2016 ?


Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#23 Le 01/05/2017, à 19:54

Claros

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

xubu1957 a écrit :

Et avec le PPA : https://launchpad.net/~hanipouspilot/+a … tu/rtlwifi sorti le 01/09/2016 ?

Je dois t'avouer que compiler un driver ne m'enchante, c'est donc pour ça que le PPA est la première solution que j'ai essayé. Malheureusement, il s'est produit exactement la même chose qu'avec les autres drivers, à savoir un crash complet du kernel lors de la connexion à un réseau.
Je suis en train de rédiger en détail mon post à ce sujet.


Linux Mint 18.1 Serena
Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Hors ligne

#24 Le 01/05/2017, à 19:57

xubu1957

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

Tu es sur quel noyau ?

uname -a

Conseils pour les nouveaux demandeurs et pas qu'eux
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.                   Membre de Linux-Azur

Hors ligne

#25 Le 01/05/2017, à 21:52

Claros

Re : [Abandonné] [Résolu] Clé Wifi Générique AC600

xubu1957 a écrit :

Tu es sur quel noyau ?

uname -a

J'ai créé un second sujet pour parler de mon problème : https://forum.ubuntu-fr.org/viewtopic.p … #p21723146
(Et accessoirement pour répondre à ta question, je suis en 4.4.0-53)


Linux Mint 18.1 Serena
Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Hors ligne