Lines Matching defs:hdr

5113 static u32 rtl8xxxu_queue_select(struct ieee80211_hdr *hdr, struct sk_buff *skb)
5117 if (unlikely(ieee80211_is_beacon(hdr->frame_control)))
5119 else if (ieee80211_is_mgmt(hdr->frame_control))
5236 struct ieee80211_hdr *hdr)
5238 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr;
5279 rtl8xxxu_fill_txdesc_v1(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr,
5287 u8 *qc = ieee80211_get_qos_ctl(hdr);
5296 seq_number = IEEE80211_SEQ_TO_SN(le16_to_cpu(hdr->seq_ctrl));
5300 if (ieee80211_is_data(hdr->frame_control))
5310 if (ieee80211_is_mgmt(hdr->frame_control)) {
5317 if (ieee80211_is_data_qos(hdr->frame_control))
5344 rtl8xxxu_fill_txdesc_v2(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr,
5353 u8 *qc = ieee80211_get_qos_ctl(hdr);
5366 seq_number = IEEE80211_SEQ_TO_SN(le16_to_cpu(hdr->seq_ctrl));
5369 if (ieee80211_is_data(hdr->frame_control)) {
5381 if (ieee80211_is_mgmt(hdr->frame_control)) {
5418 rtl8xxxu_fill_txdesc_v3(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr,
5427 u8 *qc = ieee80211_get_qos_ctl(hdr);
5432 seq_number = IEEE80211_SEQ_TO_SN(le16_to_cpu(hdr->seq_ctrl));
5434 if (ieee80211_is_data(hdr->frame_control)) {
5454 if (ieee80211_is_mgmt(hdr->frame_control)) {
5461 if (ieee80211_is_data_qos(hdr->frame_control)) {
5501 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
5536 if (ieee80211_is_action(hdr->frame_control))
5537 rtl8xxxu_dump_action(dev, hdr);
5544 queue = rtl8xxxu_queue_select(hdr, skb);
5556 if (is_multicast_ether_addr(ieee80211_get_DA(hdr)) ||
5557 is_broadcast_ether_addr(ieee80211_get_DA(hdr))) {
5587 if (ieee80211_is_data_qos(hdr->frame_control) && sta) {
5590 u8 *qc = ieee80211_get_qos_ctl(hdr);
5606 if (ieee80211_is_data_qos(hdr->frame_control) &&
5626 priv->fops->fill_txdesc(hw, hdr, tx_info, tx_desc, sgi, short_preamble,
5708 struct ieee80211_hdr *hdr,
5714 ether_addr_equal(priv->vifs[port_num]->bss_conf.bssid, hdr->addr2);
5728 u32 rxmcs, struct ieee80211_hdr *hdr,
5742 !ieee80211_is_ctl(hdr->frame_control) &&
5744 (rtl8xxxu_is_packet_match_bssid(priv, hdr, 0) ||
5745 rtl8xxxu_is_packet_match_bssid(priv, hdr, 1));
5762 u32 rxmcs, struct ieee80211_hdr *hdr,
5776 u32 rxmcs, struct ieee80211_hdr *hdr,
5781 !ieee80211_is_ctl(hdr->frame_control) &&
5783 (rtl8xxxu_is_packet_match_bssid(priv, hdr, 0) ||
5784 rtl8xxxu_is_packet_match_bssid(priv, hdr, 1));
5805 u32 rxmcs, struct ieee80211_hdr *hdr,
5820 u32 rxmcs, struct ieee80211_hdr *hdr,
5831 rxmcs, hdr, crc_icv_err);
5836 rxmcs, hdr, crc_icv_err);
5841 rxmcs, hdr, crc_icv_err);
6284 struct ieee80211_hdr *hdr;
6294 struct ieee80211_hdr *hdr = iter_data->hdr;
6303 if (!(ether_addr_equal(vif->addr, hdr->addr1) ||
6304 ieee80211_is_beacon(hdr->frame_control)))
6307 sta = ieee80211_find_sta_by_ifaddr(priv->hw, hdr->addr2,
6316 static inline u8 *get_hdr_bssid(struct ieee80211_hdr *hdr)
6318 __le16 fc = hdr->frame_control;
6322 bssid = hdr->addr1;
6324 bssid = hdr->addr2;
6326 bssid = hdr->addr3;
6333 struct ieee80211_hdr *hdr)
6337 if (ieee80211_is_ctl(hdr->frame_control))
6341 data.hdr = hdr;
6343 data.bssid = get_hdr_bssid(hdr);
6407 struct ieee80211_hdr *hdr;
6415 hdr = (struct ieee80211_hdr *)skb->data;
6420 hdr,
6425 hdr);
6522 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
6526 rx_desc->rxmcs, hdr,
6531 hdr);