Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dieee80211.h187 static inline bool ieee80211_sn_less(u16 sn1, u16 sn2) in ieee80211_sn_less() argument
189 return ((sn1 - sn2) & IEEE80211_SN_MASK) > (IEEE80211_SN_MODULO >> 1); in ieee80211_sn_less()
192 static inline u16 ieee80211_sn_add(u16 sn1, u16 sn2) in ieee80211_sn_add() argument
194 return (sn1 + sn2) & IEEE80211_SN_MASK; in ieee80211_sn_add()
202 static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) in ieee80211_sn_sub() argument
204 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drxmq.c575 static bool iwl_mvm_is_sn_less(u16 sn1, u16 sn2, u16 buffer_size) in iwl_mvm_is_sn_less() argument
577 return ieee80211_sn_less(sn1, sn2) && in iwl_mvm_is_sn_less()
578 !ieee80211_sn_less(sn1, sn2 - buffer_size); in iwl_mvm_is_sn_less()