Searched refs:sn1 (Results 1 – 1 of 1) sorted by relevance
124 static inline bool ieee80211_sn_less(u16 sn1, u16 sn2) in ieee80211_sn_less() argument126 return ((sn1 - sn2) & IEEE80211_SN_MASK) > (IEEE80211_SN_MODULO >> 1); in ieee80211_sn_less()129 static inline u16 ieee80211_sn_add(u16 sn1, u16 sn2) in ieee80211_sn_add() argument131 return (sn1 + sn2) & IEEE80211_SN_MASK; in ieee80211_sn_add()139 static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) in ieee80211_sn_sub() argument141 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()