Lines Matching refs:wh
800 struct ieee80211_hdr wh; member
811 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header()
813 if (hdrlen != sizeof(tr->wh)) { in mwl8k_remove_dma_header()
814 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header()
815 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); in mwl8k_remove_dma_header()
818 memmove(tr->data - hdrlen, &tr->wh, hdrlen); in mwl8k_remove_dma_header()
832 struct ieee80211_hdr *wh; in mwl8k_add_dma_header() local
843 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_add_dma_header()
845 hdrlen = ieee80211_hdrlen(wh->frame_control); in mwl8k_add_dma_header()
867 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_add_dma_header()
871 if (wh != &tr->wh) in mwl8k_add_dma_header()
872 memmove(&tr->wh, wh, hdrlen); in mwl8k_add_dma_header()
873 if (hdrlen != sizeof(tr->wh)) in mwl8k_add_dma_header()
874 memset(((void *)&tr->wh) + hdrlen, 0, sizeof(tr->wh) - hdrlen); in mwl8k_add_dma_header()
887 struct ieee80211_hdr *wh; in mwl8k_encapsulate_tx_frame() local
893 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_encapsulate_tx_frame()
898 if (ieee80211_is_data(wh->frame_control)) in mwl8k_encapsulate_tx_frame()
1267 mwl8k_capture_bssid(struct mwl8k_priv *priv, struct ieee80211_hdr *wh) in mwl8k_capture_bssid() argument
1270 ieee80211_is_beacon(wh->frame_control) && in mwl8k_capture_bssid()
1271 ether_addr_equal_64bits(wh->addr3, priv->capture_bssid); in mwl8k_capture_bssid()
1320 struct ieee80211_hdr *wh; in rxq_process() local
1347 wh = &((struct mwl8k_dma_data *)skb->data)->wh; in rxq_process()
1357 if (ieee80211_has_protected(wh->frame_control)) { in rxq_process()
1364 wh->addr1); in rxq_process()
1388 if (!ieee80211_is_auth(wh->frame_control)) in rxq_process()
1675 struct ieee80211_hdr *wh; in mwl8k_txq_reclaim() local
1704 wh = (struct ieee80211_hdr *) skb->data; in mwl8k_txq_reclaim()
1711 if (ieee80211_is_data(wh->frame_control)) { in mwl8k_txq_reclaim()
1713 sta = ieee80211_find_sta_by_ifaddr(hw, wh->addr1, in mwl8k_txq_reclaim()
1714 wh->addr2); in mwl8k_txq_reclaim()
1891 struct ieee80211_hdr *wh; in mwl8k_txq_xmit() local
1906 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_txq_xmit()
1907 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_txq_xmit()
1908 qos = le16_to_cpu(*((__le16 *)ieee80211_get_qos_ctl(wh))); in mwl8k_txq_xmit()
1915 if (ieee80211_is_mgmt(wh->frame_control)) in mwl8k_txq_xmit()
1923 wh = &((struct mwl8k_dma_data *)skb->data)->wh; in mwl8k_txq_xmit()
1929 wh->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG); in mwl8k_txq_xmit()
1930 wh->seq_ctrl |= cpu_to_le16(mwl8k_vif->seqno); in mwl8k_txq_xmit()
1937 if (ieee80211_is_mgmt(wh->frame_control) || in mwl8k_txq_xmit()
1938 ieee80211_is_ctl(wh->frame_control)) { in mwl8k_txq_xmit()
1941 } else if (ieee80211_is_data(wh->frame_control)) { in mwl8k_txq_xmit()
1943 if (is_multicast_ether_addr(wh->addr1)) in mwl8k_txq_xmit()
1962 if (unlikely(ieee80211_is_action(wh->frame_control) && in mwl8k_txq_xmit()
1974 ieee80211_is_data_qos(wh->frame_control)) { in mwl8k_txq_xmit()
2092 if (priv->ap_fw && ieee80211_is_data(wh->frame_control) && !eapol_frame) in mwl8k_txq_xmit()