tx_frame 2457 dev/ic/if_wi.c struct wi_frame tx_frame; tx_frame 2476 dev/ic/if_wi.c bzero((char *)&tx_frame, sizeof(tx_frame)); tx_frame 2477 dev/ic/if_wi.c tx_frame.wi_frame_ctl = htole16(WI_FTYPE_DATA | WI_STYPE_DATA); tx_frame 2483 dev/ic/if_wi.c &tx_frame.wi_tx_rate) && !(ifp->if_flags & IFF_PROMISC)) { tx_frame 2503 dev/ic/if_wi.c (char *)&tx_frame.wi_addr1, ETHER_ADDR_LEN); tx_frame 2505 dev/ic/if_wi.c tx_frame.wi_tx_ctl = htole16(WI_ENC_TX_MGMT); /* XXX */ tx_frame 2506 dev/ic/if_wi.c tx_frame.wi_frame_ctl |= htole16(WI_FCTL_FROMDS); tx_frame 2508 dev/ic/if_wi.c (char *)&tx_frame.wi_addr2, ETHER_ADDR_LEN); tx_frame 2510 dev/ic/if_wi.c (char *)&tx_frame.wi_addr3, ETHER_ADDR_LEN); tx_frame 2515 dev/ic/if_wi.c tx_frame.wi_tx_ctl = htole16(WI_ENC_TX_MGMT); /* XXX */ tx_frame 2516 dev/ic/if_wi.c tx_frame.wi_frame_ctl |= htole16(WI_FCTL_TODS); tx_frame 2518 dev/ic/if_wi.c (char *)&tx_frame.wi_addr2, ETHER_ADDR_LEN); tx_frame 2520 dev/ic/if_wi.c (char *)&tx_frame.wi_addr3, ETHER_ADDR_LEN); tx_frame 2524 dev/ic/if_wi.c (char *)&tx_frame.wi_addr2, ETHER_ADDR_LEN); tx_frame 2526 dev/ic/if_wi.c (char *)&tx_frame.wi_dst_addr, ETHER_ADDR_LEN); tx_frame 2528 dev/ic/if_wi.c (char *)&tx_frame.wi_src_addr, ETHER_ADDR_LEN); tx_frame 2530 dev/ic/if_wi.c tx_frame.wi_dat_len = m0->m_pkthdr.len - WI_SNAPHDR_LEN; tx_frame 2531 dev/ic/if_wi.c tx_frame.wi_dat[0] = htons(WI_SNAP_WORD0); tx_frame 2532 dev/ic/if_wi.c tx_frame.wi_dat[1] = htons(WI_SNAP_WORD1); tx_frame 2533 dev/ic/if_wi.c tx_frame.wi_len = htons(m0->m_pkthdr.len - WI_SNAPHDR_LEN); tx_frame 2534 dev/ic/if_wi.c tx_frame.wi_type = eh->ether_type; tx_frame 2539 dev/ic/if_wi.c tx_frame.wi_frame_ctl |= htole16(WI_FCTL_WEP); tx_frame 2540 dev/ic/if_wi.c bcopy(&tx_frame.wi_dat[0], &sc->wi_txbuf[4], 8); tx_frame 2547 dev/ic/if_wi.c tx_frame.wi_dat_len); tx_frame 2549 dev/ic/if_wi.c tx_frame.wi_dat_len += IEEE80211_WEP_IVLEN + tx_frame 2552 dev/ic/if_wi.c tx_frame.wi_dat_len = htole16(tx_frame.wi_dat_len); tx_frame 2553 dev/ic/if_wi.c wi_write_data(sc, id, 0, (caddr_t)&tx_frame, tx_frame 2564 dev/ic/if_wi.c tx_frame.wi_dat_len = htole16(tx_frame.wi_dat_len); tx_frame 2565 dev/ic/if_wi.c wi_write_data(sc, id, 0, (caddr_t)&tx_frame, tx_frame 2573 dev/ic/if_wi.c tx_frame.wi_dat_len = htole16(m0->m_pkthdr.len); tx_frame 2585 dev/ic/if_wi.c wi_write_data(sc, id, 0, (caddr_t)&tx_frame, tx_frame 2619 dev/ic/if_wi.c struct wi_frame tx_frame; tx_frame 2630 dev/ic/if_wi.c bzero((char *)&tx_frame, sizeof(tx_frame)); tx_frame 2633 dev/ic/if_wi.c bcopy((char *)hdr, (char *)&tx_frame.wi_frame_ctl, tx_frame 2636 dev/ic/if_wi.c tx_frame.wi_tx_ctl = htole16(WI_ENC_TX_MGMT); tx_frame 2637 dev/ic/if_wi.c tx_frame.wi_dat_len = len - sizeof(struct wi_80211_hdr); tx_frame 2638 dev/ic/if_wi.c tx_frame.wi_len = htole16(tx_frame.wi_dat_len); tx_frame 2640 dev/ic/if_wi.c tx_frame.wi_dat_len = htole16(tx_frame.wi_dat_len); tx_frame 2641 dev/ic/if_wi.c wi_write_data(sc, id, 0, (caddr_t)&tx_frame, sizeof(struct wi_frame));