Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/uts/common/io/net80211/
H A Dnet80211_input.c125 switch (ic->ic_opmode) { in ieee80211_input()
164 ic->ic_opmode != IEEE80211_M_HOSTAP && in ieee80211_input()
223 switch (ic->ic_opmode) { in ieee80211_input()
256 ic->ic_opmode); in ieee80211_input()
394 if (ic->ic_opmode == IEEE80211_M_HOSTAP) { in ieee80211_input()
563 if (ic->ic_opmode == IEEE80211_M_STA) { in ieee80211_auth_open()
583 "bad operating mode %u", ic->ic_opmode); in ieee80211_auth_open()
665 switch (ic->ic_opmode) { in ieee80211_auth_shared()
709 ic->ic_opmode); in ieee80211_auth_shared()
714 if (ic->ic_opmode == IEEE80211_M_STA) { in ieee80211_auth_shared()
[all …]
H A Dnet80211_proto.c572 if (ic->ic_opmode == IEEE80211_M_HOSTAP) { in ieee80211_wme_initparams()
689 if ((ic->ic_opmode == IEEE80211_M_HOSTAP && in ieee80211_wme_updateparams()
691 (ic->ic_opmode == IEEE80211_M_STA && in ieee80211_wme_updateparams()
721 ic->ic_opmode == IEEE80211_M_STA ? in ieee80211_wme_updateparams()
746 if (ic->ic_opmode != IEEE80211_M_STA || in ieee80211_beacon_miss()
803 if (ic->ic_opmode == IEEE80211_M_STA) { in ieee80211_newstate()
810 switch (ic->ic_opmode) { in ieee80211_newstate()
876 ASSERT(ic->ic_opmode == IEEE80211_M_STA); in ieee80211_newstate()
917 ASSERT(ic->ic_opmode == IEEE80211_M_STA); in ieee80211_newstate()
959 wd.wd_opmode = ic->ic_opmode; in ieee80211_newstate()
H A Dnet80211_node.c234 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in ieee80211_begin_scan()
361 switch (ic->ic_opmode) { in ieee80211_create_ibss()
379 ic->ic_opmode); in ieee80211_create_ibss()
434 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ieee80211_match_bss()
570 if (ic->ic_opmode == IEEE80211_M_IBSS && in ieee80211_end_scan()
697 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ieee80211_sta_join()
737 if (ic->ic_opmode == IEEE80211_M_STA) in ieee80211_sta_join()
1230 if (ic->ic_opmode == IEEE80211_M_STA || in ieee80211_find_rxnode()
1272 if (ic->ic_opmode == IEEE80211_M_STA || IEEE80211_IS_MULTICAST(daddr)) in ieee80211_find_txnode()
1279 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ieee80211_find_txnode()
[all …]
H A Dnet80211_output.c59 switch (ic->ic_opmode) { in ieee80211_send_setup()
75 "Invalid mode %u\n", ic->ic_opmode); in ieee80211_send_setup()
153 ic->ic_opmode != IEEE80211_M_HOSTAP) in ieee80211_send_nulldata()
400 if (ic->ic_opmode == IEEE80211_M_IBSS) in ieee80211_get_capinfo()
564 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ieee80211_send_mgmt()
645 if (ic->ic_opmode == IEEE80211_M_STA) in ieee80211_send_mgmt()
870 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ieee80211_beacon_alloc()
969 if (ic->ic_opmode == IEEE80211_M_STA) { in ieee80211_classify()
H A Dnet80211_ioctl.c467 if (*iw_opmode == ic->ic_opmode) in wifi_cfg_bsstype()
923 ic->ic_opmode = IEEE80211_M_STA; in wifi_loaddefdata()
1536 ic->ic_opmode = IEEE80211_M_STA; in wl_set_bsstype()
1545 ic->ic_opmode = IEEE80211_M_IBSS; in wl_set_bsstype()
1562 switch (ic->ic_opmode) { in wl_get_bsstype()
2082 if (ic->ic_opmode != IEEE80211_M_STA) { in wl_set_optie()
2155 if (ic->ic_opmode == IEEE80211_M_STA) { in wl_set_mlme()
2172 if (ic->ic_opmode != IEEE80211_M_STA) { in wl_set_mlme()
2341 ic->ic_opmode = IEEE80211_M_IBSS; in wl_set_createibss()
/titanic_50/usr/src/uts/common/io/ath/
H A Dath_aux.c120 if (ic->ic_opmode != IEEE80211_M_STA) in ath_calcrxfilter()
122 if (ic->ic_opmode != IEEE80211_M_HOSTAP && asc->asc_promisc) in ath_calcrxfilter()
124 if (ic->ic_opmode == IEEE80211_M_STA || in ath_calcrxfilter()
125 ic->ic_opmode == IEEE80211_M_IBSS || in ath_calcrxfilter()
261 ic->ic_opmode, rfilt, in ath_mode_init()
489 if (!ATH_HAL_RESET(ah, (HAL_OPMODE)ic->ic_opmode, in ath_chan_set()
552 if (ic->ic_opmode != IEEE80211_M_HOSTAP) { in ath_beacon_config()
995 if (!ATH_HAL_RESET(ah, (HAL_OPMODE)ic->ic_opmode, in ath_reset()
H A Dath_rate.c204 if (ic->ic_opmode == IEEE80211_M_STA) { in ath_rate_ctl_reset()
H A Dath_main.c1326 if (nstate == IEEE80211_S_RUN && ic->ic_opmode != IEEE80211_M_IBSS) in ath_newstate()
1425 if (ic->ic_opmode == IEEE80211_M_STA) in ath_watchdog()
1629 if (!ATH_HAL_RESET(ah, (HAL_OPMODE)ic->ic_opmode, in ath_start_locked()
2223 ic->ic_opmode = IEEE80211_M_STA; in ath_attach()
2279 wd.wd_opmode = ic->ic_opmode; in ath_attach()
/titanic_50/usr/src/uts/common/io/ural/
H A Dural.c1089 if (ic->ic_opmode != IEEE80211_M_MONITOR && in ural_set_chan()
1124 logcwmin = (ic->ic_opmode == IEEE80211_M_IBSS) ? 2 : 0; in ural_enable_tsf_sync()
1125 preload = (ic->ic_opmode == IEEE80211_M_IBSS) ? 320 : 6; in ural_enable_tsf_sync()
1131 if (ic->ic_opmode == IEEE80211_M_STA) in ural_enable_tsf_sync()
1432 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in ural_newstate()
1443 if (ic->ic_opmode != IEEE80211_M_MONITOR) in ural_newstate()
1447 if (ic->ic_opmode == IEEE80211_M_STA && in ural_newstate()
1729 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in ural_init()
1731 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in ural_init()
2244 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in ural_attach()
[all …]
/titanic_50/usr/src/uts/common/io/arn/
H A Darn_recv.c179 ic->ic_opmode, rfilt, mfilt[0], mfilt[1])); in arn_opmode_init()
360 if (ic->ic_opmode == IEEE80211_M_IBSS && in arn_recv_mgmt()
651 if (ic->ic_opmode == IEEE80211_M_STA && in arn_rx_handler()
H A Darn_main.c1475 if (ic->ic_opmode == IEEE80211_M_IBSS) { in arn_newstate()
1532 if (nstate == IEEE80211_S_RUN && ic->ic_opmode != IEEE80211_M_IBSS) in arn_newstate()
1547 switch (ic->ic_opmode) { in arn_newstate()
1567 if (ic->ic_opmode == IEEE80211_M_IBSS && in arn_newstate()
1666 if (ic->ic_opmode == IEEE80211_M_STA) in arn_watchdog()
3167 ic->ic_opmode = IEEE80211_M_STA; in arn_attach()
3242 wd.wd_opmode = ic->ic_opmode; in arn_attach()
H A Darn_beacon.c413 if (ic->ic_opmode != IEEE80211_M_STA || in arn_bmiss_proc()
/titanic_50/usr/src/uts/common/io/rum/
H A Drum.c1197 if (ic->ic_opmode != IEEE80211_M_STA) { in rum_enable_tsf_sync()
1211 if (ic->ic_opmode == IEEE80211_M_STA) in rum_enable_tsf_sync()
1444 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rum_newstate()
1452 if (ic->ic_opmode != IEEE80211_M_MONITOR) in rum_newstate()
1456 if (ic->ic_opmode == IEEE80211_M_STA && in rum_newstate()
1734 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rum_init()
1737 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in rum_init()
2284 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in rum_attach()
2363 wd.wd_opmode = ic->ic_opmode; in rum_attach()
/titanic_50/usr/src/uts/common/io/ipw/
H A Dipw2100.c377 ic->ic_opmode = IEEE80211_M_STA; in ipw2100_attach()
434 wd.wd_opmode = ic->ic_opmode; in ipw2100_attach()
747 switch (ic->ic_opmode) { in ipw2100_config()
770 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw2100_config()
801 if (ic->ic_opmode == IEEE80211_M_IBSS) in ipw2100_config()
855 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw2100_config()
977 if (ic->ic_opmode == IEEE80211_M_IBSS || in ipw2100_config()
978 ic->ic_opmode == IEEE80211_M_HOSTAP) { in ipw2100_config()
1702 wd.wd_opmode = ic->ic_opmode; in ipw2100_newstate()
2198 if (ic->ic_opmode == IEEE80211_M_STA) in ipw2100_send()
/titanic_50/usr/src/uts/common/io/iwk/
H A Diwk2_var.h42 sc->sc_ic.ic_opmode == IEEE80211_M_STA)
H A Diwk2.c667 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in iwk_attach()
759 wd.wd_opmode = ic->ic_opmode; in iwk_attach()
1659 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in iwk_newstate()
1667 if (ic->ic_opmode == IEEE80211_M_IBSS) { in iwk_newstate()
1683 if (ic->ic_opmode != IEEE80211_M_IBSS) { in iwk_newstate()
1710 if (ic->ic_opmode == IEEE80211_M_IBSS) { in iwk_newstate()
1849 } else if (ic->ic_opmode == IEEE80211_M_IBSS) { in iwk_key_set()
2703 if (ic->ic_opmode == IEEE80211_M_IBSS && in iwk_send()
2836 if (ic->ic_opmode == IEEE80211_M_IBSS) in iwk_send()
2948 oldmod = ic->ic_opmode; in iwk_m_ioctl()
[all …]
/titanic_50/usr/src/uts/common/io/wpi/
H A Dwpivar.h70 sc->sc_ic.ic_opmode == IEEE80211_M_STA)
H A Dwpi.c542 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in wpi_attach()
616 wd.wd_opmode = ic->ic_opmode; in wpi_attach()
1337 if (ic->ic_opmode == IEEE80211_M_MONITOR) { in wpi_newstate()
1343 if (ic->ic_opmode != IEEE80211_M_STA) { in wpi_newstate()
1359 if (ic->ic_opmode != IEEE80211_M_STA) in wpi_newstate()
3083 switch (ic->ic_opmode) {
3413 if (ic->ic_opmode != IEEE80211_M_STA)
3582 if (ic->ic_opmode == IEEE80211_M_STA)
/titanic_50/usr/src/uts/common/io/iwp/
H A Diwp_var.h42 sc->sc_ic.ic_opmode == IEEE80211_M_STA)
/titanic_50/usr/src/uts/common/io/iwh/
H A Diwh_var.h42 sc->sc_ic.ic_opmode == IEEE80211_M_STA)
/titanic_50/usr/src/uts/common/io/rwd/
H A Drt2661.c1859 if (ic->ic_opmode == IEEE80211_M_STA) in rt2661_enable_tsf_sync()
1976 if (ic->ic_opmode == IEEE80211_M_STA) in rt2661_updatestats()
2037 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2661_newstate()
2045 if (ic->ic_opmode == IEEE80211_M_STA) { in rt2661_newstate()
2050 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2661_newstate()
2510 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2661_init()
2513 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in rt2661_init()
3016 ic->ic_opmode = IEEE80211_M_STA; in rt2661_attach()
3087 wd.wd_opmode = ic->ic_opmode; in rt2661_attach()
/titanic_50/usr/src/uts/common/io/ral/
H A Drt2560.c442 preload = (ic->ic_opmode == IEEE80211_M_STA) ? 384 : 1024; in rt2560_enable_tsf_sync()
448 if (ic->ic_opmode == IEEE80211_M_STA) in rt2560_enable_tsf_sync()
927 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2560_newstate()
935 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2560_newstate()
1984 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2560_init()
1986 if (ic->ic_opmode != IEEE80211_M_HOSTAP) in rt2560_init()
2472 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in rt2560_attach()
2572 wd.wd_opmode = ic->ic_opmode; in rt2560_attach()
/titanic_50/usr/src/uts/common/io/rwn/
H A Drt2860.c1316 if (ic->ic_opmode == IEEE80211_M_STA) in rt2860_updatestats()
1508 if (ic->ic_opmode == IEEE80211_M_STA) { in rt2860_enable_tsf_sync()
1570 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_newstate()
1577 if (ic->ic_opmode == IEEE80211_M_STA) { in rt2860_newstate()
1582 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_newstate()
2469 if (ic->ic_opmode != IEEE80211_M_MONITOR) { in rt2860_init()
2474 if (ic->ic_opmode == IEEE80211_M_STA) in rt2860_init()
2965 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ in rt2860_attach()
3031 wd.wd_opmode = ic->ic_opmode; in rt2860_attach()
/titanic_50/usr/src/uts/common/io/rtw/
H A Drtw.c965 ic->ic_opmode = IEEE80211_M_STA; in rtw_set80211props()
1678 switch (ic->ic_opmode) { in rtw_pktfilt_load()
2423 if (ic->ic_opmode == IEEE80211_M_STA) { in rtw_rate_ctl_reset()
2491 ostate, nstate, ic->ic_opmode); in rtw_new_state()
2524 switch (ic->ic_opmode) { in rtw_new_state()
2541 rtw_set_nettype(rsc, ic->ic_opmode); in rtw_new_state()
2634 rsc->sc_ic.ic_opmode != IEEE80211_M_MONITOR) { in rtw_intr_rx()
3311 wd.wd_opmode = ic->ic_opmode; in rtw_attach()
/titanic_50/usr/src/uts/common/io/iwi/
H A Dipw2200.c474 ic->ic_opmode = IEEE80211_M_STA; in ipw2200_attach()
566 wd.wd_opmode = ic->ic_opmode; in ipw2200_attach()
799 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw2200_config()
1765 if (ic->ic_opmode == IEEE80211_M_IBSS) in ipw2200_auth_and_assoc()
1823 wd.wd_opmode = ic->ic_opmode; in ipw2200_newstate()
2311 if (ic->ic_opmode == IEEE80211_M_IBSS) { in ipw2200_send()

12