Home
last modified time | relevance | path

Searched refs:ic_opmode (Results 1 – 25 of 34) 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()
1538 enum ieee80211_opmode ic_opmode; in ath_vap_create() local
1545 ic_opmode = opmode; /* default to opmode of new vap */ in ath_vap_create()
1563 ic_opmode = IEEE80211_M_HOSTAP; in ath_vap_create()
1588 if (sc->sc_nvaps != 0 && ic->ic_opmode != opmode) { in ath_vap_create()
1595 ic_opmode = ic->ic_opmode; in ath_vap_create()
1603 if (sc->sc_nvaps != 0 && ic->ic_opmode == IEEE80211_M_STA) { in ath_vap_create()
1615 ic_opmode = IEEE80211_M_HOSTAP; in ath_vap_create()
1617 ic_opmode = ic->ic_opmode; in ath_vap_create()
1721 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()
472 ic->ic_opmode = opmode; in ipw_vap_create()
863 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw_newstate()
1590 if (ic->ic_opmode == IEEE80211_M_STA) in ipw_tx_start()
2233 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw_assoc()
2408 switch (ic->ic_opmode) { in ipw_config()
2422 device_printf(sc->sc_dev, "unknown opmode %d\n", ic->ic_opmode); in ipw_config()
2430 if (ic->ic_opmode == IEEE80211_M_IBSS || in ipw_config()
2431 ic->ic_opmode == IEEE80211_M_MONITOR) { in ipw_config()
2437 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()
386 ic->ic_opmode != IEEE80211_M_HOSTAP) { in rt2560_vap_create()
416 ic->ic_opmode = opmode; in rt2560_vap_create()
1288 if (ic->ic_opmode != IEEE80211_M_IBSS && in rt2560_beacon_expire()
1289 ic->ic_opmode != IEEE80211_M_HOSTAP && in rt2560_beacon_expire()
1290 ic->ic_opmode != IEEE80211_M_MBSS) in rt2560_beacon_expire()
2199 if (ic->ic_opmode == IEEE80211_M_STA) in rt2560_enable_tsf_sync()
2610 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2560_init_locked()
2612 if (ic->ic_opmode != IEEE80211_M_HOSTAP && in rt2560_init_locked()
2613 ic->ic_opmode != IEEE80211_M_MBSS) in rt2560_init_locked()
H A Drt2661.c263 ic->ic_opmode = IEEE80211_M_STA; in rt2661_attach()
379 ic->ic_opmode != IEEE80211_M_HOSTAP) { in rt2661_vap_create()
411 ic->ic_opmode = opmode; in rt2661_vap_create()
2316 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2661_init_locked()
2319 if (ic->ic_opmode != IEEE80211_M_HOSTAP && in rt2661_init_locked()
2320 ic->ic_opmode != IEEE80211_M_MBSS) in rt2661_init_locked()
H A Drt2860.c305 ic->ic_opmode = IEEE80211_M_STA; in rt2860_attach()
445 ic->ic_opmode != IEEE80211_M_HOSTAP) { in rt2860_vap_create()
480 ic->ic_opmode = opmode; in rt2860_vap_create()
929 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_newstate()
944 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_newstate()
1354 if (ic->ic_opmode == IEEE80211_M_HOSTAP) { in rt2860_tbtt_intr()
3193 if (ic->ic_opmode == IEEE80211_M_HOSTAP) { in rt2860_set_key()
3759 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_txrx_enable()
3764 if (ic->ic_opmode == IEEE80211_M_STA) in rt2860_txrx_enable()
/freebsd/sys/dev/usb/wlan/
H A Dif_ural.c590 ic->ic_opmode = opmode; in ural_vap_create()
1679 if (ic->ic_opmode != IEEE80211_M_MONITOR && in ural_set_chan()
1741 logcwmin = (ic->ic_opmode == IEEE80211_M_IBSS) ? 2 : 0; in ural_enable_tsf_sync()
1742 preload = (ic->ic_opmode == IEEE80211_M_IBSS) ? 320 : 6; in ural_enable_tsf_sync()
1748 if (ic->ic_opmode == IEEE80211_M_STA) in ural_enable_tsf_sync()
2067 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in ural_init()
2069 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in ural_init()
H A Dif_run.c843 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in run_attach()
1086 ic->ic_opmode = opmode; in run_vap_create()
2224 ic->ic_opmode = vap->iv_opmode; in run_newstate()
2230 ic->ic_opmode = vap->iv_opmode; in run_newstate()
2236 ic->ic_opmode = vap->iv_opmode; in run_newstate()
2244 ic->ic_opmode = vap->iv_opmode; in run_newstate()
5206 RUN_VAP(vap)->rvp_id, ic->ic_opmode); in run_enable_tsf_sync()
5213 if (ic->ic_opmode == IEEE80211_M_STA) { in run_enable_tsf_sync()
5219 } else if (ic->ic_opmode == IEEE80211_M_IBSS) { in run_enable_tsf_sync()
5226 } else if (ic->ic_opmode == IEEE80211_M_HOSTAP || in run_enable_tsf_sync()
[all …]
H A Dif_mtw.c605 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in mtw_attach()
841 ic->ic_opmode = opmode; in mtw_vap_create()
1735 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
1741 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
1747 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
1755 ic->ic_opmode = vap->iv_opmode; in mtw_newstate()
4205 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in mtw_txrx_enable()
4209 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()
1042 ic->ic_opmode = opmode; in urtw_vap_create()
1982 switch (ic->ic_opmode) { in urtw_update_msr()
1998 ic->ic_opmode); in urtw_update_msr()
3914 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in urtw_rx_setconf()
3918 if (sc->sc_crcmon == 1 && ic->ic_opmode == IEEE80211_M_MONITOR) in urtw_rx_setconf()
3929 if (ic->ic_opmode == IEEE80211_M_MONITOR || in urtw_rx_setconf()
H A Dif_rsu.c540 ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */ in rsu_attach()
723 ic->ic_opmode = opmode; in rsu_vap_create()
791 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in rsu_set_channel()
3602 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in rsu_rxfilter_refresh()
3611 if (ic->ic_promisc == 0 && ic->ic_opmode != IEEE80211_M_MONITOR) in rsu_rxfilter_refresh()
H A Dif_rum.c711 ic->ic_opmode = opmode; in rum_vap_create()
2605 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rum_init()
2608 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in rum_init()
3182 if (ic->ic_opmode != IEEE80211_M_AHDEMO) in rum_scan_end()
H A Dif_zyd.c375 ic->ic_opmode = IEEE80211_M_STA; in zyd_attach()
503 ic->ic_opmode = opmode; in zyd_vap_create()
1996 if (ic->ic_opmode == IEEE80211_M_MONITOR || ic->ic_allmulti > 0 || in zyd_set_multi()
2032 switch (ic->ic_opmode) { in zyd_set_rxfilter()
H A Dif_uath.c419 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in uath_attach()
1056 ic->ic_opmode = opmode; in uath_vap_create()
2051 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()
609 ic->ic_opmode = opmode; in bwi_vap_create()
1775 if (ic->ic_opmode == IEEE80211_M_STA && in bwi_newstate()
3710 KASSERT(sc->sc_ic.ic_opmode != IEEE80211_M_MONITOR, in bwi_calibrate()
3711 ("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()
521 ic->ic_opmode = IEEE80211_M_IBSS; in rtwn_set_ic_opmode()
523 ic->ic_opmode = IEEE80211_M_HOSTAP; in rtwn_set_ic_opmode()
525 ic->ic_opmode = IEEE80211_M_STA; in rtwn_set_ic_opmode()
527 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()
1206 if (ic->ic_opmode == IEEE80211_M_STA) { in otus_newstate()
2391 ic->ic_opmode == IEEE80211_M_MONITOR) { in otus_set_multi()
3184 switch (ic->ic_opmode) { in otus_set_operating_mode()
3229 ic->ic_opmode == IEEE80211_M_MONITOR) { in otus_set_rx_filter()
/freebsd/sys/dev/malo/
H A Dif_malo.c254 ic->ic_opmode = IEEE80211_M_STA; in malo_attach()
353 ic->ic_opmode = opmode; in malo_vap_create()
1527 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()
3549 if (ic->ic_opmode == IEEE80211_M_IBSS || idle) in bwn_spu_setdelay()
3796 if (ic->ic_opmode == IEEE80211_M_HOSTAP || in bwn_set_opmode()
3797 ic->ic_opmode == IEEE80211_M_MBSS) in bwn_set_opmode()
3799 else if (ic->ic_opmode == IEEE80211_M_IBSS) in bwn_set_opmode()
4982 if (ic->ic_opmode == IEEE80211_M_STA && in bwn_newstate()
5013 if (ic->ic_opmode == IEEE80211_M_IBSS) in bwn_set_pretbtt()
5228 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in bwn_intr_tbtt_indication()
5230 if (ic->ic_opmode == IEEE80211_M_IBSS) in bwn_intr_tbtt_indication()
5252 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()
519 ic->ic_opmode = opmode; in iwi_vap_create()
2596 config.answer_pbreq = (ic->ic_opmode == IEEE80211_M_IBSS) ? 1 : 0; in iwi_config()
2599 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in iwi_config()
2608 if (ic->ic_opmode == IEEE80211_M_IBSS) { in iwi_config()
/freebsd/sys/dev/wtap/
H A Dif_wtap.c651 ic->ic_opmode = IEEE80211_M_MBSS; in wtap_attach()
/freebsd/sys/net80211/
H A Dieee80211_var.h145 enum ieee80211_opmode ic_opmode; /* operation mode */ member
/freebsd/sys/dev/mwl/
H A Dif_mwl.c392 ic->ic_opmode = IEEE80211_M_STA; in mwl_attach()
704 ic->ic_opmode = IEEE80211_M_HOSTAP; in mwl_vap_create()
706 ic->ic_opmode = IEEE80211_M_STA; in mwl_vap_create()
708 ic->ic_opmode = opmode; in mwl_vap_create()

12