Searched refs:pAd (Results 1 - 25 of 63) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/chips/
H A Drt3070.c46 void NICInitRT3070RFRegisters(struct rt_rtmp_adapter *pAd) argument
53 if (IS_RT3070(pAd) || IS_RT3071(pAd)) {
59 RT30xxReadRFRegister(pAd, RF_R30, (u8 *)&RfReg);
61 RT30xxWriteRFRegister(pAd, RF_R30, (u8)RfReg);
64 RT30xxWriteRFRegister(pAd, RF_R30, (u8)RfReg);
68 RT30xxWriteRFRegister(pAd,
74 if (IS_RT3070(pAd)) {
79 if ((pAd->MACVersion & 0xffff) < 0x0201) {
81 RTUSBReadMACRegister(pAd, LDO_CFG
[all...]
H A Drt30xx.c98 void RT30xxSetRxAnt(struct rt_rtmp_adapter *pAd, u8 Ant) argument
105 if ((pAd->EepromAccess) ||
106 (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_RESET_IN_PROGRESS)) ||
107 (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_HALT_IN_PROGRESS)) ||
108 (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_RADIO_OFF)) ||
109 (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_NIC_NOT_EXIST))) {
116 RTMP_IO_READ32(pAd, E2PROM_CSR, &x);
118 RTMP_IO_WRITE32(pAd, E2PROM_CSR, x);
120 AsicSendCommandToMcu(pAd, 0x73, 0xFF, 0x1, 0x0);
123 RTMP_IO_READ32(pAd, GPIO_CTRL_CF
162 RTMPFilterCalibration(struct rt_rtmp_adapter *pAd) argument
307 RT30xxLoadRFNormalModeSetup(struct rt_rtmp_adapter *pAd) argument
372 RT30xxLoadRFSleepModeSetup(struct rt_rtmp_adapter *pAd) argument
428 RT30xxReverseRFSleepModeSetup(struct rt_rtmp_adapter *pAd) argument
493 RT30xxHaltAction(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Drt3090.c46 void NICInitRT3090RFRegisters(struct rt_rtmp_adapter *pAd) argument
51 if (IS_RT3090(pAd)) {
57 RT30xxReadRFRegister(pAd, RF_R30, (u8 *)&RfReg);
59 RT30xxWriteRFRegister(pAd, RF_R30, (u8)RfReg);
62 RT30xxWriteRFRegister(pAd, RF_R30, (u8)RfReg);
65 RT30xxWriteRFRegister(pAd, RF_R24, 0x0F);
66 RT30xxWriteRFRegister(pAd, RF_R31, 0x0F);
69 if ((pAd->NicConfig2.field.DACTestBit == 1)
70 && ((pAd->MACVersion & 0xffff) < 0x0211)) {
72 RTMP_IO_READ32(pAd, LDO_CFG
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/sta/
H A Dconnect.c68 /* and are copied to pAd->StaActive */
105 void MlmeCntlInit(struct rt_rtmp_adapter *pAd, argument
110 pAd->Mlme.CntlMachine.CurrState = CNTL_IDLE;
121 void MlmeCntlMachinePerformAction(struct rt_rtmp_adapter *pAd, argument
125 switch (pAd->Mlme.CntlMachine.CurrState) {
127 CntlIdleProc(pAd, Elem);
130 CntlWaitDisassocProc(pAd, Elem);
133 CntlWaitJoinProc(pAd, Elem);
143 CntlWaitReassocProc(pAd, Elem);
147 CntlWaitStartProc(pAd, Ele
231 CntlIdleProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
284 CntlOidScanProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
332 CntlOidSsidProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
508 CntlOidRTBssidProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
678 CntlMlmeRoamingProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
708 CntlWaitDisassocProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
752 CntlWaitJoinProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
835 CntlWaitStartProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
928 CntlWaitAuthProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
992 CntlWaitAuthProc2(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1050 CntlWaitAssocProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1088 CntlWaitReassocProc(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1124 AdhocTurnOnQos(struct rt_rtmp_adapter *pAd) argument
1165 LinkUp(struct rt_rtmp_adapter *pAd, u8 BssType) argument
1876 LinkDown(struct rt_rtmp_adapter *pAd, IN BOOLEAN IsReqFromAP) argument
2125 IterateOnBssTab(struct rt_rtmp_adapter *pAd) argument
2231 IterateOnBssTab2(struct rt_rtmp_adapter *pAd) argument
2279 JoinParmFill(struct rt_rtmp_adapter *pAd, struct rt_mlme_join_req *JoinReq, unsigned long BssIdx) argument
2293 ScanParmFill(struct rt_rtmp_adapter *pAd, struct rt_mlme_scan_req *ScanReq, char Ssid[], u8 SsidLen, u8 BssType, u8 ScanType) argument
2313 StartParmFill(struct rt_rtmp_adapter *pAd, struct rt_mlme_start_req *StartReq, char Ssid[], u8 SsidLen) argument
2330 AuthParmFill(struct rt_rtmp_adapter *pAd, struct rt_mlme_auth_req *AuthReq, u8 *pAddr, u16 Alg) argument
2348 ComposePsPoll(struct rt_rtmp_adapter *pAd) argument
2359 ComposeNullFrame(struct rt_rtmp_adapter *pAd) argument
2371 MlmeCntlConfirm(struct rt_rtmp_adapter *pAd, unsigned long MsgType, u16 Msg) argument
2377 ComposePsPoll(struct rt_rtmp_adapter *pAd) argument
2416 ComposeNullFrame(struct rt_rtmp_adapter *pAd) argument
2461 MakeIbssBeacon(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Dsync.c53 void SyncStateMachineInit(struct rt_rtmp_adapter *pAd, argument
99 RTMPInitTimer(pAd, &pAd->MlmeAux.BeaconTimer,
100 GET_TIMER_FUNCTION(BeaconTimeout), pAd, FALSE);
101 RTMPInitTimer(pAd, &pAd->MlmeAux.ScanTimer,
102 GET_TIMER_FUNCTION(ScanTimeout), pAd, FALSE);
118 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
124 if (RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_HALT_IN_PROGRESS))
127 if ((pAd
158 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
186 MlmeScanReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
300 MlmeJoinReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
440 MlmeStartReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
553 PeerBeaconAtScanAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
671 PeerBeaconAtJoinAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1044 PeerBeacon(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1706 PeerProbeReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1836 BeaconTimeoutAtJoinAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1851 ScanTimeoutAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1871 InvalidStateWhenScan(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1887 InvalidStateWhenJoin(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1903 InvalidStateWhenStart(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
1922 EnqueuePsPoll(struct rt_rtmp_adapter *pAd) argument
1936 EnqueueProbeRequest(struct rt_rtmp_adapter *pAd) argument
1966 ScanRunning(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Dauth.c58 void AuthStateMachineInit(struct rt_rtmp_adapter *pAd, argument
85 RTMPInitTimer(pAd, &pAd->MlmeAux.AuthTimer,
86 GET_TIMER_FUNCTION(AuthTimeout), pAd, FALSE);
102 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
109 (pAd, fRTMP_ADAPTER_HALT_IN_PROGRESS | fRTMP_ADAPTER_NIC_NOT_EXIST))
113 if (pAd->Mlme.AuthMachine.CurrState == AUTH_WAIT_SEQ2)
114 Cls2errAction(pAd, pAd->MlmeAux.Bssid);
116 MlmeEnqueue(pAd, AUTH_STATE_MACHIN
128 MlmeAuthReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
151 PeerAuthRspAtSeq2Action(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
285 PeerAuthRspAtSeq4Action(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
324 MlmeDeauthReqAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
377 AuthTimeoutAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
394 InvalidStateWhenAuth(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
417 Cls2errAction(struct rt_rtmp_adapter *pAd, u8 *pAddr) argument
442 AUTH_ReqSend(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *pElem, struct rt_ralink_timer *pAuthTimer, char *pSMName, u16 SeqNo, u8 *pNewElement, unsigned long ElementLen) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/
H A Dcmm_mac_pci.c51 int RTMPAllocTxRxRingMemory(struct rt_rtmp_adapter *pAd) argument
81 pAd->TxDescRing[num].AllocSize =
83 RTMP_AllocateTxDescMemory(pAd, num,
84 pAd->TxDescRing[num].
86 &pAd->TxDescRing[num].AllocVa,
87 &pAd->TxDescRing[num].
90 if (pAd->TxDescRing[num].AllocVa == NULL) {
97 NdisZeroMemory(pAd->TxDescRing[num].AllocVa,
98 pAd->TxDescRing[num].AllocSize);
102 RTMP_GetPhysicalAddressHigh(pAd
403 RTMPRingCleanUp(struct rt_rtmp_adapter *pAd, u8 RingType) argument
536 RTMPFreeTxRxRingMemory(struct rt_rtmp_adapter *pAd) argument
670 RT28XXDMADisable(struct rt_rtmp_adapter *pAd) argument
694 RT28XXDMAEnable(struct rt_rtmp_adapter *pAd) argument
724 AsicCheckCommanOk(struct rt_rtmp_adapter *pAd, u8 Command) argument
797 RT28xx_UpdateBeaconToAsic(struct rt_rtmp_adapter *pAd, int apidx, unsigned long FrameLen, unsigned long UpdatePos) argument
856 RT28xxPciStaAsicForceWakeup(struct rt_rtmp_adapter *pAd, IN BOOLEAN bFromTx) argument
952 RT28xxPciStaAsicSleepThenAutoWakeup(struct rt_rtmp_adapter *pAd, u16 TbttNumToNextWakeUp) argument
1023 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
1051 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
1167 RT28xxPciAsicRadioOn(struct rt_rtmp_adapter *pAd, u8 Level) argument
1289 RT28xxPciAsicRadioOff(struct rt_rtmp_adapter *pAd, u8 Level, u16 TbttNumToNextWakeUp) argument
1500 RT28xxPciMlmeRadioOn(struct rt_rtmp_adapter *pAd) argument
1549 RT28xxPciMlmeRadioOFF(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Dee_prom.c41 static inline void RaiseClock(struct rt_rtmp_adapter *pAd, u32 * x) argument
44 RTMP_IO_WRITE32(pAd, E2PROM_CSR, *x);
49 static inline void LowerClock(struct rt_rtmp_adapter *pAd, u32 * x) argument
52 RTMP_IO_WRITE32(pAd, E2PROM_CSR, *x);
57 static inline u16 ShiftInBits(struct rt_rtmp_adapter *pAd) argument
62 RTMP_IO_READ32(pAd, E2PROM_CSR, &x);
68 RaiseClock(pAd, &x);
70 RTMP_IO_READ32(pAd, E2PROM_CSR, &x);
71 LowerClock(pAd, &x); /*prevent read failed */
82 static inline void ShiftOutBits(struct rt_rtmp_adapter *pAd, argument
110 EEpromCleanup(struct rt_rtmp_adapter *pAd) argument
123 EWEN(struct rt_rtmp_adapter *pAd) argument
144 EWDS(struct rt_rtmp_adapter *pAd) argument
166 rtmp_ee_prom_read16(struct rt_rtmp_adapter *pAd, u16 Offset, u16 * pValue) argument
[all...]
H A Drtmp_timer.c77 static void RtmpTimerQHandle(struct rt_rtmp_adapter *pAd) argument
87 pTask = &pAd->timerTask;
92 RTMP_WAIT_EVENT_INTERRUPTIBLE(pAd, pTask);
97 if (pAd->TimerQ.status == RTMP_TASK_STAT_STOPED)
101 while (pAd->TimerQ.pQHead) {
102 RTMP_INT_LOCK(&pAd->TimerQLock, irqFlag);
103 pEntry = pAd->TimerQ.pQHead;
108 pAd->TimerQ.pQHead = pEntry->pNext;
109 if (pEntry == pAd->TimerQ.pQTail)
110 pAd
144 struct rt_rtmp_adapter *pAd; local
177 RtmpTimerQInsert(struct rt_rtmp_adapter *pAd, struct rt_ralink_timer *pTimer) argument
214 RtmpTimerQRemove(struct rt_rtmp_adapter *pAd, struct rt_ralink_timer *pTimer) argument
248 RtmpTimerQExit(struct rt_rtmp_adapter *pAd) argument
270 RtmpTimerQInit(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Ddfs.c47 pAd Pointer to our adapter
55 BOOLEAN RadarChannelCheck(struct rt_rtmp_adapter *pAd, u8 Ch) argument
60 for (i = 0; i < pAd->ChannelListNum; i++) {
61 if (Ch == pAd->ChannelList[i].Channel) {
62 result = pAd->ChannelList[i].DfsReq;
H A Deeprom.c39 int RtmpChipOpsEepromHook(struct rt_rtmp_adapter *pAd, int infType) argument
41 struct rt_rtmp_chip_op *pChipOps = &pAd->chipOps;
49 RTMP_IO_READ32(pAd, MAC_CSR0, &MacCsr0);
50 pAd->MACVersion = MacCsr0;
52 if ((pAd->MACVersion != 0x00)
53 && (pAd->MACVersion != 0xFFFFFFFF))
59 pAd->bUseEfuse = FALSE;
60 RTMP_IO_READ32(pAd, EFUSE_CTRL, &eFuseCtrl);
61 pAd->bUseEfuse = ((eFuseCtrl & 0x80000000) == 0x80000000) ? 1 : 0;
62 if (pAd
[all...]
H A Dcmm_sync.c108 void BuildChannelList(struct rt_rtmp_adapter *pAd) argument
113 NdisZeroMemory(pAd->ChannelList,
117 if ((pAd->CommonCfg.PhyMode != PHY_11A)
118 && (pAd->CommonCfg.PhyMode != PHY_11AN_MIXED)
119 && (pAd->CommonCfg.PhyMode != PHY_11N_5G)
121 switch (pAd->CommonCfg.CountryRegion & 0x7f) {
123 NdisMoveMemory(&pAd->ChannelList[index],
124 &pAd->TxPower[BG_BAND_REGION_0_START],
130 NdisMoveMemory(&pAd->ChannelList[index],
131 &pAd
362 FirstChannel(struct rt_rtmp_adapter *pAd) argument
378 NextChannel(struct rt_rtmp_adapter *pAd, u8 channel) argument
411 ChangeToCellPowerLimit(struct rt_rtmp_adapter *pAd, u8 AironetCellPowerLimit) argument
438 ConvertToRssi(struct rt_rtmp_adapter *pAd, char Rssi, u8 RssiNumber) argument
472 ScanNextChannel(struct rt_rtmp_adapter *pAd) argument
703 MgtProbReqMacHeaderInit(struct rt_rtmp_adapter *pAd, struct rt_header_802_11 * pHdr80211, u8 SubType, u8 ToDs, u8 *pDA, u8 *pBssid) argument
[all...]
H A Drtmp_init.c48 {BBP_R66, 0x38}, /* Also set this default value to pAd->BbpTuning.R66CurrentValue at initial */
158 struct rt_rtmp_adapter *pAd; local
177 Status = AdapterBlockAllocateMemory(handle, (void **) & pAd);
182 pAd->BeaconBuf = pBeaconBuf;
184 ("=== pAd = %p, size = %d ===\n", pAd,
188 NdisAllocateSpinLock(&pAd->MgmtRingLock);
190 NdisAllocateSpinLock(&pAd->RxRingLock);
192 NdisAllocateSpinLock(&pAd->McuCmdLock);
197 NdisAllocateSpinLock(&pAd
233 RTMPReadTxPwrPerRate(struct rt_rtmp_adapter *pAd) argument
444 RTMPReadChannelPwr(struct rt_rtmp_adapter *pAd) argument
653 NICReadRegParameters(struct rt_rtmp_adapter *pAd, void *WrapperConfigurationContext) argument
679 NICReadEEPROMParameters(struct rt_rtmp_adapter *pAd, u8 *mac_addr) argument
1136 NICInitAsicFromEEPROM(struct rt_rtmp_adapter *pAd) argument
1369 NICInitializeAdapter(struct rt_rtmp_adapter *pAd, IN BOOLEAN bHardReset) argument
1565 NICInitializeAsic(struct rt_rtmp_adapter *pAd, IN BOOLEAN bHardReset) argument
1932 NICIssueReset(struct rt_rtmp_adapter *pAd) argument
1968 NICCheckForHang(struct rt_rtmp_adapter *pAd) argument
1973 NICUpdateFifoStaCounters(struct rt_rtmp_adapter *pAd) argument
2097 NICUpdateRawCounters(struct rt_rtmp_adapter *pAd) argument
2302 NICResetFromError(struct rt_rtmp_adapter *pAd) argument
2320 NICLoadFirmware(struct rt_rtmp_adapter *pAd) argument
2342 NICEraseFirmware(struct rt_rtmp_adapter *pAd) argument
2370 NICLoadRateSwitchingParams(struct rt_rtmp_adapter *pAd) argument
2503 UserCfgInit(struct rt_rtmp_adapter *pAd) argument
2867 RTMPInitTimer(struct rt_rtmp_adapter *pAd, struct rt_ralink_timer *pTimer, void *pTimerFunc, void *pData, IN BOOLEAN Repeat) argument
3022 RTMPSetLED(struct rt_rtmp_adapter *pAd, u8 Status) argument
3109 RTMPSetSignalLED(struct rt_rtmp_adapter *pAd, IN NDIS_802_11_RSSI Dbm) argument
3156 RTMPEnableRxTx(struct rt_rtmp_adapter *pAd) argument
3185 CfgInitHook(struct rt_rtmp_adapter *pAd) argument
3190 rt28xx_init(struct rt_rtmp_adapter *pAd, char *pDefaultMac, char *pHostName) argument
3468 RtmpChipOpsRegister(struct rt_rtmp_adapter *pAd, int infType) argument
3500 RtmpRaDevCtrlInit(struct rt_rtmp_adapter *pAd, IN RTMP_INF_TYPE infType) argument
3527 RtmpRaDevCtrlExit(struct rt_rtmp_adapter *pAd) argument
3536 get_netdev_from_bssid(struct rt_rtmp_adapter *pAd, u8 FromWhichBSSID) argument
[all...]
H A Dcmm_mac_usb.c38 pAd Pointer to our adapter
51 int NICInitRecv(struct rt_rtmp_adapter *pAd) argument
55 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie;
60 /*InterlockedExchange(&pAd->PendingRx, 0); */
61 pAd->PendingRx = 0;
62 pAd->NextRxBulkInReadIndex = 0; /* Next Rx Read index */
63 pAd->NextRxBulkInIndex = 0; /*RX_RING_SIZE -1; // Rx Bulk pointer */
64 pAd->NextRxBulkInPosition = 0;
67 struct rt_rx_context *pRxContext = &(pAd->RxContext[i]);
86 pRxContext->pAd
135 NICInitTransmit(struct rt_rtmp_adapter *pAd) argument
431 RTMPAllocTxRxRingMemory(struct rt_rtmp_adapter *pAd) argument
522 RTMPFreeTxRxRingMemory(struct rt_rtmp_adapter *pAd) argument
639 RTUSBWriteHWMACAddress(struct rt_rtmp_adapter *pAd) argument
690 RT28XXDMADisable(struct rt_rtmp_adapter *pAd) argument
709 RT28XXDMAEnable(struct rt_rtmp_adapter *pAd) argument
770 RT28xx_UpdateBeaconToAsic(struct rt_rtmp_adapter *pAd, int apidx, unsigned long FrameLen, unsigned long UpdatePos) argument
852 RTUSBBssBeaconStop(struct rt_rtmp_adapter *pAd) argument
886 RTUSBBssBeaconStart(struct rt_rtmp_adapter *pAd) argument
932 RTUSBBssBeaconInit(struct rt_rtmp_adapter *pAd) argument
957 RTUSBBssBeaconExit(struct rt_rtmp_adapter *pAd) argument
1004 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
1041 RT28xxUsbMlmeRadioOn(struct rt_rtmp_adapter *pAd) argument
1071 RT28xxUsbMlmeRadioOFF(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Dcmm_info.c38 pAd Pointer to our adapter
227 pAd Pointer to our adapter
238 void RTMPWPARemoveAllKeys(struct rt_rtmp_adapter *pAd) argument
245 pAd->StaCfg.AuthMode, pAd->StaCfg.WepStatus));
246 RTMP_CLEAR_PSFLAG(pAd, fRTMP_PS_CAN_GO_SLEEP);
249 if (pAd->StaCfg.AuthMode < Ndis802_11AuthModeWPA)
254 if (pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
258 AsicRemovePairwiseKeyEntry(pAd, BSS0, BSSID_WCID);
264 CipherName[pAd
310 RTMPSetPhyMode(struct rt_rtmp_adapter *pAd, unsigned long phymode) argument
438 RTMPSetHT(struct rt_rtmp_adapter *pAd, struct rt_oid_set_ht_phymode *pHTPhyMode) argument
651 RTMPSetIndividualHT(struct rt_rtmp_adapter *pAd, u8 apidx) argument
793 RTMPAddWcidAttributeEntry(struct rt_rtmp_adapter *pAd, u8 BssIdx, u8 KeyIdx, u8 CipherAlg, struct rt_mac_table_entry *pEntry) argument
917 SetCommonHT(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Dmlme.c359 int MlmeInit(struct rt_rtmp_adapter *pAd) argument
366 Status = MlmeQueueInit(&pAd->Mlme.Queue);
370 pAd->Mlme.bRunning = FALSE;
371 NdisAllocateSpinLock(&pAd->Mlme.TaskLock);
374 BssTableInit(&pAd->ScanTab);
377 AssocStateMachineInit(pAd, &pAd->Mlme.AssocMachine,
378 pAd->Mlme.AssocFunc);
379 AuthStateMachineInit(pAd, &pAd
456 MlmeHandler(struct rt_rtmp_adapter *pAd) argument
574 MlmeHalt(struct rt_rtmp_adapter *pAd) argument
642 MlmeResetRalinkCounters(struct rt_rtmp_adapter *pAd) argument
697 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
941 MlmeSelectTxRateTable(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry, u8 ** ppTable, u8 *pTableSize, u8 *pInitTxRateIdx) argument
1147 STAMlmePeriodicExec(struct rt_rtmp_adapter *pAd) argument
1494 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
1520 MlmeAutoScan(struct rt_rtmp_adapter *pAd) argument
1535 MlmeAutoReconnectLastSSID(struct rt_rtmp_adapter *pAd) argument
1585 MlmeCheckForRoaming(struct rt_rtmp_adapter *pAd, unsigned long Now32) argument
1643 MlmeCheckForFastRoaming(struct rt_rtmp_adapter *pAd) argument
1702 MlmeSetTxRate(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry, struct rt_rtmp_tx_rate_switch * pTxRate) argument
1843 MlmeDynamicTxRateSwitching(struct rt_rtmp_adapter *pAd) argument
2367 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
2604 MlmeCheckPsmChange(struct rt_rtmp_adapter *pAd, unsigned long Now32) argument
2641 MlmeSetPsmBit(struct rt_rtmp_adapter *pAd, u16 psm) argument
2672 MlmeCalculateChannelQuality(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pMacEntry, unsigned long Now32) argument
2754 MlmeSetTxPreamble(struct rt_rtmp_adapter *pAd, u16 TxPreamble) argument
2834 MlmeUpdateTxRates(struct rt_rtmp_adapter *pAd, IN BOOLEAN bLinkUp, u8 apidx) argument
3295 MlmeUpdateHtTxRates(struct rt_rtmp_adapter *pAd, u8 apidx) argument
3447 BATableInit(struct rt_rtmp_adapter *pAd, struct rt_ba_table *Tab) argument
3465 MlmeRadioOff(struct rt_rtmp_adapter *pAd) argument
3471 MlmeRadioOn(struct rt_rtmp_adapter *pAd) argument
3624 BATableDeleteORIEntry(struct rt_rtmp_adapter *pAd, struct rt_ba_ori_entry *pBAORIEntry) argument
3655 BssEntrySet(struct rt_rtmp_adapter *pAd, struct rt_bss_entry *pBss, u8 *pBssid, char Ssid[], u8 SsidLen, u8 BssType, u16 BeaconPeriod, struct rt_cf_parm * pCfParm, u16 AtimWin, u16 CapabilityInfo, u8 SupRate[], u8 SupRateLen, u8 ExtRate[], u8 ExtRateLen, struct rt_ht_capability_ie * pHtCapability, struct rt_add_ht_info_ie * pAddHtInfo, u8 HtCapabilityLen, u8 AddHtInfoLen, u8 NewExtChanOffset, u8 Channel, char Rssi, IN LARGE_INTEGER TimeStamp, u8 CkipFlag, struct rt_edca_parm *pEdcaParm, struct rt_qos_capability_parm *pQosCapability, struct rt_qbss_load_parm *pQbssLoad, u16 LengthVIE, struct rt_ndis_802_11_variable_ies *pVIE) argument
3840 BssTableSetEntry(struct rt_rtmp_adapter *pAd, struct rt_bss_table *Tab, u8 *pBssid, char Ssid[], u8 SsidLen, u8 BssType, u16 BeaconPeriod, struct rt_cf_parm * CfParm, u16 AtimWin, u16 CapabilityInfo, u8 SupRate[], u8 SupRateLen, u8 ExtRate[], u8 ExtRateLen, struct rt_ht_capability_ie * pHtCapability, struct rt_add_ht_info_ie * pAddHtInfo, u8 HtCapabilityLen, u8 AddHtInfoLen, u8 NewExtChanOffset, u8 ChannelNo, char Rssi, IN LARGE_INTEGER TimeStamp, u8 CkipFlag, struct rt_edca_parm *pEdcaParm, struct rt_qos_capability_parm *pQosCapability, struct rt_qbss_load_parm *pQbssLoad, u16 LengthVIE, struct rt_ndis_802_11_variable_ies *pVIE) argument
3927 BssTableSsidSort(struct rt_rtmp_adapter *pAd, struct rt_bss_table *OutTab, char Ssid[], u8 SsidLen) argument
4549 MacAddrRandomBssid(struct rt_rtmp_adapter *pAd, u8 *pAddr) argument
4575 MgtMacHeaderInit(struct rt_rtmp_adapter *pAd, struct rt_header_802_11 * pHdr80211, u8 SubType, u8 ToDs, u8 *pDA, u8 *pBssid) argument
4687 MlmeEnqueue(struct rt_rtmp_adapter *pAd, unsigned long Machine, unsigned long MsgType, unsigned long MsgLen, void * Msg) argument
4747 MlmeEnqueueForRecv(struct rt_rtmp_adapter *pAd, unsigned long Wcid, unsigned long TimeStampHigh, unsigned long TimeStampLow, u8 Rssi0, u8 Rssi1, u8 Rssi2, unsigned long MsgLen, void * Msg, u8 Signal) argument
4843 MlmeRestartStateMachine(struct rt_rtmp_adapter *pAd) argument
4986 MsgTypeSubst(struct rt_rtmp_adapter *pAd, struct rt_frame_802_11 * pFrame, int * Machine, int * MsgType) argument
5161 StateMachinePerformAction(struct rt_rtmp_adapter *pAd, struct rt_state_machine *S, struct rt_mlme_queue_elem *Elem) argument
5176 Drop(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem) argument
5192 LfsrInit(struct rt_rtmp_adapter *pAd, unsigned long Seed) argument
5205 RandomByte(struct rt_rtmp_adapter *pAd) argument
5247 RTMPCheckRates(struct rt_rtmp_adapter *pAd, IN u8 SupRate[], IN u8 * SupRateLen) argument
5270 RTMPCheckChannel(struct rt_rtmp_adapter *pAd, u8 CentralChannel, u8 Channel) argument
5323 RTMPCheckHt(struct rt_rtmp_adapter *pAd, u8 Wcid, struct rt_ht_capability_ie * pHtCapability, struct rt_add_ht_info_ie * pAddHtInfo) argument
5452 RTMPUpdateMlmeRate(struct rt_rtmp_adapter *pAd) argument
5561 RTMPMaxRssi(struct rt_rtmp_adapter *pAd, char Rssi0, char Rssi1, char Rssi2) argument
5597 AsicEvaluateRxAnt(struct rt_rtmp_adapter *pAd) argument
5680 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
5752 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)FunctionContext; local
5787 RTMPSetPiggyBack(struct rt_rtmp_adapter *pAd, IN BOOLEAN bPiggyBack) argument
5812 RTMPCheckEntryEnableAutoRateSwitch(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry) argument
5829 RTMPAutoRateSwitchCheck(struct rt_rtmp_adapter *pAd) argument
5853 RTMPStaFixedTxMode(struct rt_rtmp_adapter *pAd, struct rt_mac_table_entry *pEntry) argument
5924 AsicStaBbpTuning(struct rt_rtmp_adapter *pAd) argument
6036 RTMPSetAGCInitValue(struct rt_rtmp_adapter *pAd, u8 BandWidth) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/
H A Drt_usb.c80 int RtmpMgmtTaskInit(struct rt_rtmp_adapter *pAd) argument
88 RtmpTimerQInit(pAd);
90 pTask = &pAd->timerTask;
91 RtmpOSTaskInit(pTask, "RtmpTimerTask", pAd);
95 RTMP_OS_NETDEV_GET_DEVNAME(pAd->net_dev));
100 pTask = &pAd->mlmeTask;
101 RtmpOSTaskInit(pTask, "RtmpMlmeTask", pAd);
105 RTMP_OS_NETDEV_GET_DEVNAME(pAd->net_dev));
110 pTask = &pAd->cmdQTask;
111 RtmpOSTaskInit(pTask, "RtmpCmdQTask", pAd);
136 RtmpMgmtTaskExit(struct rt_rtmp_adapter *pAd) argument
200 struct rt_rtmp_adapter *pAd; local
296 struct rt_rtmp_adapter *pAd; local
344 struct rt_rtmp_adapter *pAd; local
393 struct rt_rtmp_adapter *pAd; local
453 struct rt_rtmp_adapter *pAd; local
511 struct rt_rtmp_adapter *pAd; local
592 struct rt_rtmp_adapter *pAd; local
632 struct rt_rtmp_adapter *pAd; local
672 struct rt_rtmp_adapter *pAd; local
712 struct rt_rtmp_adapter *pAd; local
750 RtmpNetTaskInit(struct rt_rtmp_adapter *pAd) argument
777 RtmpNetTaskExit(struct rt_rtmp_adapter *pAd) argument
[all...]
H A Drt_main_dev.c86 struct rt_rtmp_adapter *pAd = NULL; local
88 GET_PAD_FROM_NET_DEV(pAd, net_dev);
90 /* Sanity check for pAd */
91 if (pAd == NULL)
94 netif_carrier_off(pAd->net_dev);
95 netif_stop_queue(pAd->net_dev);
100 if (INFRA_ON(pAd) &&
101 (!RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_NIC_NOT_EXIST))) {
109 pAd->CommonCfg.Bssid);
121 pAd
170 struct rt_rtmp_adapter *pAd = NULL; local
214 struct rt_rtmp_adapter *pAd = NULL; local
384 struct rt_rtmp_adapter *pAd = NULL; local
462 RtmpPhyNetDevInit(struct rt_rtmp_adapter *pAd, struct rt_rtmp_os_netdev_op_hook *pNetDevHook) argument
510 struct rt_rtmp_adapter *pAd = NULL; local
562 struct rt_rtmp_adapter *pAd = NULL; local
581 struct rt_rtmp_adapter *pAd = NULL; local
644 struct rt_rtmp_adapter *pAd = NULL; local
691 RtmpPhyNetDevExit(struct rt_rtmp_adapter *pAd, struct net_device *net_dev) argument
[all...]
H A Drtmp_mcu.h41 int RtmpAsicEraseFirmware(struct rt_rtmp_adapter *pAd);
43 int RtmpAsicLoadFirmware(struct rt_rtmp_adapter *pAd);
45 int RtmpAsicSendCommandToMcu(struct rt_rtmp_adapter *pAd,
H A Ddfs.h39 BOOLEAN RadarChannelCheck(struct rt_rtmp_adapter *pAd, u8 Ch);
H A Dspectrum.h34 char RTMP_GetTxPwr(struct rt_rtmp_adapter *pAd, IN HTTRANSMIT_SETTING HTTxMode);
48 void MakeMeasurementReqFrame(struct rt_rtmp_adapter *pAd,
71 void EnqueueMeasurementRep(struct rt_rtmp_adapter *pAd,
91 void EnqueueTPCReq(struct rt_rtmp_adapter *pAd, u8 *pDA, u8 DialogToken);
105 void EnqueueTPCRep(struct rt_rtmp_adapter *pAd,
123 void EnqueueChSwAnn(struct rt_rtmp_adapter *pAd,
138 void PeerSpectrumAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem);
149 int Set_MeasureReq_Proc(struct rt_rtmp_adapter *pAd, char *arg);
151 int Set_TpcReq_Proc(struct rt_rtmp_adapter *pAd, char *arg);
153 int Set_PwrConstraint(struct rt_rtmp_adapter *pAd, cha
[all...]
H A Deeprom.h44 int rtmp_ee_prom_read16(struct rt_rtmp_adapter *pAd,
51 int RTUSBReadEEPROM16(struct rt_rtmp_adapter *pAd,
57 int rtmp_ee_efuse_read16(struct rt_rtmp_adapter *pAd,
65 int RtmpChipOpsEepromHook(struct rt_rtmp_adapter *pAd, int infType);
H A Drt_pci_rbus.c80 void RTMP_AllocateTxDescMemory(struct rt_rtmp_adapter *pAd, argument
87 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie;
96 void RTMP_AllocateMgmtDescMemory(struct rt_rtmp_adapter *pAd, argument
102 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie;
111 void RTMP_AllocateRxDescMemory(struct rt_rtmp_adapter *pAd, argument
117 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie;
126 void RTMP_FreeDescMemory(struct rt_rtmp_adapter *pAd, argument
131 struct os_cookie *pObj = (struct os_cookie *)pAd->OS_Cookie;
138 void RTMP_AllocateFirstTxBuffer(struct rt_rtmp_adapter *pAd, argument
145 struct os_cookie *pObj = (struct os_cookie *)pAd
152 RTMP_FreeFirstTxBuffer(struct rt_rtmp_adapter *pAd, unsigned long Length, IN BOOLEAN Cached, void *VirtualAddress, dma_addr_t PhysicalAddress) argument
173 RTMP_AllocateSharedMemory(struct rt_rtmp_adapter *pAd, unsigned long Length, IN BOOLEAN Cached, void **VirtualAddress, dma_addr_t *PhysicalAddress) argument
197 RTMP_AllocateRxPacketBuffer(struct rt_rtmp_adapter *pAd, unsigned long Length, IN BOOLEAN Cached, void **VirtualAddress, OUT dma_addr_t * PhysicalAddress) argument
227 Invalid_Remaining_Packet(struct rt_rtmp_adapter *pAd, unsigned long VirtualAddress) argument
236 RtmpNetTaskInit(struct rt_rtmp_adapter *pAd) argument
260 RtmpNetTaskExit(struct rt_rtmp_adapter *pAd) argument
276 RtmpMgmtTaskInit(struct rt_rtmp_adapter *pAd) argument
296 RtmpMgmtTaskExit(struct rt_rtmp_adapter *pAd) argument
302 rt2860_int_enable(struct rt_rtmp_adapter *pAd, unsigned int mode) argument
319 rt2860_int_disable(struct rt_rtmp_adapter *pAd, unsigned int mode) argument
340 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
379 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
413 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
447 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
485 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
523 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
561 struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)data; local
607 struct rt_rtmp_adapter *pAd = NULL; local
793 linux_pci_map_single(struct rt_rtmp_adapter *pAd, void *ptr, size_t size, int sd_idx, int direction) argument
827 linux_pci_unmap_single(struct rt_rtmp_adapter *pAd, dma_addr_t dma_addr, size_t size, int direction) argument
[all...]
H A Dap.h44 void WpaStateMachineInit(struct rt_rtmp_adapter *pAd,
54 void RTMPSetPiggyBack(struct rt_rtmp_adapter *pAd, IN BOOLEAN bPiggyBack);
56 void MacTableReset(struct rt_rtmp_adapter *pAd);
58 struct rt_mac_table_entry *MacTableInsertEntry(struct rt_rtmp_adapter *pAd,
62 BOOLEAN MacTableDeleteEntry(struct rt_rtmp_adapter *pAd,
65 struct rt_mac_table_entry *MacTableLookup(struct rt_rtmp_adapter *pAd,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/chip/
H A Dmac_usb.h138 void *pAd; /*Initialized in MiniportInitialize */ member in struct:rt_tx_context
162 void *pAd; /*Initialized in MiniportInitialize */ member in struct:rt_ht_tx_context
190 void *pAd; member in struct:rt_rx_context
222 #define RTMP_START_DEQUEUE(pAd, QueIdx, irqFlags) \
224 RTMP_IRQ_LOCK(&pAd->DeQueueLock[QueIdx], irqFlags); \
225 if (pAd->DeQueueRunning[QueIdx]) { \
226 RTMP_IRQ_UNLOCK(&pAd->DeQueueLock[QueIdx], irqFlags); \
230 pAd->DeQueueRunning[QueIdx] = TRUE; \
231 RTMP_IRQ_UNLOCK(&pAd->DeQueueLock[QueIdx], irqFlags);\
235 #define RTMP_STOP_DEQUEUE(pAd, QueId
[all...]

Completed in 209 milliseconds

123