SHARE
TWEET

Untitled

a guest Sep 5th, 2017 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. make: Entering directory '/media/daniel/Data/licheepi/linux'
  2.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_cmd.o
  3.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.o
  4.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.o
  5.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_io.o
  6.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_ioctl_query.o
  7.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_ioctl_set.o
  8.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_ieee80211.o
  9.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_mlme.o
  10.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_mlme_ext.o
  11. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.c: In function ‘aes_cipher’:
  12. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.c:1598:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  13.      for (j = 0; j < 8; j++)
  14.      ^~~
  15. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for
  16.   payload_index = hdrlen + 8;
  17.   ^~~~~~~~~~~~~
  18. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.c: In function ‘aes_decipher’:
  19. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.c:1984:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  20.      for (j = 0; j < 8; j++)
  21.      ^~~
  22. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for
  23.   payload_index = hdrlen + 8;
  24.   ^~~~~~~~~~~~~
  25. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c: In function ‘dump_drv_version’:
  26. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c:70:64: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
  27.   DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
  28.                                                                 ^
  29. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c:70:64: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
  30. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c:70:64: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
  31. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c:70:64: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
  32. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c:70:64: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
  33. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_debug.c:70:64: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
  34.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_wlan_util.o
  35.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_vht.o
  36. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_mlme.c: In function ‘rtw_restructure_ht_ie’:
  37. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_mlme.c:3989:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  38.    if (stbc_rx_enable)
  39.    ^~
  40. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_mlme.c:3992:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if
  41.                   set_mcs_rate_by_mask(ht_capie.supp_mcs_set, MCS_RATE_1R);
  42.                   ^~~~~~~~~~~~~~~~~~~~
  43.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_pwrctrl.o
  44.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_rf.o
  45.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_recv.o
  46.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_sta_mgt.o
  47.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_ap.o
  48.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_xmit.o
  49.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_p2p.o
  50.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_tdls.o
  51.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_br_ext.o
  52.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_iol.o
  53.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_sreset.o
  54.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_btcoex.o
  55.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_beamforming.o
  56.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_odm.o
  57.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/core/efuse/rtw_efuse.o
  58. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_p2p.c: In function ‘p2p_concurrent_handler’:
  59. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_p2p.c:3508:31: warning: comparison of constant ‘3’ with boolean expression is always false [-Wbool-compare]
  60.       !(pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE)
  61.                                ^~
  62. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_p2p.c:3508:31: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  63. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_p2p.c:3532:92: warning: comparison of constant ‘3’ with boolean expression is always false [-Wbool-compare]
  64.       if(!check_buddy_mlmeinfo_state(padapter, WIFI_FW_AP_STATE) &&!(pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE)
  65.                                                                                             ^~
  66. /media/daniel/Data/licheepi/linux/RTL8723BS/core/rtw_p2p.c:3532:92: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  67.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/osdep_service.o
  68.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/os_intfs.o
  69.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/sdio_intf.o
  70.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/sdio_ops_linux.o
  71.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/xmit_linux.o
  72.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/mlme_linux.o
  73.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/recv_linux.o
  74.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.o
  75.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/rtw_cfgvendor.o
  76.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.o
  77.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/rtw_android.o
  78.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/rtw_proc.o
  79.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/custom_gpio_linux.o
  80. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:84:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)
  81.   .band   = IEEE80211_BAND_2GHZ,  \
  82.             ^
  83. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:142:2: note: in expansion of macro ‘CHAN2G’
  84.   CHAN2G(1, 2412, 0),
  85.   ^~~~~~
  86. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)
  87.   .band   = IEEE80211_BAND_5GHZ,  \
  88.             ^
  89. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:159:2: note: in expansion of macro ‘CHAN5G’
  90.   CHAN5G(34, 0),  CHAN5G(36, 0),
  91.   ^~~~~~
  92. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  93.   .band   = IEEE80211_BAND_5GHZ,  \
  94.             ^
  95. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:159:2: note: in expansion of macro ‘CHAN5G’
  96.   CHAN5G(34, 0),  CHAN5G(36, 0),
  97.   ^~~~~~
  98. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[0].band’)
  99.   .band   = IEEE80211_BAND_5GHZ,  \
  100.             ^
  101. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:159:2: note: in expansion of macro ‘CHAN5G’
  102.   CHAN5G(34, 0),  CHAN5G(36, 0),
  103.   ^~~~~~
  104. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  105.   .band   = IEEE80211_BAND_5GHZ,  \
  106.             ^
  107. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:159:18: note: in expansion of macro ‘CHAN5G’
  108.   CHAN5G(34, 0),  CHAN5G(36, 0),
  109.                   ^~~~~~
  110. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[1].band’)
  111.   .band   = IEEE80211_BAND_5GHZ,  \
  112.             ^
  113. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:159:18: note: in expansion of macro ‘CHAN5G’
  114.   CHAN5G(34, 0),  CHAN5G(36, 0),
  115.                   ^~~~~~
  116. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  117.   .band   = IEEE80211_BAND_5GHZ,  \
  118.             ^
  119. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:160:2: note: in expansion of macro ‘CHAN5G’
  120.   CHAN5G(38, 0),  CHAN5G(40, 0),
  121.   ^~~~~~
  122. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[2].band’)
  123.   .band   = IEEE80211_BAND_5GHZ,  \
  124.             ^
  125. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:160:2: note: in expansion of macro ‘CHAN5G’
  126.   CHAN5G(38, 0),  CHAN5G(40, 0),
  127.   ^~~~~~
  128. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  129.   .band   = IEEE80211_BAND_5GHZ,  \
  130.             ^
  131. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:160:18: note: in expansion of macro ‘CHAN5G’
  132.   CHAN5G(38, 0),  CHAN5G(40, 0),
  133.                   ^~~~~~
  134. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[3].band’)
  135.   .band   = IEEE80211_BAND_5GHZ,  \
  136.             ^
  137. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:160:18: note: in expansion of macro ‘CHAN5G’
  138.   CHAN5G(38, 0),  CHAN5G(40, 0),
  139.                   ^~~~~~
  140. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  141.   .band   = IEEE80211_BAND_5GHZ,  \
  142.             ^
  143. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:161:2: note: in expansion of macro ‘CHAN5G’
  144.   CHAN5G(42, 0),  CHAN5G(44, 0),
  145.   ^~~~~~
  146. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[4].band’)
  147.   .band   = IEEE80211_BAND_5GHZ,  \
  148.             ^
  149. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:161:2: note: in expansion of macro ‘CHAN5G’
  150.   CHAN5G(42, 0),  CHAN5G(44, 0),
  151.   ^~~~~~
  152. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  153.   .band   = IEEE80211_BAND_5GHZ,  \
  154.             ^
  155. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:161:18: note: in expansion of macro ‘CHAN5G’
  156.   CHAN5G(42, 0),  CHAN5G(44, 0),
  157.                   ^~~~~~
  158. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[5].band’)
  159.   .band   = IEEE80211_BAND_5GHZ,  \
  160.             ^
  161. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:161:18: note: in expansion of macro ‘CHAN5G’
  162.   CHAN5G(42, 0),  CHAN5G(44, 0),
  163.                   ^~~~~~
  164. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  165.   .band   = IEEE80211_BAND_5GHZ,  \
  166.             ^
  167. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:162:2: note: in expansion of macro ‘CHAN5G’
  168.   CHAN5G(46, 0),  CHAN5G(48, 0),
  169.   ^~~~~~
  170. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[6].band’)
  171.   .band   = IEEE80211_BAND_5GHZ,  \
  172.             ^
  173. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:162:2: note: in expansion of macro ‘CHAN5G’
  174.   CHAN5G(46, 0),  CHAN5G(48, 0),
  175.   ^~~~~~
  176. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  177.   .band   = IEEE80211_BAND_5GHZ,  \
  178.             ^
  179. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:162:18: note: in expansion of macro ‘CHAN5G’
  180.   CHAN5G(46, 0),  CHAN5G(48, 0),
  181.                   ^~~~~~
  182. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[7].band’)
  183.   .band   = IEEE80211_BAND_5GHZ,  \
  184.             ^
  185. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:162:18: note: in expansion of macro ‘CHAN5G’
  186.   CHAN5G(46, 0),  CHAN5G(48, 0),
  187.                   ^~~~~~
  188. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  189.   .band   = IEEE80211_BAND_5GHZ,  \
  190.             ^
  191. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:163:2: note: in expansion of macro ‘CHAN5G’
  192.   CHAN5G(52, 0),  CHAN5G(56, 0),
  193.   ^~~~~~
  194. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[8].band’)
  195.   .band   = IEEE80211_BAND_5GHZ,  \
  196.             ^
  197. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:163:2: note: in expansion of macro ‘CHAN5G’
  198.   CHAN5G(52, 0),  CHAN5G(56, 0),
  199.   ^~~~~~
  200. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  201.   .band   = IEEE80211_BAND_5GHZ,  \
  202.             ^
  203. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:163:18: note: in expansion of macro ‘CHAN5G’
  204.   CHAN5G(52, 0),  CHAN5G(56, 0),
  205.                   ^~~~~~
  206. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[9].band’)
  207.   .band   = IEEE80211_BAND_5GHZ,  \
  208.             ^
  209. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:163:18: note: in expansion of macro ‘CHAN5G’
  210.   CHAN5G(52, 0),  CHAN5G(56, 0),
  211.                   ^~~~~~
  212. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  213.   .band   = IEEE80211_BAND_5GHZ,  \
  214.             ^
  215. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:164:2: note: in expansion of macro ‘CHAN5G’
  216.   CHAN5G(60, 0),  CHAN5G(64, 0),
  217.   ^~~~~~
  218. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[10].band’)
  219.   .band   = IEEE80211_BAND_5GHZ,  \
  220.             ^
  221. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:164:2: note: in expansion of macro ‘CHAN5G’
  222.   CHAN5G(60, 0),  CHAN5G(64, 0),
  223.   ^~~~~~
  224. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  225.   .band   = IEEE80211_BAND_5GHZ,  \
  226.             ^
  227. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:164:18: note: in expansion of macro ‘CHAN5G’
  228.   CHAN5G(60, 0),  CHAN5G(64, 0),
  229.                   ^~~~~~
  230. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[11].band’)
  231.   .band   = IEEE80211_BAND_5GHZ,  \
  232.             ^
  233. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:164:18: note: in expansion of macro ‘CHAN5G’
  234.   CHAN5G(60, 0),  CHAN5G(64, 0),
  235.                   ^~~~~~
  236. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  237.   .band   = IEEE80211_BAND_5GHZ,  \
  238.             ^
  239. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:165:2: note: in expansion of macro ‘CHAN5G’
  240.   CHAN5G(100, 0),  CHAN5G(104, 0),
  241.   ^~~~~~
  242. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[12].band’)
  243.   .band   = IEEE80211_BAND_5GHZ,  \
  244.             ^
  245. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:165:2: note: in expansion of macro ‘CHAN5G’
  246.   CHAN5G(100, 0),  CHAN5G(104, 0),
  247.   ^~~~~~
  248. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  249.   .band   = IEEE80211_BAND_5GHZ,  \
  250.             ^
  251. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:165:19: note: in expansion of macro ‘CHAN5G’
  252.   CHAN5G(100, 0),  CHAN5G(104, 0),
  253.                    ^~~~~~
  254. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[13].band’)
  255.   .band   = IEEE80211_BAND_5GHZ,  \
  256.             ^
  257. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:165:19: note: in expansion of macro ‘CHAN5G’
  258.   CHAN5G(100, 0),  CHAN5G(104, 0),
  259.                    ^~~~~~
  260. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  261.   .band   = IEEE80211_BAND_5GHZ,  \
  262.             ^
  263. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:166:2: note: in expansion of macro ‘CHAN5G’
  264.   CHAN5G(108, 0),  CHAN5G(112, 0),
  265.   ^~~~~~
  266. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[14].band’)
  267.   .band   = IEEE80211_BAND_5GHZ,  \
  268.             ^
  269. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:166:2: note: in expansion of macro ‘CHAN5G’
  270.   CHAN5G(108, 0),  CHAN5G(112, 0),
  271.   ^~~~~~
  272. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  273.   .band   = IEEE80211_BAND_5GHZ,  \
  274.             ^
  275. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:166:19: note: in expansion of macro ‘CHAN5G’
  276.   CHAN5G(108, 0),  CHAN5G(112, 0),
  277.                    ^~~~~~
  278. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[15].band’)
  279.   .band   = IEEE80211_BAND_5GHZ,  \
  280.             ^
  281. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:166:19: note: in expansion of macro ‘CHAN5G’
  282.   CHAN5G(108, 0),  CHAN5G(112, 0),
  283.                    ^~~~~~
  284. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  285.   .band   = IEEE80211_BAND_5GHZ,  \
  286.             ^
  287. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:167:2: note: in expansion of macro ‘CHAN5G’
  288.   CHAN5G(116, 0),  CHAN5G(120, 0),
  289.   ^~~~~~
  290. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[16].band’)
  291.   .band   = IEEE80211_BAND_5GHZ,  \
  292.             ^
  293. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:167:2: note: in expansion of macro ‘CHAN5G’
  294.   CHAN5G(116, 0),  CHAN5G(120, 0),
  295.   ^~~~~~
  296. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  297.   .band   = IEEE80211_BAND_5GHZ,  \
  298.             ^
  299. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:167:19: note: in expansion of macro ‘CHAN5G’
  300.   CHAN5G(116, 0),  CHAN5G(120, 0),
  301.                    ^~~~~~
  302. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[17].band’)
  303.   .band   = IEEE80211_BAND_5GHZ,  \
  304.             ^
  305. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:167:19: note: in expansion of macro ‘CHAN5G’
  306.   CHAN5G(116, 0),  CHAN5G(120, 0),
  307.                    ^~~~~~
  308. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  309.   .band   = IEEE80211_BAND_5GHZ,  \
  310.             ^
  311. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:168:2: note: in expansion of macro ‘CHAN5G’
  312.   CHAN5G(124, 0),  CHAN5G(128, 0),
  313.   ^~~~~~
  314. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[18].band’)
  315.   .band   = IEEE80211_BAND_5GHZ,  \
  316.             ^
  317. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:168:2: note: in expansion of macro ‘CHAN5G’
  318.   CHAN5G(124, 0),  CHAN5G(128, 0),
  319.   ^~~~~~
  320. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  321.   .band   = IEEE80211_BAND_5GHZ,  \
  322.             ^
  323. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:168:19: note: in expansion of macro ‘CHAN5G’
  324.   CHAN5G(124, 0),  CHAN5G(128, 0),
  325.                    ^~~~~~
  326. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[19].band’)
  327.   .band   = IEEE80211_BAND_5GHZ,  \
  328.             ^
  329. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:168:19: note: in expansion of macro ‘CHAN5G’
  330.   CHAN5G(124, 0),  CHAN5G(128, 0),
  331.                    ^~~~~~
  332. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  333.   .band   = IEEE80211_BAND_5GHZ,  \
  334.             ^
  335. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:169:2: note: in expansion of macro ‘CHAN5G’
  336.   CHAN5G(132, 0),  CHAN5G(136, 0),
  337.   ^~~~~~
  338. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[20].band’)
  339.   .band   = IEEE80211_BAND_5GHZ,  \
  340.             ^
  341. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:169:2: note: in expansion of macro ‘CHAN5G’
  342.   CHAN5G(132, 0),  CHAN5G(136, 0),
  343.   ^~~~~~
  344. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  345.   .band   = IEEE80211_BAND_5GHZ,  \
  346.             ^
  347. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:169:19: note: in expansion of macro ‘CHAN5G’
  348.   CHAN5G(132, 0),  CHAN5G(136, 0),
  349.                    ^~~~~~
  350. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[21].band’)
  351.   .band   = IEEE80211_BAND_5GHZ,  \
  352.             ^
  353. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:169:19: note: in expansion of macro ‘CHAN5G’
  354.   CHAN5G(132, 0),  CHAN5G(136, 0),
  355.                    ^~~~~~
  356. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  357.   .band   = IEEE80211_BAND_5GHZ,  \
  358.             ^
  359. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:170:2: note: in expansion of macro ‘CHAN5G’
  360.   CHAN5G(140, 0),  CHAN5G(149, 0),
  361.   ^~~~~~
  362. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[22].band’)
  363.   .band   = IEEE80211_BAND_5GHZ,  \
  364.             ^
  365. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:170:2: note: in expansion of macro ‘CHAN5G’
  366.   CHAN5G(140, 0),  CHAN5G(149, 0),
  367.   ^~~~~~
  368. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  369.   .band   = IEEE80211_BAND_5GHZ,  \
  370.             ^
  371. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:170:19: note: in expansion of macro ‘CHAN5G’
  372.   CHAN5G(140, 0),  CHAN5G(149, 0),
  373.                    ^~~~~~
  374. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[23].band’)
  375.   .band   = IEEE80211_BAND_5GHZ,  \
  376.             ^
  377. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:170:19: note: in expansion of macro ‘CHAN5G’
  378.   CHAN5G(140, 0),  CHAN5G(149, 0),
  379.                    ^~~~~~
  380. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  381.   .band   = IEEE80211_BAND_5GHZ,  \
  382.             ^
  383. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:171:2: note: in expansion of macro ‘CHAN5G’
  384.   CHAN5G(153, 0),  CHAN5G(157, 0),
  385.   ^~~~~~
  386. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[24].band’)
  387.   .band   = IEEE80211_BAND_5GHZ,  \
  388.             ^
  389. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:171:2: note: in expansion of macro ‘CHAN5G’
  390.   CHAN5G(153, 0),  CHAN5G(157, 0),
  391.   ^~~~~~
  392. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  393.   .band   = IEEE80211_BAND_5GHZ,  \
  394.             ^
  395. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:171:19: note: in expansion of macro ‘CHAN5G’
  396.   CHAN5G(153, 0),  CHAN5G(157, 0),
  397.                    ^~~~~~
  398. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[25].band’)
  399.   .band   = IEEE80211_BAND_5GHZ,  \
  400.             ^
  401. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:171:19: note: in expansion of macro ‘CHAN5G’
  402.   CHAN5G(153, 0),  CHAN5G(157, 0),
  403.                    ^~~~~~
  404. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  405.   .band   = IEEE80211_BAND_5GHZ,  \
  406.             ^
  407. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:172:2: note: in expansion of macro ‘CHAN5G’
  408.   CHAN5G(161, 0),  CHAN5G(165, 0),
  409.   ^~~~~~
  410. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[26].band’)
  411.   .band   = IEEE80211_BAND_5GHZ,  \
  412.             ^
  413. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:172:2: note: in expansion of macro ‘CHAN5G’
  414.   CHAN5G(161, 0),  CHAN5G(165, 0),
  415.   ^~~~~~
  416. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  417.   .band   = IEEE80211_BAND_5GHZ,  \
  418.             ^
  419. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:172:19: note: in expansion of macro ‘CHAN5G’
  420.   CHAN5G(161, 0),  CHAN5G(165, 0),
  421.                    ^~~~~~
  422. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[27].band’)
  423.   .band   = IEEE80211_BAND_5GHZ,  \
  424.             ^
  425. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:172:19: note: in expansion of macro ‘CHAN5G’
  426.   CHAN5G(161, 0),  CHAN5G(165, 0),
  427.                    ^~~~~~
  428. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  429.   .band   = IEEE80211_BAND_5GHZ,  \
  430.             ^
  431. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:173:2: note: in expansion of macro ‘CHAN5G’
  432.   CHAN5G(184, 0),  CHAN5G(188, 0),
  433.   ^~~~~~
  434. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[28].band’)
  435.   .band   = IEEE80211_BAND_5GHZ,  \
  436.             ^
  437. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:173:2: note: in expansion of macro ‘CHAN5G’
  438.   CHAN5G(184, 0),  CHAN5G(188, 0),
  439.   ^~~~~~
  440. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  441.   .band   = IEEE80211_BAND_5GHZ,  \
  442.             ^
  443. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:173:19: note: in expansion of macro ‘CHAN5G’
  444.   CHAN5G(184, 0),  CHAN5G(188, 0),
  445.                    ^~~~~~
  446. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[29].band’)
  447.   .band   = IEEE80211_BAND_5GHZ,  \
  448.             ^
  449. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:173:19: note: in expansion of macro ‘CHAN5G’
  450.   CHAN5G(184, 0),  CHAN5G(188, 0),
  451.                    ^~~~~~
  452. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  453.   .band   = IEEE80211_BAND_5GHZ,  \
  454.             ^
  455. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:174:2: note: in expansion of macro ‘CHAN5G’
  456.   CHAN5G(192, 0),  CHAN5G(196, 0),
  457.   ^~~~~~
  458. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[30].band’)
  459.   .band   = IEEE80211_BAND_5GHZ,  \
  460.             ^
  461. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:174:2: note: in expansion of macro ‘CHAN5G’
  462.   CHAN5G(192, 0),  CHAN5G(196, 0),
  463.   ^~~~~~
  464. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  465.   .band   = IEEE80211_BAND_5GHZ,  \
  466.             ^
  467. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:174:19: note: in expansion of macro ‘CHAN5G’
  468.   CHAN5G(192, 0),  CHAN5G(196, 0),
  469.                    ^~~~~~
  470. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[31].band’)
  471.   .band   = IEEE80211_BAND_5GHZ,  \
  472.             ^
  473. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:174:19: note: in expansion of macro ‘CHAN5G’
  474.   CHAN5G(192, 0),  CHAN5G(196, 0),
  475.                    ^~~~~~
  476. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  477.   .band   = IEEE80211_BAND_5GHZ,  \
  478.             ^
  479. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:175:2: note: in expansion of macro ‘CHAN5G’
  480.   CHAN5G(200, 0),  CHAN5G(204, 0),
  481.   ^~~~~~
  482. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[32].band’)
  483.   .band   = IEEE80211_BAND_5GHZ,  \
  484.             ^
  485. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:175:2: note: in expansion of macro ‘CHAN5G’
  486.   CHAN5G(200, 0),  CHAN5G(204, 0),
  487.   ^~~~~~
  488. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  489.   .band   = IEEE80211_BAND_5GHZ,  \
  490.             ^
  491. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:175:19: note: in expansion of macro ‘CHAN5G’
  492.   CHAN5G(200, 0),  CHAN5G(204, 0),
  493.                    ^~~~~~
  494. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[33].band’)
  495.   .band   = IEEE80211_BAND_5GHZ,  \
  496.             ^
  497. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:175:19: note: in expansion of macro ‘CHAN5G’
  498.   CHAN5G(200, 0),  CHAN5G(204, 0),
  499.                    ^~~~~~
  500. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  501.   .band   = IEEE80211_BAND_5GHZ,  \
  502.             ^
  503. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:176:2: note: in expansion of macro ‘CHAN5G’
  504.   CHAN5G(208, 0),  CHAN5G(212, 0),
  505.   ^~~~~~
  506. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[34].band’)
  507.   .band   = IEEE80211_BAND_5GHZ,  \
  508.             ^
  509. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:176:2: note: in expansion of macro ‘CHAN5G’
  510.   CHAN5G(208, 0),  CHAN5G(212, 0),
  511.   ^~~~~~
  512. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  513.   .band   = IEEE80211_BAND_5GHZ,  \
  514.             ^
  515. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:176:19: note: in expansion of macro ‘CHAN5G’
  516.   CHAN5G(208, 0),  CHAN5G(212, 0),
  517.                    ^~~~~~
  518. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[35].band’)
  519.   .band   = IEEE80211_BAND_5GHZ,  \
  520.             ^
  521. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:176:19: note: in expansion of macro ‘CHAN5G’
  522.   CHAN5G(208, 0),  CHAN5G(212, 0),
  523.                    ^~~~~~
  524. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: error: initializer element is not constant
  525.   .band   = IEEE80211_BAND_5GHZ,  \
  526.             ^
  527. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:177:2: note: in expansion of macro ‘CHAN5G’
  528.   CHAN5G(216, 0),
  529.   ^~~~~~
  530. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:93:12: note: (near initialization for ‘rtw_5ghz_a_channels[36].band’)
  531.   .band   = IEEE80211_BAND_5GHZ,  \
  532.             ^
  533. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:177:2: note: in expansion of macro ‘CHAN5G’
  534.   CHAN5G(216, 0),
  535.   ^~~~~~
  536. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:210:7: warning: ‘enum ieee80211_band’ declared inside parameter list will not be visible outside of this definition or declaration
  537.   enum ieee80211_band band
  538.        ^~~~~~~~~~~~~~
  539. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:210:22: error: parameter 1 (‘band’) has incomplete type
  540.   enum ieee80211_band band
  541.                       ^~~~
  542. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:209:34: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
  543.  struct ieee80211_supported_band *rtw_spt_band_alloc(
  544.                                   ^~~~~~~~~~~~~~~~~~
  545. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_alloc’:
  546. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:241:17: error: incompatible types when assigning to type ‘enum nl80211_band’ from type ‘struct ieee80211_channel *
  547.   spt_band->band = band;
  548.                  ^
  549. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_free’:
  550. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:270:20: warning: comparison between pointer and integer
  551.   if(spt_band->band == IEEE80211_BAND_2GHZ)
  552.                     ^~
  553. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:276:25: warning: comparison between pointer and integer
  554.   else if(spt_band->band == IEEE80211_BAND_5GHZ)
  555.                          ^~
  556. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_ieee80211_channel_to_frequency’:
  557. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:345:11: warning: comparison between pointer and integer
  558.   if (band == IEEE80211_BAND_5GHZ) {
  559.            ^~
  560. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_inform_bss’:
  561. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:506:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  562.    freq = rtw_ieee80211_channel_to_frequency(channel, IEEE80211_BAND_2GHZ);
  563.                                                       ^~~~~~~~~~~~~~~~~~~
  564. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  565.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  566.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  567. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:508:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  568.    freq = rtw_ieee80211_channel_to_frequency(channel, IEEE80211_BAND_5GHZ);
  569.                                                       ^~~~~~~~~~~~~~~~~~~
  570. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  571.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  572.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  573. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_check_bss’:
  574. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:651:79: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  575.    freq = rtw_ieee80211_channel_to_frequency(pnetwork->Configuration.DSConfig, IEEE80211_BAND_2GHZ);
  576.                                                                                ^~~~~~~~~~~~~~~~~~~
  577. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  578.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  579.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  580. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:653:79: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  581.    freq = rtw_ieee80211_channel_to_frequency(pnetwork->Configuration.DSConfig, IEEE80211_BAND_5GHZ);
  582.                                                                                ^~~~~~~~~~~~~~~~~~~
  583. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  584.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  585.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  586. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ibss_indicate_connect’:
  587. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:686:90: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  588.    freq = rtw_ieee80211_channel_to_frequency(cur_network->network.Configuration.DSConfig, IEEE80211_BAND_2GHZ);
  589.                                                                                           ^~~~~~~~~~~~~~~~~~~
  590. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  591.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  592.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  593. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:688:90: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  594.    freq = rtw_ieee80211_channel_to_frequency(cur_network->network.Configuration.DSConfig, IEEE80211_BAND_5GHZ);
  595.                                                                                           ^~~~~~~~~~~~~~~~~~~
  596. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  597.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  598.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  599. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_connect’:
  600. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:826:55: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  601.     freq = rtw_ieee80211_channel_to_frequency(channel, IEEE80211_BAND_2GHZ);
  602.                                                        ^~~~~~~~~~~~~~~~~~~
  603. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  604.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  605.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  606. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:828:55: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  607.     freq = rtw_ieee80211_channel_to_frequency(channel, IEEE80211_BAND_5GHZ);
  608.                                                        ^~~~~~~~~~~~~~~~~~~
  609. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  610.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  611.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  612. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_scan_done’:
  613. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:2029:49: error: incompatible type for argument 2 of ‘cfg80211_scan_done’
  614.     cfg80211_scan_done(pwdev_priv->scan_request, aborted);
  615.                                                  ^~~~~~~
  616. In file included from /media/daniel/Data/licheepi/linux/RTL8723BS/include/osdep_service_linux.h:81:0,
  617.                  from /media/daniel/Data/licheepi/linux/RTL8723BS/include/osdep_service.h:41,
  618.                  from /media/daniel/Data/licheepi/linux/RTL8723BS/include/drv_types.h:32,
  619.                  from /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:22:
  620. ./include/net/cfg80211.h:4405:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘bool {aka _Bool}
  621.  void cfg80211_scan_done(struct cfg80211_scan_request *request,
  622.       ^~~~~~~~~~~~~~~~~~
  623.   CC [M]  /media/daniel/Data/licheepi/linux/RTL8723BS/hal/hal_com_phycfg.o
  624. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_rx_action_p2p’:
  625. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:4562:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  626.   else
  627.                                                       ^                  
  628. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  629.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  630.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  631. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:4564:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  632.  
  633.                                                       ^                  
  634. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  635.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  636.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  637. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_rx_p2p_action_public’:
  638. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:4602:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  639.   else
  640.                                                       ^                  
  641. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  642.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  643.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  644. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:4604:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  645.  
  646.                                                       ^                  
  647. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  648.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  649.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  650. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_rx_action’:
  651. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:4635:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  652.   else
  653.                                                       ^                  
  654. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  655.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  656.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  657. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:4637:54: warning: passing argument 2 of ‘rtw_ieee80211_channel_to_frequency’ makes integer from pointer without a cast [-Wint-conversion]
  658.  
  659.                                                       ^                  
  660. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:340:12: note: expected ‘int’ but argument is of type ‘struct ieee80211_channel *
  661.  static int rtw_ieee80211_channel_to_frequency(int chan, int band)
  662.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  663. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘_cfg80211_rtw_mgmt_tx’:
  664. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:5237:3: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  665.  #endif //CONFIG_CONCURRENT_MODE
  666.    ^~~~
  667. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:5247:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else
  668.  
  669.   ^~
  670. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: At top level:
  671. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6088:82: warning: ‘enum ieee80211_band’ declared inside parameter list will not be visible outside of this definition or declaration
  672.  {
  673.                                                                                   ^            
  674. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6088:97: error: parameter 2 (‘band’) has incomplete type
  675.  {
  676.                                                                                                  ^  
  677. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6088:13: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
  678.  {
  679.              ^                        
  680. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_init_wiphy’:
  681. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6157:23: error: array subscript is not an integer
  682.    if(bands)
  683.                        ^
  684. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6157:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  685.    if(bands)
  686.          ^
  687. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6164:23: error: array subscript is not an integer
  688.    if(bands)
  689.                        ^
  690. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6164:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  691.    if(bands)
  692.          ^
  693. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_preinit_wiphy’:
  694. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6248:15: error: array subscript is not an integer
  695.  #ifdef CONFIG_IEEE80211_BAND_5GHZ
  696.                ^
  697. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: At top level:
  698. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6324:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  699.   .del_virtual_intf = cfg80211_rtw_del_virtual_intf,
  700.                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  701. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6324:22: note: (near initialization for ‘rtw_cfg80211_ops.add_virtual_intf’)
  702. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6338:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  703.   .change_station = cfg80211_rtw_change_station,
  704.                  ^~~~~~~~~~~~~~~~~~~~~~~~
  705. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6338:17: note: (near initialization for ‘rtw_cfg80211_ops.del_station’)
  706. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wdev_free’:
  707. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6461:38: error: array subscript is not an integer
  708.   rtw_spt_band_free(wdev->wiphy->bands[IEEE80211_BAND_5GHZ]);
  709.                                       ^
  710. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6461:20: error: passing argument 1 of ‘rtw_spt_band_free’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  711.   rtw_spt_band_free(wdev->wiphy->bands[IEEE80211_BAND_5GHZ]);
  712.                     ^~~~
  713. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:263:6: note: expected ‘struct ieee80211_supported_band *’ but argument is of type ‘struct ieee80211_channel *
  714.  void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
  715.       ^~~~~~~~~~~~~~~~~
  716. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6462:38: error: array subscript is not an integer
  717.  
  718.                                       ^
  719. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:6462:20: error: passing argument 1 of ‘rtw_spt_band_free’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  720.  
  721.                     ^  
  722. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.c:263:6: note: expected ‘struct ieee80211_supported_band *’ but argument is of type ‘struct ieee80211_channel *
  723.  void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
  724.       ^~~~~~~~~~~~~~~~~
  725. cc1: some warnings being treated as errors
  726. scripts/Makefile.build:294: recipe for target '/media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.o' failed
  727. make[1]: *** [/media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/ioctl_cfg80211.o] Error 1
  728. make[1]: *** Waiting for unfinished jobs....
  729. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c: In function ‘_rtw_reg_apply_radar_flags’:
  730. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c:261:20: error: ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
  731.   if (!wiphy->bands[IEEE80211_BAND_5GHZ])
  732.                     ^~~~~~~~~~~~~~~~~~~
  733. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c:261:20: note: each undeclared identifier is reported only once for each function it appears in
  734. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c: In function ‘rtw_ieee80211_channel_to_frequency’:
  735. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c:306:14: error: ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
  736.   if (band == IEEE80211_BAND_5GHZ) {
  737.               ^~~~~~~~~~~~~~~~~~~
  738. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c: In function ‘_rtw_reg_apply_flags’:
  739. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c:337:18: error: ‘IEEE80211_NUM_BANDS’ undeclared (first use in this function)
  740.   for (i = 0; i < IEEE80211_NUM_BANDS; i++) {
  741.                   ^~~~~~~~~~~~~~~~~~~
  742. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c:356:15: error: ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function)
  743.                IEEE80211_BAND_2GHZ);
  744.                ^~~~~~~~~~~~~~~~~~~
  745. /media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.c:360:15: error: ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
  746.                IEEE80211_BAND_5GHZ);
  747.                ^~~~~~~~~~~~~~~~~~~
  748. scripts/Makefile.build:294: recipe for target '/media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.o' failed
  749. make[1]: *** [/media/daniel/Data/licheepi/linux/RTL8723BS/os_dep/linux/wifi_regd.o] Error 1
  750. Makefile:1490: recipe for target '_module_/media/daniel/Data/licheepi/linux/RTL8723BS' failed
  751. make: *** [_module_/media/daniel/Data/licheepi/linux/RTL8723BS] Error 2
  752. make: Leaving directory '/media/daniel/Data/licheepi/linux'
RAW Paste Data
Top