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)
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>

No differences found