Lines Matching refs:rssi
1355 static u8 ath6kl_wmi_get_upper_threshold(s16 rssi, in ath6kl_wmi_get_upper_threshold() argument
1364 if (rssi < sq_thresh->upper_threshold[index]) { in ath6kl_wmi_get_upper_threshold()
1373 static u8 ath6kl_wmi_get_lower_threshold(s16 rssi, in ath6kl_wmi_get_lower_threshold() argument
1382 if (rssi > sq_thresh->lower_threshold[index]) { in ath6kl_wmi_get_lower_threshold()
1416 s16 rssi; in ath6kl_wmi_rssi_threshold_event_rx() local
1424 rssi = a_sle16_to_cpu(reply->rssi); in ath6kl_wmi_rssi_threshold_event_rx()
1435 if (rssi < sq_thresh->upper_threshold[0]) { in ath6kl_wmi_rssi_threshold_event_rx()
1438 rssi); in ath6kl_wmi_rssi_threshold_event_rx()
1439 } else if ((rssi < sq_thresh->upper_threshold[1]) && in ath6kl_wmi_rssi_threshold_event_rx()
1440 (rssi >= sq_thresh->upper_threshold[0])) { in ath6kl_wmi_rssi_threshold_event_rx()
1442 } else if ((rssi < sq_thresh->upper_threshold[2]) && in ath6kl_wmi_rssi_threshold_event_rx()
1443 (rssi >= sq_thresh->upper_threshold[1])) { in ath6kl_wmi_rssi_threshold_event_rx()
1445 } else if ((rssi < sq_thresh->upper_threshold[3]) && in ath6kl_wmi_rssi_threshold_event_rx()
1446 (rssi >= sq_thresh->upper_threshold[2])) { in ath6kl_wmi_rssi_threshold_event_rx()
1448 } else if ((rssi < sq_thresh->upper_threshold[4]) && in ath6kl_wmi_rssi_threshold_event_rx()
1449 (rssi >= sq_thresh->upper_threshold[3])) { in ath6kl_wmi_rssi_threshold_event_rx()
1451 } else if ((rssi < sq_thresh->upper_threshold[5]) && in ath6kl_wmi_rssi_threshold_event_rx()
1452 (rssi >= sq_thresh->upper_threshold[4])) { in ath6kl_wmi_rssi_threshold_event_rx()
1454 } else if (rssi >= sq_thresh->upper_threshold[5]) { in ath6kl_wmi_rssi_threshold_event_rx()
1459 if (rssi > sq_thresh->lower_threshold[0]) { in ath6kl_wmi_rssi_threshold_event_rx()
1462 rssi, sq_thresh->lower_threshold[0]); in ath6kl_wmi_rssi_threshold_event_rx()
1463 } else if ((rssi > sq_thresh->lower_threshold[1]) && in ath6kl_wmi_rssi_threshold_event_rx()
1464 (rssi <= sq_thresh->lower_threshold[0])) { in ath6kl_wmi_rssi_threshold_event_rx()
1466 } else if ((rssi > sq_thresh->lower_threshold[2]) && in ath6kl_wmi_rssi_threshold_event_rx()
1467 (rssi <= sq_thresh->lower_threshold[1])) { in ath6kl_wmi_rssi_threshold_event_rx()
1469 } else if ((rssi > sq_thresh->lower_threshold[3]) && in ath6kl_wmi_rssi_threshold_event_rx()
1470 (rssi <= sq_thresh->lower_threshold[2])) { in ath6kl_wmi_rssi_threshold_event_rx()
1472 } else if ((rssi > sq_thresh->lower_threshold[4]) && in ath6kl_wmi_rssi_threshold_event_rx()
1473 (rssi <= sq_thresh->lower_threshold[3])) { in ath6kl_wmi_rssi_threshold_event_rx()
1475 } else if ((rssi > sq_thresh->lower_threshold[5]) && in ath6kl_wmi_rssi_threshold_event_rx()
1476 (rssi <= sq_thresh->lower_threshold[4])) { in ath6kl_wmi_rssi_threshold_event_rx()
1478 } else if (rssi <= sq_thresh->lower_threshold[5]) { in ath6kl_wmi_rssi_threshold_event_rx()
1484 lower_rssi_threshold = ath6kl_wmi_get_lower_threshold(rssi, sq_thresh, in ath6kl_wmi_rssi_threshold_event_rx()
1486 upper_rssi_threshold = ath6kl_wmi_get_upper_threshold(rssi, sq_thresh, in ath6kl_wmi_rssi_threshold_event_rx()
1626 int ath6kl_wmi_set_rssi_filter_cmd(struct wmi *wmi, u8 if_idx, s8 rssi) in ath6kl_wmi_set_rssi_filter_cmd() argument
1637 cmd->rssi = rssi; in ath6kl_wmi_set_rssi_filter_cmd()