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

123

/freebsd-10.1-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-10.1-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-10.1-release/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_beacon.c37 u_int32_t next_beacon, u_int32_t beacon_period, HAL_OPMODE opmode)
41 HALASSERT(opmode == HAL_M_IBSS || opmode == HAL_M_HOSTAP);
42 if (opmode == HAL_M_IBSS) {
36 ar9300_beacon_init(struct ath_hal *ah, u_int32_t next_beacon, u_int32_t beacon_period, HAL_OPMODE opmode) argument
H A Dar9300_stub_funcs.h87 extern HAL_BOOL ar9300_Stub_Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode);
88 extern void ar9300_Stub_SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
89 extern void ar9300_Stub_RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
129 extern HAL_BOOL ar9300_Stub_Reset(struct ath_hal *ah, HAL_OPMODE opmode,
134 extern void ar9300_Stub_SetOperatingMode(struct ath_hal *ah, int opmode);
H A Dar9300_freebsd.h5 extern HAL_BOOL ar9300_reset_freebsd(struct ath_hal *ah, HAL_OPMODE opmode,
H A Dar9300_stub_funcs.c556 ar9300_Stub_Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode) argument
564 ar9300_Stub_SetupClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
571 ar9300_Stub_RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
766 ar9300_Stub_Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
785 ar9300_Stub_SetOperatingMode(struct ath_hal *ah, int opmode) argument
H A Dar9300_freebsd.c258 ar9300_reset_freebsd(struct ath_hal *ah, HAL_OPMODE opmode, argument
270 r = ar9300_reset(ah, opmode, chan, macmode,
H A Dar9300.h1196 u_int32_t next_beacon, u_int32_t beacon_period, HAL_OPMODE opmode);
1369 extern HAL_BOOL ar9300_reset(struct ath_hal *ah, HAL_OPMODE opmode,
1373 extern HAL_BOOL ar9300_lean_channel_change(struct ath_hal *ah, HAL_OPMODE opmode, struct ieee80211_channel *chan,
1379 extern void ar9300_set_operating_mode(struct ath_hal *ah, int opmode);
1490 extern HAL_BOOL ar9300_reset_11n(struct ath_hal *ah, HAL_OPMODE opmode,
/freebsd-10.1-release/sys/dev/mwl/
H A Dmwldiag.h88 uint32_t opmode; /* operating mode */ member in struct:__anon9232
/freebsd-10.1-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-10.1-release/tools/tools/net80211/wlanstats/
H A Dwlanstats.c386 int opmode; member in struct:wlanstatfoo_p
422 if (wf->opmode == -1) {
431 wf->opmode = IEEE80211_M_AHDEMO;
433 wf->opmode = IEEE80211_M_IBSS;
435 wf->opmode = IEEE80211_M_HOSTAP;
437 wf->opmode = IEEE80211_M_MONITOR;
439 wf->opmode = IEEE80211_M_STA;
441 return wf->opmode;
1023 wf->opmode = -1;
/freebsd-10.1-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
2087 ar5211SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_ani.c544 HAL_OPMODE opmode, int restore)
563 ath_hal_printf(ah,"%s: chan %u/0x%x restore %d opmode %u%s\n",
564 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
567 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: chan %u/0x%x restore %d opmode %u%s\n",
568 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
571 OS_MARK(ah, AH_MARK_ANI_RESET, opmode);
593 if (opmode == HAL_M_HOSTAP) {
604 if (opmode == HAL_M_STA)
543 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);
76 ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
108 switch (opmode) {
116 __func__, opmode);
272 ar5212SetOperatingMode(ah, opmode);
327 ar5416InitIMR(ah, opmode);
446 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
658 ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode) argument
679 if (opmode == HAL_M_HOSTAP)
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5212/
H A Dar5212.h509 extern HAL_BOOL ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode);
510 extern void ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
511 extern void ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
551 extern HAL_BOOL ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode,
556 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_misc.c663 ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode) argument
665 if (opmode != HAL_M_HOSTAP) {
681 ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
683 if (ar5212Use32KHzclock(ah, opmode)) {
738 ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
740 if (ar5212Use32KHzclock(ah, opmode)) {
H A Dar5212_reset.c117 ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
157 switch (opmode) {
165 __func__, opmode);
216 * XXX opmode shouldn't change either?
249 ar5212RestoreClock(ah, opmode); /* move to refclk operation */
428 ar5212SetOperatingMode(ah, opmode);
570 if (opmode == HAL_M_HOSTAP)
591 ar5212SetupClock(ah, opmode);
680 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
799 ar5212SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/freebsd-10.1-release/sys/net80211/
H A Dieee80211.c421 const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode,
449 vap->iv_opmode = opmode;
450 vap->iv_caps |= ieee80211_opcap[opmode];
451 switch (opmode) {
1327 media_status(enum ieee80211_opmode opmode, const struct ieee80211_channel *chan) argument
1332 switch (opmode) {
420 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-10.1-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-10.1-release/sys/dev/usb/wlan/
H A Dif_rsu.c460 enum ieee80211_opmode opmode, int flags,
476 if (ieee80211_vap_setup(ic, vap, name, unit, opmode,
490 ic->ic_opmode = opmode;
1061 uint8_t opmode; local
1064 /* Let the FW decide the opmode based on the capinfo field. */
1065 opmode = NDIS802_11AUTOUNKNOWN;
1066 DPRINTF("setting operating mode to %d\n", opmode);
1067 error = rsu_fw_cmd(sc, R92S_CMD_SET_OPMODE, &opmode, sizeof(opmode));
459 rsu_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-10.1-release/contrib/wpa/src/drivers/
H A Ddriver_bsd.c64 enum ieee80211_opmode opmode; /* operation mode */ member in struct:bsd_driver_data
384 if (drv->opmode == IEEE80211_M_IBSS ||
385 drv->opmode == IEEE80211_M_AHDEMO)
1561 drv->opmode = get80211opmode(drv);

Completed in 311 milliseconds

123