Home
last modified time | relevance | path

Searched refs:ic_if (Results 1 – 25 of 70) sorted by relevance

123

/openbsd/src/sys/net80211/
Dieee80211_pae_output.c65 struct ifnet *ifp = &ic->ic_if; in ieee80211_send_eapol_key()
294 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_send_4way_msg1()
296 ic->ic_if.if_xname, 1, 4, "4-way", in ieee80211_send_4way_msg1()
350 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_send_4way_msg2()
352 ic->ic_if.if_xname, 2, 4, "4-way", in ieee80211_send_4way_msg2()
428 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_send_4way_msg3()
430 ic->ic_if.if_xname, 3, 4, "4-way", in ieee80211_send_4way_msg3()
473 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_send_4way_msg4()
475 ic->ic_if.if_xname, 4, 4, "4-way", in ieee80211_send_4way_msg4()
552 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_send_group_msg1()
[all …]
Dieee80211_pae_input.c79 struct ifnet *ifp = &ic->ic_if; in ieee80211_eapol_key_input()
269 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_recv_4way_msg1()
271 ic->ic_if.if_xname, 1, 4, "4-way", in ieee80211_recv_4way_msg1()
333 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_recv_4way_msg2()
335 ic->ic_if.if_xname, 2, 4, "4-way", in ieee80211_recv_4way_msg2()
528 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_recv_4way_msg3()
530 ic->ic_if.if_xname, 3, 4, "4-way", in ieee80211_recv_4way_msg3()
583 ic->ic_if.if_xname, ether_sprintf(ni->ni_macaddr)); in ieee80211_recv_4way_msg3()
746 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_recv_4way_msg4()
748 ic->ic_if.if_xname, 4, 4, "4-way", in ieee80211_recv_4way_msg4()
[all …]
Dieee80211_rssadapt.c163 ic->ic_if.if_xname, ether_sprintf((u_int8_t *)ni->ni_macaddr), in ieee80211_rssadapt_input()
206 ic->ic_if.if_xname, ether_sprintf((u_int8_t *)ni->ni_macaddr), in ieee80211_rssadapt_lower_rate()
243 ic->ic_if.if_xname, IEEE80211_RSSADAPT_BKT0 << in ieee80211_rssadapt_raise_rate()
259 printf("%s: dst %s thresholds\n", ic->ic_if.if_xname, in ieee80211_rssadapt_raise_rate()
Dieee80211_node.c179 struct ifnet *ifp = &ic->ic_if; in ieee80211_print_ess_list()
512 struct ifnet *ifp = &ic->ic_if; in ieee80211_ess_is_better()
582 struct ifnet *ifp = &ic->ic_if; in ieee80211_switch_ess()
921 struct ifnet *ifp = &ic->ic_if; in ieee80211_create_ibss()
1137 if (ic->ic_if.if_flags & IFF_DEBUG) { in ieee80211_match_bss()
1138 printf("%s: %c %s%c", ic->ic_if.if_xname, fail ? '-' : '+', in ieee80211_match_bss()
1254 struct ifnet *ifp = &ic->ic_if; in ieee80211_node_switch_bss()
2176 struct ifnet *ifp = &ic->ic_if; in ieee80211_clean_nodes()
2936 if (ic->ic_if.if_bridgeidx != 0) in ieee80211_node_join()
2937 bridge_update(&ic->ic_if, in ieee80211_node_join()
[all …]
Dieee80211_proto.c822 struct ifnet *ifp = &ic->ic_if; in ieee80211_auth_open_confirm()
839 struct ifnet *ifp = &ic->ic_if; in ieee80211_try_another_bss()
881 struct ifnet *ifp = &ic->ic_if; in ieee80211_auth_open()
980 struct ifnet *ifp = &ic->ic_if; in ieee80211_set_beacon_miss_threshold()
1053 struct ifnet *ifp = &ic->ic_if; in ieee80211_newstate()
1349 struct ifnet *ifp = &ic->ic_if; in ieee80211_rtm_80211info_task()
1364 rtm_80211info(&ic->ic_if, &ifie); in ieee80211_rtm_80211info_task()
1373 struct ifnet *ifp = &ic->ic_if; in ieee80211_set_link_state()
Dieee80211_input.c776 ic->ic_if.if_ierrors++; in ieee80211_defrag()
823 struct ifnet *ifp = &ic->ic_if; in ieee80211_input_ba()
905 struct ifnet *ifp = &ic->ic_if; in ieee80211_input_ba_seq()
940 struct ifnet *ifp = &ic->ic_if; in ieee80211_input_ba_flush()
1005 if_input(&ic->ic_if, &ml); in ieee80211_input_ba_gap_timeout()
1020 struct ifnet *ifp = &ic->ic_if; in ieee80211_ba_move_window()
1051 struct ifnet *ifp = &ic->ic_if; in ieee80211_enqueue_data()
2545 struct ifnet *ifp = &ic->ic_if; in ieee80211_recv_assoc_resp()
2756 if (ic->ic_if.if_flags & IFF_DEBUG) in ieee80211_recv_deauth()
2759 ic->ic_if.if_xname, in ieee80211_recv_deauth()
[all …]
Dieee80211_var.h388 #define ic_if ic_ac.ac_if macro
389 #define ic_softc ic_if.if_softc
/openbsd/src/sys/dev/ic/
Dif_wi_hostap.c184 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_init()
212 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_sta_disassoc()
241 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_sta_deauth()
271 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_shutdown()
286 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_shutdown()
354 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_timeout()
371 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_timeout()
553 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_auth_req()
563 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_auth_req()
596 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wihap_auth_req()
[all …]
Dacx100.c293 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_init()
336 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_init_wep()
366 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_init_tmplt()
394 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_init_fw_ring()
449 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_init_memory()
588 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_read_config()
622 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_write_config()
649 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_set_txpower()
692 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx100_set_wepkey()
Dif_wi.c205 ifp = &ic->ic_if; in wi_attach()
463 ifp = &sc->sc_ic.ic_if; in wi_intr()
540 ifp = &sc->sc_ic.ic_if; in wi_rxeof()
688 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wi_rxeof()
776 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wi_rxeof()
832 ifp = &sc->sc_ic.ic_if; in wi_txeof()
851 ifp = &sc->sc_ic.ic_if; in wi_inquire()
879 ifp = &sc->sc_ic.ic_if; in wi_update_stats()
930 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wi_cmd_io()
958 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in wi_cmd_io()
[all …]
Dacx.c214 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx_attach()
381 struct ifnet *ifp = &ic->ic_if; in acx_detach()
541 struct ifnet *ifp = &ic->ic_if; in acx_next_scan()
551 struct ifnet *ifp = &ic->ic_if; in acx_stop()
742 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx_write_config()
1149 ifp = &sc->sc_ic.ic_if; in acx_txeof()
1215 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx_txerr()
1286 struct ifnet *ifp = &ic->ic_if; in acx_rxeof()
1482 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx_read_phyreg()
1517 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx_load_base_firmware()
[all …]
Dacx111.c303 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx111_init()
332 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx111_init_memory()
408 struct ifnet *ifp = &sc->sc_ic.ic_if; in acx111_write_config()
Dath.c164 struct ifnet *ifp = &sc->sc_ic.ic_if; in ath_activate()
213 struct ifnet *ifp = &ic->ic_if; in ath_attach()
444 struct ifnet *ifp = &sc->sc_ic.ic_if; in ath_detach()
481 struct ifnet *ifp = &ic->ic_if; in ath_intr1()
552 struct ifnet *ifp = &ic->ic_if; in ath_fatal_proc()
564 struct ifnet *ifp = &ic->ic_if; in ath_rxorn_proc()
601 struct ifnet *ifp = &ic->ic_if; in ath_init1()
752 struct ifnet *ifp = &ic->ic_if; in ath_reset()
1088 struct ifnet *ifp = &sc->sc_ic.ic_if; in ath_mcastfilter_compute()
1128 struct ifnet *ifp = &ic->ic_if; in ath_calcrxfilter()
[all …]
Dpgt.c471 ic->ic_if.if_flags &= ~IFF_RUNNING; in pgt_stop()
536 ic->ic_if.if_flags |= IFF_RUNNING; in pgt_stop()
544 if (ic->ic_if.if_flags & IFF_RUNNING) in pgt_stop()
549 ic->ic_if.if_flags &= ~IFF_RUNNING; in pgt_stop()
550 ifq_clr_oactive(&ic->ic_if.if_snd); in pgt_stop()
581 sc->sc_ic.ic_if.if_softc = sc; in pgt_attach()
624 ieee80211_ifdetach(&sc->sc_ic.ic_if); in pgt_detach()
625 if_detach(&sc->sc_ic.ic_if); in pgt_detach()
747 sc->sc_ic.ic_if.if_timer = 0; in pgt_update_intr()
749 &sc->sc_ic.ic_if.if_snd); in pgt_update_intr()
[all …]
Datw.c139 #define DPRINTF(sc, x) if ((sc)->sc_ic.ic_if.if_flags & IFF_DEBUG) printf x
140 #define DPRINTF2(sc, x) if ((sc)->sc_ic.ic_if.if_flags & IFF_DEBUG) ATW_DPRINTF2(x)
141 #define DPRINTF3(sc, x) if ((sc)->sc_ic.ic_if.if_flags & IFF_DEBUG) ATW_DPRINTF3(x)
544 struct ifnet *ifp = &ic->ic_if; in atw_attach()
873 struct atw_softc *sc = (struct atw_softc *)ic->ic_if.if_softc; in atw_node_alloc()
883 struct atw_softc *sc = (struct atw_softc *)ic->ic_if.if_softc; in atw_node_free()
1510 struct ifnet *ifp = &sc->sc_ic.ic_if; in atw_si4126_print()
1737 struct ifnet *ifp = &sc->sc_ic.ic_if; in atw_rf3000_print()
2020 struct ifnet *ifp = &sc->sc_ic.ic_if; in atw_filter_setup()
2473 struct ifnet *ifp = &ic->ic_if; in atw_next_scan()
[all …]
Dan.c176 struct ifnet *ifp = &ic->ic_if; in an_attach()
346 struct ifnet *ifp = &ic->ic_if; in an_rxeof()
486 struct ifnet *ifp = &sc->sc_ic.ic_if; in an_txeof()
524 struct ifnet *ifp = &sc->sc_ic.ic_if; in an_intr()
580 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in an_cmd()
612 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in an_cmd()
618 if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG) in an_cmd()
1610 if (ic->ic_if.if_flags & IFF_DEBUG) { in an_newstate()
1635 struct ifnet *ifp = &sc->sc_ic.ic_if; in an_detach()
Drtwvar.h75 if (((__sc)->sc_ic.ic_if.if_flags & IFF_DEBUG) != 0) \
431 #define sc_if sc_ic.ic_if
Drt2560.c171 struct ifnet *ifp = &ic->ic_if; in rt2560_attach()
302 struct ifnet *ifp = &sc->sc_ic.ic_if; in rt2560_detach()
323 struct ifnet *ifp = &sc->sc_ic.ic_if; in rt2560_suspend()
333 struct ifnet *ifp = &sc->sc_ic.ic_if; in rt2560_wakeup()
670 struct ifnet *ifp = &ic->ic_if; in rt2560_next_scan()
728 struct rt2560_softc *sc = ic->ic_if.if_softc; in rt2560_newstate()
921 struct ifnet *ifp = &ic->ic_if; in rt2560_tx_intr()
1004 struct ifnet *ifp = &ic->ic_if; in rt2560_prio_intr()
1081 struct ifnet *ifp = &ic->ic_if; in rt2560_decryption_intr()
1325 struct ifnet *ifp = &sc->sc_ic.ic_if; in rt2560_intr()
[all …]
/openbsd/src/sys/dev/pci/
Dif_malo_pci.c155 struct ifnet *ifp = &sc->sc_ic.ic_if; in malo_pci_activate()
172 struct ifnet *ifp = &sc->sc_ic.ic_if; in malo_pci_wakeup()
Dif_bwi_pci.c209 struct ifnet *ifp = &sc->sc_ic.ic_if; in bwi_pci_activate()
227 struct ifnet *ifp = &sc->sc_ic.ic_if; in bwi_pci_wakeup()
Dif_ipw.c157 struct ifnet *ifp = &ic->ic_if; in ipw_attach()
297 struct ifnet *ifp = &sc->sc_ic.ic_if; in ipw_activate()
315 struct ifnet *ifp = &sc->sc_ic.ic_if; in ipw_wakeup()
683 struct ifnet *ifp = &ic->ic_if; in ipw_newstate()
792 struct ifnet *ifp = &ic->ic_if; in ipw_newstate_intr()
826 ipw_stop(&ic->ic_if, 1); in ipw_newstate_intr()
836 struct ifnet *ifp = &ic->ic_if; in ipw_data_intr()
977 if_input(&sc->sc_ic.ic_if, &ml); in ipw_rx_intr()
1022 struct ifnet *ifp = &sc->sc_ic.ic_if; in ipw_tx_intr()
1047 struct ifnet *ifp = &sc->sc_ic.ic_if; in ipw_intr()
[all …]
Dif_iwi.c157 struct ifnet *ifp = &ic->ic_if; in iwi_attach()
332 struct ifnet *ifp = &sc->sc_ic.ic_if; in iwi_activate()
364 struct ifnet *ifp = &sc->sc_ic.ic_if; in iwi_init_task()
726 struct ifnet *ifp = &ic->ic_if; in iwi_newstate()
742 ieee80211_begin_scan(&ic->ic_if); in iwi_newstate()
873 struct ifnet *ifp = &ic->ic_if; in iwi_frame_intr()
975 struct ifnet *ifp = &ic->ic_if; in iwi_notification_intr()
1115 if_input(&sc->sc_ic.ic_if, &ml); in iwi_rx_intr()
1126 struct ifnet *ifp = &ic->ic_if; in iwi_tx_intr()
1154 struct ifnet *ifp = &sc->sc_ic.ic_if; in iwi_intr()
[all …]
/openbsd/src/sys/arch/macppc/dev/
Dif_wi_obio.c138 struct ifnet *ifp = &sc->sc_ic.ic_if; in wi_obio_detach()
157 struct ifnet *ifp = &sc->sc_ic.ic_if; in wi_obio_activate()
/openbsd/src/sys/dev/usb/
Dif_rsu.c207 struct ifnet *ifp = &ic->ic_if; in rsu_attach()
308 struct ifnet *ifp = &sc->sc_ic.ic_if; in rsu_detach()
813 struct ifnet *ifp = &ic->ic_if; in rsu_newstate_cb()
848 ieee80211_begin_scan(&ic->ic_if); in rsu_newstate_cb()
891 if ((ic->ic_if.if_flags & (IFF_UP | IFF_RUNNING)) != in rsu_set_key()
954 if (!(ic->ic_if.if_flags & IFF_RUNNING) || in rsu_delete_key()
1079 struct ifnet *ifp = &ic->ic_if; in rsu_event_survey()
1172 struct ifnet *ifp = &ic->ic_if; in rsu_rx_event()
1277 struct ifnet *ifp = &ic->ic_if; in rsu_rx_frame()
1428 if_input(&sc->sc_ic.ic_if, &ml); in rsu_rx_multi_frame()
[all …]
/openbsd/src/sys/dev/pcmcia/
Dif_wi_pcmcia.c446 struct ifnet *ifp = &sc->sc_ic.ic_if; in wi_pcmcia_detach()
469 struct ifnet *ifp = &sc->sc_ic.ic_if; in wi_pcmcia_activate()

123