/linux-2.6.39/drivers/staging/rt2860/common/ |
D | crypt_hmac.c | 60 NdisZeroMemory(&sha_ctx1, sizeof(struct rt_sha1_ctx)); in HMAC_SHA1() 61 NdisZeroMemory(&sha_ctx2, sizeof(struct rt_sha1_ctx)); in HMAC_SHA1() 68 NdisZeroMemory(K0, SHA1_BLOCK_SIZE); in HMAC_SHA1() 139 NdisZeroMemory(&md5_ctx1, sizeof(struct rt_md5_ctx_struc)); in HMAC_MD5() 140 NdisZeroMemory(&md5_ctx2, sizeof(struct rt_md5_ctx_struc)); in HMAC_MD5() 147 NdisZeroMemory(K0, MD5_BLOCK_SIZE); in HMAC_MD5()
|
D | cmm_mac_usb.c | 84 NdisZeroMemory(pRxContext->TransferBuffer, MAX_RXBULK_SIZE); in NICInitRecv() 204 NdisZeroMemory(pHTTXContext, sizeof(struct rt_ht_tx_context)); in NICInitTransmit() 213 NdisZeroMemory(pHTTXContext->TransferBuffer-> in NICInitTransmit() 243 NdisZeroMemory(pAd->MgmtDescRing.AllocVa, in NICInitTransmit() 294 NdisZeroMemory(pBeaconContext, sizeof(struct rt_tx_context)); in NICInitTransmit() 313 NdisZeroMemory(pNullContext, sizeof(struct rt_tx_context)); in NICInitTransmit() 331 NdisZeroMemory(pRTSContext, sizeof(struct rt_tx_context)); in NICInitTransmit() 493 NdisZeroMemory(&pAd->FragFrame, sizeof(struct rt_fragment_frame)); in RTMPAllocTxRxRingMemory() 801 NdisZeroMemory(pBeaconSync->BeaconTxWI[bcn_idx], TXWI_SIZE); in RT28xx_UpdateBeaconToAsic() 827 NdisZeroMemory((u8 *)(pBeaconFrame + FrameLen), padding); in RT28xx_UpdateBeaconToAsic() [all …]
|
D | crypt_sha2.c | 71 NdisZeroMemory(pSHA_CTX->Block, SHA1_BLOCK_SIZE); in RT_SHA1_Init() 149 NdisZeroMemory(pSHA_CTX->Block, SHA1_BLOCK_SIZE); in SHA1_Hash() 262 NdisZeroMemory(&sha_ctx, sizeof(struct rt_sha1_ctx)); in RT_SHA1()
|
D | cmm_wpa.c | 168 NdisZeroMemory(pEntry->R_Counter, in WpaEAPOLStartAction() 203 NdisZeroMemory((u8 *)& peerKeyInfo, sizeof(peerKeyInfo)); in WpaEAPOLKeyAction() 475 NdisZeroMemory(&EAPOLPKT, sizeof(struct rt_eapol_packet)); in WPAStart4WayHS() 588 NdisZeroMemory(&EAPOLPKT, sizeof(struct rt_eapol_packet)); in PeerPairMsg1Action() 681 NdisZeroMemory(&EAPOLPKT, sizeof(struct rt_eapol_packet)); in PeerPairMsg2Action() 774 NdisZeroMemory(&EAPOLPKT, sizeof(struct rt_eapol_packet)); in PeerPairMsg3Action() 794 NdisZeroMemory(pSharedKey, sizeof(struct rt_cipher_key)); in PeerPairMsg3Action() 911 NdisZeroMemory(&pEntry->PairwiseKey, sizeof(struct rt_cipher_key)); in PeerPairMsg4Action() 1014 NdisZeroMemory(&EAPOLPKT, sizeof(struct rt_eapol_packet)); in WPAStart2WayGroupHS() 1095 NdisZeroMemory(&EAPOLPKT, sizeof(struct rt_eapol_packet)); in PeerGroupMsg1Action() [all …]
|
D | spectrum.c | 405 NdisZeroMemory(pAd->CommonCfg.pMeasureReqTab, in MeasureReqTabInit() 508 NdisZeroMemory(pEntry, in MeasureReqInsert() 588 NdisZeroMemory(pEntry, sizeof(struct rt_measure_req_entry)); in MeasureReqDelete() 603 NdisZeroMemory(pAd->CommonCfg.pTpcReqTab, sizeof(struct rt_tpc_req_tab)); in TpcReqTabInit() 705 NdisZeroMemory(pEntry, sizeof(struct rt_tpc_req_entry)); in TpcReqInsert() 784 NdisZeroMemory(pEntry, sizeof(struct rt_tpc_req_entry)); in TpcReqDelete() 1134 NdisZeroMemory(&MeasureReqIE, sizeof(struct rt_measure_req_info)); in MakeMeasurementReqFrame() 1190 NdisZeroMemory(&MeasureRepIE, sizeof(struct rt_measure_report_info)); in EnqueueMeasurementRep() 1782 NdisZeroMemory(&ChSwAnnInfo, sizeof(struct rt_ch_sw_ann_info)); in PeerChSwAnnAction() 1909 NdisZeroMemory(&MeasureReportInfo, sizeof(struct rt_measure_report_info)); in PeerMeasureReportAction() [all …]
|
D | action.c | 113 NdisZeroMemory(&Frame, sizeof(struct rt_frame_addba_req)); in MlmeADDBAAction() 204 NdisZeroMemory(&Frame, sizeof(struct rt_frame_delba_req)); in MlmeDELBAAction() 362 NdisZeroMemory(&HTINFOframe, sizeof(struct rt_frame_ht_info)); in respond_ht_information_exchange_action() 554 NdisZeroMemory(pHdr80211, sizeof(struct rt_header_802_11)); in ActHeaderInit() 566 NdisZeroMemory(pCntlBar, sizeof(struct rt_frame_bar)); in BarHeaderInit()
|
D | ba_action.c | 269 NdisZeroMemory(mpdu_blk, sizeof(struct reordering_mpdu)); in ba_reordering_resource_init() 290 NdisZeroMemory(mpdu_blk, sizeof(struct reordering_mpdu)); in ba_mpdu_blk_alloc() 805 NdisZeroMemory(&DelbaReq, sizeof(DelbaReq)); in BAOriSessionTearDown() 806 NdisZeroMemory(Elem, sizeof(struct rt_mlme_queue_elem)); in BAOriSessionTearDown() 845 NdisZeroMemory(&DelbaReq, sizeof(DelbaReq)); in BAOriSessionTearDown() 846 NdisZeroMemory(Elem, sizeof(struct rt_mlme_queue_elem)); in BAOriSessionTearDown() 914 NdisZeroMemory(&DelbaReq, sizeof(DelbaReq)); in BARecSessionTearDown() 915 NdisZeroMemory(Elem, sizeof(struct rt_mlme_queue_elem)); in BARecSessionTearDown() 1010 NdisZeroMemory(&AddbaReq, sizeof(AddbaReq)); in BAOriSessionSetupTimeout() 1133 NdisZeroMemory(&ADDframe, sizeof(struct rt_frame_addba_rsp)); in PeerAddBAReqAction()
|
D | cmm_mac_pci.c | 97 NdisZeroMemory(pAd->TxDescRing[num].AllocVa, in RTMPAllocTxRxRingMemory() 129 NdisZeroMemory(pAd->TxBufSpace[num].AllocVa, in RTMPAllocTxRxRingMemory() 205 NdisZeroMemory(pAd->MgmtDescRing.AllocVa, in RTMPAllocTxRxRingMemory() 259 NdisZeroMemory(pAd->RxDescRing.AllocVa, in RTMPAllocTxRxRingMemory() 312 NdisZeroMemory(pDmaBuf->AllocVa, pDmaBuf->AllocSize); in RTMPAllocTxRxRingMemory() 327 NdisZeroMemory(&pAd->FragFrame, sizeof(struct rt_fragment_frame)); in RTMPAllocTxRxRingMemory() 610 NdisZeroMemory(pAd->RxRing.Cell, RX_RING_SIZE * sizeof(struct rt_rtmp_dmacb)); in RTMPFreeTxRxRingMemory() 617 NdisZeroMemory(&pAd->RxDescRing, sizeof(struct rt_rtmp_dmabuf)); in RTMPFreeTxRxRingMemory() 624 NdisZeroMemory(&pAd->MgmtDescRing, sizeof(struct rt_rtmp_dmabuf)); in RTMPFreeTxRxRingMemory() 634 NdisZeroMemory(&pAd->TxBufSpace[num], sizeof(struct rt_rtmp_dmabuf)); in RTMPFreeTxRxRingMemory() [all …]
|
D | crypt_md5.c | 86 NdisZeroMemory(pMD5_CTX->Block, MD5_BLOCK_SIZE); in MD5_Init() 219 NdisZeroMemory(pMD5_CTX->Block, MD5_BLOCK_SIZE); in MD5_Hash() 331 NdisZeroMemory(&md5_ctx, sizeof(struct rt_md5_ctx_struc)); in RT_MD5()
|
D | cmm_sanity.c | 1026 NdisZeroMemory(mic, sizeof(mic)); in PeerWpaMessageSanity() 1027 NdisZeroMemory(digest, sizeof(digest)); in PeerWpaMessageSanity() 1028 NdisZeroMemory(KEYDATA, sizeof(KEYDATA)); in PeerWpaMessageSanity() 1029 NdisZeroMemory((u8 *)& EapolKeyInfo, sizeof(EapolKeyInfo)); in PeerWpaMessageSanity() 1054 NdisZeroMemory(ZeroReplay, LEN_KEY_DESC_REPLAY); in PeerWpaMessageSanity() 1104 NdisZeroMemory(pMsg->KeyDesc.KeyMic, LEN_KEY_DESC_MIC); in PeerWpaMessageSanity()
|
D | cmm_data_usb.c | 149 NdisZeroMemory((u8 *)(&pTxBlk->HeaderBuf[0]), TXINFO_SIZE); in RtmpUSB_WriteFragTxResource() 194 NdisZeroMemory(pWirelessPacket, padding + 8); in RtmpUSB_WriteFragTxResource() 310 NdisZeroMemory(pWirelessPacket, padding + 8); in RtmpUSB_WriteSingleTxResource() 536 NdisZeroMemory(pWirelessPacket, padding + 8); in RtmpUSB_FinalWriteTxResource() 610 NdisZeroMemory(pDest, padLen); in RtmpUSBMgmtKickOut()
|
D | rtmp_timer.c | 278 NdisZeroMemory(&pAd->TimerQ, sizeof(pAd->TimerQ)); in RtmpTimerQInit() 285 NdisZeroMemory(pAd->TimerQ.pTimerQPoll, in RtmpTimerQInit()
|
D | cmm_info.c | 202 NdisZeroMemory(pAdapter->CommonCfg.DesireRate, in RTMPSetDesiredRates() 265 NdisZeroMemory(&pAd->SharedKey[BSS0][i], sizeof(struct rt_cipher_key)); in RTMPWPARemoveAllKeys() 341 NdisZeroMemory(pAd->CommonCfg.SupRate, MAX_LEN_OF_SUPPORTED_RATES); in RTMPSetPhyMode() 342 NdisZeroMemory(pAd->CommonCfg.ExtRate, MAX_LEN_OF_SUPPORTED_RATES); in RTMPSetPhyMode() 343 NdisZeroMemory(pAd->CommonCfg.DesireRate, MAX_LEN_OF_SUPPORTED_RATES); in RTMPSetPhyMode()
|
D | cmm_data.c | 164 NdisZeroMemory(&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE)); in MiniportMMRequest() 784 NdisZeroMemory((u8 *)pTxBlk, sizeof(struct rt_tx_blk)); in RTMPDeQueuePacket() 995 NdisZeroMemory(&TxWI, TXWI_SIZE); in RTMPWriteTxWI() 1078 NdisZeroMemory(pTxWI, TXWI_SIZE); in RTMPWriteTxWI_Data() 1559 NdisZeroMemory(pEntry, sizeof(struct rt_mac_table_entry)); in MacTableInsertEntry() 1579 NdisZeroMemory(pEntry->R_Counter, in MacTableInsertEntry() 1727 NdisZeroMemory(pEntry, sizeof(struct rt_mac_table_entry)); in MacTableDeleteEntry() 1776 NdisZeroMemory(pAd->MacTab.Content[i].Addr, 6); in MacTableReset()
|
D | cmm_data_pci.c | 77 NdisZeroMemory(pTxD, TXD_SIZE); in RtmpPCI_WriteTxResource() 136 NdisZeroMemory(pTxD, TXD_SIZE); in RtmpPCI_WriteSingleTxResource() 214 NdisZeroMemory(pTxD, TXD_SIZE); in RtmpPCI_WriteMultiTxResource() 309 NdisZeroMemory(pTxD, TXD_SIZE); in RtmpPCI_WriteFragTxResource()
|
D | rtmp_init.c | 175 NdisZeroMemory(pBeaconBuf, MAX_BEACON_SIZE); in RTMPAllocAdapterBlock() 2528 NdisZeroMemory(&pAd->CommonCfg.IOTestParm, in UserCfgInit() 2590 NdisZeroMemory(&pAd->BeaconTxWI, sizeof(pAd->BeaconTxWI)); in UserCfgInit() 2592 NdisZeroMemory(&pAd->CommonCfg.HtCapability, in UserCfgInit() 2598 NdisZeroMemory(&pAd->CommonCfg.AddHTInfo, in UserCfgInit() 2669 NdisZeroMemory(&pAd->StaCfg.RssiSample, sizeof(struct rt_rssi_sample)); in UserCfgInit() 2730 NdisZeroMemory(pAd->nickname, IW_ESSID_MAX_SIZE + 1); in UserCfgInit() 2746 NdisZeroMemory(pAd->StaCfg.ReplayCounter, 8); in UserCfgInit() 2750 NdisZeroMemory(pAd->StaCfg.WpaPassPhrase, 64); in UserCfgInit() 2789 NdisZeroMemory(&pAd->MacTab, sizeof(struct rt_mac_table)); in UserCfgInit()
|
D | cmm_sync.c | 113 NdisZeroMemory(pAd->ChannelList, in BuildChannelList() 708 NdisZeroMemory(pHdr80211, sizeof(struct rt_header_802_11)); in MgtProbReqMacHeaderInit()
|
D | mlme.c | 2199 NdisZeroMemory(pEntry->TxQuality, in MlmeDynamicTxRateSwitching() 2202 NdisZeroMemory(pEntry->PER, in MlmeDynamicTxRateSwitching() 2266 NdisZeroMemory(pEntry->TxQuality, in MlmeDynamicTxRateSwitching() 2269 NdisZeroMemory(pEntry->PER, in MlmeDynamicTxRateSwitching() 2481 NdisZeroMemory(pAd->DrsCounters.TxQuality, in StaQuickResponeForRateUpExec() 2484 NdisZeroMemory(pAd->DrsCounters.PER, in StaQuickResponeForRateUpExec() 2552 NdisZeroMemory(pAd->DrsCounters.TxQuality, in StaQuickResponeForRateUpExec() 2555 NdisZeroMemory(pAd->DrsCounters.PER, in StaQuickResponeForRateUpExec() 3496 NdisZeroMemory(&Tab->BssEntry[i], sizeof(struct rt_bss_entry)); in BssTableInit() 3606 NdisZeroMemory(&(Tab->BssEntry[Tab->BssNr - 1]), in BssTableDeleteEntry() [all …]
|
/linux-2.6.39/drivers/staging/rt2860/sta/ |
D | wpa.c | 72 NdisZeroMemory(pAd->StaCfg.ReplayCounter, 8); in RTMPReportMicError() 169 NdisZeroMemory(&Packet, sizeof(Packet)); in WpaMicFailureReportFrame() 215 NdisZeroMemory(Mic, sizeof(Mic)); in WpaMicFailureReportFrame() 291 NdisZeroMemory(pSharedKey, sizeof(struct rt_cipher_key)); in WpaStaPairwiseKeySetting() 341 NdisZeroMemory(pSharedKey, sizeof(struct rt_cipher_key)); in WpaStaGroupKeySetting()
|
D | connect.c | 72 NdisZeroMemory((_pAd)->CommonCfg.Ssid, MAX_LEN_OF_SSID); \ 263 NdisZeroMemory(pAd->MlmeAux.AutoReconnectSsid, in CntlIdleProc() 339 NdisZeroMemory(pAd->MlmeAux.Ssid, MAX_LEN_OF_SSID); in CntlOidSsidProc() 342 NdisZeroMemory(pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidSsidProc() 350 NdisZeroMemory(pAd->MlmeAux.AutoReconnectSsid, MAX_LEN_OF_SSID); in CntlOidSsidProc() 542 NdisZeroMemory(pAd->MlmeAux.AutoReconnectSsid, MAX_LEN_OF_SSID); in CntlOidRTBssidProc() 848 NdisZeroMemory(&pAd->StaActive.SupportedPhyInfo. in CntlWaitStartProc() 1364 NdisZeroMemory(&pAd->DrsCounters, sizeof(struct rt_counter_drs)); in LinkUp() 1429 NdisZeroMemory(&pAd->SharedKey[BSS0][0], in LinkUp() 1982 NdisZeroMemory(pAd->CommonCfg.Bssid, MAC_ADDR_LEN); in LinkDown() [all …]
|
D | sync.c | 274 NdisZeroMemory(pAd->MlmeAux.Ssid, MAX_LEN_OF_SSID); in MlmeScanReqAction() 516 NdisZeroMemory(&pAd->StaActive.SupportedPhyInfo. in MlmeStartReqAction() 520 NdisZeroMemory(&pAd->MlmeAux.APEdcaParm, sizeof(struct rt_edca_parm)); in MlmeStartReqAction() 521 NdisZeroMemory(&pAd->MlmeAux.APQbssLoad, in MlmeStartReqAction() 523 NdisZeroMemory(&pAd->MlmeAux.APQosCapability, in MlmeStartReqAction() 893 NdisZeroMemory(pAd->StaActive.SupportedPhyInfo.MCSSet, in PeerBeaconAtJoinAction() 1004 NdisZeroMemory(&pAd->MlmeAux.APEdcaParm, in PeerBeaconAtJoinAction() 1006 NdisZeroMemory(&pAd->MlmeAux.APQbssLoad, in PeerBeaconAtJoinAction() 1008 NdisZeroMemory(&pAd->MlmeAux.APQosCapability, in PeerBeaconAtJoinAction()
|
D | assoc.c | 324 NdisZeroMemory(pAd->StaCfg.ReqVarIEs, MAX_VIE_LEN); in MlmeAssocReqAction() 446 NdisZeroMemory(&QosInfo, in MlmeAssocReqAction() 665 NdisZeroMemory(&QosInfo, in MlmeReassocReqAction() 1062 NdisZeroMemory(pAd->MacTab.Content[BSSID_WCID].RSN_IE, in AssocPostProc() 1445 NdisZeroMemory(&pEntry->HTCapability, sizeof(pEntry->HTCapability)); in StaAddMacTableEntry()
|
/linux-2.6.39/drivers/staging/rt2860/ |
D | rt_main_dev.c | 123 NdisZeroMemory(pAd->MlmeAux.AutoReconnectSsid, in MainVirtualIF_close() 478 NdisZeroMemory((unsigned char *)pNetDevHook, in RtmpPhyNetDevInit() 573 NdisZeroMemory((u8 *)&skb_p->cb[CB_OFF], 15); in rt28xx_send_packets() 730 NdisZeroMemory(*ppAd, sizeof(struct rt_rtmp_adapter)); in AdapterBlockAllocateMemory()
|
D | sta_ioctl.c | 91 NdisZeroMemory(pAd->StaCfg.PMK, 32); in RTMPAddKey() 98 NdisZeroMemory(&pAd->SharedKey[BSS0][0], in RTMPAddKey() 175 NdisZeroMemory(&pAd-> in RTMPAddKey() 1146 NdisZeroMemory(pSsidString, MAX_LEN_OF_SSID + 1); in rt_ioctl_siwessid() 1393 NdisZeroMemory(pAdapter->SharedKey[BSS0][keyIdx].Key, 16); in rt_ioctl_siwencode() 1815 NdisZeroMemory(&pAdapter->SharedKey[BSS0][keyIdx], sizeof(struct rt_cipher_key)); in fnSetCipherKey() 1877 NdisZeroMemory(&pAdapter->SharedKey[BSS0][keyIdx], in rt_ioctl_siwencodeext() 1917 NdisZeroMemory(pAdapter->SharedKey[BSS0][keyIdx].Key, in rt_ioctl_siwencodeext() 2108 NdisZeroMemory(&pAd->StaCfg.RSN_IE[0], MAX_LEN_OF_RSNIE); in rt_ioctl_siwgenie() 2170 NdisZeroMemory(pAd->StaCfg.SavedPMK, in rt_ioctl_siwpmksa() [all …]
|
/linux-2.6.39/drivers/staging/rt2870/common/ |
D | rtusb_io.c | 446 NdisZeroMemory(&PhyCsr4, sizeof(PHY_CSR4_STRUC)); in RTUSBWriteRFRegister() 728 NdisZeroMemory(cmdqelmt, sizeof(struct rt_cmdqelmt)); in RTUSBEnqueueInternalCmd() 866 NdisZeroMemory(pAd->UsbVendorReqBuf, in RTUSB_VendorRequest() 1967 NdisZeroMemory(IVEIV, in CMDHandler()
|