Searched refs:radio_attenuation (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/wireless/b43legacy/
H A Dphy.c1792 s16 radio_attenuation; b43legacy_phy_xmitpower() local
1891 radio_attenuation = phy->rfatt; b43legacy_phy_xmitpower()
1892 radio_attenuation += radio_att_delta; b43legacy_phy_xmitpower()
1898 if (radio_attenuation < 0) { b43legacy_phy_xmitpower()
1899 baseband_attenuation -= (4 * -radio_attenuation); b43legacy_phy_xmitpower()
1900 radio_attenuation = 0; b43legacy_phy_xmitpower()
1901 } else if (radio_attenuation > 9) { b43legacy_phy_xmitpower()
1902 baseband_attenuation += (4 * (radio_attenuation - 9)); b43legacy_phy_xmitpower()
1903 radio_attenuation = 9; b43legacy_phy_xmitpower()
1905 while (baseband_attenuation < 0 && radio_attenuation > 0) { b43legacy_phy_xmitpower()
1907 radio_attenuation--; b43legacy_phy_xmitpower()
1909 while (baseband_attenuation > 11 && radio_attenuation < 9) { b43legacy_phy_xmitpower()
1911 radio_attenuation++; b43legacy_phy_xmitpower()
1918 if (radio_attenuation <= 1) { b43legacy_phy_xmitpower()
1921 radio_attenuation += 2; b43legacy_phy_xmitpower()
1926 (radio_attenuation - 2); b43legacy_phy_xmitpower()
1927 radio_attenuation = 2; b43legacy_phy_xmitpower()
1929 } else if (radio_attenuation > 4 && txpower != 0) { b43legacy_phy_xmitpower()
1932 radio_attenuation -= 3; b43legacy_phy_xmitpower()
1935 radio_attenuation -= 2; b43legacy_phy_xmitpower()
1943 radio_attenuation = clamp_val(radio_attenuation, 0, 9); b43legacy_phy_xmitpower()
1944 phy->rfatt = radio_attenuation; b43legacy_phy_xmitpower()
1951 radio_attenuation, txpower); b43legacy_phy_xmitpower()
H A Dradio.c1916 u16 radio_attenuation, b43legacy_radio_set_txpower_bg()
1923 if (radio_attenuation == 0xFFFF) b43legacy_radio_set_txpower_bg()
1924 radio_attenuation = phy->rfatt; b43legacy_radio_set_txpower_bg()
1928 phy->rfatt = radio_attenuation; b43legacy_radio_set_txpower_bg()
1933 B43legacy_WARN_ON(radio_attenuation > 9); b43legacy_radio_set_txpower_bg()
1935 B43legacy_WARN_ON(radio_attenuation > 31); b43legacy_radio_set_txpower_bg()
1939 b43legacy_radio_write16(dev, 0x0043, radio_attenuation); b43legacy_radio_set_txpower_bg()
1941 radio_attenuation); b43legacy_radio_set_txpower_bg()
1914 b43legacy_radio_set_txpower_bg(struct b43legacy_wldev *dev, u16 baseband_attenuation, u16 radio_attenuation, u16 txpower) b43legacy_radio_set_txpower_bg() argument
H A Db43legacy.h831 u16 radio_attenuation, b43legacy_get_lopair()
834 return phy->_lo_pairs + (radio_attenuation b43legacy_get_lopair()
830 b43legacy_get_lopair(struct b43legacy_phy *phy, u16 radio_attenuation, u16 baseband_attenuation) b43legacy_get_lopair() argument

Completed in 99 milliseconds