Lines Matching defs:snr
1105 "bss info evt - ch %u, snr %d, rssi %d, bssid \"%pM\" "
1107 bih->ch, bih->snr, bih->snr - 95, bih->bssid,
1148 (bih->snr - 95) * 100, GFP_ATOMIC);
1665 s16 snr;
1674 snr = reply->snr;
1685 if (snr < sq_thresh->upper_threshold[0]) {
1687 "spurious upper snr threshold event: %d\n",
1688 snr);
1689 } else if ((snr < sq_thresh->upper_threshold[1]) &&
1690 (snr >= sq_thresh->upper_threshold[0])) {
1692 } else if ((snr < sq_thresh->upper_threshold[2]) &&
1693 (snr >= sq_thresh->upper_threshold[1])) {
1695 } else if ((snr < sq_thresh->upper_threshold[3]) &&
1696 (snr >= sq_thresh->upper_threshold[2])) {
1698 } else if (snr >= sq_thresh->upper_threshold[3]) {
1703 if (snr > sq_thresh->lower_threshold[0]) {
1705 "spurious lower snr threshold event: %d\n",
1707 } else if ((snr > sq_thresh->lower_threshold[1]) &&
1708 (snr <= sq_thresh->lower_threshold[0])) {
1710 } else if ((snr > sq_thresh->lower_threshold[2]) &&
1711 (snr <= sq_thresh->lower_threshold[1])) {
1713 } else if ((snr > sq_thresh->lower_threshold[3]) &&
1714 (snr <= sq_thresh->lower_threshold[2])) {
1716 } else if (snr <= sq_thresh->lower_threshold[3]) {
1722 lower_snr_threshold = ath6kl_wmi_get_lower_threshold(snr, sq_thresh,
1724 upper_snr_threshold = ath6kl_wmi_get_upper_threshold(snr, sq_thresh,
1734 "snr: %d, threshold: %d, lower: %d, upper: %d\n",
1735 snr, new_threshold,
1740 ath6kl_err("unable to configure snr threshold\n");