openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
738 stars 343 forks source link

mt7915 - no communication between ap clients #620

Open d3adme4t opened 2 years ago

d3adme4t commented 2 years ago

Hello!

I have a problem with my mt7915. MT7915 card(tested both on dbdc and non-dbdc versions) card is set as an access point (hostapd).

All clients are able to connect and communicate to AP host, and wire-connected hosts, but not each other. The same hostapd.conf works great with MT7615, but not 7915. For me, it seems like hostapd is set to ap_isolate=1 (I've tried to explicitly set it to 0 - no effect)

my hostapd.conf:

interface=wlan0
driver=nl80211
ssid=test
hw_mode=g
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40]
ap_isolate=0
ieee80211n=1
country_code=US
channel=6
macaddr_acl=0
wmm_enabled=1
auth_algs=3
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_passphrase=password

Ready to provide any additional info. Thank You for any advice.

ptpt52 commented 2 years ago

no such issue

client----AP----client

client to client talk ok for my test.

d3adme4t commented 2 years ago

What kernel version do You use?

UPD: I'm using 5.15.0 in the same way:

client----AP----client

or

client----AP----client 
          |
         br0

no Succes: only AP is accessible from both clients.

tcpdump shows 192.168.11.149 and 192.168.11.132 are AP clients :

tcpdump -enni wlp1s0 arp
dropped privs to pcap
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlp1s0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
23:18:56.773123 e0:cc:f8:84:c6:bc > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.11.149 tell 192.168.11.132, length 28
23:18:56.773214 e0:cc:f8:84:c6:bc > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.11.149 tell 192.168.11.132, length 28
23:18:56.774044 78:2b:46:d1:a5:8d > e0:cc:f8:84:c6:bc, ethertype ARP (0x0806), length 42: Reply 192.168.11.149 is-at 78:2b:46:d1:a5:8d, length 28
23:18:58.301576 e0:cc:f8:84:c6:bc > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.11.149 tell 192.168.11.132, length 28
23:18:58.301920 e0:cc:f8:84:c6:bc > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.11.149 tell 192.168.11.132, length 28
23:18:58.303607 78:2b:46:d1:a5:8d > e0:cc:f8:84:c6:bc, ethertype ARP (0x0806), length 42: Reply 192.168.11.149 is-at 78:2b:46:d1:a5:8d, length 28

If I got it correctly - arp request passes from one client to another, but the reply - don't.

If you have any questions or ideas I can answer, or to perform some tests.

Thank You!