/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 201 struct pkt_attrib *pattrib) in r8712_update_attrib() argument 219 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib() 225 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib() 235 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in r8712_update_attrib() 236 memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); in r8712_update_attrib() 237 pattrib->pctrl = 0; in r8712_update_attrib() 240 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 241 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() 243 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib() 244 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() [all …]
|
D | rtl871x_recv.c | 298 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in sta2sta_data_frame() local 304 bool bmcast = is_multicast_ether_addr(pattrib->dst); in sta2sta_data_frame() 309 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 311 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame() 313 if (is_zero_ether_addr(pattrib->bssid) || in sta2sta_data_frame() 315 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 317 sta_addr = pattrib->src; in sta2sta_data_frame() 322 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 324 sta_addr = pattrib->bssid; in sta2sta_data_frame() 330 if (!is_multicast_ether_addr(pattrib->bssid)) in sta2sta_data_frame() [all …]
|
D | rtl8712_xmit.c | 53 struct pkt_attrib *pattrib) in r8712_txframes_sta_ac_pending() argument 57 int priority = pattrib->priority; in r8712_txframes_sta_ac_pending() 59 psta = pattrib->psta; in r8712_txframes_sta_ac_pending() 85 struct pkt_attrib *pattrib = &pxmitframe->attrib; in get_ff_hwaddr() local 94 switch (pattrib->priority) { in get_ff_hwaddr() 122 switch (pattrib->qsel) { in get_ff_hwaddr() 225 struct pkt_attrib *pattrib) in r8712_do_queue_select() argument 231 qsel = (unsigned int)pattrib->priority; in r8712_do_queue_select() 233 qsel = (unsigned int)pattrib->priority; in r8712_do_queue_select() 245 pattrib->qsel = qsel; in r8712_do_queue_select() [all …]
|
D | rtl8712_recv.c | 135 static void update_recvframe_attrib_from_recvstat(struct rx_pkt_attrib *pattrib, in update_recvframe_attrib_from_recvstat() argument 145 pattrib->bdecrypted = (le32_to_cpu(prxstat->rxdw0) & BIT(27)) == 0; in update_recvframe_attrib_from_recvstat() 146 pattrib->crc_err = (le32_to_cpu(prxstat->rxdw0) & BIT(14)) != 0; in update_recvframe_attrib_from_recvstat() 151 pattrib->tcpchk_valid = 1; /* valid */ in update_recvframe_attrib_from_recvstat() 153 pattrib->tcp_chkrpt = 1; /* correct */ in update_recvframe_attrib_from_recvstat() 155 pattrib->tcp_chkrpt = 0; /* incorrect */ in update_recvframe_attrib_from_recvstat() 157 pattrib->ip_chkrpt = 1; /* correct */ in update_recvframe_attrib_from_recvstat() 159 pattrib->ip_chkrpt = 0; /* incorrect */ in update_recvframe_attrib_from_recvstat() 161 pattrib->tcpchk_valid = 0; /* invalid */ in update_recvframe_attrib_from_recvstat() 163 pattrib->mcs_rate = (u8)((le32_to_cpu(prxstat->rxdw3)) & 0x3f); in update_recvframe_attrib_from_recvstat() [all …]
|
D | rtl871x_security.c | 158 struct pkt_attrib *pattrib = &((struct xmit_frame *) in r8712_wep_encrypt() local 167 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in r8712_wep_encrypt() 170 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_wep_encrypt() 172 iv = pframe + pattrib->hdrlen; in r8712_wep_encrypt() 177 payload = pframe + pattrib->iv_len + pattrib->hdrlen; in r8712_wep_encrypt() 178 if ((curfragnum + 1) == pattrib->nr_frags) { in r8712_wep_encrypt() 179 length = pattrib->last_txcmdsz - in r8712_wep_encrypt() 180 pattrib->hdrlen - in r8712_wep_encrypt() 181 pattrib->iv_len - in r8712_wep_encrypt() 182 pattrib->icv_len; in r8712_wep_encrypt() [all …]
|
D | xmit_linux.c | 65 void r8712_set_qos(struct pkt_file *ppktfile, struct pkt_attrib *pattrib) in r8712_set_qos() argument 75 if (pattrib->ether_type == 0x0800) { in r8712_set_qos() 85 if (pattrib->ether_type == 0x888e) in r8712_set_qos() 88 pattrib->priority = UserPriority; in r8712_set_qos() 89 pattrib->hdrlen = WLAN_HDR_A3_QOS_LEN; in r8712_set_qos() 90 pattrib->subtype = WIFI_QOS_DATA_TYPE; in r8712_set_qos()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 345 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info() local 350 if (pattrib->nr_frags != 1) in update_attrib_vcs_info() 353 sz = pattrib->last_txcmdsz; in update_attrib_vcs_info() 361 pattrib->vcs_mode = RTS_CTS; in update_attrib_vcs_info() 363 if (pattrib->rtsen) in update_attrib_vcs_info() 364 pattrib->vcs_mode = RTS_CTS; in update_attrib_vcs_info() 365 else if (pattrib->cts2self) in update_attrib_vcs_info() 366 pattrib->vcs_mode = CTS_TO_SELF; in update_attrib_vcs_info() 368 pattrib->vcs_mode = NONE_VCS; in update_attrib_vcs_info() 373 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && (pattrib->ampdu_en == true) && in update_attrib_vcs_info() [all …]
|
D | rtw_recv.c | 458 struct rx_pkt_attrib *pattrib; in portctrl() local 466 pattrib = &pfhdr->attrib; in portctrl() 467 psta_addr = pattrib->ta; in portctrl() 539 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in process_pwrbit_data() local 543 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data() 570 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in process_wmmps_data() local 574 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_wmmps_data() 588 switch (pattrib->priority) { in process_wmmps_data() 614 issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); in process_wmmps_data() 624 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; in count_rx_stats() local [all …]
|
D | rtw_mlme_ext.c | 1872 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in OnAction_sa_query() local 1891 printk("pattrib->pktlen = %d =>", pattrib->pkt_len); in OnAction_sa_query() 1892 for (pp = 0; pp < pattrib->pkt_len; pp++) in OnAction_sa_query() 1977 void update_mgntframe_attrib(struct adapter *padapter, struct pkt_attrib *pattrib) in update_mgntframe_attrib() argument 1984 pattrib->hdrlen = 24; in update_mgntframe_attrib() 1985 pattrib->nr_frags = 1; in update_mgntframe_attrib() 1986 pattrib->priority = 7; in update_mgntframe_attrib() 1987 pattrib->mac_id = 0; in update_mgntframe_attrib() 1988 pattrib->qsel = 0x12; in update_mgntframe_attrib() 1990 pattrib->pktlen = 0; in update_mgntframe_attrib() [all …]
|
D | rtw_security.c | 49 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_wep_encrypt() local 61 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in rtw_wep_encrypt() 64 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_wep_encrypt() 65 iv = pframe+pattrib->hdrlen; in rtw_wep_encrypt() 68 payload = pframe+pattrib->iv_len+pattrib->hdrlen; in rtw_wep_encrypt() 70 if ((curfragnum+1) == pattrib->nr_frags) { /* the last fragment */ in rtw_wep_encrypt() 72 length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_wep_encrypt() 81 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_wep_encrypt() 473 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_tkip_encrypt() local 486 if (pattrib->encrypt == _TKIP_) { in rtw_tkip_encrypt() [all …]
|
/drivers/staging/r8188eu/hal/ |
D | rtl8188e_rxdesc.c | 12 struct rx_pkt_attrib *pattrib = &prframe->attrib; in process_rssi() local 22 signal_stat->total_val += pattrib->phy_info.SignalStrength; in process_rssi() 28 struct rx_pkt_attrib *pattrib; in process_link_qual() local 34 pattrib = &prframe->attrib; in process_link_qual() 44 signal_stat->total_val += pattrib->phy_info.SignalQuality; in process_link_qual() 60 struct rx_pkt_attrib *pattrib; in update_recvframe_attrib_88e() local 70 pattrib = &precvframe->attrib; in update_recvframe_attrib_88e() 71 memset(pattrib, 0, sizeof(struct rx_pkt_attrib)); in update_recvframe_attrib_88e() 73 pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);/* u8)prxreport->crc32; */ in update_recvframe_attrib_88e() 76 pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ in update_recvframe_attrib_88e() [all …]
|
D | rtl8188eu_xmit.c | 86 static void fill_txdesc_sectype(struct pkt_attrib *pattrib, struct tx_desc *ptxdesc) in fill_txdesc_sectype() argument 88 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype() 89 switch (pattrib->encrypt) { in fill_txdesc_sectype() 112 static void fill_txdesc_vcs(struct pkt_attrib *pattrib, __le32 *pdw) in fill_txdesc_vcs() argument 114 switch (pattrib->vcs_mode) { in fill_txdesc_vcs() 125 if (pattrib->vcs_mode) { in fill_txdesc_vcs() 128 if (pattrib->ht_en) { in fill_txdesc_vcs() 129 *pdw |= (pattrib->bwmode & HT_CHANNEL_WIDTH_40) ? cpu_to_le32(BIT(27)) : 0; in fill_txdesc_vcs() 131 if (pattrib->ch_offset == HAL_PRIME_CHNL_OFFSET_LOWER) in fill_txdesc_vcs() 133 else if (pattrib->ch_offset == HAL_PRIME_CHNL_OFFSET_UPPER) in fill_txdesc_vcs() [all …]
|
D | usb_ops_linux.c | 195 struct rx_pkt_attrib *pattrib = NULL; in recvbuf2recvframe() local 221 pattrib = &precvframe->attrib; in recvbuf2recvframe() 223 if ((pattrib->crc_err) || (pattrib->icv_err)) { in recvbuf2recvframe() 224 …DBG_88E("%s: RX Warning! crc_err=%d icv_err=%d, skip!\n", __func__, pattrib->crc_err, pattrib->icv… in recvbuf2recvframe() 230 if ((pattrib->physt) && (pattrib->pkt_rpt_type == NORMAL_RX)) in recvbuf2recvframe() 233 pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + pattrib->shift_sz + pattrib->pkt_len; in recvbuf2recvframe() 235 if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) { in recvbuf2recvframe() 243 if (pattrib->qos) /* Qos data, wireless lan header length is 26 */ in recvbuf2recvframe() 248 skb_len = pattrib->pkt_len; in recvbuf2recvframe() 252 if ((pattrib->mfrag == 1) && (pattrib->frag_num == 0)) { in recvbuf2recvframe() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_xmit.c | 256 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info() local 257 struct sta_info *psta = pattrib->psta; in update_attrib_vcs_info() 261 if (pattrib->nr_frags != 1) in update_attrib_vcs_info() 264 sz = pattrib->last_txcmdsz; in update_attrib_vcs_info() 272 pattrib->vcs_mode = RTS_CTS; in update_attrib_vcs_info() 275 pattrib->vcs_mode = RTS_CTS; in update_attrib_vcs_info() 277 pattrib->vcs_mode = CTS_TO_SELF; in update_attrib_vcs_info() 279 pattrib->vcs_mode = NONE_VCS; in update_attrib_vcs_info() 284 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && pattrib->ampdu_en && in update_attrib_vcs_info() 286 pattrib->vcs_mode = CTS_TO_SELF; in update_attrib_vcs_info() [all …]
|
D | rtw_recv.c | 457 struct rx_pkt_attrib *pattrib; in portctrl() local 466 pattrib = &pfhdr->attrib; in portctrl() 467 psta_addr = pattrib->ta; in portctrl() 529 struct rx_pkt_attrib *pattrib = &precv_frame->attrib; in process_pwrbit_data() local 533 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data() 553 struct rx_pkt_attrib *pattrib = &precv_frame->attrib; in process_wmmps_data() local 557 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_wmmps_data() 571 switch (pattrib->priority) { in process_wmmps_data() 597 issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); in process_wmmps_data() 610 struct rx_pkt_attrib *pattrib = &prframe->attrib; in count_rx_stats() local [all …]
|
D | rtw_mlme_ext.c | 1823 struct pkt_attrib *pattrib; in issue_p2p_GO_request() local 1837 pattrib = &pmgntframe->attrib; in issue_p2p_GO_request() 1838 update_mgntframe_attrib(padapter, pattrib); in issue_p2p_GO_request() 1857 pattrib->pktlen = sizeof(struct rtw_ieee80211_hdr_3addr); in issue_p2p_GO_request() 1859 pframe = rtw_set_fixed_ie(pframe, 1, &category, &pattrib->pktlen); in issue_p2p_GO_request() 1860 pframe = rtw_set_fixed_ie(pframe, 1, &action, &pattrib->pktlen); in issue_p2p_GO_request() 1861 pframe = rtw_set_fixed_ie(pframe, 4, (unsigned char *)&p2poui, &pattrib->pktlen); in issue_p2p_GO_request() 1862 pframe = rtw_set_fixed_ie(pframe, 1, &oui_subtype, &pattrib->pktlen); in issue_p2p_GO_request() 1864 pframe = rtw_set_fixed_ie(pframe, 1, &pwdinfo->negotiation_dialog_token, &pattrib->pktlen); in issue_p2p_GO_request() 1904 …pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, wpsielen, (unsigned char *)wpsie, &pattrib->pktl… in issue_p2p_GO_request() [all …]
|
D | rtw_mp.c | 80 struct pkt_attrib *pattrib; in mp_init_xmit_attrib() local 84 pattrib = &pmptx->attrib; in mp_init_xmit_attrib() 85 memset(pattrib, 0, sizeof(struct pkt_attrib)); in mp_init_xmit_attrib() 89 pattrib->ether_type = 0x8712; in mp_init_xmit_attrib() 90 memset(pattrib->dst, 0xFF, ETH_ALEN); in mp_init_xmit_attrib() 91 pattrib->ack_policy = 0; in mp_init_xmit_attrib() 92 pattrib->hdrlen = WLAN_HDR_A3_LEN; in mp_init_xmit_attrib() 93 pattrib->subtype = WIFI_DATA; in mp_init_xmit_attrib() 94 pattrib->priority = 0; in mp_init_xmit_attrib() 95 pattrib->qsel = pattrib->priority; in mp_init_xmit_attrib() [all …]
|
D | rtw_iol.c | 10 struct pkt_attrib *pattrib; in rtw_IOL_accquire_xmit_frame() local 32 pattrib = &xmit_frame->attrib; in rtw_IOL_accquire_xmit_frame() 33 update_mgntframe_attrib(adapter, pattrib); in rtw_IOL_accquire_xmit_frame() 34 pattrib->qsel = 0x10;/* Beacon */ in rtw_IOL_accquire_xmit_frame() 35 pattrib->subtype = WIFI_BEACON; in rtw_IOL_accquire_xmit_frame() 36 pattrib->pktlen = 0; in rtw_IOL_accquire_xmit_frame() 37 pattrib->last_txcmdsz = 0; in rtw_IOL_accquire_xmit_frame() 44 struct pkt_attrib *pattrib = &xmit_frame->attrib; in rtw_IOL_append_cmds() local 49 ori_len = buf_offset + pattrib->pktlen; in rtw_IOL_append_cmds() 58 memcpy(xmit_frame->buf_addr + buf_offset + pattrib->pktlen, IOL_cmds, cmd_len); in rtw_IOL_append_cmds() [all …]
|
D | rtw_security.c | 94 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_wep_encrypt() local 107 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in rtw_wep_encrypt() 110 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_wep_encrypt() 111 iv = pframe + pattrib->hdrlen; in rtw_wep_encrypt() 114 payload = pframe + pattrib->iv_len + pattrib->hdrlen; in rtw_wep_encrypt() 116 if ((curfragnum + 1) == pattrib->nr_frags) { /* the last fragment */ in rtw_wep_encrypt() 117 length = pattrib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_wep_encrypt() 125 length = pxmitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_wep_encrypt() 522 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_tkip_encrypt() local 534 if (pattrib->encrypt == _TKIP_) { in rtw_tkip_encrypt() [all …]
|
D | rtw_p2p.c | 116 struct pkt_attrib *pattrib; in issue_group_disc_req() local 135 pattrib = &pmgntframe->attrib; in issue_group_disc_req() 136 update_mgntframe_attrib(padapter, pattrib); in issue_group_disc_req() 155 pattrib->pktlen = sizeof(struct rtw_ieee80211_hdr_3addr); in issue_group_disc_req() 158 pframe = rtw_set_fixed_ie(pframe, 1, &category, &pattrib->pktlen); in issue_group_disc_req() 159 pframe = rtw_set_fixed_ie(pframe, 4, (unsigned char *)&p2poui, &pattrib->pktlen); in issue_group_disc_req() 160 pframe = rtw_set_fixed_ie(pframe, 1, &oui_subtype, &pattrib->pktlen); in issue_group_disc_req() 161 pframe = rtw_set_fixed_ie(pframe, 1, &dialogToken, &pattrib->pktlen); in issue_group_disc_req() 165 pattrib->last_txcmdsz = pattrib->pktlen; in issue_group_disc_req() 173 struct pkt_attrib *pattrib; in issue_p2p_devdisc_resp() local [all …]
|
/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 24 struct rx_pkt_attrib *pattrib; in update_recvframe_attrib() local 35 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib() 36 memset(pattrib, 0, sizeof(struct rx_pkt_attrib)); in update_recvframe_attrib() 39 pattrib->pkt_rpt_type = prxreport->c2h_ind ? C2H_PACKET : NORMAL_RX; in update_recvframe_attrib() 41 if (pattrib->pkt_rpt_type == NORMAL_RX) { in update_recvframe_attrib() 44 pattrib->pkt_len = (u16)prxreport->pktlen; in update_recvframe_attrib() 45 pattrib->drvinfo_sz = (u8)(prxreport->drvinfosize << 3); in update_recvframe_attrib() 46 pattrib->physt = (u8)prxreport->physt; in update_recvframe_attrib() 48 pattrib->crc_err = (u8)prxreport->crc32; in update_recvframe_attrib() 49 pattrib->icv_err = (u8)prxreport->icverr; in update_recvframe_attrib() [all …]
|
D | rtl8723b_rxdesc.c | 12 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; in process_rssi() local 24 signal_stat->total_val += pattrib->phy_info.SignalStrength; in process_rssi() 32 struct rx_pkt_attrib *pattrib; in process_link_qual() local 38 pattrib = &prframe->u.hdr.attrib; in process_link_qual() 48 signal_stat->total_val += pattrib->phy_info.SignalQuality; in process_link_qual()
|
D | rtl8723b_hal_init.c | 2459 u8 BWMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib) in BWMapping_8723B() argument 2465 if (pattrib->bwmode == CHANNEL_WIDTH_40) in BWMapping_8723B() 2478 u8 SCMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib) in SCMapping_8723B() argument 2484 if (pattrib->bwmode == CHANNEL_WIDTH_40) { in SCMapping_8723B() 2486 } else if (pattrib->bwmode == CHANNEL_WIDTH_20) { in SCMapping_8723B() 2525 static u8 fill_txdesc_sectype(struct pkt_attrib *pattrib) in fill_txdesc_sectype() argument 2528 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype() 2529 switch (pattrib->encrypt) { in fill_txdesc_sectype() 2550 static void fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct txde… in fill_txdesc_vcs_8723b() argument 2552 if (pattrib->vcs_mode) { in fill_txdesc_vcs_8723b() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 58 struct rx_pkt_attrib *pattrib; in rtw_os_alloc_msdu_pkt() local 60 pattrib = &prframe->u.hdr.attrib; in rtw_os_alloc_msdu_pkt() 80 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 81 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 87 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 88 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 94 …_os_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib) in rtw_os_recv_indicate_pkt() argument 104 int bmcast = IS_MCAST(pattrib->dst); in rtw_os_recv_indicate_pkt() 106 if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), ETH_ALEN)) { in rtw_os_recv_indicate_pkt() 111 psta = rtw_get_stainfo(pstapriv, pattrib->dst); in rtw_os_recv_indicate_pkt() [all …]
|
/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 133 struct rx_pkt_attrib *pattrib = &precv_frame->attrib; in rtw_recv_indicatepkt() local 134 bool bmcast = is_multicast_ether_addr(pattrib->dst); in rtw_recv_indicatepkt() 136 if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), in rtw_recv_indicatepkt() 142 psta = rtw_get_stainfo(pstapriv, pattrib->dst); in rtw_recv_indicatepkt()
|