Home
last modified time | relevance | path

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

/include/linux/
Dieee80211.h124 static inline bool ieee80211_sn_less(u16 sn1, u16 sn2) in ieee80211_sn_less() argument
126 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() argument
131 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() argument
141 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()