wireless: move sequence number arithmetic to ieee80211.h
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 18:25:00 +0000 (19:25 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 22 Mar 2013 23:13:23 +0000 (00:13 +0100)
commit159041386daf775e24deefc1348288439e70c988
treee3aa1ba350067667171df8c4d9df6f484fc36764
parent979f82d8a64f79690d43d354d1dae56e5ddd0649
wireless: move sequence number arithmetic to ieee80211.h

Move the sequence number arithmetic code from mac80211 to
ieee80211.h so others can use it. Also rename the functions
from _seq to _sn, they operate on the sequence number, not
the sequence_control field.

Also move macros to convert the sequence control to/from
the sequence number value from various drivers.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h