/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath.c | 579 struct ieee80211com *ic = &sc->sc_ic; local 589 ic->ic_softc = sc; 590 ic->ic_name = device_get_nameunit(sc->sc_dev); 870 ic->ic_phytype = IEEE80211_T_OFDM; 871 ic->ic_opmode = IEEE80211_M_STA; 872 ic->ic_caps = 897 ic->ic_cryptocaps |= IEEE80211_CRYPTO_WEP; 899 ic->ic_cryptocaps |= IEEE80211_CRYPTO_AES_OCB; 901 ic->ic_cryptocaps |= IEEE80211_CRYPTO_AES_CCM; 903 ic 1446 ath_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac0[IEEE80211_ADDR_LEN]) argument 1707 struct ieee80211com *ic = vap->iv_ic; local 1827 struct ieee80211com *ic = &sc->sc_ic; local 1870 struct ieee80211com *ic = &sc->sc_ic; local 1912 struct ieee80211com *ic = &sc->sc_ic; local 2119 struct ieee80211com *ic = &sc->sc_ic; local 2424 struct ieee80211com *ic = &sc->sc_ic; local 2440 struct ieee80211com *ic = &sc->sc_ic; local 2787 struct ieee80211com *ic = &sc->sc_ic; local 2970 struct ieee80211com *ic = vap->iv_ic; local 3159 ath_transmit(struct ieee80211com *ic, struct mbuf *m) argument 3464 ath_update_promisc(struct ieee80211com *ic) argument 3488 struct ieee80211com *ic = &sc->sc_ic; local 3537 ath_update_mcast(struct ieee80211com *ic) argument 3555 struct ieee80211com *ic = &sc->sc_ic; local 3579 struct ieee80211com *ic = &sc->sc_ic; local 3616 ath_updateslot(struct ieee80211com *ic) argument 3749 struct ieee80211com *ic = vap->iv_ic; local 3776 struct ieee80211com *ic = ni->ni_ic; local 3791 struct ieee80211com *ic = ni->ni_ic; local 3803 struct ieee80211com *ic = ni->ni_ic; local 3937 struct ieee80211com *ic = &sc->sc_ic; local 4007 ath_wme_update(struct ieee80211com *ic) argument 4060 struct ieee80211com *ic = &sc->sc_ic; local 4261 struct ieee80211com *ic = &sc->sc_ic; local 4850 struct ieee80211com *ic = &sc->sc_ic; local 5084 struct ieee80211com *ic = &sc->sc_ic; local 5235 struct ieee80211com *ic = &sc->sc_ic; local 5359 ath_scan_start(struct ieee80211com *ic) argument 5384 ath_scan_end(struct ieee80211com *ic) argument 5424 ath_update_chw(struct ieee80211com *ic) argument 5434 ath_set_channel(struct ieee80211com *ic) argument 5462 struct ieee80211com *ic = this->iv_ic; local 5477 struct ieee80211com *ic = vap->iv_ic; local 5896 ath_setregdomain(struct ieee80211com *ic, struct ieee80211_regdomain *reg, int nchans, struct ieee80211_channel chans[]) argument 5920 ath_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 5938 struct ieee80211com *ic = &sc->sc_ic; local 6098 struct ieee80211com *ic = &sc->sc_ic; local 6135 ath_parent(struct ieee80211com *ic) argument 6218 struct ieee80211com *ic = &sc->sc_ic; local 6249 struct ieee80211com *ic = ni->ni_ic; local 6316 struct ieee80211com *ic = ni->ni_ic; local 6521 struct ieee80211com *ic = ni->ni_ic; local [all...] |
H A D | if_ath_beacon.h | 43 extern int ath_wme_update(struct ieee80211com *ic);
|
/freebsd-11-stable/sys/dev/mwl/ |
H A D | if_mwl.c | 293 struct ieee80211com *ic = &sc->sc_ic; local 394 ic->ic_softc = sc; 395 ic->ic_name = device_get_nameunit(sc->sc_dev); 397 ic->ic_phytype = IEEE80211_T_OFDM; 398 ic->ic_opmode = IEEE80211_M_STA; 399 ic->ic_caps = 420 ic->ic_htcaps = 446 ic->ic_cryptocaps |= IEEE80211_CRYPTO_WEP 458 ic->ic_headroom = sizeof(struct mwltxrec) - 461 IEEE80211_ADDR_COPY(ic 530 struct ieee80211com *ic = &sc->sc_ic; local 592 mwl_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac0[IEEE80211_ADDR_LEN]) argument 856 struct ieee80211com *ic = &sc->sc_ic; local 873 struct ieee80211com *ic = &sc->sc_ic; local 1001 struct ieee80211com *ic = &sc->sc_ic; local 1114 struct ieee80211com *ic = &sc->sc_ic; local 1212 struct ieee80211com *ic = vap->iv_ic; local 1249 struct ieee80211com *ic = vap->iv_ic; local 1317 mwl_transmit(struct ieee80211com *ic, struct mbuf *m) argument 1419 struct ieee80211com *ic = ni->ni_ic; local 1753 struct ieee80211com *ic = &sc->sc_ic; local 1766 mwl_update_mcast(struct ieee80211com *ic) argument 1781 mwl_update_promisc(struct ieee80211com *ic) argument 1795 mwl_updateslot(struct ieee80211com *ic) argument 1854 struct ieee80211com *ic = vap->iv_ic; local 2244 struct ieee80211com *ic = vap->iv_ic; local 2261 struct ieee80211com *ic = ni->ni_ic; local 2356 struct ieee80211com *ic = ni->ni_ic; local 2574 mwl_handlemicerror(struct ieee80211com *ic, const uint8_t *data) argument 2610 struct ieee80211com *ic = &sc->sc_ic; local 2885 struct ieee80211com *ic = &sc->sc_ic; local 2911 mwl_wme_update(struct ieee80211com *ic) argument 3068 struct ieee80211com *ic = &sc->sc_ic; local 3320 struct ieee80211com *ic = &sc->sc_ic; local 3456 struct ieee80211com *ic = &sc->sc_ic; local 3789 struct ieee80211com *ic = &sc->sc_ic; local 3843 mwl_scan_start(struct ieee80211com *ic) argument 3851 mwl_scan_end(struct ieee80211com *ic) argument 3859 mwl_set_channel(struct ieee80211com *ic) argument 3875 struct ieee80211com *ic = vap->iv_ic; local 4076 struct ieee80211com *ic = vap->iv_ic; local 4313 mwl_setregdomain(struct ieee80211com *ic, struct ieee80211_regdomain *rd, int nchan, struct ieee80211_channel chans[]) argument 4443 mwl_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 4454 struct ieee80211com *ic = &sc->sc_ic; local 4676 mwl_parent(struct ieee80211com *ic) argument 4713 mwl_ioctl(struct ieee80211com *ic, u_long cmd, void *data) argument [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | optimize.c | 362 find_levels_r(opt_state_t *opt_state, struct icode *ic, struct block *b) argument 366 if (isMarked(ic, b)) 369 Mark(ic, b); 373 find_levels_r(opt_state, ic, JT(b)); 374 find_levels_r(opt_state, ic, JF(b)); 390 find_levels(opt_state_t *opt_state, struct icode *ic) argument 393 unMarkAll(ic); 394 find_levels_r(opt_state, ic, ic->root); 1778 opt_blks(opt_state_t *opt_state, struct icode *ic, in argument 1867 opt_loop(opt_state_t *opt_state, struct icode *ic, int do_stmts) argument 1898 bpf_optimize(struct icode *ic, char *errbuf) argument 1930 make_marks(struct icode *ic, struct block *p) argument 1946 mark_code(struct icode *ic) argument 1987 intern_blocks(opt_state_t *opt_state, struct icode *ic) argument 2077 count_blocks(struct icode *ic, struct block *p) argument 2090 number_blks_r(opt_state_t *opt_state, struct icode *ic, struct block *p) argument 2125 count_stmts(struct icode *ic, struct block *p) argument 2142 opt_init(opt_state_t *opt_state, struct icode *ic) argument 2247 convert_code_r(conv_state_t *conv_state, struct icode *ic, struct block *p) argument 2443 icode_to_fcode(struct icode *ic, struct block *root, u_int *lenp, char *errbuf) argument 2542 dot_dump_node(struct icode *ic, struct block *block, struct bpf_program *prog, FILE *out) argument 2575 dot_dump_edge(struct icode *ic, struct block *block, FILE *out) argument 2611 dot_dump(struct icode *ic, char *errbuf) argument 2633 plain_dump(struct icode *ic, char *errbuf) argument 2648 opt_dump(opt_state_t *opt_state, struct icode *ic) argument [all...] |
/freebsd-11-stable/sys/dev/ral/ |
H A D | rt2860.c | 240 struct ieee80211com *ic = &sc->sc_ic; local 274 rt2860_read_eeprom(sc, ic->ic_macaddr); 278 sc->ntxchains, sc->nrxchains, ic->ic_macaddr, ":"); 305 ic->ic_softc = sc; 306 ic->ic_name = device_get_nameunit(dev); 307 ic->ic_opmode = IEEE80211_M_STA; 308 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 311 ic->ic_caps = 328 rt2860_getradiocaps(ic, IEEE80211_CHAN_MAX, &ic 376 struct ieee80211com *ic = &sc->sc_ic; local 421 rt2860_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 812 struct ieee80211com *ic = &sc->sc_ic; local 838 struct ieee80211com *ic = ni->ni_ic; local 857 struct ieee80211com *ic = ni->ni_ic; local 872 rt2860_ampdu_rx_start(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument 887 rt2860_ampdu_rx_stop(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument 905 struct ieee80211com *ic = vap->iv_ic; local 1181 struct ieee80211com *ic = &sc->sc_ic; local 1381 struct ieee80211com *ic = &sc->sc_ic; local 1453 struct ieee80211com *ic = &sc->sc_ic; local 1696 struct ieee80211com *ic = ni->ni_ic; local 1730 struct ieee80211com *ic = &sc->sc_ic; local 1938 rt2860_transmit(struct ieee80211com *ic, struct mbuf *m) argument 2006 rt2860_parent(struct ieee80211com *ic) argument 2245 struct ieee80211com *ic = &sc->sc_ic; local 2259 struct ieee80211com *ic = &sc->sc_ic; local 2278 rt2860_scan_start(struct ieee80211com *ic) argument 2291 rt2860_scan_end(struct ieee80211com *ic) argument 2303 rt2860_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 2322 rt2860_set_channel(struct ieee80211com *ic) argument 3064 rt2860_updateslot(struct ieee80211com *ic) argument 3078 struct ieee80211com *ic = &sc->sc_ic; local 3100 rt2860_update_promisc(struct ieee80211com *ic) argument 3113 rt2860_updateedca(struct ieee80211com *ic) argument 3158 rt2860_set_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 3261 rt2860_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 3287 struct ieee80211com *ic = &sc->sc_ic; local 3740 struct ieee80211com *ic = &sc->sc_ic; local 3786 struct ieee80211com *ic = &sc->sc_ic; local 3799 struct ieee80211com *ic = &sc->sc_ic; local 4169 struct ieee80211com *ic = &sc->sc_ic; local 4240 struct ieee80211com *ic = &sc->sc_ic; local 4274 struct ieee80211com *ic = vap->iv_ic; local 4308 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
/freebsd-11-stable/sys/dev/usb/wlan/ |
H A D | if_rsu.c | 338 rsu_update_chw(struct ieee80211com *ic) argument 392 rsu_wme_update(struct ieee80211com *ic) argument 404 struct ieee80211com *ic = &sc->sc_ic; local 503 IEEE80211_ADDR_COPY(ic->ic_macaddr, &sc->rom[0x12]); 506 ic->ic_softc = sc; 507 ic->ic_name = device_get_nameunit(self); 508 ic->ic_phytype = IEEE80211_T_OFDM; /* Not only, but not used. */ 509 ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */ 512 ic->ic_caps = 527 ic 581 struct ieee80211com *ic = &sc->sc_ic; local 633 rsu_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 680 rsu_scan_start(struct ieee80211com *ic) argument 696 rsu_scan_end(struct ieee80211com *ic) argument 702 rsu_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 725 rsu_update_mcast(struct ieee80211com *ic) argument 1221 struct ieee80211com *ic = vap->iv_ic; local 1329 struct ieee80211com *ic = &sc->sc_ic; local 1356 struct ieee80211com *ic = &sc->sc_ic; local 1488 struct ieee80211com *ic = &sc->sc_ic; local 1554 struct ieee80211com *ic = &sc->sc_ic; local 1600 struct ieee80211com *ic = &sc->sc_ic; local 1629 struct ieee80211com *ic = &sc->sc_ic; local 1752 struct ieee80211com *ic = &sc->sc_ic; local 1893 struct ieee80211com *ic = &sc->sc_ic; local 1918 struct ieee80211com *ic = &sc->sc_ic; local 2020 struct ieee80211com *ic = &sc->sc_ic; local 2246 rsu_transmit(struct ieee80211com *ic, struct mbuf *m) argument 2335 rsu_parent(struct ieee80211com *ic) argument 2630 struct ieee80211com *ic = &sc->sc_ic; local 2817 struct ieee80211com *ic = ni->ni_ic; local 2847 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
H A D | if_rum.c | 481 struct ieee80211com *ic = &sc->sc_ic; local 526 ic->ic_softc = sc; 527 ic->ic_name = device_get_nameunit(self); 528 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 531 ic->ic_caps = 547 ic->ic_cryptocaps = 553 rum_getradiocaps(ic, IEEE80211_CHAN_MAX, &ic->ic_nchans, 554 ic->ic_channels); 556 ieee80211_ifattach(ic); 593 struct ieee80211com *ic = &sc->sc_ic; local 656 rum_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 718 struct ieee80211com *ic = vap->iv_ic; local 754 struct ieee80211com *ic = &sc->sc_ic; local 840 struct ieee80211com *ic = vap->iv_ic; local 924 struct ieee80211com *ic = vap->iv_ic; local 1130 struct ieee80211com *ic = &sc->sc_ic; local 1306 struct ieee80211com *ic = &sc->sc_ic; local 1364 struct ieee80211com *ic = ni->ni_ic; local 1450 struct ieee80211com *ic = &sc->sc_ic; local 1525 struct ieee80211com *ic = ni->ni_ic; local 1585 struct ieee80211com *ic = &sc->sc_ic; local 1686 rum_transmit(struct ieee80211com *ic, struct mbuf *m) argument 1731 rum_parent(struct ieee80211com *ic) argument 1971 struct ieee80211com *ic = &sc->sc_ic; local 1985 struct ieee80211com *ic = &sc->sc_ic; local 1996 struct ieee80211com *ic = &sc->sc_ic; local 2060 struct ieee80211com *ic = &sc->sc_ic; local 2151 struct ieee80211com *ic = &sc->sc_ic; local 2229 struct ieee80211com *ic = &sc->sc_ic; local 2240 rum_update_slot(struct ieee80211com *ic) argument 2246 rum_wme_update(struct ieee80211com *ic) argument 2321 struct ieee80211com *ic = &sc->sc_ic; local 2333 rum_update_promisc(struct ieee80211com *ic) argument 2344 rum_update_mcast(struct ieee80211com *ic) argument 2508 struct ieee80211com *ic = &sc->sc_ic; local 2649 struct ieee80211com *ic = &sc->sc_ic; local 2680 struct ieee80211com *ic = vap->iv_ic; local 2715 struct ieee80211com *ic = vap->iv_ic; local 2779 struct ieee80211com *ic = vap->iv_ic; local 3085 struct ieee80211com *ic = vap->iv_ic; local 3129 rum_scan_start(struct ieee80211com *ic) argument 3141 rum_scan_end(struct ieee80211com *ic) argument 3157 rum_set_channel(struct ieee80211com *ic) argument 3167 rum_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 3188 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
H A D | if_upgt.c | 243 struct ieee80211com *ic = &sc->sc_ic; local 326 ic->ic_softc = sc; 327 ic->ic_name = device_get_nameunit(dev); 328 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 329 ic->ic_opmode = IEEE80211_M_STA; 331 ic->ic_caps = 343 ieee80211_init_channels(ic, NULL, bands); 345 ieee80211_ifattach(ic); 346 ic->ic_raw_xmit = upgt_raw_xmit; 347 ic 431 upgt_parent(struct ieee80211com *ic) argument 578 struct ieee80211com *ic = &sc->sc_ic; local 680 upgt_setup_rates(struct ieee80211vap *vap, struct ieee80211com *ic) argument 734 upgt_transmit(struct ieee80211com *ic, struct mbuf *m) argument 793 struct ieee80211com *ic = ni->ni_ic; local 828 struct ieee80211com *ic = &sc->sc_ic; local 857 upgt_scan_start(struct ieee80211com *ic) argument 863 upgt_scan_end(struct ieee80211com *ic) argument 869 upgt_set_channel(struct ieee80211com *ic) argument 881 struct ieee80211com *ic = &sc->sc_ic; local 946 upgt_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 985 struct ieee80211com *ic = vap->iv_ic; local 1032 upgt_update_mcast(struct ieee80211com *ic) argument 1042 struct ieee80211com *ic = &sc->sc_ic; local 1437 struct ieee80211com *ic = &sc->sc_ic; local 1480 struct ieee80211com *ic = &sc->sc_ic; local 1935 struct ieee80211com *ic = &sc->sc_ic; local 2209 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
H A D | if_uath.c | 326 struct ieee80211com *ic = &sc->sc_ic; local 391 error = uath_get_devstatus(sc, ic->ic_macaddr); 412 ic->ic_softc = sc; 413 ic->ic_name = device_get_nameunit(dev); 414 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 415 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ 418 ic->ic_caps = 437 ieee80211_init_channels(ic, NULL, bands); 439 ieee80211_ifattach(ic); 440 ic 473 struct ieee80211com *ic = &sc->sc_ic; local 1024 uath_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1068 struct ieee80211com *ic = &sc->sc_ic; local 1269 struct ieee80211com *ic = &sc->sc_ic; local 1410 struct ieee80211com *ic = &sc->sc_ic; local 1490 uath_parent(struct ieee80211com *ic) argument 1664 uath_transmit(struct ieee80211com *ic, struct mbuf *m) argument 1772 struct ieee80211com *ic = ni->ni_ic; local 1807 uath_scan_start(struct ieee80211com *ic) argument 1813 uath_scan_end(struct ieee80211com *ic) argument 1819 uath_set_channel(struct ieee80211com *ic) argument 1840 uath_update_mcast(struct ieee80211com *ic) argument 1860 uath_update_promisc(struct ieee80211com *ic) argument 1883 struct ieee80211com *ic = &sc->sc_ic; local 1934 struct ieee80211com *ic = &sc->sc_ic; local 1987 struct ieee80211com *ic = vap->iv_ic; local 2455 struct ieee80211com *ic = &sc->sc_ic; local 2624 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.h | 57 struct icl_conn ic; member in struct:icl_cxgbei_conn 73 ic_to_icc(struct icl_conn *ic) argument 76 return (__containerof(ic, struct icl_cxgbei_conn, ic));
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_ratectl.c | 86 struct ieee80211com *ic = vap->iv_ic; local 96 IEEE80211_LOCK(ic); 97 ieee80211_iterate_nodes(&ic->ic_sta, 100 IEEE80211_UNLOCK(ic);
|
H A D | ieee80211_freebsd.c | 77 struct ieee80211com *ic; local 83 ic = ieee80211_find_com(cp.icp_parent); 84 if (ic == NULL) 87 ic_printf(ic, "%s: invalid opmode %d\n", __func__, 91 if ((ic->ic_caps & ieee80211_opcap[cp.icp_opmode]) == 0) { 92 ic_printf(ic, "%s mode not supported\n", 98 (ic->ic_caps & IEEE80211_C_TDMA) == 0 103 ic_printf(ic, "TDMA not supported\n"); 106 vap = ic->ic_vap_create(ic, wlannam 118 struct ieee80211com *ic = vap->iv_ic; local 161 struct ieee80211com *ic = arg1; local 169 struct ieee80211com *ic = arg1; local 202 ieee80211_sysctl_attach(struct ieee80211com *ic) argument 207 ieee80211_sysctl_detach(struct ieee80211com *ic) argument 609 ieee80211_parent_xmitpkt(struct ieee80211com *ic, struct mbuf *m) argument 798 ieee80211_notify_csa(struct ieee80211com *ic, const struct ieee80211_channel *c, int mode, int count) argument 820 ieee80211_notify_radar(struct ieee80211com *ic, const struct ieee80211_channel *c) argument 840 ieee80211_notify_cac(struct ieee80211com *ic, const struct ieee80211_channel *c, enum ieee80211_notify_cac_event type) argument 899 ieee80211_notify_radio(struct ieee80211com *ic, int state) argument [all...] |
H A D | ieee80211_power.c | 56 ieee80211_power_attach(struct ieee80211com *ic) argument 61 ieee80211_power_detach(struct ieee80211com *ic) argument 288 struct ieee80211com *ic = ni->ni_ic; local 300 IEEE80211_LOCK(ic); 313 IEEE80211_UNLOCK(ic); 328 struct ieee80211com *ic = ni->ni_ic; local 355 age = IEEE80211_TU_TO_MS((ni->ni_intval * ic->ic_bintval) << 2) / 1000; 419 struct ieee80211com *ic = ni->ni_ic; local 461 (void) ieee80211_parent_xmitpkt(ic, m); 558 struct ieee80211com *ic local 600 struct ieee80211com *ic = vap->iv_ic; local [all...] |
H A D | ieee80211_output.c | 122 struct ieee80211com *ic = vap->iv_ic; local 199 ic->ic_ampdu_enable(ni, tap)) { 256 IEEE80211_TX_LOCK(ic); 270 IEEE80211_TX_UNLOCK(ic); 276 (void) ieee80211_parent_xmitpkt(ic, m); 282 IEEE80211_TX_UNLOCK(ic); 283 ic->ic_lastdata = ticks; 306 struct ieee80211com *ic = vap->iv_ic; local 314 if (ic->ic_flags & IEEE80211_F_SCAN) 427 ic 453 struct ieee80211com *ic = vap->iv_ic; local 519 struct ieee80211com *ic = vap->iv_ic; local 563 struct ieee80211com *ic = NULL; local 800 struct ieee80211com *ic = ni->ni_ic; local 880 struct ieee80211com *ic = ni->ni_ic; local 1077 struct ieee80211com *ic = ni->ni_ic; local 1220 struct ieee80211com *ic = ni->ni_ic; local 1654 struct ieee80211com *ic = vap->iv_ic; local 1794 ieee80211_add_erp(uint8_t *frm, struct ieee80211com *ic) argument 1815 ieee80211_add_cfparms(uint8_t *frm, struct ieee80211com *ic) argument 1942 ieee80211_add_supportedchannels(uint8_t *frm, struct ieee80211com *ic) argument 1989 struct ieee80211com *ic = vap->iv_ic; local 2004 ieee80211_add_countryie(uint8_t *frm, struct ieee80211com *ic) argument 2070 struct ieee80211com *ic = ni->ni_ic; local 2179 struct ieee80211com *ic = vap->iv_ic; local 2213 struct ieee80211com *ic = ni->ni_ic; local 2567 struct ieee80211com *ic = bss->ni_ic; local 2737 struct ieee80211com *ic = vap->iv_ic; local 2792 ieee80211_alloc_rts(struct ieee80211com *ic, const uint8_t ra[IEEE80211_ADDR_LEN], const uint8_t ta[IEEE80211_ADDR_LEN], uint16_t dur) argument 2820 ieee80211_alloc_cts(struct ieee80211com *ic, const uint8_t ra[IEEE80211_ADDR_LEN], uint16_t dur) argument 2903 struct ieee80211com *ic = ni->ni_ic; local 3064 struct ieee80211com *ic = ni->ni_ic; local 3168 struct ieee80211com *ic = ni->ni_ic; local [all...] |
H A D | ieee80211_ioctl.c | 75 struct ieee80211com *ic = vap->iv_ic; local 90 ni = ieee80211_find_vap_node(&ic->ic_sta, vap, ik.ik_macaddr); 131 struct ieee80211com *ic = vap->iv_ic; local 133 if (sizeof(ic->ic_chan_active) < ireq->i_len) 134 ireq->i_len = sizeof(ic->ic_chan_active); 135 return copyout(&ic->ic_chan_active, ireq->i_data, ireq->i_len); 141 struct ieee80211com *ic = vap->iv_ic; local 145 ic_chans[ic->ic_nchans]); 149 return copyout(&ic->ic_nchans, ireq->i_data, space); 467 struct ieee80211com *ic local 554 struct ieee80211com *ic = vap->iv_ic; local 605 struct ieee80211com *ic = vap->iv_ic; local 663 struct ieee80211com *ic = vap->iv_ic; local 694 ieee80211_ioctl_getdevcaps(struct ieee80211com *ic, const struct ieee80211req *ireq) argument 781 struct ieee80211com *ic = vap->iv_ic; local 1368 struct ieee80211com *ic = vap->iv_ic; local 1680 struct ieee80211com *ic = vap->iv_ic; local 1772 struct ieee80211com *ic = vap->iv_ic; local 1828 find11gchannel(struct ieee80211com *ic, int start, int freq) argument 1848 findchannel(struct ieee80211com *ic, int ieee, int mode) argument 1936 struct ieee80211com *ic = vap->iv_ic; local 2000 struct ieee80211com *ic = vap->iv_ic; local 2079 struct ieee80211com *ic = vap->iv_ic; local 2165 struct ieee80211com *ic = vap->iv_ic; local 2229 struct ieee80211com *ic = vap->iv_ic; local 2428 struct ieee80211com *ic = vap->iv_ic; local 2445 struct ieee80211com *ic = vap->iv_ic; local 2483 struct ieee80211com *ic = vap->iv_ic; local 2671 struct ieee80211com *ic = vap->iv_ic; local 3391 struct ieee80211com *ic = vap->iv_ic; local [all...] |
H A D | ieee80211_hostap.c | 80 ieee80211_hostap_attach(struct ieee80211com *ic) argument 82 ic->ic_vattach[IEEE80211_M_HOSTAP] = hostap_vattach; 86 ieee80211_hostap_detach(struct ieee80211com *ic) argument 147 isbandchange(struct ieee80211com *ic) argument 149 return ((ic->ic_bsschan->ic_flags ^ ic->ic_csa_newchan->ic_flags) & 160 struct ieee80211com *ic = vap->iv_ic; local 163 IEEE80211_LOCK_ASSERT(ic); 182 ieee80211_iterate_nodes(&ic->ic_sta, sta_disassoc, vap); 198 ieee80211_iterate_nodes(&ic 472 struct ieee80211com *ic = ni->ni_ic; local 1657 struct ieee80211com *ic = ni->ni_ic; local 2241 struct ieee80211com *ic = vap->iv_ic; local [all...] |
/freebsd-11-stable/sys/mips/beri/ |
H A D | beri_pic.c | 219 bp_config_source(device_t ic, int src, int enable, u_long tid, u_long irq) argument 224 sc = device_get_softc(ic); 236 bp_set_counter_name(device_t ic, device_t child, int src) argument 241 sc = device_get_softc(ic); 244 device_get_unit(ic), src, src < sc->bp_nhard ? "" : "s", 455 beripic_alloc_intr(device_t ic, device_t child, int *rid, u_long irq, argument 461 sc = device_get_softc(ic); 471 beripic_activate_intr(ic, rv) != 0) { 481 beripic_release_intr(device_t ic, struct resource *r) argument 488 beripic_activate_intr(device_t ic, struc argument 495 beripic_deactivate_intr(device_t ic, struct resource *r) argument 513 beripic_setup_intr(device_t ic, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) argument 636 beripic_setup_ipi(device_t ic, u_int tid, u_int ipi_irq) argument 643 beripic_send_ipi(device_t ic, u_int tid) argument 658 beripic_clear_ipi(device_t ic, u_int tid) argument [all...] |
/freebsd-11-stable/sys/dev/iwi/ |
H A D | if_iwi.c | 282 struct ieee80211com *ic = &sc->sc_ic; local 357 ic->ic_softc = sc; 358 ic->ic_name = device_get_nameunit(dev); 359 ic->ic_opmode = IEEE80211_M_STA; 360 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 363 ic->ic_caps = 378 ic->ic_macaddr[0] = val & 0xff; 379 ic->ic_macaddr[1] = val >> 8; 381 ic->ic_macaddr[2] = val & 0xff; 382 ic 443 struct ieee80211com *ic = &sc->sc_ic; local 482 iwi_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 847 struct ieee80211com *ic = &sc->sc_ic; local 857 struct ieee80211com *ic = &sc->sc_ic; local 882 struct ieee80211com *ic = ni->ni_ic; local 926 struct ieee80211com *ic = vap->iv_ic; local 942 struct ieee80211com *ic = vap->iv_ic; local 1048 struct ieee80211com *ic = &sc->sc_ic; local 1069 iwi_wme_update(struct ieee80211com *ic) argument 1169 struct ieee80211com *ic = &sc->sc_ic; local 1179 struct ieee80211com *ic = &sc->sc_ic; local 1387 struct ieee80211com *ic = &sc->sc_ic; local 1634 struct ieee80211com *ic = &sc->sc_ic; local 1770 struct ieee80211com *ic = ni->ni_ic; local 1941 iwi_transmit(struct ieee80211com *ic, struct mbuf *m) argument 1994 struct ieee80211com *ic = &sc->sc_ic; local 2027 iwi_parent(struct ieee80211com *ic) argument 2047 iwi_ioctl(struct ieee80211com *ic, u_long cmd, void *data) argument 2551 struct ieee80211com *ic = &sc->sc_ic; local 2684 struct ieee80211com *ic = &sc->sc_ic; local 2812 struct ieee80211com *ic = vap->iv_ic; local 3172 struct ieee80211com *ic = &sc->sc_ic; local 3251 struct ieee80211com *ic = &sc->sc_ic; local 3282 struct ieee80211com *ic = &sc->sc_ic; local 3536 iwi_scan_start(struct ieee80211com *ic) argument 3542 iwi_set_channel(struct ieee80211com *ic) argument 3570 iwi_scan_end(struct ieee80211com *ic) argument 3584 iwi_collect_bands(struct ieee80211com *ic, uint8_t bands[], size_t bands_sz) argument 3597 iwi_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument [all...] |
/freebsd-11-stable/sys/dev/if_ndis/ |
H A D | if_ndis.c | 718 struct ieee80211com *ic = &sc->ndis_ic; local 727 ic->ic_softc = sc; 728 ic->ic_ioctl = ndis_80211ioctl; 729 ic->ic_name = device_get_nameunit(sc->ndis_dev); 730 ic->ic_opmode = IEEE80211_M_STA; 731 ic->ic_phytype = IEEE80211_T_DS; 732 ic->ic_caps = IEEE80211_C_8023ENCAP | 734 setbit(ic->ic_modecaps, IEEE80211_MODE_AUTO); 750 setbit(ic->ic_modecaps, mode); 760 setbit(ic 987 ndis_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1018 struct ieee80211com *ic = vap->iv_ic; local 1507 struct ieee80211com *ic = &sc->ndis_ic; local 1711 struct ieee80211com *ic = &sc->ndis_ic; local 1730 struct ieee80211com *ic = &sc->ndis_ic; local 1783 ndis_update_mcast(struct ieee80211com *ic) argument 1791 ndis_update_promisc(struct ieee80211com *ic) argument 1949 ndis_80211transmit(struct ieee80211com *ic, struct mbuf *m) argument 2028 ndis_80211parent(struct ieee80211com *ic) argument 2075 struct ieee80211com *ic = &sc->ndis_ic; local 2212 struct ieee80211com *ic = &sc->ndis_ic; local 2360 struct ieee80211com *ic = &sc->ndis_ic; local 2720 struct ieee80211com *ic = &sc->ndis_ic; local 2769 struct ieee80211com *ic = &sc->ndis_ic; local 2949 ndis_80211ioctl(struct ieee80211com *ic, u_long cmd, void *data) argument 3216 struct ieee80211com *ic = vap->iv_ic; local 3263 struct ieee80211com *ic = &sc->ndis_ic; local 3349 ndis_scan_start(struct ieee80211com *ic) argument 3392 ndis_set_channel(struct ieee80211com *ic) argument 3410 ndis_scan_end(struct ieee80211com *ic) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 78 struct icmp *ic; local 82 ip->ip_len += sizeof(*ic); 83 ic = (struct icmp *)(ip + 1); 84 bzero((char *)ic, sizeof(*ic)); 91 ic->icmp_type = atoi(args); 92 ic->icmp_code = atoi(s); 93 if (ic->icmp_type == ICMP_REDIRECT && strchr(s, ',')) 99 if (resolve(t, (char *)&ic->icmp_gwaddr) == -1) 106 if (resolve(t, (char *)&ic [all...] |
/freebsd-11-stable/sys/dev/otus/ |
H A D | if_otus.c | 341 struct ieee80211com *ic = &sc->sc_ic; local 359 ieee80211_ifdetach(ic); 372 otus_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, argument 380 if (!TAILQ_EMPTY(&ic->ic_vaps)) /* only one at a time */ 386 if (ieee80211_vap_setup(ic, vap, name, unit, opmode, 406 ic->ic_opmode = opmode; 422 otus_parent(struct ieee80211com *ic) argument 424 struct otus_softc *sc = ic->ic_softc; 427 if (ic->ic_nrunning > 0) { 438 ieee80211_start_all(ic); 464 otus_transmit(struct ieee80211com *ic, struct mbuf *m) argument 541 struct ieee80211com *ic= ni->ni_ic; local 575 otus_update_chw(struct ieee80211com *ic) argument 582 otus_set_channel(struct ieee80211com *ic) argument 603 otus_scan_start(struct ieee80211com *ic) argument 610 otus_scan_end(struct ieee80211com *ic) argument 617 otus_update_mcast(struct ieee80211com *ic) argument 627 struct ieee80211com *ic = &sc->sc_ic; local 785 struct ieee80211com *ic = &sc->sc_ic; local 815 otus_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 1227 struct ieee80211com *ic = vap->iv_ic; local 1433 struct ieee80211com *ic = ni->ni_ic; local 1493 struct ieee80211com *ic = &sc->sc_ic; local 1593 struct ieee80211com *ic = &sc->sc_ic; local 1771 struct ieee80211com *ic = &sc->sc_ic; local 1909 struct ieee80211com *ic = &sc->sc_ic; local 2176 struct ieee80211com *ic = &sc->sc_ic; local 2305 struct ieee80211com *ic = &sc->sc_ic; local 2365 otus_updateedca(struct ieee80211com *ic) argument 2386 struct ieee80211com *ic = &sc->sc_ic; local 2439 struct ieee80211com *ic = &sc->sc_ic; local 2732 struct ieee80211com *ic = &sc->sc_ic; local 2863 otus_set_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 2930 otus_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 3080 struct ieee80211com *ic = &sc->sc_ic; local 3159 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | tbl_term.c | 79 int ic, horiz, spans, vert, more; local 104 for (ic = 0; ic < sp->opts->cols; ic++) { 105 coloff += tp->tbl.cols[ic].width; 107 coloff += tp->tbl.cols[ic].spacing; 116 for (ic = 0; ic + 1 < sp->opts->cols; ic++) 117 tsz += tp->tbl.cols[ic] 580 int ic, spans; local [all...] |
/freebsd-11-stable/sys/dev/wpi/ |
H A D | if_wpi.c | 334 struct ieee80211com *ic; local 451 ic = &sc->sc_ic; 452 ic->ic_softc = sc; 453 ic->ic_name = device_get_nameunit(dev); 454 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 455 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ 458 ic->ic_caps = 474 ic->ic_cryptocaps = 481 if ((error = wpi_read_eeprom(sc, ic->ic_macaddr)) != 0) { 503 ieee80211_ifattach(ic); 617 wpi_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 681 struct ieee80211com *ic = &sc->sc_ic; local 746 struct ieee80211com *ic = &sc->sc_ic; local 756 struct ieee80211com *ic = &sc->sc_ic; local 1459 struct ieee80211com *ic = &sc->sc_ic; local 1497 wpi_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 1512 wpi_setregdomain(struct ieee80211com *ic, struct ieee80211_regdomain *rd, int nchan, struct ieee80211_channel chans[]) argument 1706 struct ieee80211com *ic = &sc->sc_ic; local 1724 struct ieee80211com *ic = vap->iv_ic; local 1907 struct ieee80211com *ic = &sc->sc_ic; local 2158 struct ieee80211com *ic = &sc->sc_ic; local 2540 struct ieee80211com *ic = &sc->sc_ic; local 2764 struct ieee80211com *ic = ni->ni_ic; local 3054 struct ieee80211com *ic = ni->ni_ic; local 3100 wpi_transmit(struct ieee80211com *ic, struct mbuf *m) argument 3153 struct ieee80211com *ic = &sc->sc_ic; local 3170 struct ieee80211com *ic = &sc->sc_ic; local 3180 struct ieee80211com *ic = &sc->sc_ic; local 3187 wpi_parent(struct ieee80211com *ic) argument 3313 struct ieee80211com *ic = &sc->sc_ic; local 3363 struct ieee80211com *ic = ni->ni_ic; local 3411 struct ieee80211com *ic = &sc->sc_ic; local 3500 wpi_updateedca(struct ieee80211com *ic) argument 3537 struct ieee80211com *ic = &sc->sc_ic; local 3552 wpi_update_promisc(struct ieee80211com *ic) argument 3574 wpi_update_mcast(struct ieee80211com *ic) argument 3912 struct ieee80211com *ic = &sc->sc_ic; local 4014 struct ieee80211com *ic = &sc->sc_ic; local 4071 struct ieee80211com *ic = &sc->sc_ic; local 4268 struct ieee80211com *ic = vap->iv_ic; local 4321 struct ieee80211com *ic = vap->iv_ic; local 4470 struct ieee80211com *ic = vap->iv_ic; local 4746 struct ieee80211com *ic = vap->iv_ic; local 5398 struct ieee80211com *ic = &sc->sc_ic; local 5415 struct ieee80211com *ic = &sc->sc_ic; local 5534 wpi_scan_start(struct ieee80211com *ic) argument 5545 wpi_scan_end(struct ieee80211com *ic) argument 5559 wpi_set_channel(struct ieee80211com *ic) argument 5607 struct ieee80211com *ic = vap->iv_ic; local [all...] |
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_scan.c | 217 struct ieee80211com *ic = &sc->sc_ic; local 218 struct ieee80211_scan_state *ss = ic->ic_scan; 224 j < ic->ic_nchans && nchan < sc->ucode_capa.n_scan_channels; j++) { 225 c = &ic->ic_channels[j]; 262 struct ieee80211com *ic = &sc->sc_ic; local 268 j < ic->ic_nchans && nchan < sc->ucode_capa.n_scan_channels; j++) { 269 c = &ic->ic_channels[j]; 300 struct ieee80211com *ic = &sc->sc_ic; local 301 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); 321 IEEE80211_ADDR_COPY(wh->i_addr2, vap ? vap->iv_myaddr : ic 397 struct ieee80211com *ic = &sc->sc_ic; local [all...] |
/freebsd-11-stable/sys/dev/urtwn/ |
H A D | if_urtwn.c | 486 urtwn_update_chw(struct ieee80211com *ic) argument 503 struct ieee80211com *ic = &sc->sc_ic; local 574 ic->ic_softc = sc; 575 ic->ic_name = device_get_nameunit(self); 576 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ 577 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ 580 ic->ic_caps = 596 ic->ic_cryptocaps = 604 ic->ic_htcaps = IEEE80211_HTC_HT | 612 // ic 683 struct ieee80211com *ic = &sc->sc_ic; local 748 urtwn_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument 804 struct ieee80211com *ic = vap->iv_ic; local 865 struct ieee80211com *ic = &sc->sc_ic; local 917 struct ieee80211com *ic = &sc->sc_ic; local 1051 struct ieee80211com *ic = &sc->sc_ic; local 1129 struct ieee80211com *ic = &sc->sc_ic; local 1352 struct ieee80211com *ic = &sc->sc_ic; local 1616 struct ieee80211com *ic = &sc->sc_ic; local 2010 struct ieee80211com *ic = &sc->sc_ic; local 2466 struct ieee80211com *ic = &sc->sc_ic; local 2569 struct ieee80211com *ic = vap->iv_ic; local 2898 struct ieee80211com *ic = &sc->sc_ic; local 3279 urtwn_transmit(struct ieee80211com *ic, struct mbuf *m) argument 3335 urtwn_parent(struct ieee80211com *ic) argument 4437 struct ieee80211com *ic = &sc->sc_ic; local 4574 struct ieee80211com *ic = &sc->sc_ic; local 4673 struct ieee80211com *ic = &sc->sc_ic; local 4786 urtwn_scan_start(struct ieee80211com *ic) argument 4802 urtwn_scan_end(struct ieee80211com *ic) argument 4819 urtwn_getradiocaps(struct ieee80211com *ic, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 4833 urtwn_set_channel(struct ieee80211com *ic) argument 4849 urtwn_wme_update(struct ieee80211com *ic) argument 4885 urtwn_update_slot(struct ieee80211com *ic) argument 4893 struct ieee80211com *ic = &sc->sc_ic; local 4939 struct ieee80211com *ic = &sc->sc_ic; local 4983 struct ieee80211com *ic = &sc->sc_ic; local 5021 urtwn_update_promisc(struct ieee80211com *ic) argument 5032 urtwn_update_mcast(struct ieee80211com *ic) argument 5107 struct ieee80211com *ic = &sc->sc_ic; local 5312 struct ieee80211com *ic = &sc->sc_ic; local 5591 struct ieee80211com *ic = ni->ni_ic; local [all...] |