Fedora Online Forum

Lavori in corso! I nostri pinguini sono all'opera e risolveranno i problemi il prima possibile ;-)

#1 10-02-2018 16:11:46

yum_yoshi
Innamorato del forum
Registrato: 04-02-2010
Messaggi: 623

adattatore wifi AC600 802.11ac non riconosciuto

Ciao a tutti,
ho comperato questo adattatore wifi ,che va anche a 5ghz, ma non viene visto e non riesco ad installarlo.
con lsusb trovo

Bus 003 Device 005: ID 0e8d:7610 MediaTek Inc.

poi ho scaricato i driver , che sono anche nel cd in dotazione,

mt7610u_wifi_sta_v3002_dpo_20130916.tar.bz2

ma al make mi da errori

[root@ryzen mt7610u_wifi_sta_v3002_dpo_20130916]# make
make -C tools
make[1]: ingresso nella directory "/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/tools"
gcc -g bin2h.c -o bin2h
make[1]: uscita dalla directory "/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/tools"
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.14.16-300.fc27.x86_64/build SUBDIRS=/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: ingresso nella directory "/usr/src/kernels/4.14.16-300.fc27.x86_64"
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^~~
In file included from /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:443:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
                                   ^                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:443:9: note: in expansion of macro ‘DBGPRINT’
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^~~~~~~~
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sync.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sanity.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/connect.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/wpa.o
  CC [M]  /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:789:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:792:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if (pAd->StaCfg.BssType == BSS_ADHOC)
  ^~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/roberto/Scaricati/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__, __TIME__ );
                                                                     ^~~~~~~~
/home/roberto/Scaricati/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__ );
                                                                     ^~~~~~~~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:5647:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:5650:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return NDIS_STATUS_SUCCESS;
  ^~~~~~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:7518:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rate_index >= rate_count)
     ^~
/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:7521:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  *(ULONG *)pData = ralinkrate[rate_index] * 500000;
  ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:321: /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o] Error 1
make[1]: *** [Makefile:1511: _module_/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Error 2
make[1]: uscita dalla directory "/usr/src/kernels/4.14.16-300.fc27.x86_64"
make: *** [Makefile:394: LINUX] Error 2
[root@ryzen mt7610u_wifi_sta_v3002_dpo_20130916]# make install
make -C /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install
make[1]: ingresso nella directory "/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux"
mkdir: impossibile creare la directory "/etc/Wireless": File exists
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/conf/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/4.14.16-300.fc27.x86_64/kernel/drivers/net/wireless/
install -m 644 -c mt7650u_sta.ko /lib/modules/4.14.16-300.fc27.x86_64/kernel/drivers/net/wireless/
install: impossibile eseguire stat di 'mt7650u_sta.ko': No such file or directory
make[1]: *** [Makefile.6:459: install] Error 1
make[1]: uscita dalla directory "/home/roberto/Scaricati/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux"
make: *** [Makefile:489: install] Error 2

prima di iniziare l'operazione ho installato  groupinstall "strumenti di sviluppo"  e durante elfutils-libelf-devel come chiesto da un errore di make.

grazie

aggiungo:
ho fatto altre ricerche , pare che sia uguale al LINKSYS AE6000 , ho scaricato i driver rifatto procedura  ,ma sempre errori.

[root@ryzen ~]# cd '/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit' 
[root@ryzen mediatek_mt7610u_sta_driver_linux-64bit]# make clean
cp -f os/linux/Makefile.clean os/linux/Makefile
make -C os/linux clean
make[1]: ingresso nella directory "/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux"
rm -f ../../common/*.o
rm -f ../../common/.*.cmd .*.flags .*.d
rm -f ../../os/linux/*.o *.ko *.mod.o *.mod.c
rm -f ../../os/linux/.*.cmd .*.flags .*.d
rm -fr ../../os/linux/.tmp_versions
rm -f ../../os/linux/Module.symvers
rm -f ../../os/linux/Modules.symvers
rm -f ../../os/linux/Module.markers
rm -f ../../os/linux/modules.order
rm -f ../../chips/*.o
rm -f ../../chips/.*.cmd .*.flags .*.d
rm -f ../../rate_ctrl/*.o
rm -f ../../rate_ctrl/.*.cmd .*.flags .*.d
rm -f ../../ate/common/*.o
rm -f ../../ate/common/.*.cmd .*.flags .*.d
rm -f ../../ate/chips/*.o
rm -f ../../ate/chips/.*.cmd .*.flags .*.d
rm -f ../../phy/*.o
rm -f ../../phy/.*.cmd .*.flags .*.d
rm -f ../../mac/*.o
rm -f ../../mac/.*.cmd .*.flags .*.d
rm -f ../../mcu/*.o
rm -f ../../mcu/.*.cmd .*.flags .*.d
rm -f ../../mgmt/*.o
rm -f ../../mgmt/.*.cmd .*.flags .*.d
rm -f ../../naf/*.o
rm -f ../../naf/.*.cmd .*.flags .*.d
rm -f ../../sta/*.o
rm -f ../../sta/.*.cmd .*.flags .*.d
make[1]: uscita dalla directory "/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux"
rm -rf os/linux/Makefile
[root@ryzen mediatek_mt7610u_sta_driver_linux-64bit]# make
make -C tools
make[1]: ingresso nella directory "/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/tools"
gcc -g bin2h.c -o bin2h
make[1]: uscita dalla directory "/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/tools"
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/Makefile
make -C /lib/modules/4.14.16-300.fc27.x86_64/build SUBDIRS=/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux modules
make[1]: ingresso nella directory "/usr/src/kernels/4.14.16-300.fc27.x86_64"
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.o
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^~~
In file included from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:28:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:443:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
                                   ^                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:443:9: note: in expansion of macro ‘DBGPRINT’
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^~~~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/assoc.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/auth.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sync.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sanity.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/connect.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/wpa.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.o
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:789:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:792:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if (pAd->StaCfg.BssType == BSS_ADHOC)
  ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:5647:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:5650:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return NDIS_STATUS_SUCCESS;
  ^~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:7518:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rate_index >= rate_count)
     ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:7521:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  *(ULONG *)pData = ralinkrate[rate_index] * 500000;
  ^
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../mgmt/mgmt_vht.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/vht.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_md5.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.o
In file included from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/crypt_aes.h:31,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:28:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
                                ^                                                    ~~~~~~~~~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
      ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
                                ^                                                      ~~~~~~~~~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
      ^~~~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/mlme.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wep.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/action.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_data.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.o
In file included from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:28:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
    ~                        
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                ~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                                            ~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                                                                        ~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:719:4:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
    ~                        
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:719:31:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                               ~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:719:58:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                          ~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                            ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:719:85:
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                                                     ~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
  USHORT i;
         ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 2048 bytes [-Wframe-larger-than=]
 }
 ^
In file included from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:28:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:719:85: warning: array subscript is above array bounds [-Warray-bounds]
 BoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                                     ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:719:58: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
                                                          ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:717:32: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
                                ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:717:4: warning: array subscript is above array bounds [-Warray-bounds]
    pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
    ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^~~~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_aes.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_sync.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/eeprom.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.o
In file included from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:28:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/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/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:675:9: note: in definition of macro ‘DBGPRINT_S’
  printk Fmt;     \
         ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1752:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(enc == Ndis802_11Encryption3Enabled)
     ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1754:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(enc == Ndis802_11Encryption4Enabled)
  ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1764:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeShared)
     ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1766:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(auth == Ndis802_11AuthModeAutoSwitch)
  ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1776:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(auth == Ndis802_11AuthModeWPA2PSK)
     ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1778:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(auth == Ndis802_11AuthModeWPA1WPA2)
  ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:4214:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (idx = 0; idx < 32; idx++)
     ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:4217:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  return 0;
  ^~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:5960:28: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
   rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
                           ~^                         ~~~~~~~~~
                           %hhx
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cfg.o
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
                         VOID **ppINTF = (VOID **)pData;
                                ^~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wpa.o
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wpa.c:1249:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
     ^~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wpa.c:1254:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
  ^~~~~~~~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_radar.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.o
In file included from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
                 from /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c:28:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
                             ^
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
   ^~~~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rt_channel.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_profile.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.o
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  UCHAR i, PhyMode = 0x4000;
                     ^~~~~~
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.c:384:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode, 3: HT green field, 4: VHT mode, 5-7: Reserved */
            ^~~~~~
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/scan.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/uapsd.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/ps.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.o
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.c: In function ‘RtmpChipOpsHook’:
/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.c:910:30: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  pChipOps->ChipSwitchChannel = Default_ChipSwitchChannel;
                              ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:321: /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.o] Error 1
make[1]: *** [Makefile:1511: _module_/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux] Error 2
make[1]: uscita dalla directory "/usr/src/kernels/4.14.16-300.fc27.x86_64"
make: *** [Makefile:394: LINUX] Error 2
[root@ryzen mediatek_mt7610u_sta_driver_linux-64bit]# make install
make -C /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux -f Makefile.6 install
make[1]: ingresso nella directory "/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux"
mkdir: impossibile creare la directory "/etc/Wireless": File exists
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/4.14.16-300.fc27.x86_64/kernel/drivers/net/wireless/
install -m 644 -c mt7610u_sta.ko /lib/modules/4.14.16-300.fc27.x86_64/kernel/drivers/net/wireless/
install: impossibile eseguire stat di 'mt7610u_sta.ko': No such file or directory
make[1]: *** [Makefile.6:459: install] Error 1
make[1]: uscita dalla directory "/home/roberto/Scaricati/AE6000/mediatek_mt7610u_sta_driver_linux-64bit/os/linux"
make: *** [Makefile:489: install] Error 2

Ultima modifica di yum_yoshi (10-02-2018 19:59:19)

Non in linea

#2 10-02-2018 21:09:42

d68qdq8dq
Pinguino avanzato
Registrato: 03-07-2014
Messaggi: 227

Re: adattatore wifi AC600 802.11ac non riconosciuto

Hai per caso verificato se faccia uso di driver Broadcom? In tal caso lo potresti installare via RPMFusion.

Non in linea

#3 11-02-2018 14:30:49

yum_yoshi
Innamorato del forum
Registrato: 04-02-2010
Messaggi: 623

Re: adattatore wifi AC600 802.11ac non riconosciuto

non credo , sono 7610 MediaTek

Non in linea

#4 11-02-2018 16:00:40

andreamal
Fedora nel sangue
Da Roma
Registrato: 16-12-2009
Messaggi: 1'622

Re: adattatore wifi AC600 802.11ac non riconosciuto

Tutti gli output che hai postato (sia dei comandi "make" che dei make install") finiscono con errori, io non so leggere gli output per capire quale sia il problema ma suppongo che manchi qualcosa, una dipendenza, un parametro, la tazzina di caffè vicino al PC ...


Ciao
Andrea Malfatti

Non in linea

#5 11-02-2018 19:24:21

d68qdq8dq
Pinguino avanzato
Registrato: 03-07-2014
Messaggi: 227

Re: adattatore wifi AC600 802.11ac non riconosciuto

Forse dovresti provare questi driver da GitHub ( https://github.com/neurobin/MT7630E ). Comprende nella pagina una guida all'installazione.

Non in linea

#6 11-02-2018 22:04:35

yum_yoshi
Innamorato del forum
Registrato: 04-02-2010
Messaggi: 623

Re: adattatore wifi AC600 802.11ac non riconosciuto

ti ringrazio d68qdq8dq, ma questo mi sembra un drive per bluetooth ,il mio è 7610. comunque li ho scaricati anche da git-hub , sono tutti uguali, danno gli stessi errori .
ho anche seguito la procedura di questa pagina
ma ho incontrato dei problemi ad installare su Fedora  quello che dicono.
allora ho provato su una debian e dopo vari smanettamenti ho compilato senza errori finali , ma l'adattatore non funziona ,non si accende ll led.
non è rotto , provato su windows dopo aver installato i suoi driver contenuti nel cd, funziona.

Non in linea

#7 12-02-2018 17:06:36

d68qdq8dq
Pinguino avanzato
Registrato: 03-07-2014
Messaggi: 227

Re: adattatore wifi AC600 802.11ac non riconosciuto

Scusa se ti pongo questa domanda: nel post #1 tu mostri i risultati del comando make e mi domandavo se per caso avevi effettuato precedentemente la configurazione con ./configure. Hai dato questo comando prima del make? La regola con i makefile è:

./configure
make
make install ( da root)

Ultima modifica di d68qdq8dq (12-02-2018 17:08:38)

Non in linea

#8 12-02-2018 18:17:34

yum_yoshi
Innamorato del forum
Registrato: 04-02-2010
Messaggi: 623

Re: adattatore wifi AC600 802.11ac non riconosciuto

no , nelle varie soluzioni che ho seguito non c'è ,  sono tutte  per Debian o derivate e ci sono anche dei comandi che con Fedora non danno risultato ,tipo installare "linux-headers " o il make clean. forse sono io che non conosco i comandi giusti.
comunque ho provato a dare ./configure  con tutti i driver che ho scaricato e per tutti mi da questo errore ,ovviamente sono nella directory del driver.

[roberto@ryzen mt7610u_wifi_sta_v3002_dpo_20130916-master]$ ./configure
bash: ./configure: No such file or directory

ieri sono anche riuscito ,modificando il file make , ad eliminare gli errori che dava al comando make , quindi ho dato make install  e ha risposto che non c'era nessun file install o qualcosa di simile,ora non ricordo bene.
grazie
ciao

Non in linea

Piè di pagina