| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | eeprom.c | 338 s8 target_power, s8 nss_delta, s8 *max_power) in mt76_apply_array_limit() argument 347 *max_power = max(*max_power, pwr[i]); in mt76_apply_array_limit() 357 s8 max_power = -128; in mt76_apply_multi_array_limit() local 368 target_power, nss_delta, &max_power); in mt76_apply_multi_array_limit() 399 s8 max_power = 0; in mt76_get_rate_power_limits() local 449 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits() 454 target_power, txs_delta, &max_power); in mt76_get_rate_power_limits() 466 max_power_backoff = max_power; in mt76_get_rate_power_limits() 490 return max_power; in mt76_get_rate_power_limits()
|
| H A D | mac80211.c | 19 .max_power = 30, \ 26 .max_power = 30, \ 33 .max_power = 30, \
|
| H A D | mt76_connac_mcu.c | 2040 int max_power = is_mt7921(dev) ? 127 : 63; in mt76_connac_mcu_build_sku() local 2043 memset(sku, max_power, MT_SKU_POWER_LIMIT); in mt76_connac_mcu_build_sku()
|
| /freebsd/sys/dev/sff/ |
| H A D | sfp_fdt.c | 53 uint32_t max_power; /* in mW */ member 109 (void)device_get_property(dev, "maximum-power-milliwatt", &sc->max_power, in sfp_fdt_attach() 110 sizeof(sc->max_power), DEVICE_PROP_UINT32); in sfp_fdt_attach()
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-eeprom-parse.c | |
| H A D | iwl-nvm-parse.c | 415 channel->max_power = IWL_DEFAULT_MAX_TX_POWER; in iwl_init_channel_map() 432 channel->hw_value, channel->max_power); in iwl_init_channel_map()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
| H A D | init.c | 200 chan->max_power = min_t(int, chan->max_reg_power, in mt76x2_init_txpower()
|
| /freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/ |
| H A D | trans.c | 117 u8 max_power) in iwl_pcie_alloc_fw_monitor_block() argument 131 for (power = max_power; power >= 11; power--) { in iwl_pcie_alloc_fw_monitor_block() 147 if (power != max_power) in iwl_pcie_alloc_fw_monitor_block() 151 (unsigned long)BIT(max_power - 10)); in iwl_pcie_alloc_fw_monitor_block() 158 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) in iwl_pcie_alloc_fw_monitor() argument 160 if (!max_power) { in iwl_pcie_alloc_fw_monitor() 162 max_power = 26; in iwl_pcie_alloc_fw_monitor() 164 max_power += 11; in iwl_pcie_alloc_fw_monitor() 167 if (WARN(max_power > 26, in iwl_pcie_alloc_fw_monitor() 169 max_power)) in iwl_pcie_alloc_fw_monitor() [all …]
|
| H A D | internal.h | 1106 void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power);
|
| /freebsd/sys/dev/usb/ |
| H A D | usb_device.c | 676 uint16_t max_power; in usbd_set_config_index() local 747 max_power = udev->parent_hub->hub->portpower; in usbd_set_config_index() 749 max_power = USB_MAX_POWER; in usbd_set_config_index() 752 if (power > max_power) { in usbd_set_config_index() 753 DPRINTFN(0, "power exceeded %d > %d\n", power, max_power); in usbd_set_config_index()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | init.c | 490 chan->max_power = min_t(int, chan->max_reg_power, target_power); in mt7603_init_txpower()
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/ |
| H A D | channel.c | 433 maxpwr = QDB(ch->max_power) - delta; in brcms_c_channel_reg_limits()
|
| H A D | mac80211_if.c | 58 .max_power = 19, \ 67 .max_power = 21, \
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
| H A D | init.c | 315 chan->max_power = min_t(int, chan->max_reg_power, in mt7615_init_txpower()
|
| /freebsd/sys/dev/iwx/ |
| H A D | if_iwx.c | 865 iwx_alloc_fw_monitor_block(struct iwx_softc *sc, uint8_t max_power, 876 for (power = max_power; power >= min_power; power--) { 894 if (power != max_power) 898 (unsigned long)(1 << (max_power - 10))); 904 iwx_alloc_fw_monitor(struct iwx_softc *sc, uint8_t max_power) 906 if (!max_power) { 908 max_power = 26; 910 max_power += 11; 913 if (max_power > 26) { 916 "check the FW TLV\n", DEVNAME(sc), max_power); [all …]
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | reg.c | 213 ch->maxpower = channel->max_power * 2; in ath12k_reg_update_chan_list()
|
| H A D | mac.c | 33 .max_power = 30, \ 42 .max_power = 30, \ 51 .max_power = 30, \ 1347 arg.max_power = channel->max_power; in ath12k_mac_monitor_vdev_start() 11170 arg.max_power = chandef->chan->max_power; in ath12k_mac_vdev_start_restart()
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | mac.c | 1084 arg.channel.max_power = channel->max_power * 2; in ath10k_monitor_vdev_start() 1530 arg.channel.max_power = chandef->chan->max_power * 2; in ath10k_vdev_start_restart() 3461 ch->max_power = channel->max_power * 2; in ath10k_update_channel_list() 3481 ch->freq, ch->max_power, ch->max_reg_power, in ath10k_update_channel_list() 9572 .max_power = 30, \ 9581 .max_power = 30, \
|
| H A D | wmi.h | 2062 u8 max_power; member 2090 u32 max_power; member
|
| H A D | wmi.c | 1762 ch->max_power = arg->max_power; in ath10k_wmi_put_wmi_channel() 1765 ch->max_tx_power = arg->max_power; in ath10k_wmi_put_wmi_channel() 7342 cmd->chan.flags, arg->channel.max_power); in ath10k_wmi_op_gen_vdev_start()
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | reg.c | 181 ch->maxpower = channel->max_power * 2; in ath11k_reg_update_chan_list()
|
| H A D | mac.c | 34 .max_power = 30, \ 43 .max_power = 30, \ 52 .max_power = 30, \ 942 arg.channel.max_power = channel->max_power; in ath11k_mac_monitor_vdev_start() 7584 arg.channel.max_power = chandef->chan->max_power; in ath11k_mac_vdev_start_restart()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
| H A D | init.c | 332 chan->max_power = min_t(int, chan->max_reg_power, in __mt7915_init_txpower()
|
| /freebsd/sys/compat/linuxkpi/common/include/net/ |
| H A D | cfg80211.h | 153 int max_power; member
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
| H A D | init.c | 367 chan->max_power = min_t(int, chan->max_reg_power, in __mt7996_init_txpower()
|