1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-20 05:00:36 +00:00
rtl8812au/os_dep/linux
Christian Bremvåg 8f04e62ca7
Fix incorrect response to SIOCGIWESSID
When not associated with an AP, wifi device drivers should respond to the
SIOCGIWESSID ioctl with a zero-length string for the SSID, which is the
behavior expected by dhcpcd.

Currently, this driver returns an error code (-1) from the ioctl call,
which causes dhcpcd to assume that the device is not a wireless interface
and therefore it fails to work correctly with it thereafter.

When not associated with an AP, other wifi device drivers respond to the SIOCGIWESSID ioctl with a zero-length string for the SSID; this is the behaviour expected by dhcpcd.

This driver returns an error code (-1) from the ioctl call - this causes dhcpcd to assume that the device is not a wireless interface and therefore it fails to work correctly with it thereafter.

It would be good if the behaviour of this driver could be brought into line with that of other drivers for similar devices; that is for the response to SIOCGIWESSID to be a zero-length string and a success code rather than an error.
2019-08-16 22:53:33 +02:00
..
custom_gpio_linux.c Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
ioctl_cfg80211.c Upstream changed wireless band 2019-08-16 18:22:55 +02:00
ioctl_cfg80211.h Upload new v5.6.4.1 branch 2019-06-22 15:16:29 +02:00
ioctl_linux.c Fix incorrect response to SIOCGIWESSID 2019-08-16 22:53:33 +02:00
ioctl_mp.c Remove SetPowerTracking() and GetPowerTracking() 2019-08-16 17:36:52 +02:00
mlme_linux.c Remove signal handling from driver (software) 2019-08-16 22:11:06 +02:00
os_intfs.c Remove signal handling from driver (software) 2019-08-16 22:11:06 +02:00
recv_linux.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rhashtable.c Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rhashtable.h Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rtw_android.c Remove private ioctl's 2019-08-16 18:19:34 +02:00
rtw_cfgvendor.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rtw_cfgvendor.h Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rtw_proc.h Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rtw_rhashtable.c Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rtw_rhashtable.h Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
usb_intf.c Pushing minor cleanups .. 2019-08-16 22:49:56 +02:00
usb_ops_linux.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
wifi_regd.c Upstream changed wireless band 2019-08-16 18:22:55 +02:00
xmit_linux.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00