<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/net/ieee802154, branch v3.10.9</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ieee802154/nl-mac.c: make some MLME operations optional</title>
<updated>2013-04-08T16:00:16+00:00</updated>
<author>
<name>Werner Almesberger</name>
<email>werner@almesberger.net</email>
</author>
<published>2013-04-04T06:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=56aa091d60a63fee83d2c894edb69b7c159966c7'/>
<id>56aa091d60a63fee83d2c894edb69b7c159966c7</id>
<content type='text'>
Check for NULL before calling the following operations from "struct
ieee802154_mlme_ops": assoc_req, assoc_resp, disassoc_req, start_req,
and scan_req.

This fixes a current oops where those functions are called but not
implemented. It also updates the documentation to clarify that they
are now optional by design. If a call to an unimplemented function
is attempted, the kernel returns EOPNOTSUPP via netlink.

The following operations are still required: get_phy, get_pan_id,
get_short_addr, and get_dsn.

Note that the places where this patch changes the initialization
of "ret" should not affect the rest of the code since "ret" was
always set (again) before returning its value.

Signed-off-by: Werner Almesberger &lt;werner@almesberger.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for NULL before calling the following operations from "struct
ieee802154_mlme_ops": assoc_req, assoc_resp, disassoc_req, start_req,
and scan_req.

This fixes a current oops where those functions are called but not
implemented. It also updates the documentation to clarify that they
are now optional by design. If a call to an unimplemented function
is attempted, the kernel returns EOPNOTSUPP via netlink.

The following operations are still required: get_phy, get_pan_id,
get_short_addr, and get_dsn.

Note that the places where this patch changes the initialization
of "ret" should not affect the rest of the code since "ret" was
always set (again) before returning its value.

Signed-off-by: Werner Almesberger &lt;werner@almesberger.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>6lowpan: handle dev_queue_xmit() error code properly</title>
<updated>2013-04-07T21:06:44+00:00</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2013-04-03T04:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fc52eea4c5f160d1b42fa1852fece38e5a0fc991'/>
<id>fc52eea4c5f160d1b42fa1852fece38e5a0fc991</id>
<content type='text'>
dev_queue_xmit() will return a positive value if the packet could not be
queued, often because the real network device (in our case the mac802154
wpan device) has its queue stopped.  lowpan_xmit() should handle the
positive return code (for the debug statement) and return that value to
the higher layer so the higher layer will retry sending the packet.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dev_queue_xmit() will return a positive value if the packet could not be
queued, often because the real network device (in our case the mac802154
wpan device) has its queue stopped.  lowpan_xmit() should handle the
positive return code (for the debug statement) and return that value to
the higher layer so the higher layer will retry sending the packet.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netlink: fix the warning introduced by netlink API replacement</title>
<updated>2013-03-29T18:44:37+00:00</updated>
<author>
<name>Hong zhi guo</name>
<email>honkiko@gmail.com</email>
</author>
<published>2013-03-29T05:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=10c9cbb10fa035d20c8ff2e231780617c6c70ee7'/>
<id>10c9cbb10fa035d20c8ff2e231780617c6c70ee7</id>
<content type='text'>
Signed-off-by: Hong Zhiguo &lt;honkiko@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Hong Zhiguo &lt;honkiko@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net-next: replace obsolete NLMSG_* with type safe nlmsg_*</title>
<updated>2013-03-28T18:25:25+00:00</updated>
<author>
<name>Hong zhi guo</name>
<email>honkiko@gmail.com</email>
</author>
<published>2013-03-27T06:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=573ce260b385a4d14a1ef046558fad9f1daeee42'/>
<id>573ce260b385a4d14a1ef046558fad9f1daeee42</id>
<content type='text'>
Signed-off-by: Hong Zhiguo &lt;honkiko@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Hong Zhiguo &lt;honkiko@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>6lowpan: use IEEE802154_ADDR_LEN instead of a magic number</title>
<updated>2013-03-27T04:52:16+00:00</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-26T18:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6bdeaba47d87f48a3943b6899d6c6e6f17d52f1d'/>
<id>6bdeaba47d87f48a3943b6899d6c6e6f17d52f1d</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>6lowpan: fix a small formatting issue</title>
<updated>2013-03-27T04:52:16+00:00</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-26T18:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ababf3859641047cafafdfd8ac60270a7a87935d'/>
<id>ababf3859641047cafafdfd8ac60270a7a87935d</id>
<content type='text'>
This formatting issue was introduced with commit
d4ac32365dcbfd341a87eae444c26679f889249a

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This formatting issue was introduced with commit
d4ac32365dcbfd341a87eae444c26679f889249a

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ieee802154/dgram: Pass source address in dgram_recvmsg</title>
<updated>2013-03-27T04:52:06+00:00</updated>
<author>
<name>Stephen Röttger</name>
<email>stephen.roettger@zero-entropy.de</email>
</author>
<published>2013-03-26T12:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6364e6ee788ae60f1c2de5c59e39adb157327e6c'/>
<id>6364e6ee788ae60f1c2de5c59e39adb157327e6c</id>
<content type='text'>
This patch lets dgram_recvmsg fill in the sockaddr struct in
msg-&gt;msg_name with the source address of the packet.
This is used by the userland functions recvmsg and recvfrom to get the
senders address.

[Stefan: Changed from old zigbee legacy tree to mainline]

Signed-off-by: Stephen Röttger &lt;stephen.roettger@zero-entropy.de&gt;
Signed-off-by: Stefan Schmidt &lt;stefan@datenfreihafen.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch lets dgram_recvmsg fill in the sockaddr struct in
msg-&gt;msg_name with the source address of the packet.
This is used by the userland functions recvmsg and recvfrom to get the
senders address.

[Stefan: Changed from old zigbee legacy tree to mainline]

Signed-off-by: Stephen Röttger &lt;stephen.roettger@zero-entropy.de&gt;
Signed-off-by: Stefan Schmidt &lt;stefan@datenfreihafen.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>6lowpan: modify udp compression/uncompression to match the standard</title>
<updated>2013-03-26T16:37:58+00:00</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-25T17:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=24363b67328733ad11ceadffe72a9721a37a3e9e'/>
<id>24363b67328733ad11ceadffe72a9721a37a3e9e</id>
<content type='text'>
The previous code would just compress the UDP header and send the compressed
UDP header along with the uncompressed one.

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous code would just compress the UDP header and send the compressed
UDP header along with the uncompressed one.

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>6lowpan: use the PANID provided by the device instead of a static value</title>
<updated>2013-03-26T16:37:58+00:00</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-25T17:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=43de7aa6ac4e37eaf0a5e83adc0a79d61fe3a55a'/>
<id>43de7aa6ac4e37eaf0a5e83adc0a79d61fe3a55a</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>6lowpan: obtain IEEE802.15.4 sequence number from the MAC layer</title>
<updated>2013-03-26T16:37:58+00:00</updated>
<author>
<name>Tony Cheneau</name>
<email>tony.cheneau@amnesiak.org</email>
</author>
<published>2013-03-25T17:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c7d0ab28b4c51de50c1fded2502e47a37771b6c3'/>
<id>c7d0ab28b4c51de50c1fded2502e47a37771b6c3</id>
<content type='text'>
Sets the sequence number in the frame format. Without this fix, the sequence
number is always set to 0. This makes trafic analysis very hard.

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sets the sequence number in the frame format. Without this fix, the sequence
number is always set to 0. This makes trafic analysis very hard.

Signed-off-by: Tony Cheneau &lt;tony.cheneau@amnesiak.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
