Searched refs:sn2 (Results 1 – 1 of 1) sorted by relevance
188 static inline bool ieee80211_sn_less(u16 sn1, u16 sn2) in ieee80211_sn_less() argument190 return ((sn1 - sn2) & IEEE80211_SN_MASK) > (IEEE80211_SN_MODULO >> 1); in ieee80211_sn_less()193 static inline u16 ieee80211_sn_add(u16 sn1, u16 sn2) in ieee80211_sn_add() argument195 return (sn1 + sn2) & IEEE80211_SN_MASK; in ieee80211_sn_add()203 static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) in ieee80211_sn_sub() argument205 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()