Commit graph android_kernel_sony_sdm845/net/mac802154
Message SHA1
mac802154: monitor device support
Support for monitor device intended to capture all the network activity.
This interface could be used by networks sniffers and is already
supported by WireShark. That's a good test point to check that basic
MAC support works.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:17:08 -04:00
0606069d9e
mac802154: slaves management support
This patch adds functionality for registration and removing slaves
in the stack.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:17:08 -04:00
62610ad218
mac802154: basic mib support
Basic support for IEEE 802.15.4 management information base.
Current implementation contains a command to set HW address only.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:17:08 -04:00
ef2486f553
mac802154: basic MAC commands interface support
Declare set of MAC-commands for reduced functionality interface.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:17:08 -04:00
6e2128d42a
mac802154: slave interfaces declaration
Slaves represent typical network interfaces available from userspace.
Each ieee802154 device/transceiver may have several slaves and able
to be associated with several networks at the same time. So this
patch adds structure for slaves declaration.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:17:01 -04:00
4d23c9cc07
mac802154: TX data path
Main TX data path implementation between upper and physical layers.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:16:49 -04:00
5b641ebeec
mac802154: RX data path
Main RX data path implementation between physical and mac layers.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:16:44 -04:00
1cd829c83e
mac802154: allocation of ieee802154 device
An interface to allocate and register ieee802154 compatible device.
The allocated device has the following representation in memory:

	+-----------------------+
	| struct wpan_phy       |
	+-----------------------+
	| struct mac802154_priv |
	+-----------------------+
	| driver's private data |
	+-----------------------+

Used by device drivers to register new instance in the stack.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

alex.bluesman.smirnov@gmail.com   authored and   David S. Miller   commited 2012-05-16 15:16:35 -04:00
1010f54018