wlcore: let AP support allmulticast for MDNS. It can be enabled by bringing up the interface with ip command with the argument allmulticast on
PATCH 1/1 wlcore: let AP support allmulticast for MDNS. It can be enabled by bringing up the interface with ip command with the argument allmulticast on
Let AP support allmulticast for MDNS.
It can be enabled by bringing up the interface with ip command with the argument allmulticast on
--- drivers/net/wireless/ti/wlcore/main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/net/wireless/ti/wlcore/main.c +14 -0
@@ -3281,6 +3281,20 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw,if (ret <0 ) goto out_sleep; } + +/* +* If interface in AP mode and created with allmulticast then disable +* the firmware filters so that all multicast packets are passed +* This is mandatory for MDNS based discovery protocols +*/ +if (wlvif->bss_type ==BSS_TYPE_AP_BSS ) { +if (*total &FIF_ALLMULTI ) + ret =wl1271_acx_group_address_tbl (wl, wlvif, + false, +NULL ,0 ); + + } + }/*
Signature · 1 line
2.11.0
Quoted 4 lines · Iain Hunter
Let AP support allmulticast for MDNS.
It can be enabled by bringing up the interface with ip command with the argument allmulticast onSigned-off-by Iain Hunter <[email protected]>
I see your patch now in patchwork (twice actually):
https://patchwork.kernel.org/patch/9545223/
But there's a problem with the title, you just copied the commit log as the title. The format should be something like this (also please word wrap the commit log):
----------------------------------------------------------------------
wlcore: disable firmware multicast filter in AP mode
Let AP support allmulticast for MDNS. It can be enabled by bringing up the interface with ip command with the argument allmulticast on.
----------------------------------------------------------------------
You can see examples from patchwork, like this iwlwifi patch:
https://patchwork.kernel.org/patch/9544763/
Signature · 1 line
Kalle Valo