Commit 1f866532 authored by Iain Hunter's avatar Iain Hunter Committed by Kalle Valo

wlcore: disable multicast filter in AP mode

Enable AP support for allmulticast for MDNS. It can be enabled by bringing
up the interface with ip command with argument allmulticast on
Signed-off-by: default avatarIain Hunter <i-hunter1@ti.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 3b03cc07
......@@ -3202,6 +3202,21 @@ 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);
if (ret < 0)
goto out_sleep;
}
}
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment