On 21 Apr 2011, at 14:04, Jeroen Avonts wrote: > > On 20 Apr 2011, at 17:27, Felix Fietkau wrote: > >> On 2011-04-20 4:16 PM, Jeroen Avonts wrote: >>> Hey, >>> >>> I'm testing the following setup with the svn backfire (18/04/2011 rev >>> 26713). I have an access point (192.168.1.253) configured with hostapd >>> using the following configuration: >>> >>> interface=wlan0 >>> bridge=br0 >>> driver=nl80211 >>> auth_algs=3 >>> debug=0 >>> logger_syslog=-1 >>> logger_syslog_level=2 >>> logger_stdout=-1 >>> logger_stdout_level=2 >>> dump_file=/tmp/hostapd.dump >>> beacon_int=100 >>> max_num_sta=255 >>> hw_mode=a >>> ieee80211n=1 >>> wmm_enabled=1 >>> ieee80211n=1 >>> wmm_enabled=1 >>> ht_capab=[TX-STBC][RX-STBC12][DELAYED-BA][MAX-AMSDU-7935] >>> channel=48 >>> rts_threshold=2347 >>> fragm_threshold=2346 >>> ssid=ntest >>> ctrl_interface=/var/run/hostapd >>> ctrl_interface_group=0 >>> ignore_broadcast_ssid=0 >> Did you add any modifications to the driver and/or hostapd? Because the ht >> capabilities contain features that are unsupported by both hardware and >> software, and when I put them in a config on my device for testing, hostapd >> rightfully refuses them. >> >> - Felix > Yes, I have yet I redid the test without any of my modifications with the > following configuration for hostapd: > > interface=wlan0 > driver=nl80211 > auth_algs=3 > debug=0 > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=2 > dump_file=/tmp/hostapd.dump > beacon_int=100 > max_num_sta=255 > hw_mode=a > ieee80211n=1 > wmm_enabled=1 > ht_capab= > channel=48 > rts_threshold=2347 > fragm_threshold=2346 > ssid=ntest > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ignore_broadcast_ssid=0 > > and the same setup as described above. In the trace, > https://euterpe.cmi.ua.ac.be/~javonts/tmp/duplicateDump2.pcap , the problem > arises only for ping reply sn: 4 and 'magically' resolves for the other > pings. Any thoughts? > > Regards > Jeroen > More information for the setup: I execute the following script on the AP:
#!/bin/bash cat >> /etc/hostapd/hostapd.conf << EOF interface=wlan0 driver=nl80211 auth_algs=3 debug=0 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 dump_file=/tmp/hostapd.dump beacon_int=100 max_num_sta=255 hw_mode=a ieee80211n=1 wmm_enabled=1 ht_capab= channel=48 rts_threshold=2347 fragm_threshold=2346 ssid=ntest ctrl_interface=/var/run/hostapd ctrl_interface_group=0 ignore_broadcast_ssid=0 EOF iw phy phy0 interface add wlan0 type managed ifconfig wlan0 192.168.1.253 hostapd /etc/hostapd/hostapd.conf and on the sta: #!/bin/bash iw phy phy0 interface add wlan0 type managed ifconfig wlan0 192.168.1.100 iw wlan0 connect ntest sleep 5 ping -c 10 192.168.1.253 The problem does not occur always, yet in https://euterpe.cmi.ua.ac.be/~javonts/tmp/duplicateDump3.pcap it occurs for every ping.
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel