Searched refs:opmode (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-9.3-release/contrib/sendmail/libsmutil/
H A Dcf.c24 ** opmode -- operation mode.
34 getcfname(opmode, submitmode, cftype, conffile)
35 int opmode;
49 opmode == MD_DELIVER ||
50 opmode == MD_ARPAFTP ||
51 opmode == MD_SMTP) &&
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5312/
H A Dar5312.h61 extern void ar5312SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
62 extern void ar5312RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
64 extern HAL_BOOL ar5312Reset(struct ath_hal *ah, HAL_OPMODE opmode,
H A Dar5312_misc.c98 ar5312SetupClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
100 if (ar5212Use32KHzclock(ah, opmode)) {
142 ar5312RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
144 if (ar5212Use32KHzclock(ah, opmode)) {
H A Dar5312_reset.c89 ar5312Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
122 switch (opmode) {
130 __func__, opmode);
199 ar5312RestoreClock(ah, opmode); /* move to refclk operation */
351 ar5212SetOperatingMode(ah, opmode);
495 if (opmode == HAL_M_HOSTAP)
516 ar5312SetupClock(ah, opmode);
557 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
/freebsd-9.3-release/sys/dev/mwl/
H A Dmwldiag.h88 uint32_t opmode; /* operating mode */ member in struct:__anon8417
H A Dif_mwl.c607 enum ieee80211_opmode opmode, int flags,
620 switch (opmode) {
670 if (opmode == IEEE80211_M_WDS) {
683 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid, mac);
694 if (opmode == IEEE80211_M_HOSTAP || opmode == IEEE80211_M_MBSS) {
740 ic->ic_opmode = opmode;
753 enum ieee80211_opmode opmode = vap->iv_opmode; local
761 switch (opmode) {
768 if (opmode
606 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
[all...]
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c59 static void ar5210SetOperatingMode(struct ath_hal *, int opmode);
70 ar5210Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
84 "%s: opmode %u channel %u/0x%x %s channel\n", __func__,
85 opmode, chan->ic_freq, chan->ic_flags,
103 switch (opmode) {
111 __func__, opmode);
127 ar5210SetOperatingMode(ah, opmode);
129 switch (opmode) {
290 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
304 ar5210SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/freebsd-9.3-release/tools/tools/net80211/wlanstats/
H A Dwlanstats.c378 int opmode; member in struct:wlanstatfoo_p
414 if (wf->opmode == -1) {
423 wf->opmode = IEEE80211_M_AHDEMO;
425 wf->opmode = IEEE80211_M_IBSS;
427 wf->opmode = IEEE80211_M_HOSTAP;
429 wf->opmode = IEEE80211_M_MONITOR;
431 wf->opmode = IEEE80211_M_STA;
433 return wf->opmode;
1007 wf->opmode = -1;
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c144 static void ar5211SetOperatingMode(struct ath_hal *, int opmode);
155 ar5211Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
176 "%s: opmode %u channel %u/0x%x %s channel\n",
177 __func__, opmode, chan->ic_freq, chan->ic_flags,
187 switch (opmode) {
195 "%s: invalid operating mode %u\n", __func__, opmode);
379 ar5211SetOperatingMode(ah, opmode);
419 if (opmode != HAL_M_HOSTAP &&
511 if (opmode == HAL_M_HOSTAP) {
540 AH_PRIVATE(ah)->ah_opmode = opmode; /* recor
2089 ar5211SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c662 ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode) argument
664 if (opmode != HAL_M_HOSTAP) {
680 ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
682 if (ar5212Use32KHzclock(ah, opmode)) {
737 ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
739 if (ar5212Use32KHzclock(ah, opmode)) {
H A Dar5212.h497 extern HAL_BOOL ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode);
498 extern void ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
499 extern void ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
536 extern HAL_BOOL ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode,
541 extern void ar5212SetOperatingMode(struct ath_hal *ah, int opmode);
H A Dar5212_ani.c587 HAL_OPMODE opmode, int restore)
606 ath_hal_printf(ah,"%s: chan %u/0x%x restore %d opmode %u%s\n",
607 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
610 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: chan %u/0x%x restore %d opmode %u%s\n",
611 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
614 OS_MARK(ah, AH_MARK_ANI_RESET, opmode);
636 if (opmode == HAL_M_STA)
586 ar5212AniReset(struct ath_hal *ah, const struct ieee80211_channel *chan, HAL_OPMODE opmode, int restore) argument
H A Dar5212_reset.c107 ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
147 switch (opmode) {
155 __func__, opmode);
203 * XXX opmode shouldn't change either?
236 ar5212RestoreClock(ah, opmode); /* move to refclk operation */
415 ar5212SetOperatingMode(ah, opmode);
556 if (opmode == HAL_M_HOSTAP)
577 ar5212SetupClock(ah, opmode);
666 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
785 ar5212SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_ani.c534 HAL_OPMODE opmode, int restore)
553 ath_hal_printf(ah,"%s: chan %u/0x%x restore %d opmode %u%s\n",
554 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
557 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: chan %u/0x%x restore %d opmode %u%s\n",
558 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
561 OS_MARK(ah, AH_MARK_ANI_RESET, opmode);
584 if (opmode == HAL_M_STA)
533 ar5416AniReset(struct ath_hal *ah, const struct ieee80211_channel *chan, HAL_OPMODE opmode, int restore) argument
H A Dar5416_reset.c44 static void ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode);
75 ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
107 switch (opmode) {
115 __func__, opmode);
258 ar5212SetOperatingMode(ah, opmode);
306 ar5416InitIMR(ah, opmode);
390 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
598 ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode) argument
619 if (opmode == HAL_M_HOSTAP)
H A Dar5416.h235 extern HAL_BOOL ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode,
/freebsd-9.3-release/sys/net80211/
H A Dieee80211.c387 const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode,
418 vap->iv_opmode = opmode;
419 vap->iv_caps |= ieee80211_opcap[opmode];
420 switch (opmode) {
1292 media_status(enum ieee80211_opmode opmode, const struct ieee80211_channel *chan) argument
1297 switch (opmode) {
386 ieee80211_vap_setup(struct ieee80211com *ic, struct ieee80211vap *vap, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument
/freebsd-9.3-release/sys/dev/malo/
H A Dif_malohal.c491 uint32_t fwreadysig, opmode; local
498 opmode = MALO_HOSTCMD_STA_MODE;
529 if (opmode != MALO_HOSTCMD_STA_MODE)
533 malo_hal_write4(mh, MALO_REG_GEN_PTR, opmode);
H A Dif_malo.c348 enum ieee80211_opmode opmode, int flags,
360 switch (opmode) {
362 if (opmode == IEEE80211_M_STA)
369 ieee80211_opmode_name[opmode]);
379 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid, mac);
388 ic->ic_opmode = opmode;
347 malo_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
/freebsd-9.3-release/usr.sbin/wpa/wpa_supplicant/
H A Ddriver_freebsd.c51 enum ieee80211_opmode opmode; /* operation mode */ member in struct:wpa_driver_bsd_data
357 if (drv->opmode == IEEE80211_M_IBSS ||
358 drv->opmode == IEEE80211_M_AHDEMO)
880 drv->opmode = get80211opmode(drv);
/freebsd-9.3-release/sbin/ifconfig/
H A Difieee80211.c3292 enum ieee80211_opmode opmode = get80211opmode(s); local
3298 if (opmode == IEEE80211_M_STA) {
3312 if (opmode == IEEE80211_M_MBSS)
3345 if (opmode == IEEE80211_M_MBSS)
4200 enum ieee80211_opmode opmode = get80211opmode(s); local
4223 if (opmode == IEEE80211_M_MBSS) {
4459 if (opmode == IEEE80211_M_STA || verbose) {
4713 if (opmode == IEEE80211_M_HOSTAP) {
4769 if (opmode == IEEE80211_M_AHDEMO) {
4789 if (opmode
[all...]
/freebsd-9.3-release/sys/dev/ral/
H A Drt2661.c372 enum ieee80211_opmode opmode, int flags,
380 switch (opmode) {
392 if (opmode == IEEE80211_M_STA)
409 if_printf(ifp, "unknown opmode %d\n", opmode);
417 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid, mac);
430 ic->ic_opmode = opmode;
371 rt2661_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
/freebsd-9.3-release/sys/dev/ath/
H A Dif_ath.c853 enum ieee80211_opmode opmode, int flags,
870 ic_opmode = opmode; /* default to opmode of new vap */
871 switch (opmode) {
913 if (sc->sc_nvaps != 0 && ic->ic_opmode != opmode) {
945 device_printf(sc->sc_dev, "unknown opmode %d\n", opmode);
957 if (opmode == IEEE80211_M_HOSTAP || opmode == IEEE80211_M_MBSS) {
965 error = ieee80211_vap_setup(ic, vap, name, unit, opmode, flag
852 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
[all...]
/freebsd-9.3-release/sys/dev/iwi/
H A Dif_iwi.c491 enum ieee80211_opmode opmode, int flags,
506 if (iwi_get_firmware(sc, opmode))
523 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid, mac);
532 ic->ic_opmode = opmode;
2198 iwi_get_firmware(struct iwi_softc *sc, enum ieee80211_opmode opmode) argument
2204 if (sc->fw_mode != opmode)
2207 switch (opmode) {
2219 device_printf(sc->sc_dev, "unknown opmode %d\n", opmode);
2298 sc->fw_mode = opmode;
490 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
[all...]
/freebsd-9.3-release/sys/dev/ipw/
H A Dif_ipw.c432 enum ieee80211_opmode opmode, int flags,
447 switch (opmode) {
501 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid, mac);
508 ic->ic_opmode = opmode;
2493 device_printf(sc->sc_dev, "unknown opmode %d\n", ic->ic_opmode);
431 ipw_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

Completed in 562 milliseconds

12