From: Johannes Berg Date: Fri, 15 Feb 2013 18:25:00 +0000 (+0100) Subject: wireless: move sequence number arithmetic to ieee80211.h X-Git-Tag: 1.9.8~10 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=159041386daf775e24deefc1348288439e70c988;hp=159041386daf775e24deefc1348288439e70c988;p=carl9170fw.git 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 Signed-off-by: Christian Lamparter ---