/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | bwimac.h | 71 #define MOBJ_WRITE_2(mac, objid, ofs, val) \ 72 bwi_memobj_write_2((mac), (objid), (ofs), (val)) 73 #define MOBJ_WRITE_4(mac, objid, ofs, val) \ 74 bwi_memobj_write_4((mac), (objid), (ofs), (val)) 75 #define MOBJ_READ_2(mac, objid, ofs) \ 76 bwi_memobj_read_2((mac), (objid), (ofs)) 77 #define MOBJ_READ_4(mac, objid, ofs) \ 78 bwi_memobj_read_4((mac), (objid), (ofs)) 80 #define MOBJ_SETBITS_4(mac, objid, ofs, bits) \ 81 MOBJ_WRITE_4((mac), (obji [all...] |
H A D | bwiphy.c | 85 static void bwi_tbl_write_2(struct bwi_mac *mac, uint16_t, uint16_t); 86 static void bwi_tbl_write_4(struct bwi_mac *mac, uint16_t, uint32_t); 134 bwi_phy_write(struct bwi_mac *mac, uint16_t ctrl, uint16_t data) argument 136 struct bwi_softc *sc = mac->mac_sc; 143 bwi_phy_read(struct bwi_mac *mac, uint16_t ctrl) argument 145 struct bwi_softc *sc = mac->mac_sc; 152 bwi_phy_attach(struct bwi_mac *mac) argument 154 struct bwi_softc *sc = mac->mac_sc; 155 struct bwi_phy *phy = &mac->mac_phy; 224 bwi_phy_set_bbp_atten(struct bwi_mac *mac, uint16_ argument 243 bwi_phy_calibrate(struct bwi_mac *mac) argument 265 bwi_tbl_write_2(struct bwi_mac *mac, uint16_t ofs, uint16_t data) argument 277 bwi_tbl_write_4(struct bwi_mac *mac, uint16_t ofs, uint32_t data) argument 292 bwi_nrssi_write(struct bwi_mac *mac, uint16_t ofs, int16_t data) argument 299 bwi_nrssi_read(struct bwi_mac *mac, uint16_t ofs) argument 306 bwi_phy_init_11a(struct bwi_mac *mac) argument 312 bwi_phy_init_11g(struct bwi_mac *mac) argument 427 bwi_phy_init_11b_rev2(struct bwi_mac *mac) argument 435 bwi_phy_init_11b_rev4(struct bwi_mac *mac) argument 504 bwi_phy_init_11b_rev5(struct bwi_mac *mac) argument 606 bwi_phy_init_11b_rev6(struct bwi_mac *mac) argument 749 bwi_phy_config_11g(struct bwi_mac *mac) argument 884 bwi_phy_config_agc(struct bwi_mac *mac) argument 965 bwi_set_gains(struct bwi_mac *mac, const struct bwi_gains *gains) argument [all...] |
H A D | bwirf.c | 76 #define RF_LO_WRITE(mac, lo) bwi_rf_lo_write((mac), (lo)) 104 #define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n) 105 #define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n) 107 #define SAVE_PHY_REG(mac, regs, n) (regs)->phy_##n = PHY_READ((mac), 0x##n) 108 #define RESTORE_PHY_REG(mac, regs, n) PHY_WRITE((mac), 157 bwi_nrssi_11g(struct bwi_mac *mac) argument 172 bwi_get_rf_lo(struct bwi_mac *mac, uint16_t rf_atten, uint16_t bbp_atten) argument 183 bwi_rf_lo_isused(struct bwi_mac *mac, const struct bwi_rf_lo *lo) argument 195 bwi_rf_write(struct bwi_mac *mac, uint16_t ctrl, uint16_t data) argument 204 bwi_rf_read(struct bwi_mac *mac, uint16_t ctrl) argument 223 bwi_rf_attach(struct bwi_mac *mac) argument 338 bwi_rf_set_chan(struct bwi_mac *mac, u_int chan, int work_around) argument 369 bwi_rf_get_gains(struct bwi_mac *mac) argument 524 bwi_rf_init(struct bwi_mac *mac) argument 539 bwi_rf_off_11a(struct bwi_mac *mac) argument 551 bwi_rf_off_11bg(struct bwi_mac *mac) argument 557 bwi_rf_off_11g_rev5(struct bwi_mac *mac) argument 564 bwi_rf_work_around(struct bwi_mac *mac, u_int chan) argument 586 bwi_rf_lo_find(struct bwi_mac *mac, const struct bwi_tpctl *tpctl) argument 628 bwi_rf_lo_adjust(struct bwi_mac *mac, const struct bwi_tpctl *tpctl) argument 637 bwi_rf_lo_write(struct bwi_mac *mac, const struct bwi_rf_lo *lo) argument 648 bwi_rf_gain_max_reached(struct bwi_mac *mac, int idx) argument 673 bwi_phy812_value(struct bwi_mac *mac, uint16_t lpd) argument 745 bwi_rf_init_bcm2050(struct bwi_mac *mac) argument 1007 bwi_rf_calibval(struct bwi_mac *mac) argument 1082 bwi_rf_map_txpower(struct bwi_mac *mac) argument 1258 bwi_rf_lo_update_11g(struct bwi_mac *mac) argument 1392 bwi_rf_lo_devi_measure(struct bwi_mac *mac, uint16_t ctrl) argument 1425 bwi_rf_get_tp_ctrl2(struct bwi_mac *mac) argument 1451 _bwi_rf_lo_update_11g(struct bwi_mac *mac, uint16_t orig_rf7a) argument 1548 bwi_rf_lo_measure_11g(struct bwi_mac *mac, const struct bwi_rf_lo *src_lo, struct bwi_rf_lo *dst_lo, uint8_t devi_ctrl) argument 1638 bwi_rf_calc_nrssi_slope_11b(struct bwi_mac *mac) argument 1751 bwi_rf_set_nrssi_ofs_11g(struct bwi_mac *mac) argument 1906 bwi_rf_calc_nrssi_slope_11g(struct bwi_mac *mac) argument 2085 bwi_rf_init_sw_nrssi_table(struct bwi_mac *mac) argument 2105 bwi_rf_init_hw_nrssi_table(struct bwi_mac *mac, uint16_t adjust) argument 2125 bwi_rf_set_nrssi_thr_11b(struct bwi_mac *mac) argument 2182 bwi_rf_set_nrssi_thr_11g(struct bwi_mac *mac) argument 2223 bwi_rf_clear_tssi(struct bwi_mac *mac) argument 2272 bwi_rf_on_11a(struct bwi_mac *mac) argument 2278 bwi_rf_on_11bg(struct bwi_mac *mac) argument 2293 bwi_rf_set_ant_mode(struct bwi_mac *mac, int ant_mode) argument 2369 bwi_rf_get_latest_tssi(struct bwi_mac *mac, int8_t tssi[], uint16_t ofs) argument 2389 bwi_rf_tssi2dbm(struct bwi_mac *mac, int8_t tssi, int8_t *txpwr) argument 2410 bwi_rf_calc_rssi_bcm2050(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument 2480 bwi_rf_calc_rssi_bcm2053(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument 2496 bwi_rf_calc_rssi_bcm2060(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument 2507 bwi_rf_calc_noise_bcm2050(struct bwi_mac *mac) argument 2531 bwi_rf_calc_noise_bcm2053(struct bwi_mac *mac) argument 2545 bwi_rf_calc_noise_bcm2060(struct bwi_mac *mac) argument 2552 bwi_rf_lo_measure_11b(struct bwi_mac *mac) argument 2572 bwi_rf_lo_update_11b(struct bwi_mac *mac) argument [all...] |
H A D | bwimac.c | 117 bwi_tmplt_write_4(struct bwi_mac *mac, uint32_t ofs, uint32_t val) argument 119 struct bwi_softc *sc = mac->mac_sc; 121 if (mac->mac_flags & BWI_MAC_F_BSWAP) 129 bwi_hostflags_write(struct bwi_mac *mac, uint64_t flags) argument 134 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_LO, val); 137 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_MI, val); 143 bwi_hostflags_read(struct bwi_mac *mac) argument 150 val = MOBJ_READ_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_MI); 153 val = MOBJ_READ_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_LO); 160 bwi_memobj_read_2(struct bwi_mac *mac, uint16_ argument 177 bwi_memobj_read_4(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0) argument 202 bwi_memobj_write_2(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0, uint16_t v) argument 220 bwi_memobj_write_4(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0, uint32_t v) argument 241 bwi_mac_lateattach(struct bwi_mac *mac) argument 284 bwi_mac_init(struct bwi_mac *mac) argument 454 bwi_mac_reset(struct bwi_mac *mac, int link_phy) argument 502 bwi_mac_set_tpctl_11bg(struct bwi_mac *mac, const struct bwi_tpctl *new_tpctl) argument 542 bwi_mac_test(struct bwi_mac *mac) argument 593 bwi_mac_setup_tpctl(struct bwi_mac *mac) argument 694 bwi_mac_dummy_xmit(struct bwi_mac *mac) argument 759 bwi_mac_init_tpctl_11bg(struct bwi_mac *mac) argument 828 bwi_mac_detach(struct bwi_mac *mac) argument 881 bwi_mac_fw_alloc(struct bwi_mac *mac) argument 986 bwi_mac_fw_free(struct bwi_mac *mac) argument 1015 bwi_mac_fw_load(struct bwi_mac *mac) argument 1093 bwi_mac_gpio_init(struct bwi_mac *mac) argument 1128 bwi_mac_gpio_fini(struct bwi_mac *mac) argument 1145 bwi_mac_fw_load_iv(struct bwi_mac *mac, const struct firmware *fw) argument 1223 bwi_mac_fw_init(struct bwi_mac *mac) argument 1243 bwi_mac_opmode_init(struct bwi_mac *mac) argument 1314 bwi_mac_hostflags_init(struct bwi_mac *mac) argument 1343 bwi_mac_bss_param_init(struct bwi_mac *mac) argument 1403 bwi_mac_set_retry_lim(struct bwi_mac *mac, const struct bwi_retry_lim *lim) argument 1419 bwi_mac_set_ackrates(struct bwi_mac *mac, const struct ieee80211_rate_table *rt, const struct ieee80211_rateset *rs) argument 1448 bwi_mac_start(struct bwi_mac *mac) argument 1463 bwi_mac_stop(struct bwi_mac *mac) argument 1493 bwi_mac_config_ps(struct bwi_mac *mac) argument 1527 bwi_mac_reset_hwkeys(struct bwi_mac *mac) argument 1534 bwi_mac_shutdown(struct bwi_mac *mac) argument 1561 bwi_mac_get_property(struct bwi_mac *mac) argument 1614 bwi_mac_updateslot(struct bwi_mac *mac, int shslot) argument 1634 struct bwi_mac *mac; local 1754 bwi_mac_adjust_tpctl(struct bwi_mac *mac, int rf_atten_adj, int bbp_atten_adj) argument 1810 bwi_mac_calibrate_txpower(struct bwi_mac *mac, enum bwi_txpwrcb_type type) argument 1925 bwi_mac_lock(struct bwi_mac *mac) argument 1949 bwi_mac_unlock(struct bwi_mac *mac) argument 1971 bwi_mac_set_promisc(struct bwi_mac *mac, int promisc) argument [all...] |
H A D | bwirf.h | 111 #define RF_WRITE(mac, ofs, val) bwi_rf_write((mac), (ofs), (val)) 112 #define RF_READ(mac, ofs) bwi_rf_read((mac), (ofs)) 114 #define RF_SETBITS(mac, ofs, bits) \ 115 RF_WRITE((mac), (ofs), RF_READ((mac), (ofs)) | (bits)) 116 #define RF_CLRBITS(mac, ofs, bits) \ 117 RF_WRITE((mac), (ofs), RF_READ((mac), (of [all...] |
/haiku-fatelf/src/bin/network/ |
H A D | wakeonlan.cpp | 19 unsigned char mac[6]; local 20 if (sscanf(argv[1], "%2x%*c%2x%*c%2x%*c%2x%*c%2x%*c%2x", &mac[0], &mac[1], 21 &mac[2], &mac[3], &mac[4], &mac[5]) != 6) { 29 memcpy(buffer + i * 6, mac, sizeof(mac)); 57 printf("magic packet sent to %02x:%02x:%02x:%02x:%02x:%02x\n", mac[ [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/ |
H A D | e1000_api.c | 48 if (hw->mac.ops.init_params) { 49 ret_val = hw->mac.ops.init_params(hw); 55 DEBUGOUT("mac.init_mac_params was NULL\n"); 145 * This function sets the mac type of the adapter based on the 152 struct e1000_mac_info *mac = &hw->mac; local 159 mac->type = e1000_82542; 163 mac->type = e1000_82543; 169 mac->type = e1000_82544; 176 mac [all...] |
H A D | e1000_mac.c | 50 struct e1000_mac_info *mac = &hw->mac; local 54 mac->ops.init_params = e1000_null_ops_generic; 55 mac->ops.init_hw = e1000_null_ops_generic; 56 mac->ops.reset_hw = e1000_null_ops_generic; 57 mac->ops.setup_physical_interface = e1000_null_ops_generic; 58 mac->ops.get_bus_info = e1000_null_ops_generic; 59 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pcie; 60 mac->ops.read_mac_addr = e1000_read_mac_addr_generic; 61 mac 167 struct e1000_mac_info *mac = &hw->mac; local 222 struct e1000_mac_info *mac = &hw->mac; local 704 struct e1000_mac_info *mac = &hw->mac; local 775 struct e1000_mac_info *mac = &hw->mac; local 844 struct e1000_mac_info *mac = &hw->mac; local 1057 struct e1000_mac_info *mac = &hw->mac; local 1130 struct e1000_mac_info *mac = &hw->mac; local 1361 struct e1000_mac_info *mac = &hw->mac; local 1733 struct e1000_mac_info *mac = &hw->mac; local 2005 struct e1000_mac_info *mac = &hw->mac; local 2033 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82571.c | 122 switch (hw->mac.type) { 181 switch (hw->mac.type) { 237 switch (hw->mac.type) { 271 switch (hw->mac.type) { 297 struct e1000_mac_info *mac = &hw->mac; local 310 mac->ops.setup_physical_interface = 312 mac->ops.check_for_link = e1000_check_for_fiber_link_generic; 313 mac->ops.get_link_up_info = 321 mac 1217 struct e1000_mac_info *mac = &hw->mac; local 1676 struct e1000_mac_info *mac = &hw->mac; local 2008 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_vf.c | 93 struct e1000_mac_info *mac = &hw->mac; local 106 mac->asf_firmware_present = FALSE; 108 mac->arc_subsystem_valid = FALSE; 110 mac->adaptive_ifs = FALSE; 112 mac->mta_reg_count = 128; 114 mac->rar_entry_count = 1; 118 mac->ops.setup_link = e1000_setup_link_vf; 120 mac->ops.get_bus_info = e1000_get_bus_info_pcie_vf; 122 mac 531 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82542.c | 102 struct e1000_mac_info *mac = &hw->mac; local 110 mac->mta_reg_count = 128; 112 mac->rar_entry_count = E1000_RAR_ENTRIES; 117 mac->ops.get_bus_info = e1000_get_bus_info_82542; 119 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; 121 mac->ops.reset_hw = e1000_reset_hw_82542; 123 mac->ops.init_hw = e1000_init_hw_82542; 125 mac->ops.setup_link = e1000_setup_link_82542; 127 mac 243 struct e1000_mac_info *mac = &hw->mac; local 317 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82540.c | 94 switch (hw->mac.type) { 160 struct e1000_mac_info *mac = &hw->mac; local 183 mac->mta_reg_count = 128; 185 mac->rar_entry_count = E1000_RAR_ENTRIES; 190 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; 192 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; 194 mac->ops.reset_hw = e1000_reset_hw_82540; 196 mac->ops.init_hw = e1000_init_hw_82540; 198 mac 330 struct e1000_mac_info *mac = &hw->mac; local 462 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82543.c | 110 phy->ops.read_reg = (hw->mac.type == e1000_82543) 113 phy->ops.reset = (hw->mac.type == e1000_82543) 116 phy->ops.write_reg = (hw->mac.type == e1000_82543) 140 switch (hw->mac.type) { 195 struct e1000_mac_info *mac = &hw->mac; local 211 mac->mta_reg_count = 128; 213 mac->rar_entry_count = E1000_RAR_ENTRIES; 218 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; 220 mac 959 struct e1000_mac_info *mac = &hw->mac; local 1203 struct e1000_mac_info *mac = &hw->mac; local 1340 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82541.c | 226 struct e1000_mac_info *mac = &hw->mac; local 233 mac->mta_reg_count = 128; 235 mac->rar_entry_count = E1000_RAR_ENTRIES; 237 mac->asf_firmware_present = TRUE; 242 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; 244 mac->ops.set_lan_id = e1000_set_lan_id_single_port; 246 mac->ops.reset_hw = e1000_reset_hw_82541; 248 mac->ops.init_hw = e1000_init_hw_82541; 250 mac 380 struct e1000_mac_info *mac = &hw->mac; local 590 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_manage.c | 78 if (!hw->mac.arc_subsystem_valid) { 140 hw->mac.tx_pkt_filtering = TRUE; 143 if (!hw->mac.ops.check_mng_mode(hw)) { 144 hw->mac.tx_pkt_filtering = FALSE; 145 return hw->mac.tx_pkt_filtering; 152 ret_val = hw->mac.ops.mng_enable_host_if(hw); 154 hw->mac.tx_pkt_filtering = FALSE; 155 return hw->mac.tx_pkt_filtering; 174 hw->mac.tx_pkt_filtering = TRUE; 175 return hw->mac [all...] |
/haiku-fatelf/headers/private/kernel/boot/net/ |
H A D | ARP.h | 26 status_t GetMACForIP(ip_addr_t ip, mac_addr_t &mac); 36 mac_addr_t mac; member in struct:ARPService::MapEntry 39 status_t _SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint16 opcode); 42 void _PutEntry(ip_addr_t ip, const mac_addr_t &mac);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_keycache.c | 56 const HAL_KEYVAL *k, const uint8_t *mac, 61 if (ar5212SetKeyCacheEntry(ah, entry, k, mac, xorKey)) { 55 ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_keycache.h | 39 const u_int8_t mac[IEEE80211_ADDR_LEN]);
|
/haiku-fatelf/src/system/boot/loader/net/ |
H A D | ARP.cpp | 113 ARPService::GetMACForIP(ip_addr_t ip, mac_addr_t &mac) argument 120 mac = kBroadcastMACAddress; 122 mac.ToUInt64())); 128 mac = entry->mac; 130 mac.ToUInt64())); 150 mac = entry->mac; 152 mac.ToUInt64())); 165 ARPService::_SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint1 argument 200 _PutEntry(ip_addr_t ip, const mac_addr_t &mac) argument [all...] |
/haiku-fatelf/src/servers/net/ |
H A D | AutoconfigLooper.cpp | 100 uint8* mac = link.LinkLevelAddress(); local 101 last = mac[0] ^ mac[1] ^ mac[2] ^ mac[3] ^ mac[4] ^ mac[5];
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_keycache.c | 74 * Sets the mac part of the specified key cache entry and mark it valid. 77 ar5210SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument 86 if (mac != AH_NULL) { 87 macHi = (mac[5] << 8) | mac[4]; 88 macLo = (mac[3] << 24)| (mac[2] << 16) 89 | (mac[1] << 8) | mac[0]; 110 const HAL_KEYVAL *k, const uint8_t *mac, in 109 ar5210SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_keycache.c | 78 * Sets the mac part of the specified key cache entry and mark it valid. 81 ar5211SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument 95 if (mac != AH_NULL) { 96 macHi = (mac[5] << 8) | mac[4]; 97 macLo = (mac[3] << 24)| (mac[2] << 16) 98 | (mac[1] << 8) | mac[0]; 116 const HAL_KEYVAL *k, const uint8_t *mac, 115 ar5211SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument [all...] |
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_acl.c | 155 acl_check(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 164 return _find_acl(as, mac) != NULL; 166 return _find_acl(as, mac) == NULL; 172 acl_add(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 181 "ACL: add %s failed, no memory\n", ether_sprintf(mac)); 187 hash = ACL_HASH(mac); 189 if (IEEE80211_ADDR_EQ(acl->acl_macaddr, mac)) { 194 ether_sprintf(mac)); 198 IEEE80211_ADDR_COPY(new->acl_macaddr, mac); 205 "ACL: add %s\n", ether_sprintf(mac)); 210 acl_remove(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 327 static const struct ieee80211_aclator mac = { variable in typeref:struct:ieee80211_aclator [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_keycache.c | 100 * Sets the mac part of the specified key cache entry (and any 103 * Since mac[0] is shifted off and not presented to the hardware, 110 ar5212SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument 124 if (mac != AH_NULL) { 132 if (mac[0] & 0x01) 135 macHi = (mac[5] << 8) | mac[4]; 136 macLo = (mac[3] << 24)| (mac[2] << 16) 137 | (mac[ 154 ar5212SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument [all...] |
/haiku-fatelf/src/tests/kits/net/ |
H A D | link_echo.cpp | 32 parse_mac_address(const char* string, uint8* mac)
argument 34 if (sscanf(string, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", &mac[0],
35 &mac[1], &mac[2], &mac[3], &mac[4], &mac[5]) < 6) {
118 fprintf(stderr, "usage: %s <device> client <server-mac-address>\n"
135 fprintf(stderr, "usage: %s client <server-mac-address>\n",
|