Home
last modified time | relevance | path

Searched refs:pEntry (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.6.39/drivers/staging/rt2860/common/
Dcmm_wpa.c57 static void ConstructEapolKeyData(struct rt_mac_table_entry *pEntry,
139 struct rt_mac_table_entry *pEntry; in WpaEAPOLStartAction() local
148 pEntry = MacTableLookup(pAd, Elem->Msg); in WpaEAPOLStartAction()
150 pEntry = MacTableLookup(pAd, pHeader->Addr2); in WpaEAPOLStartAction()
153 if (pEntry) { in WpaEAPOLStartAction()
156 pEntry->PortSecured, pEntry->WpaState, in WpaEAPOLStartAction()
157 pEntry->AuthMode, pEntry->PMKID_CacheIdx)); in WpaEAPOLStartAction()
159 if ((pEntry->PortSecured == WPA_802_1X_PORT_NOT_SECURED) in WpaEAPOLStartAction()
160 && (pEntry->WpaState < AS_PTKSTART) in WpaEAPOLStartAction()
161 && ((pEntry->AuthMode == Ndis802_11AuthModeWPAPSK) in WpaEAPOLStartAction()
[all …]
Dspectrum.c429 struct rt_measure_req_entry *pEntry = NULL; in MeasureReqLookUp() local
441 pEntry = pTab->Hash[HashIdx]; in MeasureReqLookUp()
443 while (pEntry) { in MeasureReqLookUp()
444 if (pEntry->DialogToken == DialogToken) in MeasureReqLookUp()
447 pPrevEntry = pEntry; in MeasureReqLookUp()
448 pEntry = pEntry->pNext; in MeasureReqLookUp()
454 return pEntry; in MeasureReqLookUp()
462 struct rt_measure_req_entry *pEntry = NULL, *pCurrEntry; in MeasureReqInsert() local
471 pEntry = MeasureReqLookUp(pAd, DialogToken); in MeasureReqInsert()
472 if (pEntry == NULL) { in MeasureReqInsert()
[all …]
Dcmm_data.c718 struct rt_queue_entry *pEntry = NULL; in RTMPDeQueuePacket() local
776 pEntry = pQueue->Head; in RTMPDeQueuePacket()
777 if (pEntry == NULL) { in RTMPDeQueuePacket()
788 pPacket = QUEUE_ENTRY_TO_PACKET(pEntry); in RTMPDeQueuePacket()
805 pEntry = RemoveHeadQueue(pQueue); in RTMPDeQueuePacket()
828 pEntry = pQueue->Head; in RTMPDeQueuePacket()
829 if (pEntry == NULL) in RTMPDeQueuePacket()
833 pPacket = QUEUE_ENTRY_TO_PACKET(pEntry); in RTMPDeQueuePacket()
849 pEntry = RemoveHeadQueue(pQueue); in RTMPDeQueuePacket()
850 ASSERT(pEntry); in RTMPDeQueuePacket()
[all …]
Drtmp_timer.c83 struct rt_rtmp_timer_task_entry *pEntry; in RtmpTimerQHandle() local
103 pEntry = pAd->TimerQ.pQHead; in RtmpTimerQHandle()
104 if (pEntry) { in RtmpTimerQHandle()
105 pTimer = pEntry->pRaTimer; in RtmpTimerQHandle()
108 pAd->TimerQ.pQHead = pEntry->pNext; in RtmpTimerQHandle()
109 if (pEntry == pAd->TimerQ.pQTail) in RtmpTimerQHandle()
113 pEntry->pNext = pAd->TimerQ.pQPollFreeList; in RtmpTimerQHandle()
114 pAd->TimerQ.pQPollFreeList = pEntry; in RtmpTimerQHandle()
273 struct rt_rtmp_timer_task_entry *pQNode, *pEntry; in RtmpTimerQInit() local
283 pEntry = NULL; in RtmpTimerQInit()
[all …]
Dmlme.c943 struct rt_mac_table_entry *pEntry, in MlmeSelectTxRateTable() argument
958 … ((pAd->CommonCfg.PhyMode >= PHY_11ABGN_MIXED) && (pEntry->HTCapability.MCSSet[0] == 0xff) && ((pE… in MlmeSelectTxRateTable()
963 … ((pAd->CommonCfg.PhyMode >= PHY_11ABGN_MIXED) && (pEntry->HTCapability.MCSSet[0] == 0xff) && (pEn… in MlmeSelectTxRateTable()
977 } else if ((pEntry->RateLen == 4) in MlmeSelectTxRateTable()
978 && (pEntry->HTCapability.MCSSet[0] == 0) in MlmeSelectTxRateTable()
979 && (pEntry->HTCapability.MCSSet[1] == 0) in MlmeSelectTxRateTable()
1000 …if (((pEntry->RateLen == 12) || (pAd->OpMode == OPMODE_STA)) && (pEntry->HTCapability.MCSSet[0] ==… in MlmeSelectTxRateTable()
1009 …if (((pEntry->RateLen == 12) || (pAd->OpMode == OPMODE_STA)) && (pEntry->HTCapability.MCSSet[0] ==… in MlmeSelectTxRateTable()
1025 …if ((pEntry->HTCapability.MCSSet[0] == 0xff) && ((pEntry->HTCapability.MCSSet[1] == 0x00) || (pAd-… in MlmeSelectTxRateTable()
1033 …if ((pEntry->HTCapability.MCSSet[0] == 0xff) && (pEntry->HTCapability.MCSSet[1] == 0xff) && (pAd->… in MlmeSelectTxRateTable()
[all …]
Dba_action.c31 #define BA_ORI_INIT_SEQ (pEntry->TxSeq[TID]) /*1 // initial sequence number…
445 struct rt_mac_table_entry *pEntry, in BAOriSessionSetUp() argument
460 if (RTMPStaFixedTxMode(pAd, pEntry) != FIXED_TXMODE_HT) in BAOriSessionSetUp()
463 if ((pEntry->BADeclineBitmap & (1 << TID)) && (isForced == FALSE)) { in BAOriSessionSetUp()
470 Idx = pEntry->BAOriWcidArray[TID]; in BAOriSessionSetUp()
487 pEntry->BAOriWcidArray[TID] = Idx; in BAOriSessionSetUp()
491 pBAEntry->Wcid = pEntry->Aid; in BAOriSessionSetUp()
499 if (!(pEntry->TXBAbitmap & (1 << TID))) { in BAOriSessionSetUp()
511 struct rt_mac_table_entry *pEntry, struct rt_frame_addba_rsp * pFrame) in BAOriSessionAdd() argument
523 Idx = pEntry->BAOriWcidArray[TID]; in BAOriSessionAdd()
[all …]
Dcmm_sanity.c1018 u8 MsgType, struct rt_mac_table_entry *pEntry) in PeerWpaMessageSanity() argument
1037 if ((pEntry->AuthMode == Ndis802_11AuthModeWPA2) in PeerWpaMessageSanity()
1038 || (pEntry->AuthMode == Ndis802_11AuthModeWPA2PSK)) in PeerWpaMessageSanity()
1056 (pMsg->KeyDesc.ReplayCounter, pEntry->R_Counter, in PeerWpaMessageSanity()
1068 (pMsg->KeyDesc.ReplayCounter, pEntry->R_Counter, in PeerWpaMessageSanity()
1079 pEntry->Addr, pEntry->apidx, 0); in PeerWpaMessageSanity()
1093 hex_dump("Current replay counter ", pEntry->R_Counter, in PeerWpaMessageSanity()
1108 HMAC_MD5(pEntry->PTK, LEN_EAP_MICK, (u8 *)pMsg, in PeerWpaMessageSanity()
1112 HMAC_SHA1(pEntry->PTK, LEN_EAP_MICK, (u8 *)pMsg, in PeerWpaMessageSanity()
1122 pEntry->Addr, in PeerWpaMessageSanity()
[all …]
Daction.c472 struct rt_mac_table_entry *pEntry; in ORIBATimerTimeout() local
480 pEntry = in ORIBATimerTimeout()
492 void SendRefreshBAR(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry) in SendRefreshBAR() argument
504 idx = pEntry->BAOriWcidArray[i]; in SendRefreshBAR()
522 Sequence = pEntry->TxSeq[TID]; in SendRefreshBAR()
524 BarHeaderInit(pAd, &FrameBar, pEntry->Addr, in SendRefreshBAR()
Drtmp_init.c1969 struct rt_mac_table_entry *pEntry; in NICUpdateFifoStaCounters() local
1993 pEntry = &pAd->MacTab.Content[wcid]; in NICUpdateFifoStaCounters()
1995 pEntry->DebugFIFOCount++; in NICUpdateFifoStaCounters()
1998 pEntry->TxBFCount++; in NICUpdateFifoStaCounters()
2001 pEntry->FIFOCount++; in NICUpdateFifoStaCounters()
2002 pEntry->OneSecTxFailCount++; in NICUpdateFifoStaCounters()
2004 if (pEntry->FIFOCount >= 1) { in NICUpdateFifoStaCounters()
2006 pEntry->NoBADataCountDown = 64; in NICUpdateFifoStaCounters()
2008 if (pEntry->PsMode == PWR_ACTIVE) { in NICUpdateFifoStaCounters()
2012 pEntry-> in NICUpdateFifoStaCounters()
[all …]
Dcmm_info.c796 u8 CipherAlg, struct rt_mac_table_entry *pEntry) in RTMPAddWcidAttributeEntry() argument
814 if (pEntry) in RTMPAddWcidAttributeEntry()
815 Wcid = pEntry->Aid; in RTMPAddWcidAttributeEntry()
825 if (pEntry && pEntry->ValidAsMesh) in RTMPAddWcidAttributeEntry()
Dcmm_mac_pci.c407 struct rt_queue_entry *pEntry; in RTMPRingCleanUp() local
460 pEntry = RemoveHeadQueue(&pAd->TxSwQueue[RingType]); in RTMPRingCleanUp()
461 pPacket = QUEUE_ENTRY_TO_PACKET(pEntry); in RTMPRingCleanUp()
550 struct rt_queue_entry *pEntry; in RTMPFreeTxRxRingMemory() local
557 pEntry = RemoveHeadQueue(pQueue); in RTMPFreeTxRxRingMemory()
558 pPacket = QUEUE_ENTRY_TO_PACKET(pEntry); in RTMPFreeTxRxRingMemory()
Dcmm_asic.c1345 struct rt_mac_table_entry *pEntry = &pAd->MacTab.Content[MCAST_WCID]; in AsicSetMcastWC() local
1348 pEntry->Sst = SST_ASSOC; in AsicSetMcastWC()
1349 pEntry->Aid = MCAST_WCID; /* Softap supports 1 BSSID and use WCID=0 as multicast Wcid index */ in AsicSetMcastWC()
1350 pEntry->PsMode = PWR_ACTIVE; in AsicSetMcastWC()
1351 pEntry->CurrTxRate = pAd->CommonCfg.MlmeRate; in AsicSetMcastWC()
/linux-2.6.39/drivers/staging/rt2860/sta/
Dassoc.c1336 struct rt_mac_table_entry *pEntry, in StaAddMacTableEntry() argument
1346 CLIENT_STATUS_CLEAR_FLAG(pEntry, fCLIENT_STATUS_WMM_CAPABLE); in StaAddMacTableEntry()
1400 if (!pEntry) in StaAddMacTableEntry()
1404 if (pEntry) { in StaAddMacTableEntry()
1405 pEntry->PortSecured = WPA_802_1X_PORT_SECURED; in StaAddMacTableEntry()
1408 pEntry->RateLen = 4; in StaAddMacTableEntry()
1412 pEntry->RateLen = 12; in StaAddMacTableEntry()
1414 pEntry->MaxHTPhyMode.word = 0; in StaAddMacTableEntry()
1415 pEntry->MinHTPhyMode.word = 0; in StaAddMacTableEntry()
1416 pEntry->HTPhyMode.word = 0; in StaAddMacTableEntry()
[all …]
Dwpa.c281 struct rt_mac_table_entry *pEntry; in WpaStaPairwiseKeySetting() local
283 pEntry = &pAd->MacTab.Content[BSSID_WCID]; in WpaStaPairwiseKeySetting()
288 NdisMoveMemory(pAd->StaCfg.PTK, pEntry->PTK, LEN_PTK); in WpaStaPairwiseKeySetting()
308 NdisMoveMemory(pEntry->PairwiseKey.Key, &pAd->StaCfg.PTK[32], in WpaStaPairwiseKeySetting()
310 NdisMoveMemory(pEntry->PairwiseKey.RxMic, &pAd->StaCfg.PTK[48], in WpaStaPairwiseKeySetting()
312 NdisMoveMemory(pEntry->PairwiseKey.TxMic, in WpaStaPairwiseKeySetting()
314 pEntry->PairwiseKey.CipherAlg = pSharedKey->CipherAlg; in WpaStaPairwiseKeySetting()
325 RTMPAddWcidAttributeEntry(pAd, BSS0, 0, pSharedKey->CipherAlg, pEntry); in WpaStaPairwiseKeySetting()
330 ("%s : AID(%d) port secured\n", __func__, pEntry->Aid)); in WpaStaPairwiseKeySetting()
Drtmp_data.c42 struct rt_mac_table_entry *pEntry, in STARxEAPOLFrameIndicate() argument
81 struct rt_mac_table_entry *pEntry = in STARxEAPOLFrameIndicate() local
104 pEntry); in STARxEAPOLFrameIndicate()
208 struct rt_mac_table_entry *pEntry, in STARxDataFrameAnnounce() argument
214 (pAd, pEntry, pRxBlk->pData, pRxBlk->DataSize, FromWhichBSSID)) { in STARxDataFrameAnnounce()
251 CmmRxRalinkFrameIndicate(pAd, pEntry, pRxBlk, in STARxDataFrameAnnounce()
263 STARxEAPOLFrameIndicate(pAd, pEntry, pRxBlk, in STARxDataFrameAnnounce()
271 struct rt_mac_table_entry *pEntry, struct rt_rx_blk *pRxBlk) in STACheckTkipMICValue() argument
330 struct rt_mac_table_entry *pEntry = NULL; in STAHandleRxDataFrame() local
437 pEntry = &pAd->MacTab.Content[pRxWI->WirelessCliID]; in STAHandleRxDataFrame()
[all …]
Dconnect.c1159 struct rt_mac_table_entry *pEntry = NULL, *pCurrEntry = NULL; in LinkUp() local
1164 pEntry = MacTableLookup(pAd, pAd->CommonCfg.Bssid); in LinkUp()
1165 if (pEntry) { in LinkUp()
1166 MacTableDeleteEntry(pAd, pEntry->Aid, pEntry->Addr); in LinkUp()
1167 pEntry = NULL; in LinkUp()
1170 pEntry = &pAd->MacTab.Content[BSSID_WCID]; in LinkUp()
1560 pEntry->Aid = BSSID_WCID; in LinkUp()
1566 pEntry); in LinkUp()
1593 if (pEntry) { in LinkUp()
1596 pAd->MacTab.Hash[HashIdx] = pEntry; in LinkUp()
[all …]
Dsync.c1283 struct rt_mac_table_entry *pEntry; in PeerBeacon() local
1301 pEntry = MacTableLookup(pAd, Addr2); in PeerBeacon()
1307 || (pEntry in PeerBeacon()
1309 ((pEntry->LastBeaconRxTime + in PeerBeacon()
1312 if (pEntry == NULL) in PeerBeacon()
1314 pEntry = in PeerBeacon()
1321 pEntry, in PeerBeacon()
1334 if (pEntry && in PeerBeacon()
1340 pEntry); in PeerBeacon()
1344 if (pEntry && pEntry->ValidAsCLI) in PeerBeacon()
[all …]
/linux-2.6.39/drivers/staging/rt2860/
Drtusb_io.h131 #define RTMP_STA_ENTRY_ADD(pAd, pEntry) \ argument
133 pEntry, sizeof(struct rt_mac_table_entry));
146 #define RTMP_STA_SECURITY_INFO_ADD(pAd, apidx, KeyID, pEntry) \ argument
147 { RTMP_STA_ENTRY_MAC_RESET(pAd, pEntry->Aid); \
148 if (pEntry->Aid >= 1) { \
150 SetAsicWcidAttri.WCID = pEntry->Aid; \
151 if ((pEntry->AuthMode <= Ndis802_11AuthModeAutoSwitch) && \
152 (pEntry->WepStatus == Ndis802_11Encryption1Enabled)) \
156 else if (pEntry->AuthMode == Ndis802_11AuthModeWPANone) \
Dsta_ioctl.c84 struct rt_mac_table_entry *pEntry; in RTMPAddKey() local
134 pEntry = &pAd->MacTab.Content[BSSID_WCID]; in RTMPAddKey()
135 NdisMoveMemory(pEntry->PairwiseKey.Key, in RTMPAddKey()
138 NdisMoveMemory(pEntry->PairwiseKey.RxMic, in RTMPAddKey()
141 NdisMoveMemory(pEntry->PairwiseKey.TxMic, in RTMPAddKey()
144 pEntry->PairwiseKey.CipherAlg = in RTMPAddKey()
161 CipherAlg, pEntry); in RTMPAddKey()
275 pEntry = MacTableLookup(pAd, pKey->BSSID); in RTMPAddKey()
277 if (pEntry) { in RTMPAddKey()
282 pEntry->PairwiseKey.KeyLen = in RTMPAddKey()
[all …]
Drtmp.h215 #define InsertTailQueueAc(pAd, pEntry, QueueHeader, QueueEntry) \ argument
2411 void SendRefreshBAR(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry);
2473 struct rt_mac_table_entry *pEntry,
3133 u8 MsgType, struct rt_mac_table_entry *pEntry);
3194 struct rt_mac_table_entry *pEntry, struct rt_rtmp_tx_rate_switch * pTxRate);
3197 struct rt_mac_table_entry *pEntry,
3292 struct rt_mac_table_entry *pEntry);
3294 u8 RTMPStaFixedTxMode(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry);
3296 void RTMPUpdateLegacyTxSetting(u8 fixed_tx_mode, struct rt_mac_table_entry *pEntry);
3392 u8 CipherAlg, struct rt_mac_table_entry *pEntry);
[all …]
Drt_linux.h618 #define QUEUE_ENTRY_TO_PACKET(pEntry) \ argument
619 (void *)(pEntry)
/linux-2.6.39/drivers/staging/rt2860/chip/
Dmac_pci.h230 #define RTMP_STA_ENTRY_ADD(pAd, pEntry) \ argument
231 AsicUpdateRxWCIDTable(pAd, pEntry->Aid, pEntry->Addr);
244 #define RTMP_STA_SECURITY_INFO_ADD(pAd, apidx, KeyID, pEntry) \ argument
246 pAd->SharedKey[apidx][KeyID].CipherAlg, pEntry);
248 #define RTMP_SECURITY_KEY_ADD(pAd, apidx, KeyID, pEntry) \ argument
258 pEntry); }
/linux-2.6.39/drivers/staging/rt2870/common/
Drtusb_io.c1786 struct rt_mac_table_entry *pEntry; in CMDHandler() local
1791 pEntry = (struct rt_mac_table_entry *)(pData); in CMDHandler()
1797 pEntry); in CMDHandler()
1804 struct rt_mac_table_entry *pEntry; in CMDHandler() local
1805 pEntry = (struct rt_mac_table_entry *)pData; in CMDHandler()
1809 pEntry-> in CMDHandler()
1812 pEntry-> in CMDHandler()
1814 if ((pEntry->AuthMode <= in CMDHandler()
1816 && (pEntry->WepStatus == in CMDHandler()
1827 pEntry-> in CMDHandler()
[all …]
Drtusb_data.c197 struct rt_queue_entry *pEntry; in RTUSBRejectPendingPackets() local
205 pEntry = RemoveHeadQueue(pQueue); in RTUSBRejectPendingPackets()
206 pPacket = QUEUE_ENTRY_TO_PACKET(pEntry); in RTUSBRejectPendingPackets()
/linux-2.6.39/drivers/media/video/pwc/
Dpwc-ctrl.c229 struct Nala_table_entry *pEntry; in set_video_mode_Nala() local
254 pEntry = &Nala_table[size][fps]; in set_video_mode_Nala()
255 if (pEntry->alternate == 0) in set_video_mode_Nala()
258 memcpy(buf, pEntry->mode, 3); in set_video_mode_Nala()
264 if (pEntry->compressed && pdev->pixfmt == V4L2_PIX_FMT_YUV420) in set_video_mode_Nala()
273 pdev->valternate = pEntry->alternate; in set_video_mode_Nala()
276 if (pEntry->compressed) { in set_video_mode_Nala()

12