History log of /drivers/ieee802154/fakehard.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
34324dc2bf27c1773045fea63cb11f7e2a6ad2b9 15-Nov-2011 Michał Mirosław <mirq-linux@rere.qmqm.pl> net: remove NETIF_F_NO_CSUM feature bit

Only distinct use is checking if NETIF_F_NOCACHE_COPY should be
enabled by default. The check heuristics is altered a bit here,
so it hits other people than before. The default shouldn't be
trusted for performance-critical cases anyway.

For all other uses NETIF_F_NO_CSUM is equivalent to NETIF_F_HW_CSUM.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
6e10c469f0997a5ebaffa955d8716c59ba102a1f 16-Nov-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> fakehard: stop setting platform_data as it's unused anymore

Previously dev.platform_data was used to store a pointer to net device.
Now this code was gone. Drop it.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
1c5cae815d19ffe02bdfda1260949ef2b1806171 30-Apr-2011 Jiri Pirko <jpirko@redhat.com> net: call dev_alloc_name from register_netdevice

Force dev_alloc_name() to be called from register_netdevice() by
dev_get_valid_name(). That allows to remove multiple explicit
dev_alloc_name() calls.

The possibility to call dev_alloc_name in advance remains.

This also fixes veth creation regresion caused by
84c49d8c3e4abefb0a41a77b25aa37ebe8d6b743

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
acb3cecdf89f9a9f30bf493f07dc5af333b45f8e 02-Dec-2009 Eric Dumazet <eric.dumazet@gmail.com> ieee802154: merge cleanup

A small cleanup after last net-2.6 merge into net-next-2.6

As we are going to free skb, no need to set skb->skb_iif or skb->dev

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
9b963e5d0e01461099a40117b05480f24b63381f 29-Nov-2009 David S. Miller <davem@davemloft.net> Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

Conflicts:
drivers/ieee802154/fakehard.c
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/phy.c
drivers/net/netxen/netxen_nic_init.c
drivers/net/wireless/ath/ath9k/main.c
8964be4a9a5ca8cab1219bb046db2f6d1936227c 21-Nov-2009 Eric Dumazet <eric.dumazet@gmail.com> net: rename skb->iif to skb->skb_iif

To help grep games, rename iif to skb_iif

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
56cf54831fd1be105e89a9df899e3b22442da180 19-Nov-2009 Eric Dumazet <eric.dumazet@gmail.com> ieee802154: dont leak skbs in ieee802154_fake_xmit()

ieee802154_fake_xmit() should free skbs since it returns NETDEV_TX_OK

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
405cd39f331826d344f5f55bac5dbbc10a1c2813 04-Nov-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> fakehard: mlme_ops->get_phy implementation

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
478e87c23340e88e909aa749f4772838bc96a20b 22-Sep-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> fakehard: claim all 2.4 Ghz channels as supported

Make fakehard device claim all 2.4 Ghz channels from 802.15.4-2006,
802.15.4a-2007 as supported by the hw.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
c83b2077c8bfec097ab02a0eca60bd611fdc7944 29-Oct-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> fakehard: no need to export net_to_phy, make it static

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
a9966b580a3e9d7cf820b5360b574f439d813ef4 02-Oct-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> ieee802154: constify struct net_device in some operations

Some of ieee802154 operations really shouldn't change passed net_device.
Constify passed argument.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
e9cf356c0c6b975fda84b15a5abdd1db88d74f84 28-Sep-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> wpan-phy: follow usual patter of devices registration

Follow the usual pattern of devices registration by adding new function
(wpan_phy_set_dev) that sets child->parent relationship and removing
parent argument from wpan_phy_register call.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
a0b4a738e0e03f5e0d6ca366560f9a48e5adf83a 22-Sep-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> wpan-phy: allow specifying a per-page channel mask

IEEE 802.15.4-2006 defines channel pages that hold channels (max 32 pages,
27 channels per page). Allow the driver to specify supported channels
on pages, other than the first one.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
61357325f377889a1daffa14962d705dc814dd0e 31-Aug-2009 Stephen Hemminger <shemminger@vyatta.com> netdev: convert bulk of drivers to netdev_tx_t

In a couple of cases collapse some extra code like:
int retval = NETDEV_TX_OK;
...
return retval;
into
return NETDEV_TX_OK;

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
16eea493da563b5a3356a77c6d8776dffc29d3b6 19-Aug-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> ieee802154: add support for channel pages from IEEE 802.15.4-2006

IEEE 802.15.4-2006 adds new concept: channel pages, which can contain several
channels. Add support for channel pages in the API and in the fakehard driver.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
81f9510381ee43205564063f2e8650672b11d453 19-Aug-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> fakehard: add binding to wpan-phy device

Make fakehard create and maintain wpan-phy node, thus representing
it's phy in the sysfs.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
798c752b815bd80653dc48b6ffb8eb68ede15a66 07-Aug-2009 Dmitry Baryshkov <dbaryshkov@gmail.com> fakehard: use START-CONFIRM primitive to report START failure

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
f004ec728bff3cf924ffc19387baca503cd73b01 27-Jul-2009 David S. Miller <davem@davemloft.net> Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan
f0166e5e3cdab66d5a31f796ce18e21fd3ce99dc 23-Jul-2009 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> ieee802154: move headers out of extra directory

include/net/ieee802154/af_ieee802154.h (and others) naming seems to be too long
and redundant. Drop one level of subdirectories.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
/drivers/ieee802154/fakehard.c
878fa89f97954337d1dc41f0ccc3a8b5f89cfbc7 22-Jul-2009 Daniel Silverstone <dsilvers@digital-scurf.org> IEEE80154: Add documentation to the IEEE80154 netlink and fakehard driver

This adds some perfunctory documentation comments to the IEEE 802.15.4
fakehard.c driver (Fake hard MAC) and the nl802154.h (outgoing netlink messages)
header.

These comments are not necessarily complete, but they do reference the
IEEE 802.15.4-2006 document where possible.

Signed-off-by: Daniel Silverstone <dsilvers@simtec.co.uk>
/drivers/ieee802154/fakehard.c
6ed106549d17474ca17a16057f4c0ed4eba5a7ca 23-Jun-2009 Patrick McHardy <kaber@trash.net> net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions

This patch is the result of an automatic spatch transformation to convert
all ndo_start_xmit() return values of 0 to NETDEV_TX_OK.

Some occurences are missed by the automatic conversion, those will be
handled in a seperate patch.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c
8459464f07cf67cab07b17d5736d75fb86adab22 08-Jun-2009 Sergey Lapin <slapin@ossfans.org> ieee802154: add simple HardMAC driver sample

fakehard is a really simple driver implementing only necessary
callbacks and serves the role of an example of driver for HardMAC
IEEE 802.15.4 device.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/ieee802154/fakehard.c