Advertisement
Guest User

Untitled

a guest
Oct 30th, 2012
763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.95 KB | None | 0 0
  1. ../src/drivers/driver_nl80211.c:25:31: warning: netlink/genl/genl.h: No such file or directory
  2. ../src/drivers/driver_nl80211.c:26:33: warning: netlink/genl/family.h: No such file or directory
  3. ../src/drivers/driver_nl80211.c:27:31: warning: netlink/genl/ctrl.h: No such file or directory
  4. ../src/drivers/driver_nl80211.c: In function ‘nl80211_handle_alloc’:
  5. ../src/drivers/driver_nl80211.c:67: warning: implicit declaration of function ‘nl_handle_alloc_cb’
  6. ../src/drivers/driver_nl80211.c:67: warning: assignment makes pointer from integer without a cast
  7. ../src/drivers/driver_nl80211.c:77: warning: implicit declaration of function ‘nl_socket_set_local_port’
  8. ../src/drivers/driver_nl80211.c: In function ‘nl80211_handle_destroy’:
  9. ../src/drivers/driver_nl80211.c:84: warning: implicit declaration of function ‘nl_socket_get_local_port’
  10. ../src/drivers/driver_nl80211.c:89: warning: implicit declaration of function ‘nl_handle_destroy’
  11. ../src/drivers/driver_nl80211.c: At top level:
  12. ../src/drivers/driver_nl80211.c:93: warning: ‘struct nl_cache’ declared inside parameter list
  13. ../src/drivers/driver_nl80211.c:93: warning: its scope is only this definition or declaration, which is probably not what you want
  14. ../src/drivers/driver_nl80211.c: In function ‘__genl_ctrl_alloc_cache’:
  15. ../src/drivers/driver_nl80211.c:95: warning: implicit declaration of function ‘genl_ctrl_alloc_cache’
  16. ../src/drivers/driver_nl80211.c:95: warning: initialization makes pointer from integer without a cast
  17. ../src/drivers/driver_nl80211.c: At top level:
  18. ../src/drivers/driver_nl80211.c:112: warning: ‘struct nl_cb’ declared inside parameter list
  19. ../src/drivers/driver_nl80211.c: In function ‘nl_create_handles’:
  20. ../src/drivers/driver_nl80211.c:124: warning: implicit declaration of function ‘genl_connect’
  21. ../src/drivers/driver_nl80211.c:130: warning: passing argument 2 of ‘__genl_ctrl_alloc_cache’ from incompatible pointer type
  22. ../src/drivers/driver_nl80211.c:92: note: expected ‘struct nl_cache **’ but argument is of type ‘struct nl_cache **’
  23. ../src/drivers/driver_nl80211.c: In function ‘nl_destroy_handles’:
  24. ../src/drivers/driver_nl80211.c:147: warning: implicit declaration of function ‘nl_cache_free’
  25. ../src/drivers/driver_nl80211.c: At top level:
  26. ../src/drivers/driver_nl80211.c:330: warning: ‘struct nl_msg’ declared inside parameter list
  27. ../src/drivers/driver_nl80211.c:334: warning: ‘struct nl_msg’ declared inside parameter list
  28. ../src/drivers/driver_nl80211.c: In function ‘ack_handler’:
  29. ../src/drivers/driver_nl80211.c:338: error: ‘NL_STOP’ undeclared (first use in this function)
  30. ../src/drivers/driver_nl80211.c:338: error: (Each undeclared identifier is reported only once
  31. ../src/drivers/driver_nl80211.c:338: error: for each function it appears in.)
  32. ../src/drivers/driver_nl80211.c: At top level:
  33. ../src/drivers/driver_nl80211.c:341: warning: ‘struct nl_msg’ declared inside parameter list
  34. ../src/drivers/driver_nl80211.c: In function ‘finish_handler’:
  35. ../src/drivers/driver_nl80211.c:345: error: ‘NL_SKIP’ undeclared (first use in this function)
  36. ../src/drivers/driver_nl80211.c: In function ‘error_handler’:
  37. ../src/drivers/driver_nl80211.c:353: error: ‘NL_SKIP’ undeclared (first use in this function)
  38. ../src/drivers/driver_nl80211.c: At top level:
  39. ../src/drivers/driver_nl80211.c:357: warning: ‘struct nl_msg’ declared inside parameter list
  40. ../src/drivers/driver_nl80211.c: In function ‘no_seq_check’:
  41. ../src/drivers/driver_nl80211.c:359: error: ‘NL_OK’ undeclared (first use in this function)
  42. ../src/drivers/driver_nl80211.c: At top level:
  43. ../src/drivers/driver_nl80211.c:366: warning: ‘struct nl_msg’ declared inside parameter list
  44. ../src/drivers/driver_nl80211.c: In function ‘send_and_recv’:
  45. ../src/drivers/driver_nl80211.c:371: warning: implicit declaration of function ‘nl_cb_clone’
  46. ../src/drivers/driver_nl80211.c:371: warning: assignment makes pointer from integer without a cast
  47. ../src/drivers/driver_nl80211.c:375: warning: implicit declaration of function ‘nl_send_auto_complete’
  48. ../src/drivers/driver_nl80211.c:381: warning: implicit declaration of function ‘nl_cb_err’
  49. ../src/drivers/driver_nl80211.c:381: error: ‘NL_CB_CUSTOM’ undeclared (first use in this function)
  50. ../src/drivers/driver_nl80211.c:382: warning: implicit declaration of function ‘nl_cb_set’
  51. ../src/drivers/driver_nl80211.c:382: error: ‘NL_CB_FINISH’ undeclared (first use in this function)
  52. ../src/drivers/driver_nl80211.c:383: error: ‘NL_CB_ACK’ undeclared (first use in this function)
  53. ../src/drivers/driver_nl80211.c:386: error: ‘NL_CB_VALID’ undeclared (first use in this function)
  54. ../src/drivers/driver_nl80211.c:390: warning: implicit declaration of function ‘nl_recvmsgs’
  55. ../src/drivers/driver_nl80211.c:392: warning: implicit declaration of function ‘nl_cb_put’
  56. ../src/drivers/driver_nl80211.c:393: warning: implicit declaration of function ‘nlmsg_free’
  57. ../src/drivers/driver_nl80211.c: At top level:
  58. ../src/drivers/driver_nl80211.c:401: warning: ‘struct nl_msg’ declared inside parameter list
  59. ../src/drivers/driver_nl80211.c: In function ‘send_and_recv_msgs’:
  60. ../src/drivers/driver_nl80211.c:404: warning: passing argument 3 of ‘send_and_recv’ from incompatible pointer type
  61. ../src/drivers/driver_nl80211.c:363: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  62. ../src/drivers/driver_nl80211.c:404: warning: passing argument 4 of ‘send_and_recv’ from incompatible pointer type
  63. ../src/drivers/driver_nl80211.c:363: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  64. ../src/drivers/driver_nl80211.c: At top level:
  65. ../src/drivers/driver_nl80211.c:414: warning: ‘struct nl_msg’ declared inside parameter list
  66. ../src/drivers/driver_nl80211.c: In function ‘family_handler’:
  67. ../src/drivers/driver_nl80211.c:417: error: ‘CTRL_ATTR_MAX’ undeclared (first use in this function)
  68. ../src/drivers/driver_nl80211.c:418: warning: implicit declaration of function ‘nlmsg_data’
  69. ../src/drivers/driver_nl80211.c:418: warning: implicit declaration of function ‘nlmsg_hdr’
  70. ../src/drivers/driver_nl80211.c:418: warning: initialization makes pointer from integer without a cast
  71. ../src/drivers/driver_nl80211.c:422: warning: implicit declaration of function ‘nla_parse’
  72. ../src/drivers/driver_nl80211.c:422: warning: implicit declaration of function ‘genlmsg_attrdata’
  73. ../src/drivers/driver_nl80211.c:423: warning: implicit declaration of function ‘genlmsg_attrlen’
  74. ../src/drivers/driver_nl80211.c:424: error: ‘CTRL_ATTR_MCAST_GROUPS’ undeclared (first use in this function)
  75. ../src/drivers/driver_nl80211.c:425: error: ‘NL_SKIP’ undeclared (first use in this function)
  76. ../src/drivers/driver_nl80211.c:427: warning: implicit declaration of function ‘nla_for_each_nested’
  77. ../src/drivers/driver_nl80211.c:427: error: expected ‘;’ before ‘{’ token
  78. ../src/drivers/driver_nl80211.c:417: warning: unused variable ‘tb’
  79. ../src/drivers/driver_nl80211.c:416: warning: unused variable ‘res’
  80. ../src/drivers/driver_nl80211.c: In function ‘nl_get_multicast_id’:
  81. ../src/drivers/driver_nl80211.c:452: warning: implicit declaration of function ‘nlmsg_alloc’
  82. ../src/drivers/driver_nl80211.c:452: warning: assignment makes pointer from integer without a cast
  83. ../src/drivers/driver_nl80211.c:455: warning: implicit declaration of function ‘genlmsg_put’
  84. ../src/drivers/driver_nl80211.c:456: warning: implicit declaration of function ‘genl_ctrl_resolve’
  85. ../src/drivers/driver_nl80211.c:457: error: ‘CTRL_CMD_GETFAMILY’ undeclared (first use in this function)
  86. ../src/drivers/driver_nl80211.c:458: warning: implicit declaration of function ‘NLA_PUT_STRING’
  87. ../src/drivers/driver_nl80211.c:458: error: ‘CTRL_ATTR_FAMILY_NAME’ undeclared (first use in this function)
  88. ../src/drivers/driver_nl80211.c:460: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  89. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  90. ../src/drivers/driver_nl80211.c:460: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  91. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  92. ../src/drivers/driver_nl80211.c:465: warning: label ‘nla_put_failure’ defined but not used
  93. ../src/drivers/driver_nl80211.c: At top level:
  94. ../src/drivers/driver_nl80211.c:472: warning: ‘struct nl_msg’ declared inside parameter list
  95. ../src/drivers/driver_nl80211.c: In function ‘nl80211_cmd’:
  96. ../src/drivers/driver_nl80211.c:474: warning: implicit declaration of function ‘genl_family_get_id’
  97. ../src/drivers/driver_nl80211.c:475: warning: return makes pointer from integer without a cast
  98. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_event_rtm_newlink’:
  99. ../src/drivers/driver_nl80211.c:695: warning: implicit declaration of function ‘nla_get_u32’
  100. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_assoc_freq’:
  101. ../src/drivers/driver_nl80211.c:786: warning: assignment makes pointer from integer without a cast
  102. ../src/drivers/driver_nl80211.c:790: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  103. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  104. ../src/drivers/driver_nl80211.c:791: warning: implicit declaration of function ‘NLA_PUT_U32’
  105. ../src/drivers/driver_nl80211.c:794: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  106. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  107. ../src/drivers/driver_nl80211.c:794: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  108. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  109. ../src/drivers/driver_nl80211.c: In function ‘mlme_event_connect’:
  110. ../src/drivers/driver_nl80211.c:875: warning: implicit declaration of function ‘nla_get_u16’
  111. ../src/drivers/driver_nl80211.c:877: warning: implicit declaration of function ‘nla_data’
  112. ../src/drivers/driver_nl80211.c:877: warning: assignment makes pointer from integer without a cast
  113. ../src/drivers/driver_nl80211.c:879: warning: assignment makes pointer from integer without a cast
  114. ../src/drivers/driver_nl80211.c:880: warning: implicit declaration of function ‘nla_len’
  115. ../src/drivers/driver_nl80211.c:889: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  116. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  117. ../src/drivers/driver_nl80211.c:892: warning: assignment makes pointer from integer without a cast
  118. ../src/drivers/driver_nl80211.c:896: warning: assignment makes pointer from integer without a cast
  119. ../src/drivers/driver_nl80211.c: In function ‘mlme_timeout_event’:
  120. ../src/drivers/driver_nl80211.c:949: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  121. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  122. ../src/drivers/driver_nl80211.c: In function ‘mlme_event_action_tx_status’:
  123. ../src/drivers/driver_nl80211.c:1003: warning: implicit declaration of function ‘nla_get_u64’
  124. ../src/drivers/driver_nl80211.c: In function ‘mlme_event’:
  125. ../src/drivers/driver_nl80211.c:1134: warning: passing argument 3 of ‘wpa_hexdump’ makes pointer from integer without a cast
  126. ../src/utils/wpa_debug.h:112: note: expected ‘const u8 *’ but argument is of type ‘int’
  127. ../src/drivers/driver_nl80211.c:1138: warning: passing argument 2 of ‘mlme_event_auth’ makes pointer from integer without a cast
  128. ../src/drivers/driver_nl80211.c:752: note: expected ‘const u8 *’ but argument is of type ‘int’
  129. ../src/drivers/driver_nl80211.c:1141: warning: passing argument 2 of ‘mlme_event_assoc’ makes pointer from integer without a cast
  130. ../src/drivers/driver_nl80211.c:810: note: expected ‘const u8 *’ but argument is of type ‘int’
  131. ../src/drivers/driver_nl80211.c:1145: warning: passing argument 3 of ‘mlme_event_deauth_disassoc’ makes pointer from integer without a cast
  132. ../src/drivers/driver_nl80211.c:1026: note: expected ‘const u8 *’ but argument is of type ‘int’
  133. ../src/drivers/driver_nl80211.c:1149: warning: passing argument 3 of ‘mlme_event_deauth_disassoc’ makes pointer from integer without a cast
  134. ../src/drivers/driver_nl80211.c:1026: note: expected ‘const u8 *’ but argument is of type ‘int’
  135. ../src/drivers/driver_nl80211.c:1152: warning: passing argument 3 of ‘mlme_event_mgmt’ makes pointer from integer without a cast
  136. ../src/drivers/driver_nl80211.c:954: note: expected ‘const u8 *’ but argument is of type ‘int’
  137. ../src/drivers/driver_nl80211.c:1156: warning: passing argument 3 of ‘mlme_event_action_tx_status’ makes pointer from integer without a cast
  138. ../src/drivers/driver_nl80211.c:991: note: expected ‘const u8 *’ but argument is of type ‘int’
  139. ../src/drivers/driver_nl80211.c:1160: warning: passing argument 3 of ‘mlme_event_unprot_disconnect’ makes pointer from integer without a cast
  140. ../src/drivers/driver_nl80211.c:1083: note: expected ‘const u8 *’ but argument is of type ‘int’
  141. ../src/drivers/driver_nl80211.c:1164: warning: passing argument 3 of ‘mlme_event_unprot_disconnect’ makes pointer from integer without a cast
  142. ../src/drivers/driver_nl80211.c:1083: note: expected ‘const u8 *’ but argument is of type ‘int’
  143. ../src/drivers/driver_nl80211.c: In function ‘mlme_event_michael_mic_failure’:
  144. ../src/drivers/driver_nl80211.c:1182: warning: passing argument 3 of ‘wpa_hexdump’ makes pointer from integer without a cast
  145. ../src/utils/wpa_debug.h:112: note: expected ‘const u8 *’ but argument is of type ‘int’
  146. ../src/drivers/driver_nl80211.c:1183: warning: assignment makes pointer from integer without a cast
  147. ../src/drivers/driver_nl80211.c:1188: warning: passing argument 3 of ‘wpa_hexdump’ makes pointer from integer without a cast
  148. ../src/utils/wpa_debug.h:112: note: expected ‘const u8 *’ but argument is of type ‘int’
  149. ../src/drivers/driver_nl80211.c:1200: warning: implicit declaration of function ‘nla_get_u8’
  150. ../src/drivers/driver_nl80211.c: In function ‘mlme_event_join_ibss’:
  151. ../src/drivers/driver_nl80211.c:1216: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  152. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  153. ../src/drivers/driver_nl80211.c: In function ‘send_scan_event’:
  154. ../src/drivers/driver_nl80211.c:1289: error: expected ‘;’ before ‘{’ token
  155. ../src/drivers/driver_nl80211.c:1301: error: expected ‘;’ before ‘{’ token
  156. ../src/drivers/driver_nl80211.c:1281: warning: unused variable ‘freqs’
  157. ../src/drivers/driver_nl80211.c: At top level:
  158. ../src/drivers/driver_nl80211.c:1314: warning: ‘struct nl_msg’ declared inside parameter list
  159. ../src/drivers/driver_nl80211.c: In function ‘get_link_signal’:
  160. ../src/drivers/driver_nl80211.c:1317: warning: initialization makes pointer from integer without a cast
  161. ../src/drivers/driver_nl80211.c:1319: error: array type has incomplete element type
  162. ../src/drivers/driver_nl80211.c:1320: error: array index in non-array initializer
  163. ../src/drivers/driver_nl80211.c:1320: error: (near initialization for ‘policy’)
  164. ../src/drivers/driver_nl80211.c:1320: error: field name not in record or union initializer
  165. ../src/drivers/driver_nl80211.c:1320: error: (near initialization for ‘policy’)
  166. ../src/drivers/driver_nl80211.c:1320: error: ‘NLA_U8’ undeclared (first use in this function)
  167. ../src/drivers/driver_nl80211.c:1323: error: array type has incomplete element type
  168. ../src/drivers/driver_nl80211.c:1324: error: array index in non-array initializer
  169. ../src/drivers/driver_nl80211.c:1324: error: (near initialization for ‘rate_policy’)
  170. ../src/drivers/driver_nl80211.c:1324: error: field name not in record or union initializer
  171. ../src/drivers/driver_nl80211.c:1324: error: (near initialization for ‘rate_policy’)
  172. ../src/drivers/driver_nl80211.c:1324: error: ‘NLA_U16’ undeclared (first use in this function)
  173. ../src/drivers/driver_nl80211.c:1325: error: array index in non-array initializer
  174. ../src/drivers/driver_nl80211.c:1325: error: (near initialization for ‘rate_policy’)
  175. ../src/drivers/driver_nl80211.c:1325: error: field name not in record or union initializer
  176. ../src/drivers/driver_nl80211.c:1325: error: (near initialization for ‘rate_policy’)
  177. ../src/drivers/driver_nl80211.c:1326: error: array index in non-array initializer
  178. ../src/drivers/driver_nl80211.c:1326: error: (near initialization for ‘rate_policy’)
  179. ../src/drivers/driver_nl80211.c:1326: error: field name not in record or union initializer
  180. ../src/drivers/driver_nl80211.c:1326: error: (near initialization for ‘rate_policy’)
  181. ../src/drivers/driver_nl80211.c:1326: error: ‘NLA_FLAG’ undeclared (first use in this function)
  182. ../src/drivers/driver_nl80211.c:1327: error: array index in non-array initializer
  183. ../src/drivers/driver_nl80211.c:1327: error: (near initialization for ‘rate_policy’)
  184. ../src/drivers/driver_nl80211.c:1327: error: field name not in record or union initializer
  185. ../src/drivers/driver_nl80211.c:1327: error: (near initialization for ‘rate_policy’)
  186. ../src/drivers/driver_nl80211.c:1334: warning: implicit declaration of function ‘nla_parse_nested’
  187. ../src/drivers/driver_nl80211.c:1336: error: ‘NL_SKIP’ undeclared (first use in this function)
  188. ../src/drivers/driver_nl80211.c:1323: warning: unused variable ‘rate_policy’
  189. ../src/drivers/driver_nl80211.c:1319: warning: unused variable ‘policy’
  190. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_link_signal’:
  191. ../src/drivers/driver_nl80211.c:1369: warning: assignment makes pointer from integer without a cast
  192. ../src/drivers/driver_nl80211.c:1373: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  193. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  194. ../src/drivers/driver_nl80211.c:1376: warning: implicit declaration of function ‘NLA_PUT’
  195. ../src/drivers/driver_nl80211.c:1378: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  196. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  197. ../src/drivers/driver_nl80211.c:1378: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  198. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  199. ../src/drivers/driver_nl80211.c:1379: warning: label ‘nla_put_failure’ defined but not used
  200. ../src/drivers/driver_nl80211.c: At top level:
  201. ../src/drivers/driver_nl80211.c:1385: warning: ‘struct nl_msg’ declared inside parameter list
  202. ../src/drivers/driver_nl80211.c: In function ‘get_link_noise’:
  203. ../src/drivers/driver_nl80211.c:1388: warning: initialization makes pointer from integer without a cast
  204. ../src/drivers/driver_nl80211.c:1390: error: array type has incomplete element type
  205. ../src/drivers/driver_nl80211.c:1391: error: array index in non-array initializer
  206. ../src/drivers/driver_nl80211.c:1391: error: (near initialization for ‘survey_policy’)
  207. ../src/drivers/driver_nl80211.c:1391: error: field name not in record or union initializer
  208. ../src/drivers/driver_nl80211.c:1391: error: (near initialization for ‘survey_policy’)
  209. ../src/drivers/driver_nl80211.c:1391: error: ‘NLA_U32’ undeclared (first use in this function)
  210. ../src/drivers/driver_nl80211.c:1392: error: array index in non-array initializer
  211. ../src/drivers/driver_nl80211.c:1392: error: (near initialization for ‘survey_policy’)
  212. ../src/drivers/driver_nl80211.c:1392: error: field name not in record or union initializer
  213. ../src/drivers/driver_nl80211.c:1392: error: (near initialization for ‘survey_policy’)
  214. ../src/drivers/driver_nl80211.c:1392: error: ‘NLA_U8’ undeclared (first use in this function)
  215. ../src/drivers/driver_nl80211.c:1401: error: ‘NL_SKIP’ undeclared (first use in this function)
  216. ../src/drivers/driver_nl80211.c:1390: warning: unused variable ‘survey_policy’
  217. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_link_noise’:
  218. ../src/drivers/driver_nl80211.c:1437: warning: assignment makes pointer from integer without a cast
  219. ../src/drivers/driver_nl80211.c:1441: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  220. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  221. ../src/drivers/driver_nl80211.c:1445: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  222. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  223. ../src/drivers/driver_nl80211.c:1445: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  224. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  225. ../src/drivers/driver_nl80211.c:1446: warning: label ‘nla_put_failure’ defined but not used
  226. ../src/drivers/driver_nl80211.c: At top level:
  227. ../src/drivers/driver_nl80211.c:1452: warning: ‘struct nl_msg’ declared inside parameter list
  228. ../src/drivers/driver_nl80211.c: In function ‘get_noise_for_scan_results’:
  229. ../src/drivers/driver_nl80211.c:1455: warning: initialization makes pointer from integer without a cast
  230. ../src/drivers/driver_nl80211.c:1457: error: array type has incomplete element type
  231. ../src/drivers/driver_nl80211.c:1458: error: array index in non-array initializer
  232. ../src/drivers/driver_nl80211.c:1458: error: (near initialization for ‘survey_policy’)
  233. ../src/drivers/driver_nl80211.c:1458: error: field name not in record or union initializer
  234. ../src/drivers/driver_nl80211.c:1458: error: (near initialization for ‘survey_policy’)
  235. ../src/drivers/driver_nl80211.c:1458: error: ‘NLA_U32’ undeclared (first use in this function)
  236. ../src/drivers/driver_nl80211.c:1459: error: array index in non-array initializer
  237. ../src/drivers/driver_nl80211.c:1459: error: (near initialization for ‘survey_policy’)
  238. ../src/drivers/driver_nl80211.c:1459: error: field name not in record or union initializer
  239. ../src/drivers/driver_nl80211.c:1459: error: (near initialization for ‘survey_policy’)
  240. ../src/drivers/driver_nl80211.c:1459: error: ‘NLA_U8’ undeclared (first use in this function)
  241. ../src/drivers/driver_nl80211.c:1470: error: ‘NL_SKIP’ undeclared (first use in this function)
  242. ../src/drivers/driver_nl80211.c:1457: warning: unused variable ‘survey_policy’
  243. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_noise_for_scan_results’:
  244. ../src/drivers/driver_nl80211.c:1511: warning: assignment makes pointer from integer without a cast
  245. ../src/drivers/driver_nl80211.c:1515: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  246. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  247. ../src/drivers/driver_nl80211.c:1520: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  248. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  249. ../src/drivers/driver_nl80211.c:1520: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  250. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  251. ../src/drivers/driver_nl80211.c:1521: warning: label ‘nla_put_failure’ defined but not used
  252. ../src/drivers/driver_nl80211.c: In function ‘nl80211_cqm_event’:
  253. ../src/drivers/driver_nl80211.c:1530: error: array type has incomplete element type
  254. ../src/drivers/driver_nl80211.c:1531: error: array index in non-array initializer
  255. ../src/drivers/driver_nl80211.c:1531: error: (near initialization for ‘cqm_policy’)
  256. ../src/drivers/driver_nl80211.c:1531: error: field name not in record or union initializer
  257. ../src/drivers/driver_nl80211.c:1531: error: (near initialization for ‘cqm_policy’)
  258. ../src/drivers/driver_nl80211.c:1531: error: ‘NLA_U32’ undeclared (first use in this function)
  259. ../src/drivers/driver_nl80211.c:1532: error: array index in non-array initializer
  260. ../src/drivers/driver_nl80211.c:1532: error: (near initialization for ‘cqm_policy’)
  261. ../src/drivers/driver_nl80211.c:1532: error: field name not in record or union initializer
  262. ../src/drivers/driver_nl80211.c:1532: error: (near initialization for ‘cqm_policy’)
  263. ../src/drivers/driver_nl80211.c:1532: error: ‘NLA_U8’ undeclared (first use in this function)
  264. ../src/drivers/driver_nl80211.c:1533: error: array index in non-array initializer
  265. ../src/drivers/driver_nl80211.c:1533: error: (near initialization for ‘cqm_policy’)
  266. ../src/drivers/driver_nl80211.c:1533: error: field name not in record or union initializer
  267. ../src/drivers/driver_nl80211.c:1533: error: (near initialization for ‘cqm_policy’)
  268. ../src/drivers/driver_nl80211.c:1534: error: array index in non-array initializer
  269. ../src/drivers/driver_nl80211.c:1534: error: (near initialization for ‘cqm_policy’)
  270. ../src/drivers/driver_nl80211.c:1534: error: field name not in record or union initializer
  271. ../src/drivers/driver_nl80211.c:1534: error: (near initialization for ‘cqm_policy’)
  272. ../src/drivers/driver_nl80211.c:1554: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  273. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  274. ../src/drivers/driver_nl80211.c:1530: warning: unused variable ‘cqm_policy’
  275. ../src/drivers/driver_nl80211.c: In function ‘nl80211_new_station_event’:
  276. ../src/drivers/driver_nl80211.c:1602: warning: assignment makes pointer from integer without a cast
  277. ../src/drivers/driver_nl80211.c:1609: warning: assignment makes pointer from integer without a cast
  278. ../src/drivers/driver_nl80211.c: In function ‘nl80211_del_station_event’:
  279. ../src/drivers/driver_nl80211.c:1634: warning: assignment makes pointer from integer without a cast
  280. ../src/drivers/driver_nl80211.c: In function ‘nl80211_rekey_offload_event’:
  281. ../src/drivers/driver_nl80211.c:1656: error: array type has incomplete element type
  282. ../src/drivers/driver_nl80211.c:1657: error: array index in non-array initializer
  283. ../src/drivers/driver_nl80211.c:1657: error: (near initialization for ‘rekey_policy’)
  284. ../src/drivers/driver_nl80211.c:1658: error: field name not in record or union initializer
  285. ../src/drivers/driver_nl80211.c:1658: error: (near initialization for ‘rekey_policy’)
  286. ../src/drivers/driver_nl80211.c:1659: error: field name not in record or union initializer
  287. ../src/drivers/driver_nl80211.c:1659: error: (near initialization for ‘rekey_policy’)
  288. ../src/drivers/driver_nl80211.c:1661: error: array index in non-array initializer
  289. ../src/drivers/driver_nl80211.c:1661: error: (near initialization for ‘rekey_policy’)
  290. ../src/drivers/driver_nl80211.c:1662: error: field name not in record or union initializer
  291. ../src/drivers/driver_nl80211.c:1662: error: (near initialization for ‘rekey_policy’)
  292. ../src/drivers/driver_nl80211.c:1663: error: field name not in record or union initializer
  293. ../src/drivers/driver_nl80211.c:1663: error: (near initialization for ‘rekey_policy’)
  294. ../src/drivers/driver_nl80211.c:1665: error: array index in non-array initializer
  295. ../src/drivers/driver_nl80211.c:1665: error: (near initialization for ‘rekey_policy’)
  296. ../src/drivers/driver_nl80211.c:1666: error: field name not in record or union initializer
  297. ../src/drivers/driver_nl80211.c:1666: error: (near initialization for ‘rekey_policy’)
  298. ../src/drivers/driver_nl80211.c:1667: error: field name not in record or union initializer
  299. ../src/drivers/driver_nl80211.c:1667: error: (near initialization for ‘rekey_policy’)
  300. ../src/drivers/driver_nl80211.c:1683: warning: assignment makes pointer from integer without a cast
  301. ../src/drivers/driver_nl80211.c:1687: warning: assignment makes pointer from integer without a cast
  302. ../src/drivers/driver_nl80211.c:1656: warning: unused variable ‘rekey_policy’
  303. ../src/drivers/driver_nl80211.c: In function ‘nl80211_pmksa_candidate_event’:
  304. ../src/drivers/driver_nl80211.c:1698: error: array type has incomplete element type
  305. ../src/drivers/driver_nl80211.c:1699: error: array index in non-array initializer
  306. ../src/drivers/driver_nl80211.c:1699: error: (near initialization for ‘cand_policy’)
  307. ../src/drivers/driver_nl80211.c:1699: error: field name not in record or union initializer
  308. ../src/drivers/driver_nl80211.c:1699: error: (near initialization for ‘cand_policy’)
  309. ../src/drivers/driver_nl80211.c:1699: error: ‘NLA_U32’ undeclared (first use in this function)
  310. ../src/drivers/driver_nl80211.c:1700: error: array index in non-array initializer
  311. ../src/drivers/driver_nl80211.c:1700: error: (near initialization for ‘cand_policy’)
  312. ../src/drivers/driver_nl80211.c:1701: error: field name not in record or union initializer
  313. ../src/drivers/driver_nl80211.c:1701: error: (near initialization for ‘cand_policy’)
  314. ../src/drivers/driver_nl80211.c:1702: error: field name not in record or union initializer
  315. ../src/drivers/driver_nl80211.c:1702: error: (near initialization for ‘cand_policy’)
  316. ../src/drivers/driver_nl80211.c:1704: error: array index in non-array initializer
  317. ../src/drivers/driver_nl80211.c:1704: error: (near initialization for ‘cand_policy’)
  318. ../src/drivers/driver_nl80211.c:1704: error: field name not in record or union initializer
  319. ../src/drivers/driver_nl80211.c:1704: error: (near initialization for ‘cand_policy’)
  320. ../src/drivers/driver_nl80211.c:1704: error: ‘NLA_FLAG’ undeclared (first use in this function)
  321. ../src/drivers/driver_nl80211.c:1718: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  322. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  323. ../src/drivers/driver_nl80211.c:1698: warning: unused variable ‘cand_policy’
  324. ../src/drivers/driver_nl80211.c: At top level:
  325. ../src/drivers/driver_nl80211.c:1728: warning: ‘struct nl_msg’ declared inside parameter list
  326. ../src/drivers/driver_nl80211.c: In function ‘process_event’:
  327. ../src/drivers/driver_nl80211.c:1731: warning: initialization makes pointer from integer without a cast
  328. ../src/drivers/driver_nl80211.c:1742: error: dereferencing pointer to incomplete type
  329. ../src/drivers/driver_nl80211.c:1743: error: ‘NL_SKIP’ undeclared (first use in this function)
  330. ../src/drivers/driver_nl80211.c:1748: error: dereferencing pointer to incomplete type
  331. ../src/drivers/driver_nl80211.c:1749: error: dereferencing pointer to incomplete type
  332. ../src/drivers/driver_nl80211.c:1755: error: dereferencing pointer to incomplete type
  333. ../src/drivers/driver_nl80211.c:1796: error: dereferencing pointer to incomplete type
  334. ../src/drivers/driver_nl80211.c:1803: error: dereferencing pointer to incomplete type
  335. ../src/drivers/driver_nl80211.c:1852: error: dereferencing pointer to incomplete type
  336. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_event_receive’:
  337. ../src/drivers/driver_nl80211.c:1868: warning: assignment makes pointer from integer without a cast
  338. ../src/drivers/driver_nl80211.c:1871: error: ‘NL_CB_SEQ_CHECK’ undeclared (first use in this function)
  339. ../src/drivers/driver_nl80211.c:1871: error: ‘NL_CB_CUSTOM’ undeclared (first use in this function)
  340. ../src/drivers/driver_nl80211.c:1872: error: ‘NL_CB_VALID’ undeclared (first use in this function)
  341. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_set_country’:
  342. ../src/drivers/driver_nl80211.c:1894: warning: assignment makes pointer from integer without a cast
  343. ../src/drivers/driver_nl80211.c:1902: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  344. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  345. ../src/drivers/driver_nl80211.c:1905: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  346. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  347. ../src/drivers/driver_nl80211.c:1908: warning: label ‘nla_put_failure’ defined but not used
  348. ../src/drivers/driver_nl80211.c: At top level:
  349. ../src/drivers/driver_nl80211.c:1921: warning: ‘struct nl_msg’ declared inside parameter list
  350. ../src/drivers/driver_nl80211.c: In function ‘wiphy_info_handler’:
  351. ../src/drivers/driver_nl80211.c:1924: warning: initialization makes pointer from integer without a cast
  352. ../src/drivers/driver_nl80211.c:1931: error: array type has incomplete element type
  353. ../src/drivers/driver_nl80211.c:1932: error: array index in non-array initializer
  354. ../src/drivers/driver_nl80211.c:1932: error: (near initialization for ‘iface_combination_policy’)
  355. ../src/drivers/driver_nl80211.c:1932: error: field name not in record or union initializer
  356. ../src/drivers/driver_nl80211.c:1932: error: (near initialization for ‘iface_combination_policy’)
  357. ../src/drivers/driver_nl80211.c:1932: error: ‘NLA_NESTED’ undeclared (first use in this function)
  358. ../src/drivers/driver_nl80211.c:1933: error: array index in non-array initializer
  359. ../src/drivers/driver_nl80211.c:1933: error: (near initialization for ‘iface_combination_policy’)
  360. ../src/drivers/driver_nl80211.c:1933: error: field name not in record or union initializer
  361. ../src/drivers/driver_nl80211.c:1933: error: (near initialization for ‘iface_combination_policy’)
  362. ../src/drivers/driver_nl80211.c:1933: error: ‘NLA_U32’ undeclared (first use in this function)
  363. ../src/drivers/driver_nl80211.c:1934: error: array index in non-array initializer
  364. ../src/drivers/driver_nl80211.c:1934: error: (near initialization for ‘iface_combination_policy’)
  365. ../src/drivers/driver_nl80211.c:1934: error: field name not in record or union initializer
  366. ../src/drivers/driver_nl80211.c:1934: error: (near initialization for ‘iface_combination_policy’)
  367. ../src/drivers/driver_nl80211.c:1934: error: ‘NLA_FLAG’ undeclared (first use in this function)
  368. ../src/drivers/driver_nl80211.c:1935: error: array index in non-array initializer
  369. ../src/drivers/driver_nl80211.c:1935: error: (near initialization for ‘iface_combination_policy’)
  370. ../src/drivers/driver_nl80211.c:1935: error: field name not in record or union initializer
  371. ../src/drivers/driver_nl80211.c:1935: error: (near initialization for ‘iface_combination_policy’)
  372. ../src/drivers/driver_nl80211.c:1937: error: array type has incomplete element type
  373. ../src/drivers/driver_nl80211.c:1938: error: array index in non-array initializer
  374. ../src/drivers/driver_nl80211.c:1938: error: (near initialization for ‘iface_limit_policy’)
  375. ../src/drivers/driver_nl80211.c:1938: error: field name not in record or union initializer
  376. ../src/drivers/driver_nl80211.c:1938: error: (near initialization for ‘iface_limit_policy’)
  377. ../src/drivers/driver_nl80211.c:1939: error: array index in non-array initializer
  378. ../src/drivers/driver_nl80211.c:1939: error: (near initialization for ‘iface_limit_policy’)
  379. ../src/drivers/driver_nl80211.c:1939: error: field name not in record or union initializer
  380. ../src/drivers/driver_nl80211.c:1939: error: (near initialization for ‘iface_limit_policy’)
  381. ../src/drivers/driver_nl80211.c:1961: error: expected ‘;’ before ‘{’ token
  382. ../src/drivers/driver_nl80211.c:1982: error: expected ‘;’ before ‘{’ token
  383. ../src/drivers/driver_nl80211.c:2038: error: expected ‘;’ before ‘{’ token
  384. ../src/drivers/driver_nl80211.c:2104: error: ‘NL_SKIP’ undeclared (first use in this function)
  385. ../src/drivers/driver_nl80211.c:1937: warning: unused variable ‘iface_limit_policy’
  386. ../src/drivers/driver_nl80211.c:1931: warning: unused variable ‘iface_combination_policy’
  387. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_get_info’:
  388. ../src/drivers/driver_nl80211.c:2116: warning: assignment makes pointer from integer without a cast
  389. ../src/drivers/driver_nl80211.c:2120: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  390. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  391. ../src/drivers/driver_nl80211.c:2124: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  392. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  393. ../src/drivers/driver_nl80211.c:2124: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  394. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  395. ../src/drivers/driver_nl80211.c:2127: warning: label ‘nla_put_failure’ defined but not used
  396. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_init_nl_global’:
  397. ../src/drivers/driver_nl80211.c:2203: warning: implicit declaration of function ‘nl_cb_alloc’
  398. ../src/drivers/driver_nl80211.c:2203: error: ‘NL_CB_DEFAULT’ undeclared (first use in this function)
  399. ../src/drivers/driver_nl80211.c:2210: warning: passing argument 2 of ‘nl_create_handles’ from incompatible pointer type
  400. ../src/drivers/driver_nl80211.c:111: note: expected ‘struct nl_cb *’ but argument is of type ‘struct nl_cb *’
  401. ../src/drivers/driver_nl80211.c:2213: warning: implicit declaration of function ‘genl_ctrl_search_by_name’
  402. ../src/drivers/driver_nl80211.c:2214: warning: assignment makes pointer from integer without a cast
  403. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_init_nl’:
  404. ../src/drivers/driver_nl80211.c:2232: warning: passing argument 2 of ‘nl_create_handles’ from incompatible pointer type
  405. ../src/drivers/driver_nl80211.c:111: note: expected ‘struct nl_cb *’ but argument is of type ‘struct nl_cb *’
  406. ../src/drivers/driver_nl80211.c:2237: warning: implicit declaration of function ‘nl_socket_add_membership’
  407. ../src/drivers/driver_nl80211.c:2265: warning: implicit declaration of function ‘nl_socket_get_fd’
  408. ../src/drivers/driver_nl80211.c: In function ‘nl80211_register_frame’:
  409. ../src/drivers/driver_nl80211.c:2422: warning: assignment makes pointer from integer without a cast
  410. ../src/drivers/driver_nl80211.c:2426: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  411. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  412. ../src/drivers/driver_nl80211.c:2429: warning: implicit declaration of function ‘NLA_PUT_U16’
  413. ../src/drivers/driver_nl80211.c:2432: warning: passing argument 3 of ‘send_and_recv’ from incompatible pointer type
  414. ../src/drivers/driver_nl80211.c:363: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  415. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_del_beacon’:
  416. ../src/drivers/driver_nl80211.c:2591: warning: assignment makes pointer from integer without a cast
  417. ../src/drivers/driver_nl80211.c:2595: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  418. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  419. ../src/drivers/driver_nl80211.c:2598: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  420. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  421. ../src/drivers/driver_nl80211.c:2599: warning: label ‘nla_put_failure’ defined but not used
  422. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_scan’:
  423. ../src/drivers/driver_nl80211.c:2721: warning: assignment makes pointer from integer without a cast
  424. ../src/drivers/driver_nl80211.c:2722: warning: assignment makes pointer from integer without a cast
  425. ../src/drivers/driver_nl80211.c:2723: warning: assignment makes pointer from integer without a cast
  426. ../src/drivers/driver_nl80211.c:2724: warning: assignment makes pointer from integer without a cast
  427. ../src/drivers/driver_nl80211.c:2738: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  428. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  429. ../src/drivers/driver_nl80211.c:2750: warning: implicit declaration of function ‘nla_put_nested’
  430. ../src/drivers/driver_nl80211.c:2779: warning: implicit declaration of function ‘NLA_PUT_FLAG’
  431. ../src/drivers/driver_nl80211.c:2782: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  432. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  433. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_sched_scan’:
  434. ../src/drivers/driver_nl80211.c:2855: warning: assignment makes pointer from integer without a cast
  435. ../src/drivers/driver_nl80211.c:2856: warning: assignment makes pointer from integer without a cast
  436. ../src/drivers/driver_nl80211.c:2857: warning: assignment makes pointer from integer without a cast
  437. ../src/drivers/driver_nl80211.c:2870: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  438. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  439. ../src/drivers/driver_nl80211.c:2877: warning: assignment makes pointer from integer without a cast
  440. ../src/drivers/driver_nl80211.c:2885: warning: assignment makes pointer from integer without a cast
  441. ../src/drivers/driver_nl80211.c:2886: warning: implicit declaration of function ‘nla_put’
  442. ../src/drivers/driver_nl80211.c:2927: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  443. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  444. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_stop_sched_scan’:
  445. ../src/drivers/driver_nl80211.c:2961: warning: assignment makes pointer from integer without a cast
  446. ../src/drivers/driver_nl80211.c:2965: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  447. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  448. ../src/drivers/driver_nl80211.c:2969: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  449. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  450. ../src/drivers/driver_nl80211.c: At top level:
  451. ../src/drivers/driver_nl80211.c:3031: warning: ‘struct nl_msg’ declared inside parameter list
  452. ../src/drivers/driver_nl80211.c:3031: error: conflicting types for ‘bss_info_handler’
  453. ../src/drivers/driver_nl80211.c:330: note: previous declaration of ‘bss_info_handler’ was here
  454. ../src/drivers/driver_nl80211.c: In function ‘bss_info_handler’:
  455. ../src/drivers/driver_nl80211.c:3034: warning: initialization makes pointer from integer without a cast
  456. ../src/drivers/driver_nl80211.c:3036: error: array type has incomplete element type
  457. ../src/drivers/driver_nl80211.c:3037: error: array index in non-array initializer
  458. ../src/drivers/driver_nl80211.c:3037: error: (near initialization for ‘bss_policy’)
  459. ../src/drivers/driver_nl80211.c:3037: error: field name not in record or union initializer
  460. ../src/drivers/driver_nl80211.c:3037: error: (near initialization for ‘bss_policy’)
  461. ../src/drivers/driver_nl80211.c:3037: error: ‘NLA_UNSPEC’ undeclared (first use in this function)
  462. ../src/drivers/driver_nl80211.c:3038: error: array index in non-array initializer
  463. ../src/drivers/driver_nl80211.c:3038: error: (near initialization for ‘bss_policy’)
  464. ../src/drivers/driver_nl80211.c:3038: error: field name not in record or union initializer
  465. ../src/drivers/driver_nl80211.c:3038: error: (near initialization for ‘bss_policy’)
  466. ../src/drivers/driver_nl80211.c:3038: error: ‘NLA_U32’ undeclared (first use in this function)
  467. ../src/drivers/driver_nl80211.c:3039: error: array index in non-array initializer
  468. ../src/drivers/driver_nl80211.c:3039: error: (near initialization for ‘bss_policy’)
  469. ../src/drivers/driver_nl80211.c:3039: error: field name not in record or union initializer
  470. ../src/drivers/driver_nl80211.c:3039: error: (near initialization for ‘bss_policy’)
  471. ../src/drivers/driver_nl80211.c:3039: error: ‘NLA_U64’ undeclared (first use in this function)
  472. ../src/drivers/driver_nl80211.c:3040: error: array index in non-array initializer
  473. ../src/drivers/driver_nl80211.c:3040: error: (near initialization for ‘bss_policy’)
  474. ../src/drivers/driver_nl80211.c:3040: error: field name not in record or union initializer
  475. ../src/drivers/driver_nl80211.c:3040: error: (near initialization for ‘bss_policy’)
  476. ../src/drivers/driver_nl80211.c:3040: error: ‘NLA_U16’ undeclared (first use in this function)
  477. ../src/drivers/driver_nl80211.c:3041: error: array index in non-array initializer
  478. ../src/drivers/driver_nl80211.c:3041: error: (near initialization for ‘bss_policy’)
  479. ../src/drivers/driver_nl80211.c:3041: error: field name not in record or union initializer
  480. ../src/drivers/driver_nl80211.c:3041: error: (near initialization for ‘bss_policy’)
  481. ../src/drivers/driver_nl80211.c:3042: error: array index in non-array initializer
  482. ../src/drivers/driver_nl80211.c:3042: error: (near initialization for ‘bss_policy’)
  483. ../src/drivers/driver_nl80211.c:3042: error: field name not in record or union initializer
  484. ../src/drivers/driver_nl80211.c:3042: error: (near initialization for ‘bss_policy’)
  485. ../src/drivers/driver_nl80211.c:3043: error: array index in non-array initializer
  486. ../src/drivers/driver_nl80211.c:3043: error: (near initialization for ‘bss_policy’)
  487. ../src/drivers/driver_nl80211.c:3043: error: field name not in record or union initializer
  488. ../src/drivers/driver_nl80211.c:3043: error: (near initialization for ‘bss_policy’)
  489. ../src/drivers/driver_nl80211.c:3044: error: array index in non-array initializer
  490. ../src/drivers/driver_nl80211.c:3044: error: (near initialization for ‘bss_policy’)
  491. ../src/drivers/driver_nl80211.c:3044: error: field name not in record or union initializer
  492. ../src/drivers/driver_nl80211.c:3044: error: (near initialization for ‘bss_policy’)
  493. ../src/drivers/driver_nl80211.c:3044: error: ‘NLA_U8’ undeclared (first use in this function)
  494. ../src/drivers/driver_nl80211.c:3045: error: array index in non-array initializer
  495. ../src/drivers/driver_nl80211.c:3045: error: (near initialization for ‘bss_policy’)
  496. ../src/drivers/driver_nl80211.c:3045: error: field name not in record or union initializer
  497. ../src/drivers/driver_nl80211.c:3045: error: (near initialization for ‘bss_policy’)
  498. ../src/drivers/driver_nl80211.c:3046: error: array index in non-array initializer
  499. ../src/drivers/driver_nl80211.c:3046: error: (near initialization for ‘bss_policy’)
  500. ../src/drivers/driver_nl80211.c:3046: error: field name not in record or union initializer
  501. ../src/drivers/driver_nl80211.c:3046: error: (near initialization for ‘bss_policy’)
  502. ../src/drivers/driver_nl80211.c:3047: error: array index in non-array initializer
  503. ../src/drivers/driver_nl80211.c:3047: error: (near initialization for ‘bss_policy’)
  504. ../src/drivers/driver_nl80211.c:3047: error: field name not in record or union initializer
  505. ../src/drivers/driver_nl80211.c:3047: error: (near initialization for ‘bss_policy’)
  506. ../src/drivers/driver_nl80211.c:3061: error: ‘NL_SKIP’ undeclared (first use in this function)
  507. ../src/drivers/driver_nl80211.c:3077: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  508. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  509. ../src/drivers/driver_nl80211.c:3086: warning: assignment makes pointer from integer without a cast
  510. ../src/drivers/driver_nl80211.c:3093: warning: assignment makes pointer from integer without a cast
  511. ../src/drivers/driver_nl80211.c:3108: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  512. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  513. ../src/drivers/driver_nl80211.c:3036: warning: unused variable ‘bss_policy’
  514. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_scan_results’:
  515. ../src/drivers/driver_nl80211.c:3275: warning: assignment makes pointer from integer without a cast
  516. ../src/drivers/driver_nl80211.c:3279: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  517. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  518. ../src/drivers/driver_nl80211.c:3284: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  519. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  520. ../src/drivers/driver_nl80211.c:3284: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  521. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  522. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_set_key’:
  523. ../src/drivers/driver_nl80211.c:3365: warning: assignment makes pointer from integer without a cast
  524. ../src/drivers/driver_nl80211.c:3370: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  525. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  526. ../src/drivers/driver_nl80211.c:3372: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  527. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  528. ../src/drivers/driver_nl80211.c:3419: warning: assignment makes pointer from integer without a cast
  529. ../src/drivers/driver_nl80211.c:3429: warning: implicit declaration of function ‘NLA_PUT_U8’
  530. ../src/drivers/driver_nl80211.c:3432: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  531. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  532. ../src/drivers/driver_nl80211.c:3449: warning: assignment makes pointer from integer without a cast
  533. ../src/drivers/driver_nl80211.c:3453: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  534. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  535. ../src/drivers/driver_nl80211.c:3463: warning: assignment makes pointer from integer without a cast
  536. ../src/drivers/driver_nl80211.c:3475: warning: assignment makes pointer from integer without a cast
  537. ../src/drivers/driver_nl80211.c:3486: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  538. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  539. ../src/drivers/driver_nl80211.c: At top level:
  540. ../src/drivers/driver_nl80211.c:3503: warning: ‘struct nl_msg’ declared inside parameter list
  541. ../src/drivers/driver_nl80211.c: In function ‘nl_add_key’:
  542. ../src/drivers/driver_nl80211.c:3505: warning: implicit declaration of function ‘nla_nest_start’
  543. ../src/drivers/driver_nl80211.c:3505: warning: initialization makes pointer from integer without a cast
  544. ../src/drivers/driver_nl80211.c:3546: warning: implicit declaration of function ‘nla_nest_end’
  545. ../src/drivers/driver_nl80211.c:3549: warning: label ‘nla_put_failure’ defined but not used
  546. ../src/drivers/driver_nl80211.c: At top level:
  547. ../src/drivers/driver_nl80211.c:3555: warning: ‘struct nl_msg’ declared inside parameter list
  548. ../src/drivers/driver_nl80211.c: In function ‘nl80211_set_conn_keys’:
  549. ../src/drivers/driver_nl80211.c:3577: warning: assignment makes pointer from integer without a cast
  550. ../src/drivers/driver_nl80211.c:3585: warning: assignment makes pointer from integer without a cast
  551. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_mlme’:
  552. ../src/drivers/driver_nl80211.c:3621: warning: assignment makes pointer from integer without a cast
  553. ../src/drivers/driver_nl80211.c:3625: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  554. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  555. ../src/drivers/driver_nl80211.c:3633: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  556. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  557. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_authenticate’:
  558. ../src/drivers/driver_nl80211.c:3711: warning: assignment makes pointer from integer without a cast
  559. ../src/drivers/driver_nl80211.c:3718: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  560. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  561. ../src/drivers/driver_nl80211.c:3731: warning: passing argument 1 of ‘nl_add_key’ from incompatible pointer type
  562. ../src/drivers/driver_nl80211.c:3500: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  563. ../src/drivers/driver_nl80211.c:3773: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  564. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  565. ../src/drivers/driver_nl80211.c: At top level:
  566. ../src/drivers/driver_nl80211.c:3811: warning: ‘struct nl_msg’ declared inside parameter list
  567. ../src/drivers/driver_nl80211.c: In function ‘phy_info_handler’:
  568. ../src/drivers/driver_nl80211.c:3814: warning: initialization makes pointer from integer without a cast
  569. ../src/drivers/driver_nl80211.c:3820: error: array type has incomplete element type
  570. ../src/drivers/driver_nl80211.c:3821: error: array index in non-array initializer
  571. ../src/drivers/driver_nl80211.c:3821: error: (near initialization for ‘freq_policy’)
  572. ../src/drivers/driver_nl80211.c:3821: error: field name not in record or union initializer
  573. ../src/drivers/driver_nl80211.c:3821: error: (near initialization for ‘freq_policy’)
  574. ../src/drivers/driver_nl80211.c:3821: error: ‘NLA_U32’ undeclared (first use in this function)
  575. ../src/drivers/driver_nl80211.c:3822: error: array index in non-array initializer
  576. ../src/drivers/driver_nl80211.c:3822: error: (near initialization for ‘freq_policy’)
  577. ../src/drivers/driver_nl80211.c:3822: error: field name not in record or union initializer
  578. ../src/drivers/driver_nl80211.c:3822: error: (near initialization for ‘freq_policy’)
  579. ../src/drivers/driver_nl80211.c:3822: error: ‘NLA_FLAG’ undeclared (first use in this function)
  580. ../src/drivers/driver_nl80211.c:3823: error: array index in non-array initializer
  581. ../src/drivers/driver_nl80211.c:3823: error: (near initialization for ‘freq_policy’)
  582. ../src/drivers/driver_nl80211.c:3823: error: field name not in record or union initializer
  583. ../src/drivers/driver_nl80211.c:3823: error: (near initialization for ‘freq_policy’)
  584. ../src/drivers/driver_nl80211.c:3824: error: array index in non-array initializer
  585. ../src/drivers/driver_nl80211.c:3824: error: (near initialization for ‘freq_policy’)
  586. ../src/drivers/driver_nl80211.c:3824: error: field name not in record or union initializer
  587. ../src/drivers/driver_nl80211.c:3824: error: (near initialization for ‘freq_policy’)
  588. ../src/drivers/driver_nl80211.c:3825: error: array index in non-array initializer
  589. ../src/drivers/driver_nl80211.c:3825: error: (near initialization for ‘freq_policy’)
  590. ../src/drivers/driver_nl80211.c:3825: error: field name not in record or union initializer
  591. ../src/drivers/driver_nl80211.c:3825: error: (near initialization for ‘freq_policy’)
  592. ../src/drivers/driver_nl80211.c:3826: error: array index in non-array initializer
  593. ../src/drivers/driver_nl80211.c:3826: error: (near initialization for ‘freq_policy’)
  594. ../src/drivers/driver_nl80211.c:3826: error: field name not in record or union initializer
  595. ../src/drivers/driver_nl80211.c:3826: error: (near initialization for ‘freq_policy’)
  596. ../src/drivers/driver_nl80211.c:3830: error: array type has incomplete element type
  597. ../src/drivers/driver_nl80211.c:3831: error: array index in non-array initializer
  598. ../src/drivers/driver_nl80211.c:3831: error: (near initialization for ‘rate_policy’)
  599. ../src/drivers/driver_nl80211.c:3831: error: field name not in record or union initializer
  600. ../src/drivers/driver_nl80211.c:3831: error: (near initialization for ‘rate_policy’)
  601. ../src/drivers/driver_nl80211.c:3832: error: array index in non-array initializer
  602. ../src/drivers/driver_nl80211.c:3832: error: (near initialization for ‘rate_policy’)
  603. ../src/drivers/driver_nl80211.c:3832: error: field name not in record or union initializer
  604. ../src/drivers/driver_nl80211.c:3832: error: (near initialization for ‘rate_policy’)
  605. ../src/drivers/driver_nl80211.c:3846: error: ‘NL_SKIP’ undeclared (first use in this function)
  606. ../src/drivers/driver_nl80211.c:3848: error: expected ‘;’ before ‘{’ token
  607. ../src/drivers/driver_nl80211.c:3840: warning: unused variable ‘mode_is_set’
  608. ../src/drivers/driver_nl80211.c:3840: warning: unused variable ‘idx’
  609. ../src/drivers/driver_nl80211.c:3839: warning: unused variable ‘mode’
  610. ../src/drivers/driver_nl80211.c:3838: warning: unused variable ‘rem_rate’
  611. ../src/drivers/driver_nl80211.c:3838: warning: unused variable ‘rem_freq’
  612. ../src/drivers/driver_nl80211.c:3837: warning: unused variable ‘nl_rate’
  613. ../src/drivers/driver_nl80211.c:3836: warning: unused variable ‘nl_freq’
  614. ../src/drivers/driver_nl80211.c:3830: warning: unused variable ‘rate_policy’
  615. ../src/drivers/driver_nl80211.c:3829: warning: unused variable ‘tb_rate’
  616. ../src/drivers/driver_nl80211.c:3820: warning: unused variable ‘freq_policy’
  617. ../src/drivers/driver_nl80211.c:3819: warning: unused variable ‘tb_freq’
  618. ../src/drivers/driver_nl80211.c:3817: warning: unused variable ‘tb_band’
  619. ../src/drivers/driver_nl80211.c:3815: warning: unused variable ‘phy_info’
  620. ../src/drivers/driver_nl80211.c: At top level:
  621. ../src/drivers/driver_nl80211.c:4143: warning: ‘struct nl_msg’ declared inside parameter list
  622. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_reg’:
  623. ../src/drivers/driver_nl80211.c:4147: warning: initialization makes pointer from integer without a cast
  624. ../src/drivers/driver_nl80211.c:4151: error: array type has incomplete element type
  625. ../src/drivers/driver_nl80211.c:4152: error: array index in non-array initializer
  626. ../src/drivers/driver_nl80211.c:4152: error: (near initialization for ‘reg_policy’)
  627. ../src/drivers/driver_nl80211.c:4152: error: field name not in record or union initializer
  628. ../src/drivers/driver_nl80211.c:4152: error: (near initialization for ‘reg_policy’)
  629. ../src/drivers/driver_nl80211.c:4152: error: ‘NLA_U32’ undeclared (first use in this function)
  630. ../src/drivers/driver_nl80211.c:4153: error: array index in non-array initializer
  631. ../src/drivers/driver_nl80211.c:4153: error: (near initialization for ‘reg_policy’)
  632. ../src/drivers/driver_nl80211.c:4153: error: field name not in record or union initializer
  633. ../src/drivers/driver_nl80211.c:4153: error: (near initialization for ‘reg_policy’)
  634. ../src/drivers/driver_nl80211.c:4154: error: array index in non-array initializer
  635. ../src/drivers/driver_nl80211.c:4154: error: (near initialization for ‘reg_policy’)
  636. ../src/drivers/driver_nl80211.c:4154: error: field name not in record or union initializer
  637. ../src/drivers/driver_nl80211.c:4154: error: (near initialization for ‘reg_policy’)
  638. ../src/drivers/driver_nl80211.c:4155: error: array index in non-array initializer
  639. ../src/drivers/driver_nl80211.c:4155: error: (near initialization for ‘reg_policy’)
  640. ../src/drivers/driver_nl80211.c:4155: error: field name not in record or union initializer
  641. ../src/drivers/driver_nl80211.c:4155: error: (near initialization for ‘reg_policy’)
  642. ../src/drivers/driver_nl80211.c:4156: error: array index in non-array initializer
  643. ../src/drivers/driver_nl80211.c:4156: error: (near initialization for ‘reg_policy’)
  644. ../src/drivers/driver_nl80211.c:4156: error: field name not in record or union initializer
  645. ../src/drivers/driver_nl80211.c:4156: error: (near initialization for ‘reg_policy’)
  646. ../src/drivers/driver_nl80211.c:4157: error: array index in non-array initializer
  647. ../src/drivers/driver_nl80211.c:4157: error: (near initialization for ‘reg_policy’)
  648. ../src/drivers/driver_nl80211.c:4157: error: field name not in record or union initializer
  649. ../src/drivers/driver_nl80211.c:4157: error: (near initialization for ‘reg_policy’)
  650. ../src/drivers/driver_nl80211.c:4166: error: ‘NL_SKIP’ undeclared (first use in this function)
  651. ../src/drivers/driver_nl80211.c:4173: error: expected ‘;’ before ‘{’ token
  652. ../src/drivers/driver_nl80211.c:4151: warning: unused variable ‘reg_policy’
  653. ../src/drivers/driver_nl80211.c:4149: warning: unused variable ‘tb_rule’
  654. ../src/drivers/driver_nl80211.c:4145: warning: unused variable ‘results’
  655. ../src/drivers/driver_nl80211.c: In function ‘nl80211_set_ht40_flags’:
  656. ../src/drivers/driver_nl80211.c:4195: warning: assignment makes pointer from integer without a cast
  657. ../src/drivers/driver_nl80211.c:4199: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  658. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  659. ../src/drivers/driver_nl80211.c:4200: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  660. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  661. ../src/drivers/driver_nl80211.c:4200: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  662. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  663. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_get_hw_feature_data’:
  664. ../src/drivers/driver_nl80211.c:4218: warning: assignment makes pointer from integer without a cast
  665. ../src/drivers/driver_nl80211.c:4222: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  666. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  667. ../src/drivers/driver_nl80211.c:4226: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  668. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  669. ../src/drivers/driver_nl80211.c:4226: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  670. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  671. ../src/drivers/driver_nl80211.c:4231: warning: label ‘nla_put_failure’ defined but not used
  672. ../src/drivers/driver_nl80211.c: In function ‘nl80211_set_ap_isolate’:
  673. ../src/drivers/driver_nl80211.c:4342: warning: assignment makes pointer from integer without a cast
  674. ../src/drivers/driver_nl80211.c:4346: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  675. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  676. ../src/drivers/driver_nl80211.c:4351: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  677. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  678. ../src/drivers/driver_nl80211.c:4352: warning: label ‘nla_put_failure’ defined but not used
  679. ../src/drivers/driver_nl80211.c: In function ‘nl80211_set_bss’:
  680. ../src/drivers/driver_nl80211.c:4363: warning: assignment makes pointer from integer without a cast
  681. ../src/drivers/driver_nl80211.c:4367: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  682. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  683. ../src/drivers/driver_nl80211.c:4379: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  684. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  685. ../src/drivers/driver_nl80211.c:4380: warning: label ‘nla_put_failure’ defined but not used
  686. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_set_ap’:
  687. ../src/drivers/driver_nl80211.c:4402: warning: assignment makes pointer from integer without a cast
  688. ../src/drivers/driver_nl80211.c:4411: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  689. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  690. ../src/drivers/driver_nl80211.c:4511: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  691. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  692. ../src/drivers/driver_nl80211.c:4529: warning: label ‘nla_put_failure’ defined but not used
  693. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_set_freq’:
  694. ../src/drivers/driver_nl80211.c:4545: warning: assignment makes pointer from integer without a cast
  695. ../src/drivers/driver_nl80211.c:4549: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  696. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  697. ../src/drivers/driver_nl80211.c:4570: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  698. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  699. ../src/drivers/driver_nl80211.c:4576: warning: label ‘nla_put_failure’ defined but not used
  700. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_sta_add’:
  701. ../src/drivers/driver_nl80211.c:4614: warning: assignment makes pointer from integer without a cast
  702. ../src/drivers/driver_nl80211.c:4619: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  703. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  704. ../src/drivers/driver_nl80211.c:4641: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  705. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  706. ../src/drivers/driver_nl80211.c:4649: warning: label ‘nla_put_failure’ defined but not used
  707. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_sta_remove’:
  708. ../src/drivers/driver_nl80211.c:4662: warning: assignment makes pointer from integer without a cast
  709. ../src/drivers/driver_nl80211.c:4666: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  710. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  711. ../src/drivers/driver_nl80211.c:4672: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  712. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  713. ../src/drivers/driver_nl80211.c:4676: warning: label ‘nla_put_failure’ defined but not used
  714. ../src/drivers/driver_nl80211.c: In function ‘nl80211_remove_iface’:
  715. ../src/drivers/driver_nl80211.c:4692: warning: assignment makes pointer from integer without a cast
  716. ../src/drivers/driver_nl80211.c:4696: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  717. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  718. ../src/drivers/driver_nl80211.c:4699: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  719. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  720. ../src/drivers/driver_nl80211.c: In function ‘nl80211_create_iface_once’:
  721. ../src/drivers/driver_nl80211.c:4741: warning: assignment makes pointer from integer without a cast
  722. ../src/drivers/driver_nl80211.c:4745: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  723. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  724. ../src/drivers/driver_nl80211.c:4753: warning: assignment makes pointer from integer without a cast
  725. ../src/drivers/driver_nl80211.c:4769: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  726. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  727. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_sta_set_flags’:
  728. ../src/drivers/driver_nl80211.c:5308: warning: assignment makes pointer from integer without a cast
  729. ../src/drivers/driver_nl80211.c:5312: warning: assignment makes pointer from integer without a cast
  730. ../src/drivers/driver_nl80211.c:5318: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  731. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  732. ../src/drivers/driver_nl80211.c:5353: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  733. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  734. ../src/drivers/driver_nl80211.c: In function ‘nl80211_leave_ibss’:
  735. ../src/drivers/driver_nl80211.c:5399: warning: assignment makes pointer from integer without a cast
  736. ../src/drivers/driver_nl80211.c:5403: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  737. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  738. ../src/drivers/driver_nl80211.c:5405: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  739. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  740. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_ibss’:
  741. ../src/drivers/driver_nl80211.c:5439: warning: assignment makes pointer from integer without a cast
  742. ../src/drivers/driver_nl80211.c:5443: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  743. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  744. ../src/drivers/driver_nl80211.c:5459: warning: passing argument 2 of ‘nl80211_set_conn_keys’ from incompatible pointer type
  745. ../src/drivers/driver_nl80211.c:3554: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  746. ../src/drivers/driver_nl80211.c:5471: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  747. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  748. ../src/drivers/driver_nl80211.c: In function ‘nl80211_get_assoc_bssid’:
  749. ../src/drivers/driver_nl80211.c:5504: warning: assignment makes pointer from integer without a cast
  750. ../src/drivers/driver_nl80211.c:5508: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  751. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  752. ../src/drivers/driver_nl80211.c:5512: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  753. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  754. ../src/drivers/driver_nl80211.c:5512: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  755. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  756. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_connect’:
  757. ../src/drivers/driver_nl80211.c:5554: warning: assignment makes pointer from integer without a cast
  758. ../src/drivers/driver_nl80211.c:5559: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  759. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  760. ../src/drivers/driver_nl80211.c:5684: warning: passing argument 2 of ‘nl80211_set_conn_keys’ from incompatible pointer type
  761. ../src/drivers/driver_nl80211.c:3554: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  762. ../src/drivers/driver_nl80211.c:5688: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  763. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  764. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_associate’:
  765. ../src/drivers/driver_nl80211.c:5738: warning: assignment makes pointer from integer without a cast
  766. ../src/drivers/driver_nl80211.c:5744: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  767. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  768. ../src/drivers/driver_nl80211.c:5834: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  769. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  770. ../src/drivers/driver_nl80211.c: In function ‘nl80211_set_mode’:
  771. ../src/drivers/driver_nl80211.c:5861: warning: assignment makes pointer from integer without a cast
  772. ../src/drivers/driver_nl80211.c:5865: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  773. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  774. ../src/drivers/driver_nl80211.c:5869: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  775. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  776. ../src/drivers/driver_nl80211.c:5873: warning: label ‘nla_put_failure’ defined but not used
  777. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_set_supp_port’:
  778. ../src/drivers/driver_nl80211.c:6002: warning: assignment makes pointer from integer without a cast
  779. ../src/drivers/driver_nl80211.c:6006: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  780. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  781. ../src/drivers/driver_nl80211.c:6018: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  782. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  783. ../src/drivers/driver_nl80211.c:6019: warning: label ‘nla_put_failure’ defined but not used
  784. ../src/drivers/driver_nl80211.c: At top level:
  785. ../src/drivers/driver_nl80211.c:6045: warning: ‘struct nl_msg’ declared inside parameter list
  786. ../src/drivers/driver_nl80211.c: In function ‘get_key_handler’:
  787. ../src/drivers/driver_nl80211.c:6048: warning: initialization makes pointer from integer without a cast
  788. ../src/drivers/driver_nl80211.c:6061: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
  789. /usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
  790. ../src/drivers/driver_nl80211.c:6062: error: ‘NL_SKIP’ undeclared (first use in this function)
  791. ../src/drivers/driver_nl80211.c: In function ‘i802_get_seqnum’:
  792. ../src/drivers/driver_nl80211.c:6073: warning: assignment makes pointer from integer without a cast
  793. ../src/drivers/driver_nl80211.c:6077: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  794. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  795. ../src/drivers/driver_nl80211.c:6086: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  796. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  797. ../src/drivers/driver_nl80211.c:6086: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  798. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  799. ../src/drivers/driver_nl80211.c:6087: warning: label ‘nla_put_failure’ defined but not used
  800. ../src/drivers/driver_nl80211.c: In function ‘i802_set_rate_sets’:
  801. ../src/drivers/driver_nl80211.c:6103: warning: assignment makes pointer from integer without a cast
  802. ../src/drivers/driver_nl80211.c:6107: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  803. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  804. ../src/drivers/driver_nl80211.c:6116: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  805. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  806. ../src/drivers/driver_nl80211.c:6117: warning: label ‘nla_put_failure’ defined but not used
  807. ../src/drivers/driver_nl80211.c: In function ‘i802_set_rts’:
  808. ../src/drivers/driver_nl80211.c:6130: warning: assignment makes pointer from integer without a cast
  809. ../src/drivers/driver_nl80211.c:6139: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  810. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  811. ../src/drivers/driver_nl80211.c:6143: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  812. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  813. ../src/drivers/driver_nl80211.c:6147: warning: label ‘nla_put_failure’ defined but not used
  814. ../src/drivers/driver_nl80211.c: In function ‘i802_set_frag’:
  815. ../src/drivers/driver_nl80211.c:6163: warning: assignment makes pointer from integer without a cast
  816. ../src/drivers/driver_nl80211.c:6172: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  817. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  818. ../src/drivers/driver_nl80211.c:6176: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  819. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  820. ../src/drivers/driver_nl80211.c:6180: warning: label ‘nla_put_failure’ defined but not used
  821. ../src/drivers/driver_nl80211.c: In function ‘i802_flush’:
  822. ../src/drivers/driver_nl80211.c:6194: warning: assignment makes pointer from integer without a cast
  823. ../src/drivers/driver_nl80211.c:6198: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  824. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  825. ../src/drivers/driver_nl80211.c:6206: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  826. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  827. ../src/drivers/driver_nl80211.c:6207: warning: label ‘nla_put_failure’ defined but not used
  828. ../src/drivers/driver_nl80211.c: At top level:
  829. ../src/drivers/driver_nl80211.c:6213: warning: ‘struct nl_msg’ declared inside parameter list
  830. ../src/drivers/driver_nl80211.c: In function ‘get_sta_handler’:
  831. ../src/drivers/driver_nl80211.c:6216: warning: initialization makes pointer from integer without a cast
  832. ../src/drivers/driver_nl80211.c:6219: error: array type has incomplete element type
  833. ../src/drivers/driver_nl80211.c:6220: error: array index in non-array initializer
  834. ../src/drivers/driver_nl80211.c:6220: error: (near initialization for ‘stats_policy’)
  835. ../src/drivers/driver_nl80211.c:6220: error: field name not in record or union initializer
  836. ../src/drivers/driver_nl80211.c:6220: error: (near initialization for ‘stats_policy’)
  837. ../src/drivers/driver_nl80211.c:6220: error: ‘NLA_U32’ undeclared (first use in this function)
  838. ../src/drivers/driver_nl80211.c:6221: error: array index in non-array initializer
  839. ../src/drivers/driver_nl80211.c:6221: error: (near initialization for ‘stats_policy’)
  840. ../src/drivers/driver_nl80211.c:6221: error: field name not in record or union initializer
  841. ../src/drivers/driver_nl80211.c:6221: error: (near initialization for ‘stats_policy’)
  842. ../src/drivers/driver_nl80211.c:6222: error: array index in non-array initializer
  843. ../src/drivers/driver_nl80211.c:6222: error: (near initialization for ‘stats_policy’)
  844. ../src/drivers/driver_nl80211.c:6222: error: field name not in record or union initializer
  845. ../src/drivers/driver_nl80211.c:6222: error: (near initialization for ‘stats_policy’)
  846. ../src/drivers/driver_nl80211.c:6223: error: array index in non-array initializer
  847. ../src/drivers/driver_nl80211.c:6223: error: (near initialization for ‘stats_policy’)
  848. ../src/drivers/driver_nl80211.c:6223: error: field name not in record or union initializer
  849. ../src/drivers/driver_nl80211.c:6223: error: (near initialization for ‘stats_policy’)
  850. ../src/drivers/driver_nl80211.c:6224: error: array index in non-array initializer
  851. ../src/drivers/driver_nl80211.c:6224: error: (near initialization for ‘stats_policy’)
  852. ../src/drivers/driver_nl80211.c:6224: error: field name not in record or union initializer
  853. ../src/drivers/driver_nl80211.c:6224: error: (near initialization for ‘stats_policy’)
  854. ../src/drivers/driver_nl80211.c:6238: error: ‘NL_SKIP’ undeclared (first use in this function)
  855. ../src/drivers/driver_nl80211.c:6219: warning: unused variable ‘stats_policy’
  856. ../src/drivers/driver_nl80211.c: In function ‘i802_read_sta_data’:
  857. ../src/drivers/driver_nl80211.c:6272: warning: assignment makes pointer from integer without a cast
  858. ../src/drivers/driver_nl80211.c:6276: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  859. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  860. ../src/drivers/driver_nl80211.c:6281: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  861. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  862. ../src/drivers/driver_nl80211.c:6281: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  863. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  864. ../src/drivers/driver_nl80211.c:6282: warning: label ‘nla_put_failure’ defined but not used
  865. ../src/drivers/driver_nl80211.c: In function ‘i802_set_tx_queue_params’:
  866. ../src/drivers/driver_nl80211.c:6296: warning: assignment makes pointer from integer without a cast
  867. ../src/drivers/driver_nl80211.c:6300: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  868. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  869. ../src/drivers/driver_nl80211.c:6304: warning: assignment makes pointer from integer without a cast
  870. ../src/drivers/driver_nl80211.c:6309: warning: assignment makes pointer from integer without a cast
  871. ../src/drivers/driver_nl80211.c:6338: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  872. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  873. ../src/drivers/driver_nl80211.c: In function ‘i802_set_sta_vlan’:
  874. ../src/drivers/driver_nl80211.c:6355: warning: assignment makes pointer from integer without a cast
  875. ../src/drivers/driver_nl80211.c:6359: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  876. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  877. ../src/drivers/driver_nl80211.c:6367: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  878. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  879. ../src/drivers/driver_nl80211.c:6375: warning: label ‘nla_put_failure’ defined but not used
  880. ../src/drivers/driver_nl80211.c: At top level:
  881. ../src/drivers/driver_nl80211.c:6932: warning: ‘struct nl_msg’ declared inside parameter list
  882. ../src/drivers/driver_nl80211.c: In function ‘cookie_handler’:
  883. ../src/drivers/driver_nl80211.c:6935: warning: initialization makes pointer from integer without a cast
  884. ../src/drivers/driver_nl80211.c:6941: error: ‘NL_SKIP’ undeclared (first use in this function)
  885. ../src/drivers/driver_nl80211.c: In function ‘nl80211_send_frame_cmd’:
  886. ../src/drivers/driver_nl80211.c:6954: warning: assignment makes pointer from integer without a cast
  887. ../src/drivers/driver_nl80211.c:6958: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  888. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  889. ../src/drivers/driver_nl80211.c:6971: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  890. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  891. ../src/drivers/driver_nl80211.c:6971: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  892. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  893. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_send_action_cancel_wait’:
  894. ../src/drivers/driver_nl80211.c:7038: warning: assignment makes pointer from integer without a cast
  895. ../src/drivers/driver_nl80211.c:7042: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  896. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  897. ../src/drivers/driver_nl80211.c:7045: warning: implicit declaration of function ‘NLA_PUT_U64’
  898. ../src/drivers/driver_nl80211.c:7047: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  899. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  900. ../src/drivers/driver_nl80211.c:7053: warning: label ‘nla_put_failure’ defined but not used
  901. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_remain_on_channel’:
  902. ../src/drivers/driver_nl80211.c:7067: warning: assignment makes pointer from integer without a cast
  903. ../src/drivers/driver_nl80211.c:7071: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  904. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  905. ../src/drivers/driver_nl80211.c:7078: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  906. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  907. ../src/drivers/driver_nl80211.c:7078: warning: passing argument 3 of ‘send_and_recv_msgs’ from incompatible pointer type
  908. ../src/drivers/driver_nl80211.c:398: note: expected ‘int (*)(struct nl_msg *, void *)’ but argument is of type ‘int (*)(struct nl_msg *, void *)’
  909. ../src/drivers/driver_nl80211.c:7091: warning: label ‘nla_put_failure’ defined but not used
  910. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_cancel_remain_on_channel’:
  911. ../src/drivers/driver_nl80211.c:7114: warning: assignment makes pointer from integer without a cast
  912. ../src/drivers/driver_nl80211.c:7118: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  913. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  914. ../src/drivers/driver_nl80211.c:7123: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  915. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  916. ../src/drivers/driver_nl80211.c:7129: warning: label ‘nla_put_failure’ defined but not used
  917. ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_probe_req_report’:
  918. ../src/drivers/driver_nl80211.c:7166: warning: passing argument 2 of ‘nl_create_handles’ from incompatible pointer type
  919. ../src/drivers/driver_nl80211.c:111: note: expected ‘struct nl_cb *’ but argument is of type ‘struct nl_cb *’
  920. ../src/drivers/driver_nl80211.c: In function ‘nl80211_disable_11b_rates’:
  921. ../src/drivers/driver_nl80211.c:7194: warning: assignment makes pointer from integer without a cast
  922. ../src/drivers/driver_nl80211.c:7198: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  923. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  924. ../src/drivers/driver_nl80211.c:7201: warning: assignment makes pointer from integer without a cast
  925. ../src/drivers/driver_nl80211.c:7210: warning: assignment makes pointer from integer without a cast
  926. ../src/drivers/driver_nl80211.c:7221: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  927. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  928. ../src/drivers/driver_nl80211.c: In function ‘nl80211_signal_monitor’:
  929. ../src/drivers/driver_nl80211.c:7328: warning: assignment makes pointer from integer without a cast
  930. ../src/drivers/driver_nl80211.c:7332: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  931. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  932. ../src/drivers/driver_nl80211.c:7336: warning: assignment makes pointer from integer without a cast
  933. ../src/drivers/driver_nl80211.c:7344: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  934. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  935. ../src/drivers/driver_nl80211.c:7348: warning: label ‘nla_put_failure’ defined but not used
  936. ../src/drivers/driver_nl80211.c: In function ‘nl80211_global_deinit’:
  937. ../src/drivers/driver_nl80211.c:7458: warning: implicit declaration of function ‘genl_family_put’
  938. ../src/drivers/driver_nl80211.c: In function ‘nl80211_pmkid’:
  939. ../src/drivers/driver_nl80211.c:7484: warning: assignment makes pointer from integer without a cast
  940. ../src/drivers/driver_nl80211.c:7488: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  941. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  942. ../src/drivers/driver_nl80211.c:7496: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  943. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  944. ../src/drivers/driver_nl80211.c:7497: warning: label ‘nla_put_failure’ defined but not used
  945. ../src/drivers/driver_nl80211.c: In function ‘nl80211_set_rekey_info’:
  946. ../src/drivers/driver_nl80211.c:7536: warning: assignment makes pointer from integer without a cast
  947. ../src/drivers/driver_nl80211.c:7540: warning: passing argument 2 of ‘nl80211_cmd’ from incompatible pointer type
  948. ../src/drivers/driver_nl80211.c:471: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  949. ../src/drivers/driver_nl80211.c:7544: warning: assignment makes pointer from integer without a cast
  950. ../src/drivers/driver_nl80211.c:7555: warning: passing argument 2 of ‘send_and_recv_msgs’ from incompatible pointer type
  951. ../src/drivers/driver_nl80211.c:398: note: expected ‘struct nl_msg *’ but argument is of type ‘struct nl_msg *’
  952. make: *** [../src/drivers/driver_nl80211.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement