Lines Matching refs:rx_status

634 	struct ieee80211_rx_status rx_status;  in mac80211_hwsim_tx_frame_no_nl()  local
641 memset(&rx_status, 0, sizeof(rx_status)); in mac80211_hwsim_tx_frame_no_nl()
642 rx_status.flag |= RX_FLAG_MACTIME_MPDU; in mac80211_hwsim_tx_frame_no_nl()
643 rx_status.freq = data->channel->center_freq; in mac80211_hwsim_tx_frame_no_nl()
644 rx_status.band = data->channel->band; in mac80211_hwsim_tx_frame_no_nl()
645 rx_status.rate_idx = info->control.rates[0].idx; in mac80211_hwsim_tx_frame_no_nl()
647 rx_status.flag |= RX_FLAG_HT; in mac80211_hwsim_tx_frame_no_nl()
649 rx_status.flag |= RX_FLAG_40MHZ; in mac80211_hwsim_tx_frame_no_nl()
651 rx_status.flag |= RX_FLAG_SHORT_GI; in mac80211_hwsim_tx_frame_no_nl()
653 rx_status.signal = data->power_level - 50; in mac80211_hwsim_tx_frame_no_nl()
686 rx_status.mactime = in mac80211_hwsim_tx_frame_no_nl()
688 memcpy(IEEE80211_SKB_RXCB(nskb), &rx_status, sizeof(rx_status)); in mac80211_hwsim_tx_frame_no_nl()
1559 struct ieee80211_rx_status rx_status; in hwsim_cloned_frame_received_nl() local
1600 memset(&rx_status, 0, sizeof(rx_status)); in hwsim_cloned_frame_received_nl()
1601 rx_status.freq = data2->channel->center_freq; in hwsim_cloned_frame_received_nl()
1602 rx_status.band = data2->channel->band; in hwsim_cloned_frame_received_nl()
1603 rx_status.rate_idx = nla_get_u32(info->attrs[HWSIM_ATTR_RX_RATE]); in hwsim_cloned_frame_received_nl()
1604 rx_status.signal = nla_get_u32(info->attrs[HWSIM_ATTR_SIGNAL]); in hwsim_cloned_frame_received_nl()
1606 memcpy(IEEE80211_SKB_RXCB(skb), &rx_status, sizeof(rx_status)); in hwsim_cloned_frame_received_nl()