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

12

/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_vht.c342 * opmode is '1' for "vhtcap as if I'm a STA", 0 otherwise.
346 struct ieee80211_ie_vhtcap *vhtcap, int opmode)
372 if (opmode == 1) {
382 if (opmode == 1) {
399 if (opmode == 1) {
409 if (opmode == 1) {
419 if (opmode == 1) {
444 if (opmode == 1) {
458 if (opmode == 1) {
489 if (opmode
345 ieee80211_vht_get_vhtcap_ie(struct ieee80211_node *ni, struct ieee80211_ie_vhtcap *vhtcap, int opmode) argument
685 int opmode; local
863 ieee80211_vht_get_vhtinfo_ie(struct ieee80211_node *ni, struct ieee80211_ie_vht_operation *vhtop, int opmode) argument
[all...]
H A Dieee80211.c529 const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode,
563 vap->iv_opmode = opmode;
564 vap->iv_caps |= ieee80211_opcap[opmode];
566 switch (opmode) {
2173 media_status(enum ieee80211_opmode opmode, const struct ieee80211_channel *chan) argument
2178 switch (opmode) {
528 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]) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_beacon.c38 u_int32_t beacon_period_fraction, HAL_OPMODE opmode)
42 HALASSERT(opmode == HAL_M_IBSS || opmode == HAL_M_HOSTAP);
43 if (opmode == HAL_M_IBSS) {
61 "%s: next_beacon=0x%08x, beacon_period=%d, opmode=%d, beacon_period_usec=%d\n",
62 __func__, next_beacon, beacon_period, opmode, beacon_period_usec);
36 ar9300_beacon_init(struct ath_hal *ah, u_int32_t next_beacon, u_int32_t beacon_period, u_int32_t beacon_period_fraction, 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,
135 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
786 ar9300_Stub_SetOperatingMode(struct ath_hal *ah, int opmode) argument
H A Dar9300_freebsd.c527 ar9300_reset_freebsd(struct ath_hal *ah, HAL_OPMODE opmode, argument
540 r = ar9300_reset(ah, opmode, chan, macmode,
948 HALASSERT(opmode == HAL_M_IBSS || opmode == HAL_M_HOSTAP);
949 if (opmode == HAL_M_IBSS) {
H A Dar9300.h1208 u_int32_t beacon_period_fraction, HAL_OPMODE opmode);
1390 extern HAL_BOOL ar9300_reset(struct ath_hal *ah, HAL_OPMODE opmode,
1394 extern HAL_BOOL ar9300_lean_channel_change(struct ath_hal *ah, HAL_OPMODE opmode, struct ieee80211_channel *chan,
1400 extern void ar9300_set_operating_mode(struct ath_hal *ah, int opmode);
1514 extern HAL_BOOL ar9300_reset_11n(struct ath_hal *ah, HAL_OPMODE opmode,
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312.h63 extern void ar5312SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
64 extern void ar5312RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
66 extern HAL_BOOL ar5312Reset(struct ath_hal *ah, HAL_OPMODE opmode,
H A Dar5312_misc.c100 ar5312SetupClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
102 if (ar5212Use32KHzclock(ah, opmode)) {
144 ar5312RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
146 if (ar5212Use32KHzclock(ah, opmode)) {
H A Dar5312_reset.c91 ar5312Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
126 switch (opmode) {
134 __func__, opmode);
203 ar5312RestoreClock(ah, opmode); /* move to refclk operation */
355 ar5212SetOperatingMode(ah, opmode);
499 if (opmode == HAL_M_HOSTAP)
520 ar5312SetupClock(ah, opmode);
561 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwldiag.h90 uint32_t opmode; /* operating mode */ member in struct:__anon1211
H A Dif_mwl.c590 enum ieee80211_opmode opmode, int flags,
602 switch (opmode) {
642 if (opmode == IEEE80211_M_WDS) {
655 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
664 if (opmode == IEEE80211_M_HOSTAP || opmode == IEEE80211_M_MBSS) {
711 ic->ic_opmode = opmode;
723 enum ieee80211_opmode opmode = vap->iv_opmode; local
731 switch (opmode) {
738 if (opmode
589 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...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c61 static void ar5210SetOperatingMode(struct ath_hal *, int opmode);
72 ar5210Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
87 "%s: opmode %u channel %u/0x%x %s channel\n", __func__,
88 opmode, chan->ic_freq, chan->ic_flags,
106 switch (opmode) {
114 __func__, opmode);
130 ar5210SetOperatingMode(ah, opmode);
132 switch (opmode) {
297 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
311 ar5210SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn.c404 enum ieee80211_opmode opmode, int id)
415 switch (opmode) {
429 KASSERT(0, ("wrong opmode %d\n", opmode));
472 enum ieee80211_opmode opmode, int flags,
489 if (opmode != IEEE80211_M_MONITOR) {
507 if (opmode == IEEE80211_M_IBSS ||
508 opmode == IEEE80211_M_HOSTAP) {
515 switch (opmode) {
529 KASSERT(0, ("unknown opmode
403 rtwn_vap_decrement_counters(struct rtwn_softc *sc, enum ieee80211_opmode opmode, int id) argument
471 rtwn_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...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c146 static void ar5211SetOperatingMode(struct ath_hal *, int opmode);
157 ar5211Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
179 "%s: opmode %u channel %u/0x%x %s channel\n",
180 __func__, opmode, chan->ic_freq, chan->ic_flags,
190 switch (opmode) {
198 "%s: invalid operating mode %u\n", __func__, opmode);
382 ar5211SetOperatingMode(ah, opmode);
422 if (opmode != HAL_M_HOSTAP &&
514 if (opmode == HAL_M_HOSTAP) {
543 AH_PRIVATE(ah)->ah_opmode = opmode; /* recor
2090 ar5211SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_ani.c545 HAL_OPMODE opmode, int restore)
564 ath_hal_printf(ah,"%s: chan %u/0x%x restore %d opmode %u%s\n",
565 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
568 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: chan %u/0x%x restore %d opmode %u%s\n",
569 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
572 OS_MARK(ah, AH_MARK_ANI_RESET, opmode);
594 if (opmode == HAL_M_HOSTAP) {
605 if (opmode == HAL_M_STA)
544 ar5416AniReset(struct ath_hal *ah, const struct ieee80211_channel *chan, HAL_OPMODE opmode, int restore) argument
H A Dar5416_reset.c46 static void ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode);
78 ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
112 switch (opmode) {
120 __func__, opmode);
279 ar5212SetOperatingMode(ah, opmode);
334 ar5416InitIMR(ah, opmode);
452 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
664 ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode) argument
685 if (opmode == HAL_M_HOSTAP)
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212.h514 extern HAL_BOOL ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode);
515 extern void ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
516 extern void ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
556 extern HAL_BOOL ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode,
561 extern void ar5212SetOperatingMode(struct ath_hal *ah, int opmode);
H A Dar5212_ani.c589 HAL_OPMODE opmode, int restore)
608 ath_hal_printf(ah,"%s: chan %u/0x%x restore %d opmode %u%s\n",
609 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
612 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: chan %u/0x%x restore %d opmode %u%s\n",
613 __func__, chan->ic_freq, chan->ic_flags, restore, opmode,
616 OS_MARK(ah, AH_MARK_ANI_RESET, opmode);
638 if (opmode == HAL_M_STA)
588 ar5212AniReset(struct ath_hal *ah, const struct ieee80211_channel *chan, HAL_OPMODE opmode, int restore) argument
H A Dar5212_misc.c665 ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode) argument
667 if (opmode != HAL_M_HOSTAP) {
683 ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
685 if (ar5212Use32KHzclock(ah, opmode)) {
740 ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode) argument
742 if (ar5212Use32KHzclock(ah, opmode)) {
H A Dar5212_reset.c119 ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
161 switch (opmode) {
169 __func__, opmode);
221 * XXX opmode shouldn't change either?
254 ar5212RestoreClock(ah, opmode); /* move to refclk operation */
433 ar5212SetOperatingMode(ah, opmode);
575 if (opmode == HAL_M_HOSTAP)
596 ar5212SetupClock(ah, opmode);
685 AH_PRIVATE(ah)->ah_opmode = opmode; /* record operating mode */
804 ar5212SetOperatingMode(struct ath_hal *ah, int opmode) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c487 uint32_t fwreadysig, opmode; local
494 opmode = MALO_HOSTCMD_STA_MODE;
525 if (opmode != MALO_HOSTCMD_STA_MODE)
529 malo_hal_write4(mh, MALO_REG_GEN_PTR, opmode);
H A Dif_malo.c327 enum ieee80211_opmode opmode, int flags,
339 switch (opmode) {
341 if (opmode == IEEE80211_M_STA)
348 ieee80211_opmode_name[opmode]);
353 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
362 ic->ic_opmode = opmode;
326 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
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath.c1524 enum ieee80211_opmode opmode, int flags,
1540 ic_opmode = opmode; /* default to opmode of new vap */
1541 switch (opmode) {
1583 if (sc->sc_nvaps != 0 && ic->ic_opmode != opmode) {
1615 device_printf(sc->sc_dev, "unknown opmode %d\n", opmode);
1627 if (opmode == IEEE80211_M_HOSTAP || opmode == IEEE80211_M_MBSS || opmode
1523 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...]

Completed in 311 milliseconds

12