/drivers/staging/otus/ |
D | wrap_ev.c | 38 u16_t zfLnxAuthNotify(zdev_t* dev, u16_t* macAddr) in zfLnxAuthNotify() argument 43 u16_t zfLnxAsocNotify(zdev_t* dev, u16_t* macAddr, u8_t* body, u16_t bodySize, u16_t port) in zfLnxAsocNotify() argument 48 u8_t *addr = (u8_t *) macAddr; in zfLnxAsocNotify() 52 memcpy(wreq.addr.sa_data, macAddr, ETH_ALEN); in zfLnxAsocNotify() 71 memcpy(macp->stawpaie[i].wpa_macaddr, macAddr, IEEE80211_ADDR_LEN); in zfLnxAsocNotify() 106 u16_t zfLnxDisAsocNotify(zdev_t* dev, u8_t* macAddr, u16_t port) in zfLnxDisAsocNotify() argument 109 u8_t *addr = (u8_t *) macAddr; in zfLnxDisAsocNotify() 112 memcpy(wreq.addr.sa_data, macAddr, ETH_ALEN); in zfLnxDisAsocNotify() 123 u16_t zfLnxApConnectNotify(zdev_t* dev, u8_t* macAddr, u16_t port) in zfLnxApConnectNotify() argument 126 u8_t *addr = (u8_t *) macAddr; in zfLnxApConnectNotify() [all …]
|
D | wrap_sec.c | 39 u16_t zfLnxCencAsocNotify(zdev_t* dev, u16_t* macAddr, u8_t* body, u16_t bodySize, u16_t port) in zfLnxCencAsocNotify() argument 65 memcpy(cenc_info.sta_mac, macAddr, 6); in zfLnxCencAsocNotify()
|
D | usbdrv.c | 88 extern u16_t zfLnxAuthNotify(zdev_t* dev, u16_t* macAddr); 89 extern u16_t zfLnxAsocNotify(zdev_t* dev, u16_t* macAddr, u8_t* body, u16_t bodySize, u16_t port); 90 extern u16_t zfLnxDisAsocNotify(zdev_t* dev, u8_t* macAddr, u16_t port); 91 extern u16_t zfLnxApConnectNotify(zdev_t* dev, u8_t* macAddr, u16_t port); 103 extern u16_t zfLnxCencAsocNotify(zdev_t* dev, u16_t* macAddr, u8_t* body, u16_t bodySize, u16_t por…
|
D | ioctl.c | 2146 keyInfo.macAddr = (u16_t *)zdparm->sta_addr; in usbdrv_wpa_ioctl() 2283 keyInfo.vapAddr[0] = keyInfo.macAddr[0]; in usbdrv_wpa_ioctl() 2284 keyInfo.vapAddr[1] = keyInfo.macAddr[1]; in usbdrv_wpa_ioctl() 2285 keyInfo.vapAddr[2] = keyInfo.macAddr[2]; in usbdrv_wpa_ioctl() 2448 keyInfo.macAddr = (u16_t *)zdparm->u.crypt.sta_addr; in usbdrv_cenc_ioctl()
|
/drivers/staging/otus/80211core/ |
D | coid.c | 51 addr[0] = (u8_t)(wd->macAddr[0] & 0xff); in zfiWlanQueryMacAddress() 52 addr[1] = (u8_t)(wd->macAddr[0] >> 8); in zfiWlanQueryMacAddress() 53 addr[2] = (u8_t)(wd->macAddr[1] & 0xff); in zfiWlanQueryMacAddress() 54 addr[3] = (u8_t)(wd->macAddr[1] >> 8); in zfiWlanQueryMacAddress() 55 addr[4] = (u8_t)(wd->macAddr[2] & 0xff); in zfiWlanQueryMacAddress() 57 addr[5] = (u8_t)(wd->macAddr[2] >> 8); in zfiWlanQueryMacAddress() 61 addr[5] = (u8_t)(wd->macAddr[2] >> 8); // Multiple SSID in zfiWlanQueryMacAddress() 63 addr[5] = vapId + 1 + (u8_t)(wd->macAddr[2] >> 8); //VAP in zfiWlanQueryMacAddress() 537 res = zfStaFindOppositeByMACAddr(dev, (u16_t*)keyInfo.macAddr, &peerIdx); in zfiWlanSetKey() 556 if ((id = zfApFindSta(dev, keyInfo.macAddr)) == 0xffff) in zfiWlanSetKey() [all …]
|
D | cinit.c | 199 header[6] = wd->ap.wds.macAddr[wdsPortId][0]; in zfTxGenWlanHeader() 200 header[7] = wd->ap.wds.macAddr[wdsPortId][1]; in zfTxGenWlanHeader() 201 header[8] = wd->ap.wds.macAddr[wdsPortId][2]; in zfTxGenWlanHeader() 216 header[9] = wd->macAddr[0]; in zfTxGenWlanHeader() 217 header[10] = wd->macAddr[1]; in zfTxGenWlanHeader() 219 header[11] = wd->macAddr[2]; //Multiple SSID in zfTxGenWlanHeader() 221 header[11] = wd->macAddr[2] + (vap<<8); //VAP in zfTxGenWlanHeader() 1557 header[4+8] = wd->macAddr[0]; in zfTxGenMmHeader() 1558 header[4+9] = wd->macAddr[1]; in zfTxGenMmHeader() 1560 header[4+10] = wd->macAddr[2]; //Multiple SSID in zfTxGenMmHeader() [all …]
|
D | cfunc.c | 502 wd->macAddr[0] = addr[0] | ((u16_t)addr[1]<<8); in zfCoreMacAddressNotify() 503 wd->macAddr[1] = addr[2] | ((u16_t)addr[3]<<8); in zfCoreMacAddressNotify() 504 wd->macAddr[2] = addr[4] | ((u16_t)addr[5]<<8); in zfCoreMacAddressNotify() 1018 u8_t zfiWlanGetDestAddrFromBuf(zdev_t *dev, zbuf_t *buf, u16_t *macAddr) in zfiWlanGetDestAddrFromBuf() argument 1026 macAddr[0] = zmw_tx_buf_readh(dev, buf, 16); in zfiWlanGetDestAddrFromBuf() 1027 macAddr[1] = zmw_tx_buf_readh(dev, buf, 18); in zfiWlanGetDestAddrFromBuf() 1028 macAddr[2] = zmw_tx_buf_readh(dev, buf, 20); in zfiWlanGetDestAddrFromBuf() 1033 macAddr[0] = zmw_tx_buf_readh(dev, buf, 4); in zfiWlanGetDestAddrFromBuf() 1034 macAddr[1] = zmw_tx_buf_readh(dev, buf, 6); in zfiWlanGetDestAddrFromBuf() 1035 macAddr[2] = zmw_tx_buf_readh(dev, buf, 8); in zfiWlanGetDestAddrFromBuf() [all …]
|
D | cmmap.c | 1922 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[0]); in zfApSendBeacon() 1924 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[1]); in zfApSendBeacon() 1927 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[2]); //Multiple SSID in zfApSendBeacon() 1929 zmw_tx_buf_writeh(dev, buf, offset, (wd->macAddr[2]+(vap<<8))); //VAP in zfApSendBeacon() 1933 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[0]); in zfApSendBeacon() 1935 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[1]); in zfApSendBeacon() 1938 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[2]); //Multiple SSID in zfApSendBeacon() 1940 zmw_tx_buf_writeh(dev, buf, offset, (wd->macAddr[2]+(vap<<8))); //VAP in zfApSendBeacon() 2170 u16_t id = 0, macAddr[3]; in zfApGetRxMicKey() local 2176 macAddr[0] = sa[0] + (sa[1] << 8); in zfApGetRxMicKey() [all …]
|
D | performance.c | 281 if (zmw_rx_buf_readh(dev, buf, 4) == wd->macAddr[0] && in zfiRxPerformanceMPDU() 282 zmw_rx_buf_readh(dev, buf, 6) == wd->macAddr[1] && in zfiRxPerformanceMPDU() 283 zmw_rx_buf_readh(dev, buf, 8) == wd->macAddr[2]) { in zfiRxPerformanceMPDU() 286 else if (zmw_rx_buf_readh(dev, buf, 16) == wd->macAddr[0] && in zfiRxPerformanceMPDU() 287 zmw_rx_buf_readh(dev, buf, 18) == wd->macAddr[1] && in zfiRxPerformanceMPDU() 288 zmw_rx_buf_readh(dev, buf, 20) == wd->macAddr[2]){ in zfiRxPerformanceMPDU()
|
D | struct.h | 402 u8_t macAddr[6]; member 442 struct zsMulticastAddr macAddr[ZM_MAX_MULTICAST_LIST_SIZE]; member 520 u16_t macAddr[ZM_MAX_WDS_SUPPORT][3]; /* WDS neighbor MAC address */ member 1115 u16_t macAddr[3]; /* MAC address */ member 1272 u16_t (*zfcbAuthNotify)(zdev_t* dev, u16_t* macAddr); 1273 u16_t (*zfcbAsocNotify)(zdev_t* dev, u16_t* macAddr, u8_t* body, u16_t bodySize, u16_t port); 1274 u16_t (*zfcbDisAsocNotify)(zdev_t* dev, u8_t* macAddr, u16_t port); 1275 u16_t (*zfcbApConnectNotify)(zdev_t* dev, u8_t* macAddr, u16_t port); 1287 u16_t (*zfcbCencAsocNotify)(zdev_t* dev, u16_t* macAddr, u8_t* body,
|
D | pub_zfi.h | 295 u16_t* macAddr; member 344 u8_t macAddr[6]; member 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); 528 u16_t (*zfcbCencAsocNotify)(zdev_t* dev, u16_t* macAddr, u8_t* body, 568 extern u16_t zfiWlanDeauth(zdev_t* dev, u16_t* macAddr, u16_t reason); 777 extern u8_t zfiWlanGetDestAddrFromBuf(zdev_t *dev, zbuf_t *buf, u16_t *macAddr);
|
D | cmmsta.c | 310 if ( zfMemoryIsEqual((u8_t*) sa, wd->sta.oppositeInfo[i].macAddr, 6) ) in zfStaFindFreeOpposite() 361 if ( zfMemoryIsEqual((u8_t*) sa, wd->sta.oppositeInfo[i].macAddr, 6) ) in zfStaFindOppositeByMACAddr() 408 dst = wd->sta.oppositeInfo[i].macAddr; in zfStaSetOppositeInfoFromBSSInfo() 486 dst = wd->sta.oppositeInfo[i].macAddr; in zfStaSetOppositeInfoFromRxBuf() 854 wd->sta.staPSList.entity[i].macAddr, in zfStaIbssPSCheckState() 877 zfCopyFromRxBuffer(dev, buf, wd->sta.staPSList.entity[i].macAddr, in zfStaIbssPSCheckState() 895 wd->sta.staPSList.entity[i].macAddr, in zfStaIbssPSCheckState() 963 if ( zfMemoryIsEqual(wd->sta.staPSList.entity[i].macAddr, in zfStaIbssPSQueueData() 1017 (u16_t*) wd->sta.staPSList.entity[i].macAddr, in zfStaIbssPSSend() 1240 zmw_tx_buf_writeh(dev, buf, offset, wd->macAddr[0]); in zfStaSendBeacon() [all …]
|
D | cagg.c | 3026 header[4+8] = wd->macAddr[0]; in zfAggGenAddbaHeader() 3027 header[4+9] = wd->macAddr[1]; in zfAggGenAddbaHeader() 3028 header[4+10] = wd->macAddr[2] + (vap<<8); in zfAggGenAddbaHeader() 3037 header[4+5] = wd->macAddr[0]; in zfAggGenAddbaHeader() 3038 header[4+6] = wd->macAddr[1]; in zfAggGenAddbaHeader() 3041 header[4+7] = wd->macAddr[2] + (vap<<8); in zfAggGenAddbaHeader() 3045 header[4+7] = wd->macAddr[2]; in zfAggGenAddbaHeader() 3589 header[4+5] = wd->macAddr[0]; in zfAggGenBarHeader() 3590 header[4+6] = wd->macAddr[1]; in zfAggGenBarHeader() 3594 header[4+7] = wd->macAddr[2]; //Multiple SSID in zfAggGenBarHeader() [all …]
|
D | ccmd.c | 121 wd->macAddr[0] = 0x8000; in zfiWlanOpen() 122 wd->macAddr[1] = 0x0000; in zfiWlanOpen() 123 wd->macAddr[2] = 0x0000; in zfiWlanOpen() 1009 zfHpSetMacAddress(dev, wd->macAddr, 0); in zfiWlanResume() 1517 u16_t zfiWlanDeauth(zdev_t* dev, u16_t* macAddr, u16_t reason) in zfiWlanDeauth() argument 1551 zfSendMmFrame(dev, ZM_WLAN_FRAME_TYPE_DEAUTH, macAddr, reason, 0, 0); in zfiWlanDeauth()
|
D | cfunc.h | 251 void zdRateInfoCountTx(zdev_t* dev, u16_t* macAddr); 273 void zfStaGetTxRate(zdev_t* dev, u16_t* macAddr, u32_t* phyCtrl, 364 void zfHpSetMacAddress(zdev_t* dev, u16_t* macAddr, u16_t macAddrId);
|
/drivers/staging/otus/hal/ |
D | hpusb.c | 672 if (zmw_rx_buf_readh(dev, buf, 4) == wd->macAddr[0] && in zfiUsbRecvPerPkt() 673 zmw_rx_buf_readh(dev, buf, 6) == wd->macAddr[1] && in zfiUsbRecvPerPkt() 674 zmw_rx_buf_readh(dev, buf, 8) == wd->macAddr[2]) { in zfiUsbRecvPerPkt() 677 else if (zmw_rx_buf_readh(dev, buf, 16) == wd->macAddr[0] && in zfiUsbRecvPerPkt() 678 zmw_rx_buf_readh(dev, buf, 18) == wd->macAddr[1] && in zfiUsbRecvPerPkt() 679 zmw_rx_buf_readh(dev, buf, 20) == wd->macAddr[2]){ in zfiUsbRecvPerPkt()
|
D | hpmain.c | 1670 u16_t macAddr[3] = {0, 0, 0}; local 1680 zfHpSetKey(dev, ZM_USER_KEY_DEFAULT+keyId, 0, type, macAddr, key); 1682 zfHpSetKey(dev, ZM_USER_KEY_DEFAULT+keyId, 1, type, macAddr, key); 1685 zfHpSetKey(dev, ZM_USER_KEY_DEFAULT+keyId, 0, type, macAddr, key); 1687 zfHpSetKey(dev, ZM_USER_KEY_DEFAULT+keyId, 0, type, macAddr, key); 1696 zfHpSetKey(dev, ZM_USER_KEY_DEFAULT+keyId, 1, type, macAddr, micKey); 2080 void zfHpSetMacAddress(zdev_t* dev, u16_t* macAddr, u16_t macAddrId) argument 2085 (((u32_t)macAddr[1])<<16) | macAddr[0]); 2086 zfDelayWriteInternalReg(dev, ZM_MAC_REG_MAC_ADDR_H, macAddr[2]); 2091 macAddr[0] + ((u32_t)macAddr[1]<<16)); [all …]
|
D | hpusb.h | 312 A_UINT8 macAddr[6]; member
|
/drivers/net/wireless/ath9k/ |
D | eeprom.c | 2709 return pBase->macAddr[0] << 8 | pBase->macAddr[1]; in ath9k_hw_get_eeprom_4k() 2711 return pBase->macAddr[2] << 8 | pBase->macAddr[3]; in ath9k_hw_get_eeprom_4k() 2713 return pBase->macAddr[4] << 8 | pBase->macAddr[5]; in ath9k_hw_get_eeprom_4k() 2753 return pBase->macAddr[0] << 8 | pBase->macAddr[1]; in ath9k_hw_get_eeprom_def() 2755 return pBase->macAddr[2] << 8 | pBase->macAddr[3]; in ath9k_hw_get_eeprom_def() 2757 return pBase->macAddr[4] << 8 | pBase->macAddr[5]; in ath9k_hw_get_eeprom_def()
|
D | hw.h | 510 u8 macAddr[6]; member 533 u8 macAddr[6]; member
|
/drivers/staging/rt2870/sta/ |
D | dls.c | 2179 UCHAR macAddr[MAC_ADDR_LEN]; in Set_DlsTearDownEntry_Proc() local 2192 AtoH(value, &macAddr[i++], 2); in Set_DlsTearDownEntry_Proc() 2195 printk("\n%02x:%02x:%02x:%02x:%02x:%02x", macAddr[0], macAddr[1], in Set_DlsTearDownEntry_Proc() 2196 macAddr[2], macAddr[3], macAddr[4], macAddr[5]); in Set_DlsTearDownEntry_Proc() 2199 COPY_MAC_ADDR(Dls.MacAddr, macAddr); in Set_DlsTearDownEntry_Proc()
|
/drivers/staging/rt2860/sta/ |
D | dls.c | 2170 UCHAR macAddr[MAC_ADDR_LEN]; in Set_DlsTearDownEntry_Proc() local 2183 AtoH(value, &macAddr[i++], 2); in Set_DlsTearDownEntry_Proc() 2186 printk("\n%02x:%02x:%02x:%02x:%02x:%02x", macAddr[0], macAddr[1], in Set_DlsTearDownEntry_Proc() 2187 macAddr[2], macAddr[3], macAddr[4], macAddr[5]); in Set_DlsTearDownEntry_Proc() 2190 COPY_MAC_ADDR(Dls.MacAddr, macAddr); in Set_DlsTearDownEntry_Proc()
|
/drivers/staging/rt2870/common/ |
D | cmm_wpa.c | 244 IN UCHAR *macAddr, in GenRandom() argument 261 COPY_MAC_ADDR(local, macAddr); in GenRandom()
|
/drivers/staging/rt2860/common/ |
D | cmm_wpa.c | 241 IN UCHAR *macAddr, in GenRandom() argument 258 COPY_MAC_ADDR(local, macAddr); in GenRandom()
|
/drivers/staging/rt2870/ |
D | sta_ioctl.c | 6632 ULONG macAddr = 0; in RTMPIoctlMAC() local 6679 macAddr = *temp*256 + temp[1]; in RTMPIoctlMAC() 6680 if (macAddr < 0xFFFF) in RTMPIoctlMAC() 6682 RTMP_IO_READ32(pAdapter, macAddr, &macValue); in RTMPIoctlMAC() 6683 DBGPRINT(RT_DEBUG_TRACE, ("MacAddr=%lx, MacValue=%x\n", macAddr, macValue)); in RTMPIoctlMAC() 6684 sprintf(msg+strlen(msg), "[0x%08lX]:%08X ", macAddr , macValue); in RTMPIoctlMAC() 6739 macAddr = *temp*256 + temp[1]; in RTMPIoctlMAC() 6745 if (macAddr == (HW_DEBUG_SETTING_BASE + 4)) in RTMPIoctlMAC() 6771 DBGPRINT(RT_DEBUG_TRACE, ("MacAddr=%02lx, MacValue=0x%x\n", macAddr, macValue)); in RTMPIoctlMAC() 6773 RTMP_IO_WRITE32(pAdapter, macAddr, macValue); in RTMPIoctlMAC() [all …]
|