ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Gottschall <s.gottschall@dd-wrt.com>
To: Sven Eckelmann <sven@narfation.org>,
	ath10k@lists.infradead.org, Ben Greear <greearb@candelatech.com>
Subject: Re: EAP AP/VLAN: multicast not send to client
Date: Tue, 2 Feb 2021 10:12:45 +0100	[thread overview]
Message-ID: <a54d233a-7677-80d4-32e9-3cec6744e8c7@dd-wrt.com> (raw)
In-Reply-To: <2354947.QRssEMCmQP@ripper>


>> then it might be something different. i'm not sure at that point. but
>> consider that AP_VLAN is also used for WDS STA/WDS AP implementations.
>> so each wds station becomes a individual interface on ap side for
>> bridging. that might of course have a influence to broadcast/multicast
>> frames
> Interestingly, the WDS "mode" works perfectly fine  on the same hardware. So I
> have not a real idea what the difference is between EAP AP_VLAN and WDS (PSK)
> AP_VLAN at the moment.

mmh. l have a idea

try the following (this a patch in my tree) and check also the wmi 
services for this service flag which might be a difference between these 
firmwares

--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -9003,10 +9003,10 @@ int ath10k_mac_register(struct ath10k *ar)
                goto err_dfs_detector_exit;
        }

-       if (test_bit(WMI_SERVICE_PER_PACKET_SW_ENCRYPT, 
ar->wmi.svc_map)) {
+//     if (test_bit(WMI_SERVICE_PER_PACKET_SW_ENCRYPT, 
ar->wmi.svc_map)) {
                ar->hw->wiphy->interface_modes |= 
BIT(NL80211_IFTYPE_AP_VLAN);
                ar->hw->wiphy->software_iftypes |= 
BIT(NL80211_IFTYPE_AP_VLAN);
-       }
+//     }

        if (!ath_is_world_regd(&ar->ath_common.regulatory)) {
                ret = regulatory_hint(ar->hw->wiphy,

>
>> in addition the 10.4 firmware series has a special wmi flag which is not
>> used by ath10k, but solved alot of problems

>>   for me (in my case with
>> reauthentication)
>> WMI_VDEV_DISABLE_4_ADDR_SRC_LRN
>> this might be unrelated to your issue. but this flag must be set anyway
>> for proper work. but it isnt by default in all 10.4 firmwares.
> Good to know, thanks.
>
>>> For Ben Greear's firmware, the only workaround which I found until now was to
>>> set NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED to 1 to force mac80211 to send
>>> multicast as unicast.
>> so if its a pure multicast/unicast issue it could be also a basic rate
>> issue for ct firmwares.
> Interesting idea. Btw. I've also switched to sw crypto for a test just to make
> sure that there is no HW key problem.
>
> Kind regards,
> 	Sven

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2021-02-02  9:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 20:54 EAP AP/VLAN: multicast not send to client Sven Eckelmann
2021-02-02  7:04 ` Sebastian Gottschall
2021-02-02  8:23   ` Sven Eckelmann
2021-02-02  8:58     ` Sebastian Gottschall
2021-02-02  9:06       ` Sven Eckelmann
2021-02-02  9:12         ` Sebastian Gottschall [this message]
2021-02-02 10:12           ` Sven Eckelmann
2021-02-02 13:27             ` Ben Greear
2021-02-02 13:57               ` Sven Eckelmann
2021-02-07 16:50                 ` Ben Greear
2021-02-07 17:13                   ` Sven Eckelmann
2021-02-07 17:42                     ` Ben Greear
2021-02-08 20:32                       ` Sven Eckelmann
2021-02-08 20:50                         ` Ben Greear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a54d233a-7677-80d4-32e9-3cec6744e8c7@dd-wrt.com \
    --to=s.gottschall@dd-wrt.com \
    --cc=ath10k@lists.infradead.org \
    --cc=greearb@candelatech.com \
    --cc=sven@narfation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).