Home
last modified time | relevance | path

Searched refs:sqd (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/rtl8712/
Drtl8712_recv.c866 struct smooth_rssi_data *sqd = &padapter->recvpriv.signal_qual_data; in process_link_qual() local
875 if (sqd->total_num++ >= PHY_LINKQUALITY_SLID_WIN_MAX) { in process_link_qual()
876 sqd->total_num = PHY_LINKQUALITY_SLID_WIN_MAX; in process_link_qual()
877 last_evm = sqd->elements[sqd->index]; in process_link_qual()
878 sqd->total_val -= last_evm; in process_link_qual()
880 sqd->total_val += pattrib->signal_qual; in process_link_qual()
881 sqd->elements[sqd->index++] = pattrib->signal_qual; in process_link_qual()
882 if (sqd->index >= PHY_LINKQUALITY_SLID_WIN_MAX) in process_link_qual()
883 sqd->index = 0; in process_link_qual()
886 tmpVal = sqd->total_val / sqd->total_num; in process_link_qual()
Drtl871x_mlme.c285 struct smooth_rssi_data *sqd = &padapter->recvpriv.signal_qual_data; in update_network() local
293 last_evm = sqd->elements[sqd->index]; in update_network()
299 sqd->elements[sqd->index++] = src->Rssi; in update_network()