Home | History | Annotate | Download | only in ic

Lines Matching refs:htole16

335 	sc->sc_rxtap.ar_ihdr.it_len = htole16(sizeof(sc->sc_rxtapu));
339 sc->sc_txtap.at_ihdr.it_len = htole16(sizeof(sc->sc_txtapu));
567 htole16(AN_SCANMODE_ACTIVE);
568 sc->sc_config.an_authtype = htole16(AN_AUTHTYPE_OPEN); /*XXX*/
571 htole16(AN_AUTHTYPE_PRIVACY_IN_USE);
574 htole16(AN_AUTHTYPE_LEAP);
576 sc->sc_config.an_listen_interval = htole16(ic->ic_lintval);
577 sc->sc_config.an_beacon_period = htole16(ic->ic_lintval);
579 sc->sc_config.an_psave_mode = htole16(AN_PSAVE_PSP);
581 sc->sc_config.an_psave_mode = htole16(AN_PSAVE_CAM);
583 htole16(ieee80211_chan2ieee(ic, ic->ic_ibss_chan));
588 htole16(AN_OPMODE_INFRASTRUCTURE_STATION);
589 sc->sc_config.an_rxmode = htole16(AN_RXMODE_BC_MC_ADDR);
592 sc->sc_config.an_opmode = htole16(AN_OPMODE_IBSS_ADHOC);
593 sc->sc_config.an_rxmode = htole16(AN_RXMODE_BC_MC_ADDR);
597 htole16(AN_OPMODE_INFRASTRUCTURE_STATION);
599 htole16(AN_RXMODE_80211_MONITOR_ANYBSS);
600 sc->sc_config.an_authtype = htole16(AN_AUTHTYPE_NONE);
603 htole16(AN_AUTHTYPE_PRIVACY_IN_USE |
611 sc->sc_config.an_rxmode |= htole16(AN_RXMODE_NO_8023_HEADER);
616 htole16(ic->ic_des_esslen);
634 sc->sc_buf.sc_encap.an_entry[i].an_ethertype = htole16(0);
636 htole16(AN_RXENCAP_RFC1024 | AN_TXENCAP_RFC1024);
793 frmhdr.an_tx_ctl = htole16(AN_TXCTL_80211);
794 frmhdr.an_tx_payload_len = htole16(m->m_pkthdr.len);
795 frmhdr.an_gaplen = htole16(AN_TXGAP_802_11);
808 tap->at_chan_freq = htole16(ic->ic_bss->ni_chan->ic_freq);
809 tap->at_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags);
1228 key->an_key_len = htole16(len);
1250 key->an_key_len = htole16(32);
1322 akey->an_key_len = htole16(keys[i].an_wep_keylen);
1323 akey->an_key_index = htole16(i);
1330 akey->an_key_index = htole16(0xffff);
1332 akey->an_key_len = htole16(0);
1500 tap->ar_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags);
1501 tap->ar_chan_freq = htole16(ic->ic_bss->ni_chan->ic_freq);
1508 bpf_mtap2(sc->sc_drvbpf, tap, htole16(tap->ar_ihdr.it_len), m,
1841 len = htole16(buflen + 2);