Searched refs:txpow (Results 1 - 11 of 11) sorted by relevance

/freebsd-11.0-release/sys/dev/usb/wlan/
H A Dif_uralvar.h112 uint8_t txpow[14]; member in struct:ural_softc
H A Dif_rumvar.h144 uint8_t txpow[44]; member in struct:rum_softc
H A Dif_rum.c2085 power = sc->txpow[i];
2432 rum_eeprom_read(sc, RT2573_EEPROM_TXPOWER, sc->txpow, 14);
2434 memset(sc->txpow + 14, 24, sizeof (sc->txpow) - 14);
2437 DPRINTF("Channel=%d Tx power=%d\n", i + 1, sc->txpow[i]);
H A Dif_ural.c1638 power = min(sc->txpow[chan - 1], 31);
1951 ural_eeprom_read(sc, RAL_EEPROM_TXPOWER, sc->txpow, 14);
/freebsd-11.0-release/sys/dev/ral/
H A Drt2560var.h135 uint8_t txpow[14]; member in struct:rt2560_softc
H A Drt2661var.h134 int8_t txpow[38]; member in struct:rt2661_softc
H A Drt2560.c2061 power = min(sc->txpow[chan - 1], 31);
2461 sc->txpow[i * 2] = val & 0xff;
2462 sc->txpow[i * 2 + 1] = val >> 8;
2465 if (sc->txpow[i] > 31)
2466 sc->txpow[i] = 24;
H A Drt2661.c1948 power = sc->txpow[i];
2189 sc->txpow[i * 2] = (int8_t)(val >> 8); /* signed */
2191 rt2661_rf5225_1[i * 2].chan, sc->txpow[i * 2]);
2192 sc->txpow[i * 2 + 1] = (int8_t)(val & 0xff); /* signed */
2194 rt2661_rf5225_1[i * 2 + 1].chan, sc->txpow[i * 2 + 1]);
/freebsd-11.0-release/tools/tools/ath/athrd/
H A Dathrd.c783 int16_t tpcScaleReduction, int16_t powerLimit, int16_t *txpow)
790 tpcScaleReduction, powerLimit, &minpow, &txpow[i])) {
875 const struct ieee80211_channel *chans, int16_t *txpow)
910 txpow[i]/2, (txpow[i]%2)*5);
914 txpow[i]/2, (txpow[i]%2)*5);
918 txpow[i]/2, (txpow[i]%2)*5);
920 printf("%c %d.%d", type, txpow[
781 calctxpower(struct ath_hal *ah, int nchan, const struct ieee80211_channel *chans, int16_t tpcScaleReduction, int16_t powerLimit, int16_t *txpow) argument
874 dumpchannels(struct ath_hal *ah, int nc, const struct ieee80211_channel *chans, int16_t *txpow) argument
[all...]
/freebsd-11.0-release/sys/net80211/
H A Dieee80211_ioctl.c534 struct ieee80211req_sta_txpow txpow; local
537 if (ireq->i_len != sizeof(txpow))
539 error = copyin(ireq->i_data, &txpow, sizeof(txpow));
542 ni = ieee80211_find_vap_node(&vap->iv_ic->ic_sta, vap, txpow.it_macaddr);
545 txpow.it_txpow = ni->ni_txpower;
546 error = copyout(&txpow, ireq->i_data, sizeof(txpow));
1753 struct ieee80211req_sta_txpow txpow; local
1756 if (ireq->i_len != sizeof(txpow))
[all...]
/freebsd-11.0-release/sbin/ifconfig/
H A Difieee80211.c976 int txpow; local
978 txpow = (int) (2*v);
979 if (txpow != 2*v)
981 set80211(s, IEEE80211_IOC_TXPOWER, txpow, 0, NULL);
4181 else if (iseq(arg, "txpow"))

Completed in 214 milliseconds