Skip to content

Commit 36d8230

Browse files
fabiobaltierijhedberg
authored andcommitted
net: bt: enable solicit node multicast group registration
6lowpan over BLE should work without solicit node multicast messages according to RFC7668[1], but that requires Neighbor Solicitation with Address Registration Option, which is currently not implemented in either Zephyr or Linux. This is causing the router to fallback to normal neighbor solicitation based discovery, but the NS frames are being discarded in the host stack because the solicit node multicast groups are not registered. This drops the NET_L2_MULTICAST_SKIP_JOIN_SOLICIT_NODE as a workaround and adds a TODO about it. [1] https://tools.ietf.org/html/rfc7668#section-3.2.3 Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 232851a commit 36d8230

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

subsys/net/l2/bluetooth/bluetooth.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ static int net_bt_enable(struct net_if *iface, bool state)
139139

140140
static enum net_l2_flags net_bt_flags(struct net_if *iface)
141141
{
142-
return NET_L2_MULTICAST | NET_L2_MULTICAST_SKIP_JOIN_SOLICIT_NODE;
142+
/* TODO: add NET_L2_MULTICAST_SKIP_JOIN_SOLICIT_NODE once the stack
143+
* supports Address Registration Option for neighbor discovery.
144+
*/
145+
return NET_L2_MULTICAST;
143146
}
144147

145148
NET_L2_INIT(BLUETOOTH_L2, net_bt_recv, net_bt_send,

0 commit comments

Comments
 (0)