AP mode support for TP-Link TL-WN722N V2 (Realtek RTL8188EU, USB ID 2357:010c)

Petr Vorel <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <20200505160853.GB16360@dell5510>
Hi,

does hostapd support AP mode for TP-Link TL-WN722N V2 (Realtek RTL8188EU, USB ID
2357:010c)?

When using rtl8188eu kernel module from staging [1] with
CONFIG_88EU_AP_MODE=y, AP mode does not work for neither nl80211 nor hostap driver.

Is it just configuration issue or it's just not supported?

# hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -19 (No such device)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x76c0d4f0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x76c0d4f0)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED
hostapd_cleanup(hapd=0x76f187c0 (wlan0))
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=0 drv_priv=0 -> hapd_deinit
hostapd_interface_free(0x76c0d4f0)
hostapd_interface_free: free hapd 0x76f187c0
hostapd_cleanup_iface(0x76c0d4f0)
hostapd_cleanup_iface_partial(0x76c0d4f0)
hostapd_cleanup_iface: free iface=0x76c0d4f0

$ cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=foo
channel=6
hw_mode=g
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

There are number of out-of-tree kernel modules: 8188eu, the very old official
one from TP-Link [2] for v4.3 (2015). There are other forks of this official
[2], [3]. [2] mentions Monitor Mode, which suggests there could be AP mode
working.

All of these projects contains wpa_0_8.conf [5]. This file is not referenced in
sources, scripts (see below) and suggest very old HostAP release.

Thanks for any info, hints.

Kind regards,
Petr

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/staging/rtl8188eu/
[2] https://static.tp-link.com/TL-WN722N(EU)_V2_161112_Linux.zip
[3] https://github.com/abhijeet2096/TL-WN722N-V2
[4] https://github.com/Mange/rtl8192eu-linux-driver
[5] https://github.com/abhijeet2096/TL-WN722N-V2/blob/master/wpa_0_8.conf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.