I am testing wifi now and found out that ping from bpi-r64 to connected device (my phone) is too long - several times > 1 second:
sa@bananapir64:~$ ping 172.30.1.143
PING 172.30.1.143 (172.30.1.143) 56(84) bytes of data.
64 bytes from 172.30.1.143: icmp_seq=1 ttl=64 time=1210 ms
64 bytes from 172.30.1.143: icmp_seq=2 ttl=64 time=201 ms
64 bytes from 172.30.1.143: icmp_seq=3 ttl=64 time=1356 ms
64 bytes from 172.30.1.143: icmp_seq=4 ttl=64 time=341 ms
64 bytes from 172.30.1.143: icmp_seq=5 ttl=64 time=774 ms
64 bytes from 172.30.1.143: icmp_seq=6 ttl=64 time=6.10 ms
64 bytes from 172.30.1.143: icmp_seq=7 ttl=64 time=193 ms
64 bytes from 172.30.1.143: icmp_seq=8 ttl=64 time=1354 ms
64 bytes from 172.30.1.143: icmp_seq=9 ttl=64 time=335 ms
64 bytes from 172.30.1.143: icmp_seq=10 ttl=64 time=769 ms
64 bytes from 172.30.1.143: icmp_seq=11 ttl=64 time=6.46 ms
64 bytes from 172.30.1.143: icmp_seq=12 ttl=64 time=199 ms
64 bytes from 172.30.1.143: icmp_seq=13 ttl=64 time=1349 ms
64 bytes from 172.30.1.143: icmp_seq=14 ttl=64 time=329 ms
64 bytes from 172.30.1.143: icmp_seq=15 ttl=64 time=763 ms
64 bytes from 172.30.1.143: icmp_seq=16 ttl=64 time=73.6 ms
^C
--- 172.30.1.143 ping statistics ---
16 packets transmitted, 16 received, 0% packet loss, time 91ms
rtt min/avg/max/mdev = 6.096/578.547/1355.555/489.164 ms, pipe 2
My hostapd.conf:
sa@bananapir64:~$ sed -E 's/^(wpa_passphrase|ssid)=(.*)/\1=***/g' /etc/hostapd/hostapd.conf
ctrl_interface=/var/run/hostapd
#ctrl_interface_group=0 # These 2 are just parameters so that the hostap daemon runs.
interface=wlan0
#interface=ap0
driver=nl80211
ssid=***
#2.4G
hw_mode=g
channel=1
#wmm_enabled=1
#5G-Support
#country_code=DE
#ieee80211n=1
#ieee80211d=1
#hw_mode=a
#channel=48
#security
#wpa=2
#wpa_passphrase=12345678
#wpa_key_mgmt=WPA-PSK
#wpa_pairwise=TKIP CCMP
#ignore_broadcast_ssid=0
auth_algs=1
#rsn_pairwise=CCMP
#macaddr_acl=0
#accept_mac_file=/etc/hostapd/acl_accept
#deny_mac_file=/etc/hostapd/acl_deny
# https://wiki.gentoo.org/wiki/Hostapd
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=***
It seems not fine. I have antenna connected to WF0 and phone 1 meter away.
Wifi analyzer shows -59dbm
Is it possible to reduce e.g. to 0.3 sec?