Home
last modified time | relevance | path

Searched refs:txpow (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dtaxonomy.c98 char txpow[7 + 4 + 1]; /* ",txpow:" + %04hx + trailing NUL */ in ie_to_string() local
114 os_memset(txpow, 0, sizeof(txpow)); in ie_to_string()
214 os_snprintf(txpow, sizeof(txpow), in ie_to_string()
231 txpow, extcap, wps); in ie_to_string()
/freebsd/tools/tools/ath/athrd/
H A Dathrd.c781 int16_t tpcScaleReduction, int16_t powerLimit, int16_t *txpow) in calctxpower() argument
788 tpcScaleReduction, powerLimit, &minpow, &txpow[i])) { in calctxpower()
873 const struct ieee80211_channel *chans, int16_t *txpow) in dumpchannels() argument
908 txpow[i]/2, (txpow[i]%2)*5); in dumpchannels()
912 txpow[i]/2, (txpow[i]%2)*5); in dumpchannels()
916 txpow[i]/2, (txpow[i]%2)*5); in dumpchannels()
918 printf("%c %d.%d", type, txpow[i]/2, (txpow[i]%2)*5); in dumpchannels()
/freebsd/sys/dev/usb/wlan/
H A Dif_uralvar.h111 uint8_t txpow[14]; member
H A Dif_rumvar.h142 uint8_t txpow[44]; member
H A Dif_rum.c2117 power = sc->txpow[i]; in rum_set_chan()
2466 rum_eeprom_read(sc, RT2573_EEPROM_TXPOWER, sc->txpow, 14); in rum_read_eeprom()
2468 memset(sc->txpow + 14, 24, sizeof (sc->txpow) - 14); in rum_read_eeprom()
2471 DPRINTF("Channel=%d Tx power=%d\n", i + 1, sc->txpow[i]); in rum_read_eeprom()
H A Dif_ural.c1613 power = min(sc->txpow[chan - 1], 31); in ural_set_chan()
1926 ural_eeprom_read(sc, RAL_EEPROM_TXPOWER, sc->txpow, 14); in ural_read_eeprom()
/freebsd/sys/dev/ral/
H A Drt2560var.h135 uint8_t txpow[14]; member
H A Drt2661var.h134 int8_t txpow[38]; member
H A Drt2560.c2036 power = min(sc->txpow[chan - 1], 31); in rt2560_set_chan()
2435 sc->txpow[i * 2] = val & 0xff; in rt2560_read_config()
2436 sc->txpow[i * 2 + 1] = val >> 8; in rt2560_read_config()
2439 if (sc->txpow[i] > 31) in rt2560_read_config()
2440 sc->txpow[i] = 24; in rt2560_read_config()
H A Drt2661.c1921 power = sc->txpow[i]; in rt2661_set_chan()
2165 sc->txpow[i * 2] = (int8_t)(val >> 8); /* signed */ in rt2661_read_eeprom()
2167 rt2661_rf5225_1[i * 2].chan, sc->txpow[i * 2]); in rt2661_read_eeprom()
2168 sc->txpow[i * 2 + 1] = (int8_t)(val & 0xff); /* signed */ in rt2661_read_eeprom()
2170 rt2661_rf5225_1[i * 2 + 1].chan, sc->txpow[i * 2 + 1]); in rt2661_read_eeprom()
/freebsd/sys/net80211/
H A Dieee80211_ioctl.c531 struct ieee80211req_sta_txpow txpow; in ieee80211_ioctl_getstatxpow() local
534 if (ireq->i_len != sizeof(txpow)) in ieee80211_ioctl_getstatxpow()
536 error = copyin(ireq->i_data, &txpow, sizeof(txpow)); in ieee80211_ioctl_getstatxpow()
539 ni = ieee80211_find_vap_node(&vap->iv_ic->ic_sta, vap, txpow.it_macaddr); in ieee80211_ioctl_getstatxpow()
542 txpow.it_txpow = ni->ni_txpower; in ieee80211_ioctl_getstatxpow()
543 error = copyout(&txpow, ireq->i_data, sizeof(txpow)); in ieee80211_ioctl_getstatxpow()
1787 struct ieee80211req_sta_txpow txpow; in ieee80211_ioctl_setstatxpow() local
1790 if (ireq->i_len != sizeof(txpow)) in ieee80211_ioctl_setstatxpow()
1792 error = copyin(ireq->i_data, &txpow, sizeof(txpow)); in ieee80211_ioctl_setstatxpow()
1795 ni = ieee80211_find_vap_node(&vap->iv_ic->ic_sta, vap, txpow.it_macaddr); in ieee80211_ioctl_setstatxpow()
[all …]
/freebsd/sbin/ifconfig/
H A Difieee80211.c1061 int txpow; in set80211txpower() local
1063 txpow = (int) (2*v); in set80211txpower()
1064 if (txpow != 2*v) in set80211txpower()
1066 set80211(ctx, IEEE80211_IOC_TXPOWER, txpow, 0, NULL); in set80211txpower()