]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: add mac802154_dev_get_dsn()
authorTony Cheneau <tony.cheneau@amnesiak.org>
Mon, 25 Mar 2013 17:59:29 +0000 (17:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2013 16:37:58 +0000 (12:37 -0400)
commitd5a9198f5542602ed755bdbda57f683209a64499
treecbf7d3689d783348ffeccf037cf6ef54794ef2d5
parentb54684239b15a86834cf04a98b5523c329ffeff9
mac802154: add mac802154_dev_get_dsn()

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 <tony.cheneau@amnesiak.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/mac802154.h
net/mac802154/mac_cmd.c
net/mac802154/mib.c