[RFCv1] 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.
Please comment is this right way of implementing things like: using virtual
interface to enable AMP. Shall I use module instead? Shall I put files to
mac80211 or use other location? Is name "vamp" OK? Other variants are:
softamp, soft_amp, soft_amp80211, etc.
Main ideas:
- Use existing wireless infrastructure nl80211, mac80211.
- Use virtual interface of type NL80211_IFTYPE_VIRTUAL_AMP80211. 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
phy#0
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
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
...
Andrei Emeltchenko (1):
mac80211: Adds Software / Virtual AMP 80211
drivers/net/wireless/mac80211_hwsim.c | 3 +-
include/linux/nl80211.h | 1 +
net/mac80211/Kconfig | 8 ++
net/mac80211/Makefile | 2 +
net/mac80211/ieee80211_i.h | 4 +
net/mac80211/iface.c | 25 ++++
net/mac80211/util.c | 1 +
net/mac80211/virtual_amp.c | 205 +++++++++++++++++++++++++++++++++
net/mac80211/virtual_amp.h | 29 +++++
9 files changed, 277 insertions(+), 1 deletions(-)
create mode 100644 net/mac80211/virtual_amp.c
create mode 100644 net/mac80211/virtual_amp.h
--
1.7.9.1
--
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]