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

Lines Matching refs:SeqNum

485 		if( SN_LESS(pReorderEntry->SeqNum, ((PRX_REORDER_ENTRY)list_entry(pList->next,RX_REORDER_ENTRY,List))->SeqNum) )
489 else if( SN_EQUAL(pReorderEntry->SeqNum, ((PRX_REORDER_ENTRY)list_entry(pList->next,RX_REORDER_ENTRY,List))->SeqNum) )
563 u16 SeqNum)
572 IEEE80211_DEBUG(IEEE80211_DL_REORDER,"%s(): Seq is %d,pTS->RxIndicateSeq is %d, WinSize is %d\n",__FUNCTION__,SeqNum,pTS->RxIndicateSeq,WinSize);
575 pTS->RxIndicateSeq = SeqNum;
578 /* Drop out the packet which SeqNum is smaller than WinStart */
579 if(SN_LESS(SeqNum, pTS->RxIndicateSeq)) {
581 pTS->RxIndicateSeq, SeqNum);
596 * 1. Incoming SeqNum is equal to WinStart =>Window shift 1
597 * 2. Incoming SeqNum is larger than the WinEnd => Window shift N
599 if(SN_EQUAL(SeqNum, pTS->RxIndicateSeq)) {
602 } else if(SN_LESS(WinEnd, SeqNum)) {
603 if(SeqNum >= (WinSize - 1)) {
604 pTS->RxIndicateSeq = SeqNum + 1 -WinSize;
606 pTS->RxIndicateSeq = 4095 - (WinSize - (SeqNum +1)) + 1;
608 IEEE80211_DEBUG(IEEE80211_DL_REORDER, "Window Shift! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
614 * with the SeqNum smaller than latest WinStart and buffer other packets.
617 * 1. All packets with SeqNum smaller than WinStart => Indicate
618 * 2. All packets with SeqNum larger than or equal to WinStart => Buffer it.
623 pTS->RxIndicateSeq, SeqNum);
625 // printk("========================>%s(): SeqNum is %d\n",__FUNCTION__,SeqNum);
635 pReorderEntry->SeqNum = SeqNum;
637 // IEEE80211_DEBUG(IEEE80211_DL_REORDER,"%s(): pREorderEntry->SeqNum is %d\n",__FUNCTION__,pReorderEntry->SeqNum);
641 __FUNCTION__, pTS->RxIndicateSeq, SeqNum);
653 "Pkt insert into buffer!! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
678 if( SN_LESS(pReorderEntry->SeqNum, pTS->RxIndicateSeq) ||
679 SN_EQUAL(pReorderEntry->SeqNum, pTS->RxIndicateSeq))
690 if(SN_EQUAL(pReorderEntry->SeqNum, pTS->RxIndicateSeq))
693 IEEE80211_DEBUG(IEEE80211_DL_REORDER,"Packets indication!! IndicateSeq: %d, NewSeq: %d\n",pTS->RxIndicateSeq, SeqNum);
695 // printk("========================>%s(): pReorderEntry->SeqNum is %d\n",__FUNCTION__,pReorderEntry->SeqNum);
744 u16 SeqNum=0;
749 SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctrl));
800 printk("The Packet SeqNum is %d\n",SeqNum);
866 u16 SeqNum = 0;
1168 SeqNum = WLAN_GET_SEQ_SEQ(sc);
1249 RxReorderIndicatePacket(ieee, rxb, pTS, SeqNum);