/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | taxonomy.c | 98 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()
|
/dragonfly/tools/tools/ath/athrd/ |
H A D | athrd.c | 794 int16_t tpcScaleReduction, int16_t powerLimit, int16_t *txpow) in calctxpower() argument 801 tpcScaleReduction, powerLimit, &minpow, &txpow[i])) { in calctxpower() 886 const struct ieee80211_channel *chans, int16_t *txpow) in dumpchannels() argument 921 txpow[i]/2, (txpow[i]%2)*5); in dumpchannels() 925 txpow[i]/2, (txpow[i]%2)*5); in dumpchannels() 929 txpow[i]/2, (txpow[i]%2)*5); in dumpchannels() 931 printf("%c %d.%d", type, txpow[i]/2, (txpow[i]%2)*5); in dumpchannels()
|
/dragonfly/sys/netproto/802_11/wlan/ |
H A D | ieee80211_ioctl.c | 546 struct ieee80211req_sta_txpow txpow; in ieee80211_ioctl_getstatxpow() local 549 if (ireq->i_len != sizeof(txpow)) in ieee80211_ioctl_getstatxpow() 551 error = copyin(ireq->i_data, &txpow, sizeof(txpow)); in ieee80211_ioctl_getstatxpow() 554 ni = ieee80211_find_vap_node(&vap->iv_ic->ic_sta, vap, txpow.it_macaddr); in ieee80211_ioctl_getstatxpow() 557 txpow.it_txpow = ni->ni_txpower; in ieee80211_ioctl_getstatxpow() 558 error = copyout(&txpow, ireq->i_data, sizeof(txpow)); in ieee80211_ioctl_getstatxpow() 1779 struct ieee80211req_sta_txpow txpow; in ieee80211_ioctl_setstatxpow() local 1782 if (ireq->i_len != sizeof(txpow)) in ieee80211_ioctl_setstatxpow() 1784 error = copyin(ireq->i_data, &txpow, sizeof(txpow)); in ieee80211_ioctl_setstatxpow() 1787 ni = ieee80211_find_vap_node(&vap->iv_ic->ic_sta, vap, txpow.it_macaddr); in ieee80211_ioctl_setstatxpow() [all …]
|
/dragonfly/sys/dev/netif/ral/ |
H A D | rt2560var.h | 139 uint8_t txpow[14]; member
|
H A D | rt2661var.h | 138 int8_t txpow[38]; member
|
H A D | rt2560.c | 2149 power = min(sc->txpow[chan - 1], 31); in rt2560_set_chan() 2537 sc->txpow[i * 2] = val & 0xff; in rt2560_read_config() 2538 sc->txpow[i * 2 + 1] = val >> 8; in rt2560_read_config() 2541 if (sc->txpow[i] > 31) in rt2560_read_config() 2542 sc->txpow[i] = 24; in rt2560_read_config()
|
H A D | rt2661.c | 2024 power = sc->txpow[i]; in rt2661_set_chan() 2265 sc->txpow[i * 2] = (int8_t)(val >> 8); /* signed */ in rt2661_read_eeprom() 2267 rt2661_rf5225_1[i * 2].chan, sc->txpow[i * 2]); in rt2661_read_eeprom() 2268 sc->txpow[i * 2 + 1] = (int8_t)(val & 0xff); /* signed */ in rt2661_read_eeprom() 2270 rt2661_rf5225_1[i * 2 + 1].chan, sc->txpow[i * 2 + 1]); in rt2661_read_eeprom()
|
/dragonfly/sys/bus/u4b/wlan/ |
H A D | if_rumvar.h | 144 uint8_t txpow[44]; member
|
H A D | if_rum.c | 2093 power = sc->txpow[i]; in rum_set_chan() 2440 rum_eeprom_read(sc, RT2573_EEPROM_TXPOWER, sc->txpow, 14); in rum_read_eeprom() 2442 memset(sc->txpow + 14, 24, sizeof (sc->txpow) - 14); in rum_read_eeprom() 2445 DPRINTF("Channel=%d Tx power=%d\n", i + 1, sc->txpow[i]); in rum_read_eeprom()
|
/dragonfly/sbin/ifconfig/ |
H A D | ifieee80211.c | 1011 int txpow; in set80211txpower() local 1013 txpow = (int) (2*v); in set80211txpower() 1014 if (txpow != 2*v) in set80211txpower() 1016 set80211(s, IEEE80211_IOC_TXPOWER, txpow, 0, NULL); in set80211txpower()
|
/dragonfly/sys/dev/netif/bwn/bwn/ |
H A D | if_bwn.c | 1705 int txpow) in bwn_addchan() argument 1712 c->ic_maxpower = 2 * txpow; in bwn_addchan() 1713 c->ic_maxregpower = txpow; in bwn_addchan()
|