mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 05:04:20 +00:00
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>
This commit is contained in:
parent
d4ac32365d
commit
0483546a3d
3 changed files with 11 additions and 0 deletions
|
@ -73,4 +73,5 @@ struct ieee802154_mlme_ops mac802154_mlme_wpan = {
|
|||
.start_req = mac802154_mlme_start_req,
|
||||
.get_pan_id = mac802154_dev_get_pan_id,
|
||||
.get_short_addr = mac802154_dev_get_short_addr,
|
||||
.get_dsn = mac802154_dev_get_dsn,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue