Lines Matching refs:rs
628 struct ath_rx_status *rs, in ath_edma_get_buffers() argument
648 ret = ath9k_hw_process_rxdesc_edma(ah, rs, skb->data); in ath_edma_get_buffers()
680 struct ath_rx_status *rs, in ath_edma_get_next_rx_buf() argument
685 while (ath_edma_get_buffers(sc, qtype, rs, &bf)) { in ath_edma_get_next_rx_buf()
695 struct ath_rx_status *rs) in ath_get_next_rx_buf() argument
725 ret = ath9k_hw_rxprocdesc(ah, ds, rs); in ath_get_next_rx_buf()
759 ret = ath9k_hw_rxprocdesc(ah, ds, rs); in ath_get_next_rx_buf()
765 rs->rs_datalen = 0; in ath_get_next_rx_buf()
766 rs->rs_more = true; in ath_get_next_rx_buf()
786 static void ath9k_process_tsf(struct ath_rx_status *rs, in ath9k_process_tsf() argument
792 rxs->mactime = (tsf & ~0xffffffffULL) | rs->rs_tstamp; in ath9k_process_tsf()
793 if (rs->rs_tstamp > tsf_lower && in ath9k_process_tsf()
794 unlikely(rs->rs_tstamp - tsf_lower > 0x10000000)) in ath9k_process_tsf()
797 if (rs->rs_tstamp < tsf_lower && in ath9k_process_tsf()
798 unlikely(tsf_lower - rs->rs_tstamp > 0x10000000)) in ath9k_process_tsf()
948 struct ath_rx_status *rs) in ath9k_antenna_check() argument
961 if (sc->rx.defant != rs->rs_antenna) { in ath9k_antenna_check()
963 ath_setdefantenna(sc, rs->rs_antenna); in ath9k_antenna_check()
970 ath_ant_comb_scan(sc, rs); in ath9k_antenna_check()
972 ath_ant_comb_scan(sc, rs); in ath9k_antenna_check()
977 struct ath_rx_status *rs, struct ieee80211_rx_status *rxs) in ath9k_apply_ampdu_details() argument
979 if (rs->rs_isaggr) { in ath9k_apply_ampdu_details()
984 if (!rs->rs_moreaggr) { in ath9k_apply_ampdu_details()
989 if (rs->rs_flags & ATH9K_RX_DELIM_CRC_PRE) in ath9k_apply_ampdu_details()
1003 struct ath_rx_status rs; in ath_rx_tasklet() local
1025 memset(&rs, 0, sizeof(rs)); in ath_rx_tasklet()
1027 bf = ath_edma_get_next_rx_buf(sc, &rs, qtype); in ath_rx_tasklet()
1029 bf = ath_get_next_rx_buf(sc, &rs); in ath_rx_tasklet()
1050 retval = ath9k_rx_skb_preprocess(sc, hdr_skb, &rs, rxs, in ath_rx_tasklet()
1083 skb_put(skb, rs.rs_datalen + ah->caps.rx_status_len); in ath_rx_tasklet()
1087 if (!rs.rs_more) in ath_rx_tasklet()
1088 ath9k_cmn_rx_skb_postprocess(common, hdr_skb, &rs, in ath_rx_tasklet()
1091 if (rs.rs_more) { in ath_rx_tasklet()
1134 ath_rx_ps(sc, skb, rs.is_mybeacon); in ath_rx_tasklet()
1137 ath9k_antenna_check(sc, &rs); in ath_rx_tasklet()
1138 ath9k_apply_ampdu_details(sc, &rs, rxs); in ath_rx_tasklet()
1139 ath_debug_rate_stats(sc, &rs, skb); in ath_rx_tasklet()
1143 ath_dynack_sample_ack_ts(sc->sc_ah, skb, rs.rs_tstamp); in ath_rx_tasklet()