Lines Matching refs:zdev_t
361 zdev_t* dev, struct zsOppositeInfo *peerInfo, void *ctx, u8_t index);
363 typedef u16_t (*zfpStaRxSecurityCheckCb)(zdev_t* dev, zbuf_t* buf);
511 u16_t (*zfcbAuthNotify)(zdev_t* dev, u16_t* macAddr);
512 u16_t (*zfcbAsocNotify)(zdev_t* dev, u16_t* macAddr, u8_t* body,
514 u16_t (*zfcbDisAsocNotify)(zdev_t* dev, u8_t* macAddr, u16_t port);
515 u16_t (*zfcbApConnectNotify)(zdev_t* dev, u8_t* macAddr, u16_t port);
516 void (*zfcbConnectNotify)(zdev_t* dev, u16_t status, u16_t* bssid);
517 void (*zfcbScanNotify)(zdev_t* dev, struct zsScanResult* result);
518 void (*zfcbMicFailureNotify)(zdev_t* dev, u16_t* addr, u16_t status);
519 void (*zfcbApMicFailureNotify)(zdev_t* dev, u8_t* addr, zbuf_t* buf);
520 void (*zfcbIbssPartnerNotify)(zdev_t* dev, u16_t status,
522 void (*zfcbMacAddressNotify)(zdev_t* dev, u8_t* addr);
523 void (*zfcbSendCompleteIndication)(zdev_t* dev, zbuf_t* buf);
524 void (*zfcbRecvEth)(zdev_t* dev, zbuf_t* buf, u16_t port);
525 void (*zfcbRecv80211)(zdev_t* dev, zbuf_t* buf, struct zsAdditionInfo* addInfo);
526 void (*zfcbRestoreBufData)(zdev_t* dev, zbuf_t* buf);
528 u16_t (*zfcbCencAsocNotify)(zdev_t* dev, u16_t* macAddr, u8_t* body,
531 u8_t (*zfcbClassifyTxPacket)(zdev_t* dev, zbuf_t* buf);
533 void (*zfcbHwWatchDogNotify)(zdev_t* dev);
543 extern u16_t zfiWlanOpen(zdev_t* dev, struct zsCbFuncTbl* cbFuncTbl);
546 extern u16_t zfiWlanClose(zdev_t* dev);
549 extern u16_t zfiWlanEnable(zdev_t* dev);
550 extern u16_t zfiWlanDisable(zdev_t* dev, u8_t ResetKeyCache);
551 extern u16_t zfiWlanResume(zdev_t* dev, u8_t doReconn);
552 extern u16_t zfiWlanSuspend(zdev_t* dev);
555 extern u16_t zfiWlanInterruptEnable(zdev_t* dev);
556 extern u16_t zfiWlanInterruptDisable(zdev_t* dev);
559 extern u16_t zfiWlanScan(zdev_t* dev);
562 extern u16_t zfiWlanGetStatistics(zdev_t* dev);
565 extern u16_t zfiWlanReset(zdev_t* dev);
568 extern u16_t zfiWlanDeauth(zdev_t* dev, u16_t* macAddr, u16_t reason);
570 extern u16_t zfiTxSendEth(zdev_t* dev, zbuf_t* buf, u16_t port);
571 extern u8_t zfiIsTxQueueFull(zdev_t* dev);
572 extern u16_t zfiTxSend80211Mgmt(zdev_t* dev, zbuf_t* buf, u16_t port);
574 extern void zfiIsrPci(zdev_t* dev);
576 extern u8_t zfiWlanIBSSGetPeerStationsCount(zdev_t* dev);
577 extern u8_t zfiWlanIBSSIteratePeerStations(zdev_t* dev, u8_t numToIterate, zfpIBSSIteratePeerStationCb callback, void *ctx);
578 extern void zfiWlanFlushAllQueuedBuffers(zdev_t* dev);
581 extern void zfiWlanQueryMacAddress(zdev_t* dev, u8_t* addr);
583 extern u16_t zfiGlobalDataSize(zdev_t* dev);
585 extern void zfiHeartBeat(zdev_t* dev);
587 extern void zfiWlanSetWlanMode(zdev_t* dev, u8_t wlanMode);
588 extern void zfiWlanSetAuthenticationMode(zdev_t* dev, u8_t authMode);
589 extern void zfiWlanSetWepStatus(zdev_t* dev, u8_t wepStatus);
590 extern void zfiWlanSetSSID(zdev_t* dev, u8_t* ssid, u8_t ssidLength);
591 extern void zfiWlanSetFragThreshold(zdev_t* dev, u16_t fragThreshold);
592 extern void zfiWlanSetRtsThreshold(zdev_t* dev, u16_t rtsThreshold);
593 extern void zfiWlanSetFrequency(zdev_t* dev, u32_t frequency, u8_t bImmediate);
594 extern void zfiWlanSetBssid(zdev_t* dev, u8_t* bssid);
595 extern void zfiWlanSetBeaconInterval(zdev_t* dev, u16_t beaconInterval,
597 extern void zfiWlanSetDtimCount(zdev_t* dev, u8_t dtim);
598 extern void zfiWlanSetAtimWindow(zdev_t* dev, u16_t atimWindow, u8_t bImmediate);
599 extern void zfiWlanSetEncryMode(zdev_t* dev, u8_t encryMode);
600 extern u8_t zfiWlanSetKey(zdev_t* dev, struct zsKeyInfo keyInfo);
601 extern u8_t zfiWlanPSEUDOSetKey(zdev_t* dev, struct zsKeyInfo keyInfo);
602 extern void zfiWlanSetPowerSaveMode(zdev_t* dev, u8_t mode);
603 extern void zfiWlanQueryBssListV1(zdev_t* dev, struct zsBssListV1* bssListV1);
604 extern void zfiWlanQueryBssList(zdev_t* dev, struct zsBssList* pBssList);
605 extern void zfiWlanSetProtectionMode(zdev_t* dev, u8_t mode);
606 extern void zfiWlanFlushBssList(zdev_t* dev);
608 void zfiWlanDisableDfsChannel(zdev_t* dev, u8_t disableFlag);
610 extern u8_t zfiWlanQueryWlanMode(zdev_t* dev);
611 extern u16_t zfiWlanChannelToFrequency(zdev_t* dev, u8_t channel);
612 extern u8_t zfiWlanFrequencyToChannel(zdev_t* dev, u16_t freq);
618 extern u8_t zfiWlanQueryAdapterState(zdev_t* dev);
619 extern u8_t zfiWlanQueryAuthenticationMode(zdev_t* dev, u8_t bWrapper);
620 extern u8_t zfiWlanQueryWepStatus(zdev_t* dev, u8_t bWrapper);
621 extern void zfiWlanQuerySSID(zdev_t* dev, u8_t* ssid, u8_t* pSsidLength);
622 extern u16_t zfiWlanQueryFragThreshold(zdev_t* dev);
623 extern u16_t zfiWlanQueryRtsThreshold(zdev_t* dev);
624 extern u32_t zfiWlanQueryFrequency(zdev_t* dev);
625 extern u32_t zfiWlanQueryCurrentFrequency(zdev_t* dev, u8_t qmode);
626 extern u32_t zfiWlanQueryFrequencyAttribute(zdev_t* dev, u32_t frequency);
627 extern void zfiWlanQueryFrequencyHT(zdev_t* dev, u32_t *bandWidth, u32_t *extOffset);
628 extern u8_t zfiWlanQueryCWMode(zdev_t* dev);
629 extern u32_t zfiWlanQueryCWEnable(zdev_t* dev);
630 extern void zfiWlanQueryBssid(zdev_t* dev, u8_t* bssid);
631 extern u16_t zfiWlanQueryBeaconInterval(zdev_t* dev);
632 extern u32_t zfiWlanQueryRxBeaconTotal(zdev_t* dev);
633 extern u16_t zfiWlanQueryAtimWindow(zdev_t* dev);
634 extern u8_t zfiWlanQueryEncryMode(zdev_t* dev);
635 extern u16_t zfiWlanQueryCapability(zdev_t* dev);
636 extern u16_t zfiWlanQueryAid(zdev_t* dev);
637 extern void zfiWlanQuerySupportRate(zdev_t* dev, u8_t* rateArray, u8_t* pLength);
638 extern void zfiWlanQueryExtSupportRate(zdev_t* dev, u8_t* rateArray, u8_t* pLength);
639 extern void zfiWlanQueryRsnIe(zdev_t* dev, u8_t* ie, u8_t* pLength);
640 extern void zfiWlanQueryWpaIe(zdev_t* dev, u8_t* ie, u8_t* pLength);
641 extern u8_t zfiWlanQueryHTMode(zdev_t* dev);
642 extern u8_t zfiWlanQueryBandWidth40(zdev_t* dev);
643 extern u8_t zfiWlanQueryMulticastCipherAlgo(zdev_t *dev);
644 extern u16_t zfiWlanQueryRegionCode(zdev_t* dev);
645 extern void zfiWlanSetWpaIe(zdev_t* dev, u8_t* ie, u8_t Length);
646 extern void zfiWlanSetWpaSupport(zdev_t* dev, u8_t WpaSupport);
647 extern void zfiWlanCheckStaWpaIe(zdev_t* dev);
648 extern void zfiWlanSetBasicRate(zdev_t* dev, u8_t bRateSet, u8_t gRateSet,
650 extern void zfiWlanSetBGMode(zdev_t* dev, u8_t mode);
651 extern void zfiWlanSetpreambleType(zdev_t* dev, u8_t type);
652 extern u8_t zfiWlanQuerypreambleType(zdev_t* dev);
653 extern u8_t zfiWlanQueryPowerSaveMode(zdev_t* dev);
654 extern void zfiWlanSetMacAddress(zdev_t* dev, u16_t* mac);
655 extern u16_t zfiWlanSetTxRate(zdev_t* dev, u16_t rate);
656 extern u32_t zfiWlanQueryTxRate(zdev_t* dev);
657 extern void zfWlanUpdateRxRate(zdev_t* dev, struct zsAdditionInfo* addInfo);
658 extern u32_t zfiWlanQueryRxRate(zdev_t* dev);
659 extern u8_t zfiWlanSetPmkidInfo(zdev_t* dev, u16_t* bssid, u8_t* pmkid);
660 extern u32_t zfiWlanQueryPmkidInfo(zdev_t* dev, u8_t* buf, u32_t len);
661 extern void zfiWlanSetAllMulticast(zdev_t* dev, u32_t setting);
662 extern void zfiWlanSetHTCtrl(zdev_t* dev, u32_t *setting, u32_t forceTxTPC);
663 extern void zfiWlanQueryHTCtrl(zdev_t* dev, u32_t *setting, u32_t *forceTxTPC);
664 extern void zfiWlanDbg(zdev_t* dev, u8_t setting);
666 extern void zfiWlanResetTally(zdev_t* dev);
667 extern void zfiWlanQueryTally(zdev_t* dev, struct zsCommTally *tally);
668 extern void zfiWlanQueryTrafTally(zdev_t* dev, struct zsTrafTally *tally);
669 extern void zfiWlanQueryMonHalRxInfo(zdev_t* dev, struct zsMonHalRxInfo *halRxInfo);
671 extern u32_t zfiFWConfig(zdev_t* dev, u32_t size);
673 extern void zfiDKEnable(zdev_t* dev, u32_t enable);
675 extern void zfiWlanSetMulticastList(zdev_t* dev, u8_t size, u8_t* pList);
676 extern void zfiWlanRemoveKey(zdev_t* dev, u8_t keyType, u8_t keyId);
677 extern u8_t zfiWlanQueryIsPKInstalled(zdev_t *dev, u8_t *staMacAddr);
678 extern u32_t zfiWlanQueryPacketTypePromiscuous(zdev_t* dev);
679 extern void zfiWlanSetPacketTypePromiscuous(zdev_t* dev, u32_t setValue);
680 extern void zfiSetChannelManagement(zdev_t* dev, u32_t setting);
681 extern void zfiSetRifs(zdev_t* dev, u16_t setting);
682 extern void zfiCheckRifs(zdev_t* dev);
683 extern void zfiSetReorder(zdev_t* dev, u16_t value);
684 extern void zfiSetSeqDebug(zdev_t* dev, u16_t value);
686 extern u16_t zfiConfigWdsPort(zdev_t* dev, u8_t wdsPortId, u16_t flag, u16_t* wdsAddr,
688 extern void zfiWlanQueryRegulationTable(zdev_t* dev, struct zsRegulationTable* pEntry);
689 extern void zfiWlanSetScanTimerPerChannel(zdev_t* dev, u16_t time);
690 extern void zfiWlanSetAutoReconnect(zdev_t* dev, u8_t enable);
691 extern u32_t zfiDebugCmd(zdev_t* dev, u32_t cmd, u32_t value);
692 extern void zfiWlanSetProbingHiddenSsid(zdev_t* dev, u8_t* ssid, u8_t ssidLen,
694 extern void zfiWlanSetDropUnencryptedPackets(zdev_t* dev, u8_t enable);
695 extern void zfiWlanSetIBSSJoinOnly(zdev_t* dev, u8_t joinOnly);
696 extern void zfiWlanSetDefaultKeyId(zdev_t* dev, u8_t keyId);
697 extern void zfiWlanSetDisableProbingWithSsid(zdev_t* dev, u8_t mode);
698 extern void zfiWlanQueryGSN(zdev_t* dev, u8_t *gsn, u16_t vapId);
699 extern u16_t zfiStaAddIeWpaRsn(zdev_t* dev, zbuf_t* buf, u16_t offset, u8_t frameType);
700 extern u8_t zfiWlanSetDot11DMode(zdev_t* dev, u8_t mode);
701 extern u8_t zfiWlanSetDot11HDFSMode(zdev_t* dev, u8_t mode);
702 extern u8_t zfiWlanSetDot11HTPCMode(zdev_t* dev, u8_t mode);
703 extern u8_t zfiWlanSetAniMode(zdev_t* dev, u8_t mode);
704 extern void zfiWlanSetStaWme(zdev_t* dev, u8_t enable, u8_t uapsdInfo);
705 extern void zfiWlanSetApWme(zdev_t* dev, u8_t enable);
706 extern u8_t zfiWlanQuerywmeEnable(zdev_t* dev);
708 extern void zfiWlanShowTally(zdev_t* dev);
712 extern u8_t zfiWlanSetCencPairwiseKey(zdev_t* dev, u8_t keyid, u32_t *txiv, u32_t *rxiv,
714 extern u8_t zfiWlanSetCencGroupKey(zdev_t* dev, u8_t keyid, u32_t *rxiv,
717 extern void zfiWlanQuerySignalInfo(zdev_t* dev, u8_t *buffer);
718 extern void zfiWlanQueryAdHocCreatedBssDesc(zdev_t* dev, struct zsBssInfo *pBssInfo);
719 extern u8_t zfiWlanQueryAdHocIsCreator(zdev_t* dev);
720 extern u32_t zfiWlanQuerySupportMode(zdev_t* dev);
721 extern u32_t zfiWlanQueryTransmitPower(zdev_t* dev);
722 extern void zfiWlanEnableLeapConfig(zdev_t* dev, u8_t leapEnabled);
725 extern void zfiRecvEthComplete(zdev_t* dev, zbuf_t* buf);
727 extern void zfiRecv80211(zdev_t* dev, zbuf_t* buf, struct zsAdditionInfo* addInfo);
729 extern void zfiWlanSetMaxTxPower(zdev_t* dev, u8_t power2, u8_t power5);
730 extern void zfiWlanQueryMaxTxPower(zdev_t* dev, u8_t *power2, u8_t *power5);
731 extern void zfiWlanSetConnectMode(zdev_t* dev, u8_t mode);
732 extern void zfiWlanSetSupportMode(zdev_t* dev, u32_t mode);
733 extern void zfiWlanSetAdhocMode(zdev_t* dev, u32_t mode);
734 extern u32_t zfiWlanQueryAdhocMode(zdev_t* dev, u8_t bWrapper);
735 extern u8_t zfiWlanSetCountryIsoName(zdev_t* dev, u8_t *countryIsoName, u8_t length);
736 extern const char* zfiWlanQueryCountryIsoName(zdev_t* dev);
737 extern u8_t zfiWlanQueryregulatoryDomain(zdev_t* dev);
738 extern u8_t zfiWlanQueryCCS(zdev_t* dev);
739 extern void zfiWlanSetCCS(zdev_t* dev, u8_t mode);
740 extern void zfiWlanSetRegulatory(zdev_t* dev, u8_t CCS, u16_t Code, u8_t bfirstChannel);
741 extern const char* zfiHpGetisoNamefromregionCode(zdev_t* dev, u16_t regionCode);
742 extern void zfiWlanSetLEDCtrlParam(zdev_t* dev, u8_t type, u8_t flag);
743 extern u32_t zfiWlanQueryReceivedPacket(zdev_t* dev);
744 extern void zfiWlanCheckSWEncryption(zdev_t* dev);
745 extern u16_t zfiWlanQueryAllowChannels(zdev_t *dev, u16_t *channels);
746 extern u16_t zfiWlanGetMulticastAddressCount(zdev_t* dev);
747 extern void zfiWlanGetMulticastList(zdev_t* dev, u8_t* pMCList);
748 extern void zfiWlanSetPacketFilter(zdev_t* dev, u32_t PacketFilter);
749 extern u8_t zfiCompareWithMulticastListAddress(zdev_t* dev, u16_t* dstMacAddr);
750 extern void zfiWlanSetSafeModeEnabled(zdev_t* dev, u8_t safeMode);
751 extern void zfiWlanSetIBSSAdditionalIELength(zdev_t* dev, u32_t ibssAdditionalIESize, u8_t* ibssAdditionalIE);
752 extern void zfiWlanSetXLinkMode(zdev_t* dev, u32_t setValue);
755 extern u32_t zfiDbgWriteFlash(zdev_t* dev, u32_t addr, u32_t val);
756 extern u32_t zfiDbgWriteReg(zdev_t* dev, u32_t addr, u32_t val);
757 extern u32_t zfiDbgReadReg(zdev_t* dev, u32_t addr);
759 extern u32_t zfiDbgWriteEeprom(zdev_t* dev, u32_t addr, u32_t val);
760 extern u32_t zfiDbgBlockWriteEeprom(zdev_t* dev, u32_t addr, u32_t* buf);
761 extern u32_t zfiDbgBlockWriteEeprom_v2(zdev_t* dev, u32_t addr, u32_t* buf, u32_t wrlen);
763 extern u16_t zfiDbgChipEraseFlash(zdev_t *dev);
764 extern u16_t zfiDbgProgramFlash(zdev_t *dev, u32_t offset, u32_t len, u32_t *data);
765 extern u32_t zfiDbgGetFlashCheckSum(zdev_t *dev, u32_t addr, u32_t len);
766 extern u32_t zfiDbgReadFlash(zdev_t *dev, u32_t addr, u32_t len);
767 extern u32_t zfiDownloadFwSet(zdev_t *dev);
769 extern u32_t zfiDbgDelayWriteReg(zdev_t* dev, u32_t addr, u32_t val);
770 extern u32_t zfiDbgFlushDelayWrite(zdev_t* dev);
772 extern u32_t zfiDbgSetIFSynthesizer(zdev_t* dev, u32_t value);
773 extern u32_t zfiDbgReadTally(zdev_t* dev);
775 extern u32_t zfiDbgQueryHwTxBusy(zdev_t* dev);
777 extern u8_t zfiWlanGetDestAddrFromBuf(zdev_t *dev, zbuf_t *buf, u16_t *macAddr);
779 extern u32_t zfiWlanQueryHwCapability(zdev_t* dev);
781 extern void zfiWlanSetDynamicSIFSParam(zdev_t* dev, u8_t val);
787 extern void zfiTxPerformanceMSDU(zdev_t* dev, u32_t tick);
788 extern void zfiRxPerformanceMPDU(zdev_t* dev, zbuf_t* buf);
789 extern void zfiRxPerformanceReg(zdev_t* dev, u32_t reg, u32_t rsp);