xtknight / mt7610u-linksys-ae6000-wifi-fixes

Trying to fix the MT7610U chipset driver by MediaTek so it's usable on modern Linux kernels and with nl80211/NetworkManager (and not completely breaking on old ones, maybe...)
187 stars 71 forks source link

Kernel panic/segfault when wireless dongle plugged in #16

Open maxcynicle opened 7 years ago

maxcynicle commented 7 years ago

The driver compiles with a lot of warnings and gets installed fine, but if I boot up with the wireless dongle plugged in my system KP and if I plug it in after logging in, I get the error below when i check dmesg.

[ 78.050255] usb 3-2: new high-speed USB device number 4 using xhci_hcd [ 78.205653] usb 3-2: New USB device found, idVendor=0e8d, idProduct=7610 [ 78.205656] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 78.205658] usb 3-2: Product: WiFi [ 78.205659] usb 3-2: Manufacturer: MediaTek [ 78.205660] usb 3-2: SerialNumber: 1.0 [ 78.820085] mt7610u_sta: loading out-of-tree module taints kernel. [ 78.820485] mt7610u_sta: module verification failed: signature and/or required key missing - tainting kernel [ 78.823559] rtusb init rt2870 ---> [ 78.823687]

           === pAd = ffffc5534231a000, size = 895688 ===

[ 78.823769] <-- RTMPAllocTxRxRingMemory, Status=0 [ 78.823873] <-- RTMPAllocAdapterBlock, Status=0 [ 78.823963] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 [ 78.824613] MCUType = 2 [ 78.824738] NVM is EFUSE [ 78.824738] Endpoint(8) is for In-band Command [ 78.824739] Endpoint(4) is for WMM0 AC0 [ 78.824740] Endpoint(5) is for WMM0 AC1 [ 78.824741] Endpoint(6) is for WMM0 AC2 [ 78.824741] Endpoint(7) is for WMM0 AC3 [ 78.824742] Endpoint(9) is for WMM1 AC0 [ 78.824743] Endpoint(84) is for Data-In [ 78.824743] Endpoint(85) is for Command Rsp [ 78.824831] 80211> RFICType = 3 [ 78.824832] 80211> Number of channel = 44 [ 78.824833] 80211> Number of rate = 12 [ 78.824833] 80211> CurTxPower = 0 dBm [ 78.824835] 80211> TxStream = 0 [ 78.824898] crda> requlation requestion by core: 00 [ 78.824977] 80211> CFG80211_Register [ 78.825262] usbcore: registered new interface driver rt2870 [ 78.826298] 80211> CFG80211_OpsTxPwrGet ==> [ 78.891697] ModemManager[450]: segfault at 0 ip 000055a71d7c9c47 sp 00007fff0b25c090 error 4 in ModemManager[55a71d78f000+122000] [ 78.939679] crda> requlation requestion by core: 00

TurekBot commented 7 years ago

I get a very similar error in dmesg after I take out and put back in my adapter after installing.

I'll include

  1. the dmesg error as well as the
  2. install process output (if that might prove useful)

Thanks for your efforts in advance, you guys rock.

  1. 
    [ 1481.525449] usb 1-1.4: new high-speed USB device number 5 using ehci-pci
    [ 1481.633147] usb 1-1.4: New USB device found, idVendor=0e8d, idProduct=7610
    [ 1481.633150] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1481.633152] usb 1-1.4: Product: WiFi
    [ 1481.633153] usb 1-1.4: Manufacturer: MediaTek
    [ 1481.633154] usb 1-1.4: SerialNumber: 1.0
    [ 1482.680345] mt7610u_sta: module verification failed: signature and/or required key missing - tainting kernel
    [ 1482.683099] rtusb init rt2870 --->
    [ 1482.683243] 
    
               === pAd = ffffc90001651000, size = 898392 ===

[ 1482.683308] <-- RTMPAllocTxRxRingMemory, Status=0 [ 1482.683404] <-- RTMPAllocAdapterBlock, Status=0 [ 1482.683552] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 [ 1482.684665] MCUType = 2 [ 1482.684912] NVM is EFUSE [ 1482.684915] Endpoint(8) is for In-band Command [ 1482.684916] Endpoint(4) is for WMM0 AC0 [ 1482.684918] Endpoint(5) is for WMM0 AC1 [ 1482.684919] Endpoint(6) is for WMM0 AC2 [ 1482.684920] Endpoint(7) is for WMM0 AC3 [ 1482.684921] Endpoint(9) is for WMM1 AC0 [ 1482.684922] Endpoint(84) is for Data-In [ 1482.684924] Endpoint(85) is for Command Rsp [ 1482.685042] 80211> RFICType = 3 [ 1482.685045] 80211> Number of channel = 44 [ 1482.685046] 80211> Number of rate = 12 [ 1482.685048] 80211> CurTxPower = 0 dBm [ 1482.685049] 80211> TxStream = 0 [ 1482.685118] crda> requlation requestion by core: 00 [ 1482.685248] 80211> CFG80211_Register [ 1482.686771] usbcore: registered new interface driver rt2870 [ 1482.687222] 80211> CFG80211_OpsTxPwrGet ==> [ 1482.709750] ModemManager[3702]: segfault at 0 ip 0000000000431ab3 sp 00007ffde0f890a0 error 4 in ModemManager[400000+103000] [ 1482.718733] crda> requlation requestion by core: 00 [ 1482.718739] cfg80211: World regulatory domain updated: [ 1482.718742] cfg80211: DFS Master region: unset [ 1482.718743] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 1482.718746] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 1482.718748] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 1482.718750] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 1482.718752] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 1482.718754] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 1482.718756] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 1482.718758] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 1482.718760] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)


2.

ubuntu@ubuntu:~/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master$ sudo apt-get install build-essential linux-headers-4.4.0-31-generic Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version (12.1ubuntu2). linux-headers-4.4.0-31-generic is already the newest version (4.4.0-31.50). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ubuntu@ubuntu:~/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master$ make clean cp -f os/linux/Makefile.clean os/linux/Makefile make -C os/linux clean make[1]: Entering directory '/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux' rm -f ../../common/.o rm -f ../../common/..cmd ..flags ..d rm -f ../../os/linux/.o .ko .mod.o .mod.c rm -f ../../os/linux/..cmd ..flags ..d rm -fr ../../os/linux/.tmp_versions rm -f ../../os/linux/Module.symvers rm -f ../../os/linux/Modules.symvers rm -f ../../os/linux/Module.markers rm -f ../../os/linux/modules.order rm -f ../../chips/.o rm -f ../../chips/..cmd ..flags ..d rm -f ../../rate_ctrl/.o rm -f ../../rate_ctrl/..cmd ..flags ..d rm -f ../../ate/common/.o rm -f ../../ate/common/..cmd ..flags ..d rm -f ../../ate/chips/.o rm -f ../../ate/chips/..cmd ..flags ..d rm -f ../../phy/.o rm -f ../../phy/..cmd ..flags ..d rm -f ../../mac/.o rm -f ../../mac/..cmd ..flags ..d rm -f ../../mcu/.o rm -f ../../mcu/..cmd ..flags ..d rm -f ../../mgmt/.o rm -f ../../mgmt/..cmd ..flags ..d rm -f ../../naf/.o rm -f ../../naf/..cmd ..flags ..d rm -f ../../sta/.o rm -f ../../sta/..cmd ..flags .*.d make[1]: Leaving directory '/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux' rm -rf os/linux/Makefile ubuntu@ubuntu:~/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master$ make make -C tools make[1]: Entering directory '/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory '/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/tools' /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/tools/bin2h chipset = mt7610u cp -f os/linux/Makefile.6 /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/Makefile make -C /lib/modules/4.4.0-31-generic/build SUBDIRS=/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.4.0-31-generic' CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined

define EXT_BUILD_CHANNEL_LIST / must define with CRDA /

^

:0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.c:450:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header))); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_profile.c:450:9: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header))); ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/assoc.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/assoc.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/assoc.c: In function ‘PeerAssocRspAction’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/assoc.c: In function ‘AssocPostProc’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/assoc.c:1450:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] PUCHAR pVIE; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/auth.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/auth.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/auth_rsp.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/auth_rsp.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/sync.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/sync.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/sanity.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/sanity.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/rtmp_data.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/rtmp_data.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/connect.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/connect.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/wpa.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/wpa.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/sta_cfg.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../sta/sta_cfg.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_vht.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_vht.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/vht.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/vht.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_md5.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_md5.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_sha2.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_sha2.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_hmac.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/crypt_hmac.h:31, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_hmac.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/crypt_aes.h:31, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/crypt_aes.h:31, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength)); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength)); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength)); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength)); ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_arc4.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/crypt_arc4.h:31, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/crypt_arc4.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/mlme.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/mlme.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_wep.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_wep.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/action.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/action.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable] USHORT i; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds] printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’ #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt) ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds] printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’ #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt) ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds] printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’ #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt) ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:9: warning: array subscript is above array bounds [-Warray-bounds] printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:673:33: note: in expansion of macro ‘DBGPRINT_RAW’ #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt) ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n", ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init_inf.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_init_inf.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_tkip.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_tkip.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_aes.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_aes.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_sync.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_sync.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/eeprom.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/eeprom.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_sanity.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_sanity.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_info.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_info.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_info.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_info.c:1084:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=] DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n", RTDebugFunc)); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:684:9: note: in definition of macro ‘DBGPRINT_S’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_info.c: In function ‘set_rf’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_cfg.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_cfg.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable] VOID **ppINTF = (VOID **)pData; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_wpa.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_wpa.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_radar.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_radar.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/spectrum.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/spectrum.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/spectrum.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT))); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT))); ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_timer.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtmp_timer.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_channel.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_channel.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_profile.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_profile.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_asic.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_asic.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow] UCHAR i, PhyMode = 0x4000; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_asic.c:384:12: warning: large integer implicitly truncated to unsigned type [-Woverflow] PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode, 3: HT green field, 4: VHT mode, 5-7: Reserved */ ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/scan.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/scan.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_cmd.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_cmd.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/uapsd.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/uapsd.c:29: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ps.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ps.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/ra_ctrl.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/ra_ctrl.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/alg_legacy.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/alg_legacy.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/alg_ags.o CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/rtmp_chip.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/rtmp_chip.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/txpower.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/txpower.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mac/rtmp_mac.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mac/rtmp_mac.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_hw.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_hw.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_entrytb.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_entrytb.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rtmp_phy.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rtmp_phy.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable] UINT32 bbp_val; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable] UCHAR rf_val; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable] UINT32 bbp_val; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c: At top level: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_phy.c:153:14: warning: ‘vht_prim_ch_val’ defined but not used [-Wunused-variable] static UCHAR vht_prim_ch_val[] = { ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_rf.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../phy/rlt_rf.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/alg_grp.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../rate_ctrl/alg_grp.c:29: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ba_action.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ba_action.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_ht.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mgmt/mgmt_ht.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_os_util.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_os_util.c:33: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/sta_ioctl.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/sta_ioctl.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.c:176:8: warning: unused variable ‘i’ [-Wunused-variable] ULONG i; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_linux.c: In function ‘CFG80211_SupBandInit’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:324:37: note: in expansion of macro ‘DBGPRINT’ #define CFG80211DBG(__Flg, __pMsg) DBGPRINT(__Flg, __pMsg) ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_main_dev.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_main_dev.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_led.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_led.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsChannelSet’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsScan’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:447:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] return; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsIbssJoin’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:550:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] IbssInfo.pSsid = pParams->ssid; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsStaGet’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:726:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] return; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsConnect’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:33:0: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_os_net.h:567:77: note: in definition of macro ‘RTMP_DRIVER_80211_GEN_IE_SET’ RTMP_STA_IoctlHandle(__pAd, NULL, CMD_RTPRIV_IOCTL_STA_SIOCSIWGENIE, 0, __pData, __Len, 0) ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:1349:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] ConnInfo.pBssid = pSme->bssid; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsPmksaSet’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:1533:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] pIoctlPmaSa->pPmkid = pPmksa->pmkid; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_OpsPmksaDel’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:1578:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] pIoctlPmaSa->pPmkid = pPmksa->pmkid; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c: At top level: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:213:12: warning: ‘CFG80211_OpsChannelSet’ defined but not used [-Wunused-function] static int CFG80211_OpsChannelSet( ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:1755:12: warning: ‘CFG80211_OpsStartAp’ defined but not used [-Wunused-function] static int CFG80211_OpsStartAp( ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:1797:12: warning: ‘CFG80211_OpsChangeBeacon’ defined but not used [-Wunused-function] static int CFG80211_OpsChangeBeacon( ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211.c:1835:12: warning: ‘CFG80211_OpsStopAp’ defined but not used [-Wunused-function] static int CFG80211_OpsStopAp( ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211drv.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211drv.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211drv.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211drv.c: In function ‘CFG80211DRV_KeyAdd’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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->KeyId, pKeyInfo->KeyType, strlen(pKeyInfo->KeyBuf))); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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->KeyId, pKeyInfo->KeyType, strlen(pKeyInfo->KeyBuf))); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211drv.c: In function ‘CFG80211_LostApInform’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/cfg80211drv.c:1363:15: warning: unused variable ‘p80211CB’ [-Wunused-variable] CFG80211_CB *p80211CB = pAd->pCfg80211_CB; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_mac_usb.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_mac_usb.c:33: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_mac_usb.c: In function ‘RT28XXDMAEnable’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_mac_usb.c:1349:22: warning: unused variable ‘GloCfg’ [-Wunused-variable] WPDMA_GLO_CFG_STRUC GloCfg; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data_usb.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data_usb.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data_usb.c: In function ‘GetPacketFromRxRing’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data_usb.c:1161:8: warning: unused variable ‘RXWISize’ [-Wunused-variable] UINT8 RXWISize = pAd->chipCap.RXWISize; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data_usb.c: At top level: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/cmm_data_usb.c:214:13: warning: ‘rlt_usb_update_txinfo’ defined but not used [-Wunused-function] static VOID rlt_usb_update_txinfo( ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c: In function ‘write_reg’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c:522:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] return; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c: In function ‘RTUSBWriteEEPROM’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c:804:9: warning: unused variable ‘Value’ [-Wunused-variable] USHORT Value; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c: In function ‘read_reg’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c:554:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_io.c:533:5: warning: ‘req’ may be used uninitialized in this function [-Wmaybe-uninitialized] u8 req; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_data.o CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_bulk.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_bulk.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_bulk.c: In function ‘RTUSBCancelPendingBulkInIRP’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_bulk.c:1371:8: warning: unused variable ‘IrqFlags’ [-Wunused-variable] ULONG IrqFlags; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_usb.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_usb.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ee_prom.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ee_prom.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ee_efuse.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/ee_efuse.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_rf.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rt_rf.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/rt65xx.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/rt65xx.c:30: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c: In function ‘SetRfChFreqParametersMT76x0’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:1224:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] pMT76x0_freq_item = &(MT76x0_SDM_Frequency_Plan[i]); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:1226:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] pMT76x0_freq_item = &(MT76x0_Frequency_Plan[i]); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c: In function ‘MT76x0_ChipSwitchChannel’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:1791:20: warning: unused variable ‘delta_pwr’ [-Wunused-variable] UCHAR bbp_ch_idx, delta_pwr; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:1787:8: warning: unused variable ‘RFValue’ [-Wunused-variable] UCHAR RFValue = 0; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_per_rate_tx_pwr’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:2319:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] UCHAR bw40_gband_delta = 0, bw40_aband_delta = 0, bw80_aband_delta = 0; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:2361:35: warning: overflow in implicit constant conversion [-Woverflow] pAd->chipCap.delta_tw_pwr_bw80 = (e2p_val & 0xFF00) == 0xFF00 ? 0 : (e2p_val & 0xFF00); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_tx_alc_info_from_eeprom’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../chips/mt76x0.c:5498:10: warning: unused variable ‘status’ [-Wunused-variable] BOOLEAN status = TRUE; ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mac/ral_nmac.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mac/ral_nmac.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu.c: In function ‘MCUBurstWrite’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu.c:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu.c: In function ‘MCURandomWrite’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rt_config.h:33, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c:28: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c: In function ‘andes_usb_loadfw’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c:114:30: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("%s: can not get the hw semaphore\n")); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c:114:4: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_ERROR, ("%s: can not get the hw semaphore\n")); ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c: In function ‘andes_dequeue_and_kick_out_cmd_msgs’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c: At top level: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../mcu/mcu_and.c:787:12: warning: ‘andes_queue_empty’ defined but not used [-Wunused-function] static int andes_queue_empty(struct MCU_CTRL *ctl, DL_LIST *list) ^ CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_usb_util.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/rt_usb_util.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/usb_main_dev.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/usb_main_dev.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_suspend’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/usb_main_dev.c:394:21: warning: unused variable ‘net_dev’ [-Wunused-variable] struct net_device *net_dev; ^ /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_resume’: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/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/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_dev_id.o In file included from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_os.h:44:0, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/rtmp_comm.h:75, from /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/rtusb_dev_id.c:31: /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */ ^ :0:0: note: this is the location of the previous definition CC [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/../../common/frq_cal.o LD [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/mt7610u_sta.o Building modules, stage 2. MODPOST 1 modules CC /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/mt7610u_sta.mod.o LD [M] /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/mt7610u_sta.ko make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-31-generic' cp -f /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux/mt7610u_sta.ko /tftpboot 2>/dev/null || : ubuntu@ubuntu:~/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master$ sudo make install make -C /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux -f Makefile.6 install make[1]: Entering directory '/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux' rm -rf /etc/Wireless/RT2870STA mkdir /etc/Wireless/RT2870STA cp /home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/conf/RT2870STA.dat /etc/Wireless/RT2870STA/. install -d /lib/modules/4.4.0-31-generic/kernel/drivers/net/wireless/ install -m 644 -c mt7610u_sta.ko /lib/modules/4.4.0-31-generic/kernel/drivers/net/wireless/ /sbin/depmod -a 4.4.0-31-generic make[1]: Leaving directory '/home/ubuntu/Desktop/mt7610u-linksys-ae6000-wifi-fixes-master/os/linux' ```