You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat /proc/version Linux version 4.15.0-88-generic (buildd@lgw01-amd64-036) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020
Full output of two commands from readme on github:
kamil@kamil-K53SV:~/testAC600$ git clone https://github.com/chenhaiq/mt7610u_wifi_sta_v3002_dpo_20130916.git
Cloning into 'mt7610u_wifi_sta_v3002_dpo_20130916'...
remote: Enumerating objects: 412, done.
remote: Total 412 (delta 0), reused 0 (delta 0), pack-reused 412
Receiving objects: 100% (412/412), 2.09 MiB | 908.00 KiB/s, done.
Resolving deltas: 100% (120/120), done.
kamil@kamil-K53SV:~/testAC600$ ls
mt7610u_wifi_sta_v3002_dpo_20130916 rtl8812au-1
kamil@kamil-K53SV:~/testAC600$ cd mt7610u_wifi_sta_v3002_dpo_20130916/
kamil@kamil-K53SV:~/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916$ make
make -C tools
make[1]: Entering directory '/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.15.0-88-generic/build SUBDIRS=/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-88-generic'
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^~~
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:443:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:443:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth_rsp.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sync.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sanity.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/rtmp_data.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/connect.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/wpa.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:789:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:792:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
if (pAd->StaCfg.BssType == BSS_ADHOC)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:5647:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:5650:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
return NDIS_STATUS_SUCCESS;
^~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:7518:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (rate_index >= rate_count)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.c:7521:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
*(ULONG *)pData = ralinkrate[rate_index] * 500000;
^
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_vht.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/vht.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_md5.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_sha2.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_hmac.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.o
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/crypt_aes.h:31,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
^ ~~~~~~~~~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
^ ~~~~~~~~~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
^~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_arc4.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.o
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.c:538:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(UINT32)&pAd->RalinkCounters.OneSecEnd -
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:471:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.c:539:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(UINT32)&pAd->RalinkCounters.OneSecStart);
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:471:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wep.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/action.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.o
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:719:4:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:719:31:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:719:58:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:719:85:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
USHORT i;
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:719:85: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:719:58: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:717:32: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:717:4: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_tkip.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_aes.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sync.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/eeprom.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sanity.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.o
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1084:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n", RTDebugFunc));
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:675:9: note: in definition of macro ‘DBGPRINT_S’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1752:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(enc == Ndis802_11Encryption3Enabled)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1754:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(enc == Ndis802_11Encryption4Enabled)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1764:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(auth == Ndis802_11AuthModeShared)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1766:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(auth == Ndis802_11AuthModeAutoSwitch)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1776:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(auth == Ndis802_11AuthModeWPA2PSK)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1778:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(auth == Ndis802_11AuthModeWPA1WPA2)
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:4214:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (idx = 0; idx < 32; idx++)
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:4217:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
return 0;
^~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:5960:28: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
~^ ~~~~~~~~~
%hhx
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
VOID **ppINTF = (VOID **)pData;
^~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.c:1249:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.c:1254:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
^~~~~~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_radar.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.o
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
^~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_timer.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_channel.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_profile.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
UCHAR i, PhyMode = 0x4000;
^~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c:384:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode, 3: HT green field, 4: VHT mode, 5-7: Reserved */
^~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/scan.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cmd.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/uapsd.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ps.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/ra_ctrl.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_legacy.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/rtmp_mac.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_hw.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_entrytb.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rtmp_phy.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
UINT32 bbp_val;
^~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable]
UCHAR rf_val;
^~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
UINT32 bbp_val;
^~~~~~~
At top level:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:153:14: warning: ‘vht_prim_ch_val’ defined but not used [-Wunused-variable]
static UCHAR vht_prim_ch_val[] = {
^~~~~~~~~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_rf.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_grp.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ba_action.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_ht.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_os_util.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:178:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2019:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2019:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2155:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_led.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.c: In function ‘RT28XXDMAEnable’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_mac_usb.c:1347:22: warning: unused variable ‘GloCfg’ [-Wunused-variable]
WPDMA_GLO_CFG_STRUC GloCfg;
^~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c: In function ‘GetPacketFromRxRing’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c:1161:8: warning: unused variable ‘RXWISize’ [-Wunused-variable]
UINT8 RXWISize = pAd->chipCap.RXWISize;
^~~~~~~~
At top level:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data_usb.c:214:13: warning: ‘rlt_usb_update_txinfo’ defined but not used [-Wunused-function]
static VOID rlt_usb_update_txinfo(
^~~~~~~~~~~~~~~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘write_reg’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:522:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
return;
^~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:495:5: note: declared here
int write_reg(
^~~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘RTUSBWriteEEPROM’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:804:9: warning: unused variable ‘Value’ [-Wunused-variable]
USHORT Value;
^~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘RTUSBEnqueueCmdFromNdis’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:942:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ((status != NDIS_STATUS_SUCCESS) || (cmdqelmt == NULL))
^~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:945:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
cmdqelmt->buffer = NULL;
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c: In function ‘read_reg’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:554:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_io.c:533:5: warning: ‘req’ may be used uninitialized in this function [-Wmaybe-uninitialized]
u8 req;
^~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_data.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.c: In function ‘RTUSBCancelPendingBulkInIRP’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_bulk.c:1371:8: warning: unused variable ‘IrqFlags’ [-Wunused-variable]
ULONG IrqFlags;
^~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_usb.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_prom.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_efuse.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_efuse.c: In function ‘rtmp_ee_efuse_write16’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_efuse.c:1443:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ee_efuse.c:1445:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
return 0;
^~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_rf.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rt65xx.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘SetRfChFreqParametersMT76x0’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1224:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
pMT76x0_freq_item = &(MT76x0_SDM_Frequency_Plan[i]);
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1226:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
pMT76x0_freq_item = &(MT76x0_Frequency_Plan[i]);
^
In file included from ./include/linux/list.h:9:0,
from ./include/linux/module.h:9,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:31,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘NICInitMT76x0RFRegisters’:
./include/linux/kernel.h:810:16: warning: comparison of distinct pointer types lacks a cast
(void) (&min1 == &min2); \
^
./include/linux/kernel.h:819:2: note: in expansion of macro ‘__min’
__min(typeof(x), typeof(y), \
^~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1576:12: note: in expansion of macro ‘min’
RFValue = min(RFValue, 0xBF); /* Max of 9-bit built-in crystal oscillator C1 code */
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘MT76x0_ChipSwitchChannel’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1791:20: warning: unused variable ‘delta_pwr’ [-Wunused-variable]
UCHAR bbp_ch_idx, delta_pwr;
^~~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1787:8: warning: unused variable ‘RFValue’ [-Wunused-variable]
UCHAR RFValue = 0;
^~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_per_rate_tx_pwr’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2317: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/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2359:35: warning: overflow in implicit constant conversion [-Woverflow]
pAd->chipCap.delta_tw_pwr_bw80 = (e2p_val & 0xFF00) == 0xFF00 ? 0 : (e2p_val & 0xFF00);
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_tx_alc_info_from_eeprom’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:5496:10: warning: unused variable ‘status’ [-Wunused-variable]
BOOLEAN status = TRUE;
^~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/ral_nmac.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c: In function ‘MCUBurstWrite’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c: In function ‘MCURandomWrite’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu.c:43:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.o
In file included from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:28:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c: In function ‘andes_usb_loadfw’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:114:30: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s: can not get the hw semaphore\n"));
^
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:114:4: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s: can not get the hw semaphore\n"));
^~~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c: In function ‘andes_dequeue_and_kick_out_cmd_msgs’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:1275:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while (msg = andes_dequeue_cmd_msg(ctl, &ctl->txq)) {
^~~
At top level:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mcu/mcu_and.c:787:12: warning: ‘andes_queue_empty’ defined but not used [-Wunused-function]
static int andes_queue_empty(struct MCU_CTRL *ctl, DL_LIST *list)
^~~~~~~~~~~~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_usb_util.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.o
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_suspend’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c:393:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev;
^~~~~~~
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_resume’:
/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/usb_main_dev.c:441:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev;
^~~~~~~
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtusb_dev_id.o
CC [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/frq_cal.o
LD [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.mod.o
LD [M] /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-88-generic'
cp -f /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.ko /tftpboot 2>/dev/null || :
kamil@kamil-K53SV:~/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916$ ls
ate common doc include LICENSE Makefile mgmt os rate_ctrl README_STA_usb RT2870STA.dat sta_ate_iwpriv_usage.txt
chips conf hw_ctrl iwpriv_usage.txt mac mcu naf phy README.md RT2870STACard.dat sta tools
kamil@kamil-K53SV:~/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916$ make install
make -C /home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install
make[1]: Entering directory '/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
mkdir: cannot create directory ‘/etc/Wireless’: File exists
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
mkdir: cannot create directory ‘/etc/Wireless/RT2860STA’: Permission denied
Makefile.6:454: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/kamil/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
Makefile:489: recipe for target 'install' failed
make: *** [install] Error 2
kamil@kamil-K53SV:~/testAC600/mt7610u_wifi_sta_v3002_dpo_20130916$
The text was updated successfully, but these errors were encountered:
cat /proc/version
Linux version 4.15.0-88-generic (buildd@lgw01-amd64-036) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020
Full output of two commands from readme on github:
The text was updated successfully, but these errors were encountered: