Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp726408imi; Thu, 21 Jul 2022 09:43:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uyYE0ZhZ1QnHcwDosIiHiq39RnU1cGXbuzIDnX764zkDfZdkRMLbMlCZixFy5akAx/ilO/ X-Received: by 2002:a17:906:9be0:b0:72b:4600:e9ce with SMTP id de32-20020a1709069be000b0072b4600e9cemr40797431ejc.224.1658421787846; Thu, 21 Jul 2022 09:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658421787; cv=none; d=google.com; s=arc-20160816; b=VKz0Mk10XOY54eVDl1Jq97rDSSxVNodG+3DB0hCBbPLnnAPdy0VS3pDn7WCsgDAH2c oyo6VQScOD8jQgu2d9HT2hd9T7Ts6Gdr7FHjgDYJ8NlPKKCOMLxeCX1pSgt8XH/rblxU je6iZko6TNGClp9TRFGdrV9XF8v64OJL4cKee/jYYqLm0Uv5HcyUVzZFeI6wM/cbQFqJ 8j5NvfJAMqmHScw/PMbKtcb+DRvCGsaHyAQLODk1WgcZpzhGsmikhq9ip9OIAUdAfgUf 1/0br2ZK+JATPX/sI3mrzFDed0BYAwgvuRUtgBS+AmYYjVmAvfa2H7P8BSaH9K7Po8ks 59Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding:date:to :from:subject:message-id:dkim-signature; bh=x3V4SAM0Xt6PqVdOpzXw2PMZwn8ObF/lqcet+/Wo5PE=; b=HR4IqXjqw7vyAVUaqjXZ6tulHnQ3O0cbTImqzE3Dh3MZFRPauypbAVloJPH2SokU2U 6IKSYZVNgxwO8BCJPwYi378lnBWa7rEkpHQ0vF0hbyIcpcDZaLhzy+0JB8KetEzR3j3R /bC7y+SrbqOoOR9VQYXNvJbMNDAtckgqNR+LgXS5vAnkxKXI1NpmK0KHiGntZxI9520S eT0Sc/uRl4mY6Ir91bTCxXDbWVoY4sfCyNBWnnbnfFDMX8PS5n6rq0ptE9o/nzD7vava HQA2cOJLnFcOhZg3q6Bm0bisMcQttFuVZqvoDuSQiiyR1kJyigOAs1Cfkr/Qd2YOzcTe 9Ncg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=oLmhbTXm; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa20-20020a1709076d1400b0072f2f07ca4asi3240384ejc.585.2022.07.21.09.42.30; Thu, 21 Jul 2022 09:43:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=oLmhbTXm; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233538AbiGUQam (ORCPT + 99 others); Thu, 21 Jul 2022 12:30:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231906AbiGUQai (ORCPT ); Thu, 21 Jul 2022 12:30:38 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80196459AF for ; Thu, 21 Jul 2022 09:30:37 -0700 (PDT) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LpdN81hsRz9sSr for ; Thu, 21 Jul 2022 18:30:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1658421032; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x3V4SAM0Xt6PqVdOpzXw2PMZwn8ObF/lqcet+/Wo5PE=; b=oLmhbTXmH6otRN01iUmlN6aAcJxRnbMathVLusi0HIdE6Vo3oxkLsgcznAlSilAdpzcaQx S82mt4KLK1xwgcCg2mNxCYtSnbDP5brNLyXu6vcG5U9S6z9wykC+ZusroGIA5WbQIJFBS1 AafBh2oMdpp5Y4GpO5fnp+lmhlzN281Vt4daaxS4ovh3oM41iE/TSynQX1oGrRSuzxGiz1 OPrmp1ycOdEKnxh090fzo0JJ0/J4uCnOgKp3MVBsPJzXBSwxJujaPE7h0UEZP4IZLnykHt EdMgrsLIfj9/GK32RMEUx4uTbIqA5bg67l6wXp6cZPc+8alkgjF2fPUYF/rEZg== Message-ID: Subject: bnep: Can't add bnep0 to the bridge btnap0: Invalid argument(22) From: Dylan Van Assche To: linux-bluetooth@vger.kernel.org Date: Thu, 21 Jul 2022 18:30:31 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, I'm trying to setup a Bluetooth hotspot using NAP with BlueZ and NetworkManager. However, I cannot fix the following error: bnep: Can't add bnep0 to the bridge btnap0: Invalid argument(22) I have created a network bridge as followed: brctl addbr btnap0 and used test-nap [1] as followed: test-nap btnap0 when the client connect, you can see in the logs that BlueZ tries to link the bnep0 interface it is creating with the btnap0 bridge, but fails to do that. Logs: profiles/network/server.c:confirm_event() BNEP: incoming connect from XX:XX:XX:XX:XX:XX profiles/network/bnep.c:bnep_getsuppfeat() supported features: 0x1 profiles/network/bnep.c:bnep_add_to_bridge() bnep: Can't add bnep0 to the bridge btnap0: Invalid argument(22) profiles/network/server.c:bnep_setup() BNEP server cannot be added Environment: BlueZ 5.64 postmarketOS edge / Alpine Linux (musl libc) Qualcomm wcn3990 Bluetooth adaptor Linux 5.18.3 (arm64) Did I miss something to set this up? Kind regards, Dylan Van Assche [1] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/test-nap