[RFCv2 0/6] Draft Software/Virtual AMP80211

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>

RFC for Software / Virtual _DRAFT_ implementation of Bluetooth High Speed
by using wireless driver. Currently it can be used for testing Bluetooth
A2MP protocol.

	RFCv2: Process basic HCI commands and basic data traffic; added skeleton
	for Netlink comms, took comments from reviewers.
	RFCv1: Initial release.

	Change names from vamp to <softamp|bt_softamp|etc>

Main ideas:
 - Use existing wireless infrastructure nl80211, mac80211.
 - Use virtual interface of type NL80211_IFTYPE_BLUETOOTH_AMP. Then all
drivers supporting virtual interface should work.

After modifying iw it will be enabled by adding new virtual interface.

# iw phy <physical device> interface add vamp type vamp
# iw dev
	Interface vamp
		ifindex 6
		type Virtual AMP
# hciconfig 
hci1:	Type: AMP  Bus: VIRTUAL
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	RX bytes:0 acl:0 sco:0 events:0 errors:0
	TX bytes:0 acl:0 sco:0 commands:0 errors:0

Andrei Emeltchenko (6):
  mac80211: softamp: Adds Bluetooth Software AMP
  mac80211: softamp: Adds build config option
  hwsim: Adds support for BT SOFTAMP for testing
  mac80211: softamp: Handle assoc request
  mac80211: softamp: Netlink interface to softamp
  mac80211: softamp: Handle data traffic

 drivers/net/wireless/mac80211_hwsim.c |    3 +-
 include/linux/ieee80211.h             |   13 +
 include/linux/nl80211.h               |    1 +
 net/mac80211/Kconfig                  |    9 +
 net/mac80211/Makefile                 |    2 +
 net/mac80211/ieee80211_i.h            |    5 +
 net/mac80211/iface.c                  |    9 +
 net/mac80211/rx.c                     |    4 +
 net/mac80211/sta_info.h               |    4 +
 net/mac80211/util.c                   |    1 +
 net/mac80211/virtual_amp.c            |  675 +++++++++++++++++++++++++++++++++
 net/mac80211/virtual_amp.h            |   96 +++++
 12 files changed, 821 insertions(+), 1 deletion(-)
 create mode 100644 net/mac80211/virtual_amp.c
 create mode 100644 net/mac80211/virtual_amp.h


To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Bluez Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Bluez Devel]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]

Add to Google Powered by Linux