Lines Matching refs:frag
59 unsigned int frag, u8 tid, u8 *src, u8 *dst) in rtllib_frag_cache_find() argument
76 (entry->last_frag + 1 == frag || frag == -1) && in rtllib_frag_cache_find()
93 unsigned int frag = WLAN_GET_SEQ_FRAG(sc); in rtllib_frag_cache_get() local
115 if (frag == 0) { in rtllib_frag_cache_get()
138 entry->last_frag = frag; in rtllib_frag_cache_get()
146 entry = rtllib_frag_cache_find(ieee, seq, frag, tid, hdr->addr2, in rtllib_frag_cache_get()
149 entry->last_frag = frag; in rtllib_frag_cache_get()
355 u16 frag = WLAN_GET_SEQ_FRAG(sc); in is_duplicate_packet() local
398 entry->frag_num[tid] = frag; in is_duplicate_packet()
420 if (*last_frag == frag) in is_duplicate_packet()
422 if (*last_frag + 1 != frag) in is_duplicate_packet()
429 *last_frag = frag; in is_duplicate_packet()
907 u8 frag, type, stype; in rtllib_rx_check_duplicate() local
913 frag = WLAN_GET_SEQ_FRAG(sc); in rtllib_rx_check_duplicate()
929 if ((fc & (1 << 11)) && (frag == pRxTS->rx_last_frag_num) && in rtllib_rx_check_duplicate()
932 pRxTS->rx_last_frag_num = frag; in rtllib_rx_check_duplicate()
1069 u8 frag; in rtllib_rx_decrypt() local
1074 frag = WLAN_GET_SEQ_FRAG(sc); in rtllib_rx_decrypt()
1088 if ((frag != 0 || (fc & RTLLIB_FCTL_MOREFRAGS))) { in rtllib_rx_decrypt()
1092 netdev_dbg(ieee->dev, "Rx Fragment received (%u)\n", frag); in rtllib_rx_decrypt()
1098 WLAN_GET_SEQ_SEQ(sc), frag); in rtllib_rx_decrypt()
1102 if (frag != 0) in rtllib_rx_decrypt()
1113 if (frag == 0) { in rtllib_rx_decrypt()