Searched refs:sqd (Results 1 – 2 of 2) sorted by relevance
866 struct smooth_rssi_data *sqd = &padapter->recvpriv.signal_qual_data; in process_link_qual() local875 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()
285 struct smooth_rssi_data *sqd = &padapter->recvpriv.signal_qual_data; in update_network() local293 last_evm = sqd->elements[sqd->index]; in update_network()299 sqd->elements[sqd->index++] = src->Rssi; in update_network()