Lines Matching refs:rxdesc
1921 struct hfa384x_rx_frame rxdesc; in prism2_rx() local
1943 res = hfa384x_from_bap(dev, BAP0, &rxdesc, sizeof(rxdesc)); in prism2_rx()
1955 len = le16_to_cpu(rxdesc.data_len); in prism2_rx()
1956 hdr_len = sizeof(rxdesc); in prism2_rx()
1957 status = le16_to_cpu(rxdesc.status); in prism2_rx()
1975 hostap_dump_rx_header(dev->name, &rxdesc); in prism2_rx()
1988 skb_put_data(skb, &rxdesc, hdr_len); in prism2_rx()
2021 struct hfa384x_rx_frame *rxdesc; in hostap_rx_skb() local
2026 rx_hdrlen = sizeof(*rxdesc); in hostap_rx_skb()
2027 if (skb->len < sizeof(*rxdesc)) { in hostap_rx_skb()
2030 skb->len >= sizeof(*rxdesc) - 30) { in hostap_rx_skb()
2038 rxdesc = (struct hfa384x_rx_frame *) skb->data; in hostap_rx_skb()
2041 skb->len >= sizeof(*rxdesc)) in hostap_rx_skb()
2042 hostap_dump_rx_header(dev->name, rxdesc); in hostap_rx_skb()
2044 if (le16_to_cpu(rxdesc->status) & HFA384X_RX_STATUS_FCSERR && in hostap_rx_skb()
2055 stats.mac_time = le32_to_cpu(rxdesc->time); in hostap_rx_skb()
2056 stats.signal = rxdesc->signal - local->rssi_to_dBm; in hostap_rx_skb()
2057 stats.noise = rxdesc->silence - local->rssi_to_dBm; in hostap_rx_skb()
2058 stats.rate = rxdesc->rate; in hostap_rx_skb()
2061 hdrlen = hostap_80211_get_hdrlen(rxdesc->frame_control); in hostap_rx_skb()
2066 &rxdesc->frame_control, hdrlen); in hostap_rx_skb()