Home
last modified time | relevance | path

Searched refs:sn2 (Results 1 – 1 of 1) sorted by relevance

/include/linux/
Dieee80211.h188 static inline bool ieee80211_sn_less(u16 sn1, u16 sn2) in ieee80211_sn_less() argument
190 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() argument
195 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() argument
205 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()