Home
last modified time | relevance | path

Searched refs:nrssi (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/
Dradio.c356 delta = 0x1F - phy->nrssi[0]; in b43legacy_nrssi_mem_update()
621 phy->nrssi[0] = nrssi0; in b43legacy_calc_nrssi_slope()
622 phy->nrssi[1] = nrssi1; in b43legacy_calc_nrssi_slope()
751 phy->nrssi[0] = nrssi1; in b43legacy_calc_nrssi_slope()
752 phy->nrssi[1] = nrssi0; in b43legacy_calc_nrssi_slope()
819 threshold = (phy->nrssi[1] - phy->nrssi[0]) * 32; in b43legacy_calc_nrssi_threshold()
820 threshold += 20 * (phy->nrssi[0] + 1); in b43legacy_calc_nrssi_threshold()
823 threshold = phy->nrssi[1] - 5; in b43legacy_calc_nrssi_threshold()
871 a = a * (phy->nrssi[1] - phy->nrssi[0]); in b43legacy_calc_nrssi_threshold()
872 a += (phy->nrssi[0] << 6); in b43legacy_calc_nrssi_threshold()
[all …]
Db43legacy.h498 s16 nrssi[2]; member
Dphy.c1079 if (phy->nrssi[0] == -1000) { in b43legacy_phy_initg()
1080 B43legacy_WARN_ON(phy->nrssi[1] != -1000); in b43legacy_phy_initg()
1083 B43legacy_WARN_ON(phy->nrssi[1] == -1000); in b43legacy_phy_initg()
Dmain.c3111 for (i = 0; i < ARRAY_SIZE(phy->nrssi); i++) in setup_struct_phy_for_init()
3112 phy->nrssi[i] = -1000; in setup_struct_phy_for_init()
3224 for (i = 0; i < ARRAY_SIZE(phy->nrssi); i++) in prepare_phy_data_for_init()
3225 phy->nrssi[i] = -1000; in prepare_phy_data_for_init()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_g.c399 delta = 0x1F - gphy->nrssi[0]; in b43_nrssi_mem_update()
660 gphy->nrssi[0] = nrssi1; in b43_calc_nrssi_slope()
661 gphy->nrssi[1] = nrssi0; in b43_calc_nrssi_slope()
730 a = a * (gphy->nrssi[1] - gphy->nrssi[0]); in b43_calc_nrssi_threshold()
731 a += (gphy->nrssi[0] << 6); in b43_calc_nrssi_threshold()
739 b = b * (gphy->nrssi[1] - gphy->nrssi[0]); in b43_calc_nrssi_threshold()
740 b += (gphy->nrssi[0] << 6); in b43_calc_nrssi_threshold()
2084 if (gphy->nrssi[0] == -1000) { in b43_phy_initg()
2085 B43_WARN_ON(gphy->nrssi[1] != -1000); in b43_phy_initg()
2480 for (i = 0; i < ARRAY_SIZE(gphy->nrssi); i++) in b43_gphy_op_prepare_structs()
[all …]
Dphy_g.h178 s16 nrssi[2]; member