Searched refs:max_pwr (Results 1 - 10 of 10) sorted by relevance

/drivers/net/wireless/mwifiex/
H A Dcfg80211.c191 u8 first_chan = 0, next_chan = 0, max_pwr = 0; local
222 max_pwr = ch->max_power;
228 ch->max_power == max_pwr) {
235 t->chans.max_power = max_pwr;
239 max_pwr = ch->max_power;
248 t->chans.max_power = max_pwr;
/drivers/net/wireless/libertas/
H A Dcmd.c752 u8 first_channel = 0, next_chan = 0, max_pwr = 0; local
796 max_pwr = ch->max_power;
802 (ch->max_power == max_pwr)) {
810 max_pwr);
814 t->chans.max_power = max_pwr;
823 num_parsed_chan, max_pwr);
827 t->chans.max_power = max_pwr;
/drivers/net/wireless/ath/ath5k/
H A Dphy.c2904 s16 min_pwr, max_pwr; local
2910 max_pwr = table_max[0];
2920 for (i = 0; pwr_idx <= max_pwr &&
3437 pcinfo_L->max_pwr, pcinfo_R->max_pwr);
3522 * @max_pwr: The maximum tx power requested in 0.5dB steps
3527 ath5k_setup_rate_powertable(struct ath5k_hw *ah, u16 max_pwr, argument
3534 /* max_pwr is power level we got from driver/user in 0.5dB
3536 max_pwr *= 2;
3537 max_pwr
[all...]
H A Deeprom.c778 chinfo[pier].max_pwr = pd->pd_pwr[10];
1114 gen_chan_info[i].max_pwr = chan_pcal_info->pwr_x0[3];
1117 gen_chan_info[i].max_pwr = (s8) ((val >> 8) & 0xff);
1263 chinfo[pier].max_pwr =
H A Deeprom.h327 s16 max_pwr; member in struct:ath5k_chan_pcal_info
/drivers/net/wireless/b43legacy/
H A Dphy.c1786 int max_pwr; local
1842 max_pwr = dev->dev->bus->sprom.maxpwr_bg;
1847 max_pwr -= 0x3;
1848 if (unlikely(max_pwr <= 0)) {
1851 max_pwr = 74; /* fake it */
1852 dev->dev->bus->sprom.maxpwr_bg = max_pwr;
1862 max_pwr = min(REG_MAX_PWR * 4
1864 - 0x6, max_pwr);
1867 * and limit it - max_pwr is already in Q5.2 */
1868 desired_pwr = clamp_val(phy->power_level << 2, 0, max_pwr);
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c1407 u8 *max_pwr, int txp_rate_idx)
1417 wlc_phy_txpower_sromlimit_get_nphy(pi, channel, max_pwr,
1423 *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
1426 *max_pwr = BRCMS_TXPWR_MAX;
1437 *max_pwr = pi->hwtxpwr[i];
1441 *max_pwr =
1445 *max_pwr =
1448 *max_pwr =
1488 s32 *max_pwr, s32 *min_pwr, u32 *step_pwr)
2046 u8 min_pwr, max_pwr; local
1406 wlc_phy_txpower_sromlimit(struct brcms_phy_pub *ppi, uint channel, u8 *min_pwr, u8 *max_pwr, int txp_rate_idx) argument
1487 wlc_phy_txpower_boardlimit_band(struct brcms_phy_pub *ppi, uint bandunit, s32 *max_pwr, s32 *min_pwr, u32 *step_pwr) argument
[all...]
H A Dphy_int.h1002 u8 *max_pwr, u8 rate_id);
H A Dphy_n.c28771 wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr, argument
28779 *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
28782 *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
28785 *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
28788 *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
28791 *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
/drivers/net/wireless/b43/
H A Dphy_g.c2887 unsigned int max_pwr; local
2915 max_pwr = dev->dev->bus_sprom->maxpwr_bg;
2917 max_pwr -= 3; /* minus 0.75 */
2918 if (unlikely(max_pwr >= INT_TO_Q52(30/*dBm*/))) {
2921 max_pwr = INT_TO_Q52(20); /* fake it */
2922 dev->dev->bus_sprom->maxpwr_bg = max_pwr;
2930 /* And limit it. max_pwr already is Q5.2 */
2931 desired_pwr = clamp_val(desired_pwr, 0, max_pwr);
2939 Q52_ARG(max_pwr));

Completed in 208 milliseconds