{"action":"created","issue":{"url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes/issues/69","repository_url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes","labels_url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes/issues/69/comments","events_url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes/issues/69/events","html_url":"https://github.com/pvaret/rtl8192cu-fixes/issues/69","id":135934379,"number":69,"title":"Arch Linux Rpi Fail to Make","user":{"login":"bass0324","id":2307502,"avatar_url":"https://avatars.githubusercontent.com/u/2307502?v=3","gravatar_id":"","url":"https://api.github.com/users/bass0324","html_url":"https://github.com/bass0324","followers_url":"https://api.github.com/users/bass0324/followers","following_url":"https://api.github.com/users/bass0324/following{/other_user}","gists_url":"https://api.github.com/users/bass0324/gists{/gist_id}","starred_url":"https://api.github.com/users/bass0324/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bass0324/subscriptions","organizations_url":"https://api.github.com/users/bass0324/orgs","repos_url":"https://api.github.com/users/bass0324/repos","events_url":"https://api.github.com/users/bass0324/events{/privacy}","received_events_url":"https://api.github.com/users/bass0324/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-24T02:39:42Z","updated_at":"2016-03-08T17:36:54Z","closed_at":null,"body":"Attempted to make this with the following in Makefile configuration for the Raspberry Pi Model B\r\n`EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT`\r\n\r\nError Output:\r\n```\r\nmake[1]: Entering directory '/usr/lib/modules/4.1.18-1-ARCH/build'\r\n  CC [M]  /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_indicate_disconnect':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:703:11: error: 'struct wireless_dev' has no member named 'sme_state'\r\n   if(pwdev->sme_state==CFG80211_SME_CONNECTING)\r\n           ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:703:24: error: 'CFG80211_SME_CONNECTING' undeclared (first use in this function)\r\n   if(pwdev->sme_state==CFG80211_SME_CONNECTING)\r\n                        ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:703:24: note: each undeclared identifier is reported only once for each function it appears in\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:706:16: error: 'struct wireless_dev' has no member named 'sme_state'\r\n   else if(pwdev->sme_state==CFG80211_SME_CONNECTED)\r\n                ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:706:29: error: 'CFG80211_SME_CONNECTED' undeclared (first use in this function)\r\n   else if(pwdev->sme_state==CFG80211_SME_CONNECTED)\r\n                             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_add_key':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:1418:35: warning: passing argument 2 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n   _rtw_memcpy(param->u.crypt.seq, params->seq, params->seq_len);\r\n                                   ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1398:13: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern void _rtw_memcpy(void* dec, void* sour, u32 sz);\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:1424:35: warning: passing argument 2 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n   _rtw_memcpy(param->u.crypt.key, params->key, params->key_len);\r\n                                   ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1398:13: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern void _rtw_memcpy(void* dec, void* sour, u32 sz);\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_get_station':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:1592:20: error: 'STATION_INFO_SIGNAL' undeclared (first use in this function)\r\n   sinfo->filled |= STATION_INFO_SIGNAL;\r\n                    ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:1595:20: error: 'STATION_INFO_TX_BITRATE' undeclared (first use in this function)\r\n   sinfo->filled |= STATION_INFO_TX_BITRATE;\r\n                    ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:1598:20: error: 'STATION_INFO_RX_PACKETS' undeclared (first use in this function)\r\n   sinfo->filled |= STATION_INFO_RX_PACKETS;\r\n                    ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:1601:20: error: 'STATION_INFO_TX_PACKETS' undeclared (first use in this function)\r\n   sinfo->filled |= STATION_INFO_TX_PACKETS;\r\n                    ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_connect':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2728:30: warning: passing argument 2 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n  _rtw_memcpy(ndis_ssid.Ssid, sme->ssid, sme->ssid_len);\r\n                              ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1398:13: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern void _rtw_memcpy(void* dec, void* sour, u32 sz);\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2763:42: warning: passing argument 2 of 'rtw_cfg80211_set_wpa_ie' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n  ret = rtw_cfg80211_set_wpa_ie(padapter, sme->ie, sme->ie_len);\r\n                                          ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2422:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n static int rtw_cfg80211_set_wpa_ie(_adapter *padapter, u8 *pie, size_t ielen)\r\n            ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2850:39: warning: passing argument 2 of 'rtw_set_802_11_connect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n  if (rtw_set_802_11_connect(padapter, sme->bssid, &ndis_ssid) == _FALSE) {\r\n                                       ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:26:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/rtw_ioctl_set.h:66:4: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n u8 rtw_set_802_11_connect(_adapter* padapter, u8 *bssid, NDIS_802_11_SSID *ssid);\r\n    ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_set_pmksa':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2983:20: warning: passing argument 1 of '_rtw_memcmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n  if ( _rtw_memcmp( pmksa->bssid, strZeroMacAddress, ETH_ALEN ) == _TRUE )\r\n                    ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1399:12: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern int _rtw_memcmp(void *dst, void *src, u32 sz);\r\n            ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2993:59: warning: passing argument 2 of '_rtw_memcmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n   if( _rtw_memcmp( psecuritypriv->PMKIDList[index].Bssid, pmksa->bssid, ETH_ALEN) ==_TRUE )\r\n                                                           ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1399:12: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern int _rtw_memcmp(void *dst, void *src, u32 sz);\r\n            ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:2997:56: warning: passing argument 2 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n    _rtw_memcpy( psecuritypriv->PMKIDList[index].PMKID, pmksa->pmkid, WLAN_PMKID_LEN);\r\n                                                        ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1398:13: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern void _rtw_memcpy(void* dec, void* sour, u32 sz);\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:3011:74: warning: passing argument 2 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n   _rtw_memcpy(psecuritypriv->PMKIDList[psecuritypriv->PMKIDIndex].Bssid, pmksa->bssid, ETH_ALEN);\r\n                                                                          ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1398:13: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern void _rtw_memcpy(void* dec, void* sour, u32 sz);\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:3012:74: warning: passing argument 2 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n   _rtw_memcpy(psecuritypriv->PMKIDList[psecuritypriv->PMKIDIndex].PMKID, pmksa->pmkid, WLAN_PMKID_LEN);\r\n                                                                          ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1398:13: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern void _rtw_memcpy(void* dec, void* sour, u32 sz);\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_del_pmksa':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:3037:59: warning: passing argument 2 of '_rtw_memcmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n   if( _rtw_memcmp( psecuritypriv->PMKIDList[index].Bssid, pmksa->bssid, ETH_ALEN) ==_TRUE )\r\n                                                           ^\r\nIn file included from /home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:23:0:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/include/osdep_service.h:1399:12: note: expected 'void *' but argument is of type 'const u8 * {aka const unsigned char *}'\r\n extern int _rtw_memcmp(void *dst, void *src, u32 sz);\r\n            ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_indicate_sta_assoc':\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:3092:18: error: 'STATION_INFO_ASSOC_REQ_IES' undeclared (first use in this function)\r\n   sinfo.filled = STATION_INFO_ASSOC_REQ_IES;\r\n                  ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c: At top level:\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5149:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]\r\n  .get_station = cfg80211_rtw_get_station,\r\n                 ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5149:17: note: (near initialization for 'rtw_cfg80211_ops.get_station')\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5164:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]\r\n  .add_virtual_intf = cfg80211_rtw_add_virtual_intf,\r\n                      ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5164:22: note: (near initialization for 'rtw_cfg80211_ops.add_virtual_intf')\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5177:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]\r\n  .add_station = cfg80211_rtw_add_station,\r\n                 ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5177:17: note: (near initialization for 'rtw_cfg80211_ops.add_station')\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5178:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]\r\n  .del_station = cfg80211_rtw_del_station,\r\n                 ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5178:17: note: (near initialization for 'rtw_cfg80211_ops.del_station')\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5179:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]\r\n  .change_station = cfg80211_rtw_change_station,\r\n                    ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5179:20: note: (near initialization for 'rtw_cfg80211_ops.change_station')\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5195:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]\r\n  .mgmt_tx = cfg80211_rtw_mgmt_tx,\r\n             ^\r\n/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.c:5195:13: note: (near initialization for 'rtw_cfg80211_ops.mgmt_tx')\r\nscripts/Makefile.build:258: recipe for target '/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o' failed\r\nmake[2]: *** [/home/alarm/rtl8192/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o] Error 1\r\nMakefile:1384: recipe for target '_module_/home/alarm/rtl8192/rtl8192cu-fixes' failed\r\nmake[1]: *** [_module_/home/alarm/rtl8192/rtl8192cu-fixes] Error 2\r\nmake[1]: Leaving directory '/usr/lib/modules/4.1.18-1-ARCH/build'\r\nMakefile:596: recipe for target 'modules' failed\r\nmake: *** [modules] Error 2\r\n```\r\n\r\nNeed to fix for support for nl80211 driver, and allow Wifi-Direct Interface.\r\n"},"comment":{"url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes/issues/comments/193882887","html_url":"https://github.com/pvaret/rtl8192cu-fixes/issues/69#issuecomment-193882887","issue_url":"https://api.github.com/repos/pvaret/rtl8192cu-fixes/issues/69","id":193882887,"user":{"login":"kyawthusoe314","id":16149670,"avatar_url":"https://avatars.githubusercontent.com/u/16149670?v=3","gravatar_id":"","url":"https://api.github.com/users/kyawthusoe314","html_url":"https://github.com/kyawthusoe314","followers_url":"https://api.github.com/users/kyawthusoe314/followers","following_url":"https://api.github.com/users/kyawthusoe314/following{/other_user}","gists_url":"https://api.github.com/users/kyawthusoe314/gists{/gist_id}","starred_url":"https://api.github.com/users/kyawthusoe314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyawthusoe314/subscriptions","organizations_url":"https://api.github.com/users/kyawthusoe314/orgs","repos_url":"https://api.github.com/users/kyawthusoe314/repos","events_url":"https://api.github.com/users/kyawthusoe314/events{/privacy}","received_events_url":"https://api.github.com/users/kyawthusoe314/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T17:36:54Z","updated_at":"2016-03-08T17:36:54Z","body":"Quite responsive! It's either my mistake or the fedora 23. Besides, 23 won't hibernate and that's another issues. I'd stick with Debian meanwhile.:) "}}