• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192u/ieee80211/

Lines Matching refs:SeqNum

533 		if( SN_LESS(pReorderEntry->SeqNum, ((PRX_REORDER_ENTRY)list_entry(pList->next,RX_REORDER_ENTRY,List))->SeqNum) )
537 else if( SN_EQUAL(pReorderEntry->SeqNum, ((PRX_REORDER_ENTRY)list_entry(pList->next,RX_REORDER_ENTRY,List))->SeqNum) )
611 u16 SeqNum)
620 IEEE80211_DEBUG(IEEE80211_DL_REORDER,"%s(): Seq is %d,pTS->RxIndicateSeq is %d, WinSize is %d\n",__FUNCTION__,SeqNum,pTS->RxIndicateSeq,WinSize);
623 pTS->RxIndicateSeq = SeqNum;
626 /* Drop out the packet which SeqNum is smaller than WinStart */
627 if(SN_LESS(SeqNum, pTS->RxIndicateSeq)) {
629 pTS->RxIndicateSeq, SeqNum);
644 * 1. Incoming SeqNum is equal to WinStart =>Window shift 1
645 * 2. Incoming SeqNum is larger than the WinEnd => Window shift N
647 if(SN_EQUAL(SeqNum, pTS->RxIndicateSeq)) {
650 } else if(SN_LESS(WinEnd, SeqNum)) {
651 if(SeqNum >= (WinSize - 1)) {
652 pTS->RxIndicateSeq = SeqNum + 1 -WinSize;
654 pTS->RxIndicateSeq = 4095 - (WinSize - (SeqNum +1)) + 1;
656 IEEE80211_DEBUG(IEEE80211_DL_REORDER, "Window Shift! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
662 * with the SeqNum smaller than latest WinStart and buffer other packets.
665 * 1. All packets with SeqNum smaller than WinStart => Indicate
666 * 2. All packets with SeqNum larger than or equal to WinStart => Buffer it.
671 pTS->RxIndicateSeq, SeqNum);
673 // printk("========================>%s(): SeqNum is %d\n",__FUNCTION__,SeqNum);
683 pReorderEntry->SeqNum = SeqNum;
685 // IEEE80211_DEBUG(IEEE80211_DL_REORDER,"%s(): pREorderEntry->SeqNum is %d\n",__FUNCTION__,pReorderEntry->SeqNum);
689 __FUNCTION__, pTS->RxIndicateSeq, SeqNum);
701 "Pkt insert into buffer!! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
726 if( SN_LESS(pReorderEntry->SeqNum, pTS->RxIndicateSeq) ||
727 SN_EQUAL(pReorderEntry->SeqNum, pTS->RxIndicateSeq))
738 if(SN_EQUAL(pReorderEntry->SeqNum, pTS->RxIndicateSeq))
741 IEEE80211_DEBUG(IEEE80211_DL_REORDER,"Packets indication!! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
743 // printk("========================>%s(): pReorderEntry->SeqNum is %d\n",__FUNCTION__,pReorderEntry->SeqNum);
790 u16 SeqNum=0;
795 SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctl));
846 printk("The Packet SeqNum is %d\n",SeqNum);
912 u16 SeqNum = 0;
1293 SeqNum = WLAN_GET_SEQ_SEQ(sc);
1374 RxReorderIndicatePacket(ieee, rxb, pTS, SeqNum);