<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/mac802154, branch v3.13</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net/mac802154?h=v3.13</id>
<link rel='self' href='https://git.amat.us/linux/atom/net/mac802154?h=v3.13'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-10-30T21:18:46Z</updated>
<entry>
<title>6lowpan: set and use mac_len for mac header length</title>
<updated>2013-10-30T21:18:46Z</updated>
<author>
<name>Alexander Aring</name>
<email>alex.aring@gmail.com</email>
</author>
<published>2013-10-30T08:18:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3e69162ea4a9e927cb3619b96c86aae4ded60112'/>
<id>urn:sha1:3e69162ea4a9e927cb3619b96c86aae4ded60112</id>
<content type='text'>
Set the mac header length while creating the 802.15.4 mac header.

Drop the function for recalculate mac header length in upper layers
which was static and works for intra pan communication only.

Signed-off-by: Alexander Aring &lt;alex.aring@gmail.com&gt;
Reviewed-by: Werner Almesberger &lt;werner@almesberger.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: Use pr_err(...) rather than printk(KERN_ERR ...)</title>
<updated>2013-10-30T21:05:44Z</updated>
<author>
<name>Chen Weilong</name>
<email>chenweilong@huawei.com</email>
</author>
<published>2013-10-30T07:28:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=83a1a7ce600b21611753b2265b6469651a722013'/>
<id>urn:sha1:83a1a7ce600b21611753b2265b6469651a722013</id>
<content type='text'>
This change is inspired by checkpatch.

Signed-off-by: Weilong Chen &lt;chenweilong@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2013-04-30T07:55:20Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2013-04-30T07:50:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=58717686cf7c7f5a70b3a8907ade8a3ce74306b1'/>
<id>urn:sha1:58717686cf7c7f5a70b3a8907ade8a3ce74306b1</id>
<content type='text'>
Conflicts:
	drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
	drivers/net/ethernet/emulex/benet/be.h
	include/net/tcp.h
	net/mac802154/mac802154.h

Most conflicts were minor overlapping stuff.

The be2net driver brought in some fixes that added __vlan_put_tag
calls, which in net-next take an additional argument.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: mac802154: comparision issue of type cast, finding by EXTRA_CFLAGS=-W</title>
<updated>2013-04-29T16:29:04Z</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen@asianux.com</email>
</author>
<published>2013-04-25T00:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2c1bbbffa0b644fab4f91878cde0c2e8f52e2dcc'/>
<id>urn:sha1:2c1bbbffa0b644fab4f91878cde0c2e8f52e2dcc</id>
<content type='text'>
Change MAC802154_CHAN_NONE from ~(u8)0 to 0xff, or the comparison in
mac802154_wpan_xmit() for ``chan == MAC802154_CHAN_NONE'' will not
succeed.

This bug can be boiled down to ``u8 foo = 0xff; if (foo == ~(u8)0)
[...] else [...]'' where the condition will always take the else
branch.

Signed-off-by: Chen Gang &lt;gang.chen@asianux.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: Keep track of the channel when changed</title>
<updated>2013-04-08T16:09:18Z</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2013-04-05T13:03:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9f7f78b479ae06279a85451d456040bbe4eae013'/>
<id>urn:sha1:9f7f78b479ae06279a85451d456040bbe4eae013</id>
<content type='text'>
Two sections checked whether the current channel != the new channel
without ever setting the current channel variables.

1. net/mac802154/tx.c: Prevent set_channel() from getting called every
time a packet is sent.

2. net/mac802154/mib.c: Lock (pib_lock) accesses to current_channel and
current_page and make sure they are updated when the channel has been
changed.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: Increase tx_buffer_len</title>
<updated>2013-04-07T21:06:43Z</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2013-04-03T04:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e937f583ec3a40cccd480b40d8c6d54751781587'/>
<id>urn:sha1:e937f583ec3a40cccd480b40d8c6d54751781587</id>
<content type='text'>
Increase the buffer length from 10 to 300 packets. Consider that traffic on
mac802154 devices will often be 6LoWPAN, and a full-length (1280 octet)
IPv6 packet will fragment into 15 6LoWPAN fragments (because the MTU of
IEEE 802.15.4 is 127).  A 300-packet queue is really 20 full-length IPv6
packets.

With a queue length of 10, an entire IPv6 packet was unable to get queued
at one time, causing fragments to be dropped, and making reassembly
impossible.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: Use netif flow control</title>
<updated>2013-04-07T21:06:43Z</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2013-04-03T04:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b5992fe962b0c91880229ec31166517e4db2977b'/>
<id>urn:sha1:b5992fe962b0c91880229ec31166517e4db2977b</id>
<content type='text'>
Use netif_stop_queue() and netif_wake_queue() to control the flow of
packets to mac802154 devices.  Since many IEEE 802.15.4 devices have no
output buffer, and since the mac802154 xmit() function is designed to
block, netif_stop_queue() is called after each packet.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: Do not try to resend failed packets</title>
<updated>2013-04-07T21:06:43Z</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2013-04-03T04:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7dd43d356e739ea0fbeb832722fec36ba4e47540'/>
<id>urn:sha1:7dd43d356e739ea0fbeb832722fec36ba4e47540</id>
<content type='text'>
When ops-&gt;xmit() fails, drop the packet. Devices which support hardware
ack and retry (which include all devices currently supported by mainline),
will automatically retry sending the packet (in the hardware) up to 3
times, per the 802.15.4 spec.  There is no need, and it is incorrect to
try to do it in mac802154.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: add mac802154_dev_get_dsn()</title>
<updated>2013-03-26T16:37:58Z</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-25T17:59:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0483546a3de329cad7705d42962edb09a28794c6'/>
<id>urn:sha1:0483546a3de329cad7705d42962edb09a28794c6</id>
<content type='text'>
Bring-over mac802154_dev_get_dsn() function that was present in the
Linux ZigBee kernel. This function is called by the 6LoWPAN code in
order to properly set the DSN (Data Sequence Number) value in the IEEE
802.15.4 frame.

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac802154: turn on ACK when enabled by the upper layers</title>
<updated>2013-03-26T16:37:55Z</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-25T17:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cf692061d0d575f1b9b614555ca392d8b8eabab3'/>
<id>urn:sha1:cf692061d0d575f1b9b614555ca392d8b8eabab3</id>
<content type='text'>
Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
