/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/otus/80211core/ |
H A D | struct.h | 28 extern const u8_t zg11bRateTbl[4]; 29 extern const u8_t zg11gRateTbl[8]; 109 #define ZM_MAC_WORD_TO_BYTE(macw, macb) macb[0] = (u8_t) (macw[0] & 0xff); \ 110 macb[1] = (u8_t) (macw[0] >> 8); \ 111 macb[2] = (u8_t) (macw[1] & 0xff); \ 112 macb[3] = (u8_t) (macw[1] >> 8); \ 113 macb[4] = (u8_t) (macw[2] & 0xff); \ 114 macb[5] = (u8_t) (macw[2] >> 8); 116 #define ZM_MAC_0(macw) ((u8_t)(macw[0] & 0xff)) 117 #define ZM_MAC_1(macw) ((u8_t)(mac [all...] |
H A D | pub_usb.h | 49 void (*zfcbUsbOutComplete)(zdev_t* dev, zbuf_t *buf, u8_t status, u8_t *hdr); 64 /* void (*zfcbUsbOutComplete)(zdev_t* dev, zbuf_t *buf, u8_t status, u8_t *hdr); */ 81 extern u32_t zfwUsbEnableIntEpt(zdev_t *dev, u8_t endpt); 84 extern int zfwUsbEnableRxEpt(zdev_t* dev, u8_t endpt); 87 extern u32_t zfwUsbSubmitControl(zdev_t* dev, u8_t req, u16_t value, 89 extern u32_t zfwUsbSubmitControlIo(zdev_t* dev, u8_t req, u8_t reqtype, 93 extern void zfwUsbCmd(zdev_t* dev, u8_t endp [all...] |
H A D | pub_zfi.h | 221 u8_t macaddr[6]; 222 u8_t bssid[6]; 223 u8_t beaconInterval[2]; 224 u8_t capability[2]; 225 u8_t timeStamp[8]; 226 u8_t ssid[ZM_MAX_SSID_LENGTH + 2]; // EID(1) + Length(1) + SSID(32) 227 u8_t supportedRates[ZM_MAX_SUPP_RATES_IE_SIZE + 2]; // EID(1) + Length(1) + supported rates [12] 228 u8_t channel; 231 u8_t erp; 232 u8_t extSupportedRate [all...] |
H A D | ratectrl.h | 32 extern void zfRateCtrlInitCell(zdev_t* dev, struct zsRcCell* rcCell, u8_t type, u8_t gBand, u8_t SG40); 34 extern void zfRateCtrlTxFailEvent(zdev_t* dev, struct zsRcCell* rcCell, u8_t aggRate, u32_t retryRate); 35 extern void zfRateCtrlTxSuccessEvent(zdev_t* dev, struct zsRcCell* rcCell, u8_t successRate);
|
H A D | cfunc.h | 33 void zfDeAmsdu(zdev_t* dev, zbuf_t* buf, u16_t vap, u8_t encryMode); 37 u8_t zfScanMgrScanStart(zdev_t* dev, u8_t scanType); 38 void zfScanMgrScanStop(zdev_t* dev, u8_t scanType); 43 void zfPowerSavingMgrSetMode(zdev_t* dev, u8_t mode); 46 u8_t zfPowerSavingMgrIsSleeping(zdev_t *dev); 56 u8_t zfQueryOppositeRate(zdev_t* dev, u8_t dst_mac[6], u8_t frameType); 57 void zfCopyToIntTxBuffer(zdev_t* dev, zbuf_t* buf, u8_t* sr [all...] |
H A D | pub_zfw.h | 25 extern zbuf_t* zfwBufAllocateWithContext(zdev_t* dev, u16_t len, u8_t *functionName, ULONG line); 26 #define zfwBufAllocate(dev, len) zfwBufAllocateWithContext(dev, len, (u8_t *)__func__, __LINE__) 41 extern void zfwMemoryCopy(u8_t* dst, u8_t* src, u16_t length); 42 extern void zfwMemoryMove(u8_t* dst, u8_t* src, u16_t length); 43 extern void zfwZeroMemory(u8_t* va, u16_t length); 44 extern u8_t zfwMemoryIsEqual(u8_t* m1, u8_t* m [all...] |
H A D | wlan.h | 389 //u8_t plcpHdr[ZM_PLCP_HEADER_SIZE]; 390 u8_t frameCtrl[2]; 391 u8_t duration[2]; 392 u8_t da[ZM_ETHERNET_ADDRESS_LENGTH]; 393 u8_t sa[ZM_ETHERNET_ADDRESS_LENGTH]; 394 u8_t bssid[ZM_ETHERNET_ADDRESS_LENGTH]; 395 u8_t seqCtrl[2]; 396 u8_t body[1]; 401 //u8_t plcpHdr[ZM_PLCP_HEADER_SIZE]; 402 u8_t frameCtr [all...] |
H A D | coid.c | 44 void zfiWlanQueryMacAddress(zdev_t* dev, u8_t* addr) 51 addr[0] = (u8_t)(wd->macAddr[0] & 0xff); 52 addr[1] = (u8_t)(wd->macAddr[0] >> 8); 53 addr[2] = (u8_t)(wd->macAddr[1] & 0xff); 54 addr[3] = (u8_t)(wd->macAddr[1] >> 8); 55 addr[4] = (u8_t)(wd->macAddr[2] & 0xff); 57 addr[5] = (u8_t)(wd->macAddr[2] >> 8); 61 addr[5] = (u8_t)(wd->macAddr[2] >> 8); // Multiple SSID 63 addr[5] = vapId + 1 + (u8_t)(wd->macAddr[2] >> 8); //VAP 74 u8_t [all...] |
H A D | cwep.c | 84 void zfWEPEncrypt(zdev_t *dev, zbuf_t *buf, u8_t *snap, u16_t snapLen, u16_t offset, u8_t keyLen, u8_t* WepKey, u8_t *iv) 86 u8_t S[256],S2[256]; 90 u8_t temp; 91 u8_t K; 95 u8_t key[32]; 108 S[i] = (u8_t)i; 130 u8_t I [all...] |
H A D | cic.c | 21 void zfUpdateBssid(zdev_t* dev, u8_t* bssid) 51 void zfResetSupportRate(zdev_t* dev, u8_t type) 84 void zfUpdateSupportRate(zdev_t* dev, u8_t* rateArray) 86 u8_t bRate=0, bRateBasic=0, gRate=0, gRateBasic=0; 87 u8_t length = rateArray[1]; 88 u8_t i, j; 129 u8_t zfIsGOnlyMode(zdev_t* dev, u16_t frequency, u8_t* rateArray) 131 u8_t length = rateArray[1]; 132 u8_t [all...] |
H A D | cfunc.c | 19 u8_t zfQueryOppositeRate(zdev_t* dev, u8_t dst_mac[6], u8_t frameType) 45 void zfCopyToIntTxBuffer(zdev_t* dev, zbuf_t* buf, u8_t* src, 56 void zfCopyToRxBuffer(zdev_t* dev, zbuf_t* buf, u8_t* src, 67 void zfCopyFromIntTxBuffer(zdev_t* dev, zbuf_t* buf, u8_t* dst, 78 void zfCopyFromRxBuffer(zdev_t* dev, zbuf_t* buf, u8_t* dst, 89 void zfMemoryCopy(u8_t* dst, u8_t* src, u16_t length) 94 void zfMemoryMove(u8_t* ds [all...] |
H A D | freqctrl.c | 20 static void zfAddFreqChangeReq(zdev_t* dev, u16_t frequency, u8_t bw40, 21 u8_t extOffset, zfpFreqChangeCompleteCb cb) 42 void zfCoreSetFrequencyExV2(zdev_t* dev, u16_t frequency, u8_t bw40, 43 u8_t extOffset, zfpFreqChangeCompleteCb cb, u8_t forceSetFreq) 45 u8_t setFreqImmed = 0; 46 u8_t initRF = 0; 120 void zfCoreSetFrequencyEx(zdev_t* dev, u16_t frequency, u8_t bw40, 121 u8_t extOffset, zfpFreqChangeCompleteCb cb) 136 u8_t bw4 [all...] |
H A D | ratectrl.c | 41 const u8_t zcHtRateTable[15][4] = 60 const u8_t zcHtOneTxStreamRateTable[15][4] = 150 void zfRateCtrlInitCell(zdev_t* dev, struct zsRcCell* rcCell, u8_t type, 151 u8_t gBand, u8_t SG40) 153 u8_t i; 154 u8_t maxrate; 165 rcCell->operationRateSet[i] = (u8_t)i; 242 rcCell->operationRateSet[i] = (u8_t)i; 362 u8_t zfRateCtrlGetHigherRat [all...] |
H A D | cinit.c | 29 extern const u8_t zcUpToAc[8]; 65 u8_t flag, u16_t plusLen, u16_t minusLen, u16_t port, 66 u16_t* da, u16_t* sa, u8_t up, u16_t *micLen, 79 u8_t qosType; 80 u8_t b1, b2; 82 u8_t encExemptionActionType; 84 u8_t tkipFrameOffset = 0; 87 u8_t res, peerIdx; 88 u8_t userIdx=0; 335 u8_t encryTyp [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/otus/ |
H A D | wrap_mem.c | 51 void zfwMemoryCopy(u8_t *dst, u8_t *src, u16_t length) 65 void zfwZeroMemory(u8_t *va, u16_t length) 78 void zfwMemoryMove(u8_t *dst, u8_t *src, u16_t length) 84 u8_t zfwMemoryIsEqual(u8_t *m1, u8_t *m2, u16_t length)
|
H A D | wrap_sec.c | 36 u16_t zfLnxCencAsocNotify(zdev_t *dev, u16_t *macAddr, u8_t *body, 42 u8_t ie_len; 77 zfLnxCencSendMsg(macp->netlink_sk, (u8_t *)&cenc_info, 87 u8_t zfwCencHandleBeaconProbrespon(zdev_t *dev, u8_t *pWIEc, 88 u8_t *pPeerSSIDc, u8_t *pPeerAddrc) 93 u8_t zfwGetPktEncExemptionActionType(zdev_t *dev, zbuf_t *buf) 98 void copyToIntTxBuffer(zdev_t *dev, zbuf_t *buf, u8_t *src, 105 *(u8_t *)((u8_ [all...] |
H A D | wrap_mis.c | 75 asmlinkage u8_t zfwBufReadByte(zdev_t *dev, zbuf_t *buf, u16_t offset) 77 return *(u8_t *)((u8_t *)buf->data+offset); 82 return zmw_cpu_to_le16(*(u16_t *)((u8_t *)buf->data+offset)); 86 u8_t value) 88 *(u8_t *)((u8_t *)buf->data+offset) = value; 94 *(u16_t *)((u8_t *)buf->data+offset) = zmw_cpu_to_le16(value); 97 asmlinkage u8_t *zfwGetBuffer(zdev_t *dev, zbuf_t *buf) 99 return (u8_t *)(bu [all...] |
H A D | wrap_usb.c | 37 u32_t zfLnxUsbOut(zdev_t *dev, u8_t *hdr, u16_t hdrlen, u8_t *snap, 38 u16_t snapLen, u8_t *tail, u16_t tailLen, zbuf_t *buf, 76 u32_t zfwUsbEnableIntEpt(zdev_t *dev, u8_t endpt) 92 int zfwUsbEnableRxEpt(zdev_t *dev, u8_t endpt) 97 u32_t zfwUsbSubmitControl(zdev_t *dev, u8_t req, u16_t value, u16_t index, 103 u8_t *buf; 112 memcpy(buf, (u8_t *)data, size); 130 void zfwUsbCmd(zdev_t *dev, u8_t endpt, u32_t *cmd, u16_t cmdLen) 149 u32_t zfwUsbSend(zdev_t *dev, u8_t endp [all...] |
H A D | usbdrv.h | 92 u8_t hdr[80]; 94 u8_t snap[8]; 96 u8_t tail[16]; 106 u8_t data[0x100]; 124 u8_t rev_id; /* adapter PCI revision ID */ 139 u8_t txUsbBuf[ZM_MAX_TX_URB_NUM][ZM_USB_TX_BUF_SIZE]; 140 u8_t regUsbReadBuf[ZM_USB_REG_MAX_BUF_SIZE]; 141 u8_t regUsbWriteBuf[ZM_USB_REG_MAX_BUF_SIZE]; 167 u8_t DeviceOpened; /* CWYang(+) */ 168 u8_t supI [all...] |
H A D | oal_dt.h | 36 typedef unsigned char u8_t; typedef
|
H A D | oal_marc.h | 91 #define zmw_buf_readb(dev, buf, offset) (*(u8_t *)((u8_t *)buf->data+offset)) 93 ((u8_t *)buf->data+offset)) 94 #define zmw_buf_writeb(dev, buf, offset, value) (*(u8_t *) \ 95 ((u8_t *)buf->data+offset) = value) 97 ((u8_t *)buf->data+offset) = zmw_cpu_to_le16(value)) 98 #define zmw_buf_get_buffer(dev, buf) (u8_t *)(buf->data)
|
H A D | wrap_ev.c | 40 u16_t zfLnxAsocNotify(zdev_t *dev, u16_t *macAddr, u8_t *body, u16_t bodySize, 46 u8_t *addr = (u8_t *) macAddr; 109 u16_t zfLnxDisAsocNotify(zdev_t *dev, u8_t *macAddr, u16_t port) 112 u8_t *addr = (u8_t *) macAddr; 126 u16_t zfLnxApConnectNotify(zdev_t *dev, u8_t *macAddr, u16_t port) 129 u8_t *addr = (u8_t *) macAddr; 146 u8_t *add [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/otus/hal/ |
H A D | hpusb.h | 51 u8_t* buf; 75 u8_t hwBw40; 76 u8_t hwExtOffset; 78 u8_t disableDfsCh; 84 u8_t hwNotFirstInit; 95 u8_t ledMode[2]; 103 u8_t hasHwPhyCounters; /* Hardware has phy counters */ 129 u8_t halReInit; 131 u8_t OpFlags; 133 u8_t tPow2xCc [all...] |
H A D | hpusb.c | 31 extern void zfwUsbCmd(zdev_t* dev, u8_t endpt, u32_t* cmd, u16_t cmdLen); 316 u16_t bufType, u8_t ac, u8_t keyIdx) 320 u8_t *puRxBuf; 321 u8_t *pHdr; 322 u8_t *psnap; 342 zfwUsbSend(dev, USB_ENDPOINT_TX_INDEX, (u8_t *)header, headerLen, 343 (u8_t *)snap, snapLen, (u8_t *)tail, tailLen, buf, offset); 349 pHdr = (u8_t *) heade [all...] |
H A D | hpmain.c | 36 u16_t src, u8_t* buf); 49 void zfInitPhy(zdev_t* dev, u32_t frequency, u8_t bw40); 52 void zfSetPowerCalTable(zdev_t* dev, u32_t frequency, u8_t bw40, u8_t extOffset); 63 void zfSetBank4AndPowerTable(zdev_t* dev, u32_t frequency, u8_t bw40, 64 u8_t extOffset); 67 u32_t frequency, u8_t bw40, u8_t extOffset, 73 void zfSelAdcClk(zdev_t* dev, u8_t bw40, u32_t frequency); 322 const u8_t zcXpdToP [all...] |