Home
last modified time | relevance | path

Searched refs:ic_opmode (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/dev/ath/
H A Dif_ath_beacon.c142 if (ic->ic_opmode == IEEE80211_M_HOSTAP || in ath_beaconq_config()
143 ic->ic_opmode == IEEE80211_M_MBSS) { in ath_beaconq_config()
292 if (ic->ic_opmode == IEEE80211_M_IBSS && sc->sc_hasveol) { in ath_beacon_setup()
988 if (ic->ic_opmode == IEEE80211_M_HOSTAP || in ath_beacon_config()
989 ic->ic_opmode == IEEE80211_M_MBSS) { in ath_beacon_config()
1026 if (ic->ic_opmode == IEEE80211_M_STA && !sc->sc_swbmiss) { in ath_beacon_config()
1177 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ath_beacon_config()
1200 } else if (ic->ic_opmode == IEEE80211_M_HOSTAP || in ath_beacon_config()
1201 ic->ic_opmode == IEEE80211_M_MBSS) { in ath_beacon_config()
1231 if (ic->ic_opmode == IEEE80211_M_IBSS && sc->sc_hasveol) in ath_beacon_config()
H A Dif_ath_rx.c164 if (ic->ic_opmode != IEEE80211_M_STA) in ath_calcrxfilter()
167 if (ic->ic_opmode == IEEE80211_M_MONITOR || ic->ic_promisc > 0) in ath_calcrxfilter()
180 if (ic->ic_opmode == IEEE80211_M_IBSS || sc->sc_swbmiss) { in ath_calcrxfilter()
182 } else if (ic->ic_opmode == IEEE80211_M_STA) { in ath_calcrxfilter()
195 if (ic->ic_opmode == IEEE80211_M_HOSTAP && in ath_calcrxfilter()
206 ic->ic_opmode == IEEE80211_M_HOSTAP) in ath_calcrxfilter()
216 if (ic->ic_opmode == IEEE80211_M_MONITOR) in ath_calcrxfilter()
241 __func__, rfilt, ieee80211_opmode_name[ic->ic_opmode]); in ath_calcrxfilter()
995 if (ic->ic_opmode == IEEE80211_M_STA && in ath_rx_pkt()
H A Dif_ath.c905 ic->ic_opmode = IEEE80211_M_STA; in ath_attach()
1541 enum ieee80211_opmode ic_opmode; in ath_vap_create() local
1548 ic_opmode = opmode; /* default to opmode of new vap */ in ath_vap_create()
1566 ic_opmode = IEEE80211_M_HOSTAP; in ath_vap_create()
1591 if (sc->sc_nvaps != 0 && ic->ic_opmode != opmode) { in ath_vap_create()
1598 ic_opmode = ic->ic_opmode; in ath_vap_create()
1606 if (sc->sc_nvaps != 0 && ic->ic_opmode == IEEE80211_M_STA) { in ath_vap_create()
1618 ic_opmode = IEEE80211_M_HOSTAP; in ath_vap_create()
1620 ic_opmode = ic->ic_opmode; in ath_vap_create()
1724 ic->ic_opmode = ic_opmode; in ath_vap_create()
[all …]
/freebsd/sys/dev/ipw/
H A Dif_ipw.c273 ic->ic_opmode = IEEE80211_M_STA; in ipw_attach()
474 ic->ic_opmode = opmode; in ipw_vap_create()
865 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw_newstate()
1593 if (ic->ic_opmode == IEEE80211_M_STA) in ipw_tx_start()
2237 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw_assoc()
2412 switch (ic->ic_opmode) { in ipw_config()
2426 device_printf(sc->sc_dev, "unknown opmode %d\n", ic->ic_opmode); in ipw_config()
2434 if (ic->ic_opmode == IEEE80211_M_IBSS || in ipw_config()
2435 ic->ic_opmode == IEEE80211_M_MONITOR) { in ipw_config()
2441 if (ic->ic_opmode == IEEE80211_M_MONITOR) in ipw_config()
[all …]
/freebsd/sys/dev/ral/
H A Drt2560.c263 ic->ic_opmode = IEEE80211_M_STA; in rt2560_attach()
388 ic->ic_opmode != IEEE80211_M_HOSTAP) { in rt2560_vap_create()
418 ic->ic_opmode = opmode; in rt2560_vap_create()
1290 if (ic->ic_opmode != IEEE80211_M_IBSS && in rt2560_beacon_expire()
1291 ic->ic_opmode != IEEE80211_M_HOSTAP && in rt2560_beacon_expire()
1292 ic->ic_opmode != IEEE80211_M_MBSS) in rt2560_beacon_expire()
2203 if (ic->ic_opmode == IEEE80211_M_STA) in rt2560_enable_tsf_sync()
2614 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2560_init_locked()
2616 if (ic->ic_opmode != IEEE80211_M_HOSTAP && in rt2560_init_locked()
2617 ic->ic_opmode != IEEE80211_M_MBSS) in rt2560_init_locked()
H A Drt2661.c263 ic->ic_opmode = IEEE80211_M_STA; in rt2661_attach()
381 ic->ic_opmode != IEEE80211_M_HOSTAP) { in rt2661_vap_create()
413 ic->ic_opmode = opmode; in rt2661_vap_create()
2318 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2661_init_locked()
2321 if (ic->ic_opmode != IEEE80211_M_HOSTAP && in rt2661_init_locked()
2322 ic->ic_opmode != IEEE80211_M_MBSS) in rt2661_init_locked()
H A Drt2860.c305 ic->ic_opmode = IEEE80211_M_STA; in rt2860_attach()
447 ic->ic_opmode != IEEE80211_M_HOSTAP) { in rt2860_vap_create()
482 ic->ic_opmode = opmode; in rt2860_vap_create()
931 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_newstate()
946 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_newstate()
1356 if (ic->ic_opmode == IEEE80211_M_HOSTAP) { in rt2860_tbtt_intr()
3196 if (ic->ic_opmode == IEEE80211_M_HOSTAP) { in rt2860_set_key()
3762 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_txrx_enable()
3767 if (ic->ic_opmode == IEEE80211_M_STA) in rt2860_txrx_enable()
/freebsd/sys/dev/usb/wlan/
H A Dif_ural.c592 ic->ic_opmode = opmode; in ural_vap_create()
1685 if (ic->ic_opmode != IEEE80211_M_MONITOR && in ural_set_chan()
1747 logcwmin = (ic->ic_opmode == IEEE80211_M_IBSS) ? 2 : 0; in ural_enable_tsf_sync()
1748 preload = (ic->ic_opmode == IEEE80211_M_IBSS) ? 320 : 6; in ural_enable_tsf_sync()
1754 if (ic->ic_opmode == IEEE80211_M_STA) in ural_enable_tsf_sync()
2073 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in ural_init()
2075 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in ural_init()
H A Dif_run.c844 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in run_attach()
1088 ic->ic_opmode = opmode; in run_vap_create()
2226 ic->ic_opmode = vap->iv_opmode; in run_newstate()
2232 ic->ic_opmode = vap->iv_opmode; in run_newstate()
2238 ic->ic_opmode = vap->iv_opmode; in run_newstate()
2246 ic->ic_opmode = vap->iv_opmode; in run_newstate()
5222 RUN_VAP(vap)->rvp_id, ic->ic_opmode); in run_enable_tsf_sync()
5229 if (ic->ic_opmode == IEEE80211_M_STA) { in run_enable_tsf_sync()
5235 } else if (ic->ic_opmode == IEEE80211_M_IBSS) { in run_enable_tsf_sync()
5242 } else if (ic->ic_opmode == IEEE80211_M_HOSTAP || in run_enable_tsf_sync()
[all …]
H A Dif_mtw.c623 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in mtw_attach()
860 ic->ic_opmode = opmode; in mtw_vap_create()
1767 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
1773 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
1779 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
1787 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
4247 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in mtw_txrx_enable()
4251 if (ic->ic_opmode == IEEE80211_M_STA) in mtw_txrx_enable()
H A Dif_urtw.c873 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in urtw_attach()
1044 ic->ic_opmode = opmode; in urtw_vap_create()
1988 switch (ic->ic_opmode) { in urtw_update_msr()
2004 ic->ic_opmode); in urtw_update_msr()
3920 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in urtw_rx_setconf()
3924 if (sc->sc_crcmon == 1 && ic->ic_opmode == IEEE80211_M_MONITOR) in urtw_rx_setconf()
3935 if (ic->ic_opmode == IEEE80211_M_MONITOR || in urtw_rx_setconf()
H A Dif_rsu.c546 ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */ in rsu_attach()
728 ic->ic_opmode = opmode; in rsu_vap_create()
796 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in rsu_set_channel()
3636 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in rsu_rxfilter_refresh()
3645 if (ic->ic_promisc == 0 && ic->ic_opmode != IEEE80211_M_MONITOR) in rsu_rxfilter_refresh()
H A Dif_zyd.c375 ic->ic_opmode = IEEE80211_M_STA; in zyd_attach()
505 ic->ic_opmode = opmode; in zyd_vap_create()
1998 if (ic->ic_opmode == IEEE80211_M_MONITOR || ic->ic_allmulti > 0 || in zyd_set_multi()
2034 switch (ic->ic_opmode) { in zyd_set_rxfilter()
H A Dif_rum.c711 ic->ic_opmode = opmode; in rum_vap_create()
2608 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rum_init()
2611 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in rum_init()
3188 if (ic->ic_opmode != IEEE80211_M_AHDEMO) in rum_scan_end()
H A Dif_uath.c419 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in uath_attach()
1064 ic->ic_opmode = opmode; in uath_vap_create()
2061 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in uath_newstate()
/freebsd/sys/dev/bwi/
H A Dbwimac.c1265 switch (ic->ic_opmode) { in bwi_mac_opmode_init()
1292 if (ic->ic_opmode != IEEE80211_M_IBSS && in bwi_mac_opmode_init()
1293 ic->ic_opmode != IEEE80211_M_HOSTAP) { in bwi_mac_opmode_init()
1926 else if (ic->ic_opmode != IEEE80211_M_HOSTAP) in bwi_mac_lock()
1953 else if (ic->ic_opmode != IEEE80211_M_HOSTAP) in bwi_mac_unlock()
H A Dif_bwi.c500 ic->ic_opmode = IEEE80211_M_STA; in bwi_attach()
612 ic->ic_opmode = opmode; in bwi_vap_create()
1779 if (ic->ic_opmode == IEEE80211_M_STA && in bwi_newstate()
3714 KASSERT(sc->sc_ic.ic_opmode != IEEE80211_M_MONITOR, in bwi_calibrate()
3715 ("opmode %d", sc->sc_ic.ic_opmode)); in bwi_calibrate()
/freebsd/sys/dev/rtwn/
H A Dif_rtwn.c213 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in rtwn_attach()
534 ic->ic_opmode = IEEE80211_M_IBSS; in rtwn_set_ic_opmode()
536 ic->ic_opmode = IEEE80211_M_HOSTAP; in rtwn_set_ic_opmode()
538 ic->ic_opmode = IEEE80211_M_STA; in rtwn_set_ic_opmode()
540 ic->ic_opmode = IEEE80211_M_MONITOR; in rtwn_set_ic_opmode()
/freebsd/sys/dev/otus/
H A Dif_otus.c400 ic->ic_opmode = opmode; in otus_vap_create()
715 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in otus_attachhook()
1214 if (ic->ic_opmode == IEEE80211_M_STA) { in otus_newstate()
2402 ic->ic_opmode == IEEE80211_M_MONITOR) { in otus_set_multi()
3195 switch (ic->ic_opmode) { in otus_set_operating_mode()
3240 ic->ic_opmode == IEEE80211_M_MONITOR) { in otus_set_rx_filter()
/freebsd/sys/dev/iwx/
H A Dif_iwx.c4598 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in iwx_rx_mpdu_mq()
4976 if ((ic->ic_opmode != IEEE80211_M_STA) || in iwx_rx_bmiss()
6122 if (ic->ic_opmode != IEEE80211_M_MONITOR) in iwx_power_build_cmd()
6153 if (ic->ic_opmode != IEEE80211_M_MONITOR) in iwx_power_update_device()
6209 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in iwx_add_sta_cmd()
6219 if (ic->ic_opmode == IEEE80211_M_MONITOR) in iwx_add_sta_cmd()
6324 if (ic->ic_opmode == IEEE80211_M_MONITOR) in iwx_rm_sta_cmd()
6908 if (ic->ic_opmode == IEEE80211_M_MONITOR) in iwx_mac_ctxt_cmd_common()
6910 else if (ic->ic_opmode == IEEE80211_M_STA) in iwx_mac_ctxt_cmd_common()
6913 panic("unsupported operating mode %d", ic->ic_opmode); in iwx_mac_ctxt_cmd_common()
[all …]
/freebsd/sys/dev/malo/
H A Dif_malo.c254 ic->ic_opmode = IEEE80211_M_STA; in malo_attach()
355 ic->ic_opmode = opmode; in malo_vap_create()
1531 if (ic->ic_opmode == IEEE80211_M_MONITOR || ic->ic_allmulti > 0 || in malo_setmcastfilter()
/freebsd/sys/dev/bwn/
H A Dif_bwn.c761 ic->ic_opmode = IEEE80211_M_STA; in bwn_attach_post()
3551 if (ic->ic_opmode == IEEE80211_M_IBSS || idle) in bwn_spu_setdelay()
3798 if (ic->ic_opmode == IEEE80211_M_HOSTAP || in bwn_set_opmode()
3799 ic->ic_opmode == IEEE80211_M_MBSS) in bwn_set_opmode()
3801 else if (ic->ic_opmode == IEEE80211_M_IBSS) in bwn_set_opmode()
4984 if (ic->ic_opmode == IEEE80211_M_STA && in bwn_newstate()
5015 if (ic->ic_opmode == IEEE80211_M_IBSS) in bwn_set_pretbtt()
5230 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in bwn_intr_tbtt_indication()
5232 if (ic->ic_opmode == IEEE80211_M_IBSS) in bwn_intr_tbtt_indication()
5254 if (ic->ic_opmode == IEEE80211_M_HOSTAP || in bwn_intr_beacon()
[all …]
/freebsd/sys/dev/iwi/
H A Dif_iwi.c357 ic->ic_opmode = IEEE80211_M_STA; in iwi_attach()
521 ic->ic_opmode = opmode; in iwi_vap_create()
2601 config.answer_pbreq = (ic->ic_opmode == IEEE80211_M_IBSS) ? 1 : 0; in iwi_config()
2604 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in iwi_config()
2613 if (ic->ic_opmode == IEEE80211_M_IBSS) { in iwi_config()
/freebsd/sys/dev/wtap/
H A Dif_wtap.c658 ic->ic_opmode = IEEE80211_M_MBSS; in wtap_attach()
/freebsd/sys/net80211/
H A Dieee80211_var.h147 enum ieee80211_opmode ic_opmode; /* operation mode */ member

12