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)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:35:44 +0000 (16:35 +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>

No differences found