Return-path: Received: from senator.holtmann.net ([87.106.208.187]:47854 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012Ab2DRMQY (ORCPT ); Wed, 18 Apr 2012 08:16:24 -0400 Message-ID: <1334751359.16897.225.camel@aeonflux> (sfid-20120418_141628_473012_02A99E1B) Subject: Re: [RFCv1] mac80211: Adds Software / Virtual AMP 80211 From: Marcel Holtmann To: Andrei Emeltchenko Cc: Johannes Berg , linux-bluetooth@vger.kernel.org, linux-wireless@vger.kernel.org Date: Wed, 18 Apr 2012 14:15:59 +0200 In-Reply-To: <20120418121014.GD19228@aemeltch-MOBL1> References: <1334059909-20513-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1334059909-20513-2-git-send-email-Andrei.Emeltchenko.news@gmail.com> <4F846257.1060807@sipsolutions.net> <1334092668.16897.54.camel@aeonflux> <4F84A422.3030900@sipsolutions.net> <1334093378.16897.62.camel@aeonflux> <20120411070514.GB17779@aemeltch-MOBL1> <1334714841.3725.37.camel@jlt3.sipsolutions.net> <20120418112017.GC19228@aemeltch-MOBL1> <1334749879.16897.221.camel@aeonflux> <20120418121014.GD19228@aemeltch-MOBL1> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Andrei, > > This is also a little bit of confusing since FullMac cards will not > > create an AMP virtual interface. With them you just see the HCI AMP > > controller on the Bluetooth side. Can an AMP virtual interface be just > > virtual inside mac80211 or does it have to have a netdev attached to it? > > If we create virtual interface then netdev is allocated and we can handle > it with common tools. what common tools do you wanna use here. We actually do not wanna have them show up as netdev devices at all. AMP connections don't have IP addresses or anything else for that matter. We do not even need the statistics here since they will be counted within HCI AMP controller in the Bluetooth subsystem. If you wanna do IP over AMP, it would be via BNEP. And the netdev you are getting would come as bnep0 from the Bluetooth stack and not via the mac80211 stack. Regards Marcel