• 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/rtl8192e/ieee80211/

Lines Matching refs:SeqNum

546 		if( SN_LESS(pReorderEntry->SeqNum, ((PRX_REORDER_ENTRY)list_entry(pList->next,RX_REORDER_ENTRY,List))->SeqNum) )
550 else if( SN_EQUAL(pReorderEntry->SeqNum, ((PRX_REORDER_ENTRY)list_entry(pList->next,RX_REORDER_ENTRY,List))->SeqNum) )
624 u16 SeqNum)
633 IEEE80211_DEBUG(IEEE80211_DL_REORDER,"%s(): Seq is %d,pTS->RxIndicateSeq is %d, WinSize is %d\n",__FUNCTION__,SeqNum,pTS->RxIndicateSeq,WinSize);
636 pTS->RxIndicateSeq = SeqNum;
639 /* Drop out the packet which SeqNum is smaller than WinStart */
640 if(SN_LESS(SeqNum, pTS->RxIndicateSeq)) {
642 pTS->RxIndicateSeq, SeqNum);
657 * 1. Incoming SeqNum is equal to WinStart =>Window shift 1
658 * 2. Incoming SeqNum is larger than the WinEnd => Window shift N
660 if(SN_EQUAL(SeqNum, pTS->RxIndicateSeq)) {
663 } else if(SN_LESS(WinEnd, SeqNum)) {
664 if(SeqNum >= (WinSize - 1)) {
665 pTS->RxIndicateSeq = SeqNum + 1 -WinSize;
667 pTS->RxIndicateSeq = 4095 - (WinSize - (SeqNum +1)) + 1;
669 IEEE80211_DEBUG(IEEE80211_DL_REORDER, "Window Shift! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
675 * with the SeqNum smaller than latest WinStart and buffer other packets.
678 * 1. All packets with SeqNum smaller than WinStart => Indicate
679 * 2. All packets with SeqNum larger than or equal to WinStart => Buffer it.
684 pTS->RxIndicateSeq, SeqNum);
686 // printk("========================>%s(): SeqNum is %d\n",__FUNCTION__,SeqNum);
696 pReorderEntry->SeqNum = SeqNum;
698 // IEEE80211_DEBUG(IEEE80211_DL_REORDER,"%s(): pREorderEntry->SeqNum is %d\n",__FUNCTION__,pReorderEntry->SeqNum);
702 __FUNCTION__, pTS->RxIndicateSeq, SeqNum);
714 "Pkt insert into buffer!! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
739 if( SN_LESS(pReorderEntry->SeqNum, pTS->RxIndicateSeq) ||
740 SN_EQUAL(pReorderEntry->SeqNum, pTS->RxIndicateSeq))
751 if(SN_EQUAL(pReorderEntry->SeqNum, pTS->RxIndicateSeq))
754 IEEE80211_DEBUG(IEEE80211_DL_REORDER,"Packets indication!! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
756 // printk("========================>%s(): pReorderEntry->SeqNum is %d\n",__FUNCTION__,pReorderEntry->SeqNum);
802 u16 SeqNum=0;
807 SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctl));
859 printk("The Packet SeqNum is %d\n",SeqNum);
925 u16 SeqNum = 0;
1328 SeqNum = WLAN_GET_SEQ_SEQ(sc);
1435 RxReorderIndicatePacket(ieee, rxb, pTS, SeqNum);