/linux-6.3-rc2/drivers/staging/rtl8712/ |
A D | rtl871x_xmit.c | 215 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 216 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() 219 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() 221 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 232 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 233 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() 412 payload += pattrib->hdrlen + pattrib->iv_len; in xmitframe_addmic() 424 pattrib->hdrlen - pattrib->iv_len - in xmitframe_addmic() 539 pattrib->seqnum = txtid[pattrib->priority]; in make_wlanhdr() 651 memcpy(pframe, pattrib->iv, pattrib->iv_len); in r8712_xmitframe_coalesce() [all …]
|
A D | rtl871x_recv.c | 324 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 338 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame() 346 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 347 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in sta2sta_data_frame() 413 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame() 414 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in ap2sta_data_frame() 514 pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 32 : 26; in validate_recv_data_frame() 517 pattrib->hdrlen = (pattrib->to_fr_ds == 3) ? 30 : 24; in validate_recv_data_frame() 533 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, in validate_recv_data_frame() 537 pattrib->iv_len = pattrib->icv_len = 0; in validate_recv_data_frame() [all …]
|
A 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() 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 245 pattrib->qsel = qsel; in r8712_do_queue_select() 471 pattrib->qsel = 0x13; in update_txdesc() 478 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in update_txdesc() 704 pattrib->icv_len); in dump_xframe() [all …]
|
A D | rtl8712_recv.c | 320 struct rx_pkt_attrib *pattrib; in amsdu_to_msdu() local 326 pattrib = &prframe->u.hdr.attrib; in amsdu_to_msdu() 500 struct rx_pkt_attrib *pattrib; in r8712_recv_indicatepkts_in_order() local 526 pattrib->seq_num)) in r8712_recv_indicatepkts_in_order() 530 if (!pattrib->amsdu) { in r8712_recv_indicatepkts_in_order() 559 if (!pattrib->amsdu) { in recv_indicatepkt_reorder() 562 if (pattrib->qos != 1) { in recv_indicatepkt_reorder() 866 struct rx_pkt_attrib *pattrib; in process_link_qual() local 872 if (pattrib->signal_qual != 0) { in process_link_qual() 921 struct rx_pkt_attrib *pattrib; in recv_func() local [all …]
|
A D | rtl871x_security.c | 167 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in r8712_wep_encrypt() 177 payload = pframe + pattrib->iv_len + pattrib->hdrlen; 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() 192 pattrib->hdrlen - pattrib->iv_len - in r8712_wep_encrypt() 193 pattrib->icv_len; in r8712_wep_encrypt() 581 if (pattrib->psta) in r8712_tkip_encrypt() 585 &pattrib->ra[0]); in r8712_tkip_encrypt() 592 pattrib->hdrlen; in r8712_tkip_encrypt() [all …]
|
A 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 = user_priority; 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()
|
A D | usb_ops_linux.c | 336 struct pkt_attrib *pattrib = &pxmitframe->attrib; in usb_write_port_complete() local 338 switch (pattrib->priority) { in usb_write_port_complete() 392 struct pkt_attrib *pattrib = &pxmitframe->attrib; in r8712_usb_write_port() local 402 switch (pattrib->priority) { in r8712_usb_write_port()
|
A D | xmit_osdep.h | 45 struct pkt_attrib *pattrib);
|
A D | rtl8712_xmit.h | 99 struct pkt_attrib *pattrib);
|
A D | rtl871x_xmit.h | 268 struct pkt_attrib *pattrib); 270 struct pkt_attrib *pattrib);
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_xmit.c | 391 if (pattrib->rtsen || pattrib->cts2self) { in update_attrib_vcs_info() 641 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in update_attrib() 642 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in update_attrib() 817 …length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_l… in xmitframe_addmic() 821 …length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_len… in xmitframe_addmic() 1109 …pattrib->last_txcmdsz = pattrib->hdrlen + pattrib->iv_len + ((pattrib->nr_frags == 1) ? llc_sz:0) + in rtw_xmitframe_coalesce() 1200 pattrib->last_txcmdsz = pattrib->pktlen; in rtw_mgmt_xmitframe_coalesce() 1268 memcpy(pframe, tmp_buf+pattrib->hdrlen, pattrib->pktlen-pattrib->hdrlen); in rtw_mgmt_xmitframe_coalesce() 1272 pattrib->pktlen += pattrib->iv_len; in rtw_mgmt_xmitframe_coalesce() 1278 pattrib->pktlen += pattrib->icv_len; in rtw_mgmt_xmitframe_coalesce() [all …]
|
A D | rtw_recv.c | 711 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 712 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in sta2sta_data_frame() 798 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame() 799 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in ap2sta_data_frame() 1309 pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 32 : 26; in validate_recv_data_frame() 1316 pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 30 : 24; in validate_recv_data_frame() 1334 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, pattrib->encrypt); in validate_recv_data_frame() 1337 pattrib->iv_len = pattrib->icv_len = 0; in validate_recv_data_frame() 1366 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, pattrib->encrypt); in validate_80211w_mgmt() 1370 data_len = pattrib->pkt_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in validate_80211w_mgmt() [all …]
|
A D | rtw_mlme_ext.c | 2252 pattrib->last_txcmdsz = pattrib->pktlen; in issue_beacon() 2309 pattrib->pktlen = pattrib->hdrlen; in issue_probersp() 2446 pattrib->last_txcmdsz = pattrib->pktlen; in issue_probersp() 2536 pattrib->last_txcmdsz = pattrib->pktlen; in _issue_probereq() 2702 pattrib->pktlen += pattrib->icv_len; in issue_auth() 2708 pattrib->last_txcmdsz = pattrib->pktlen; in issue_auth() 2761 pattrib->pktlen += pattrib->hdrlen; in issue_asocrsp() 2837 pattrib->last_txcmdsz = pattrib->pktlen; in issue_asocrsp() 3005 pattrib->last_txcmdsz = pattrib->pktlen; in issue_assocreq() 3074 pattrib->last_txcmdsz = pattrib->pktlen; in _issue_nulldata() [all …]
|
A D | rtw_security.c | 61 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { 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() 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() 496 payload = pframe+pattrib->iv_len+pattrib->hdrlen; in rtw_tkip_encrypt() 508 length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt() 516 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt() 1054 if (IS_MCAST(pattrib->ra)) in rtw_aes_encrypt() 1061 length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_aes_encrypt() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/ |
A 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() 106 !pattrib->icv_err && !pattrib->crc_err && in update_recvframe_phyinfo() 227 struct rx_pkt_attrib *pattrib; in rtl8723bs_recv_tasklet() local 257 pattrib, precvframe)) in rtl8723bs_recv_tasklet() 262 pattrib->shift_sz + in rtl8723bs_recv_tasklet() 263 pattrib->pkt_len; in rtl8723bs_recv_tasklet() 269 if ((pattrib->crc_err) || (pattrib->icv_err)) { in rtl8723bs_recv_tasklet() 280 skb_len = pattrib->pkt_len; in rtl8723bs_recv_tasklet() 284 if ((pattrib->mfrag == 1) && (pattrib->frag_num == 0)) { in rtl8723bs_recv_tasklet() [all …]
|
A 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()
|
A D | rtl8723b_hal_init.c | 2528 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype() 2529 switch (pattrib->encrypt) { in fill_txdesc_sectype() 2552 if (pattrib->vcs_mode) { in fill_txdesc_vcs_8723b() 2553 switch (pattrib->vcs_mode) { in fill_txdesc_vcs_8723b() 2576 if (pattrib->ht_en) in fill_txdesc_vcs_8723b() 2583 if (pattrib->ht_en) { in fill_txdesc_phy_8723b() 2598 struct pkt_attrib *pattrib; in rtl8723b_fill_default_txdesc() local 2637 if (pattrib->ampdu_en) { in rtl8723b_fill_default_txdesc() 2666 if (pattrib->ldpc) in rtl8723b_fill_default_txdesc() 2668 if (pattrib->stbc) in rtl8723b_fill_default_txdesc() [all …]
|
A D | rtl8723b_cmd.c | 499 struct pkt_attrib *pattrib; in rtl8723b_set_FwRsvdPagePkt() local 611 pattrib = &pcmdframe->attrib; in rtl8723b_set_FwRsvdPagePkt() 612 update_mgntframe_attrib(padapter, pattrib); in rtl8723b_set_FwRsvdPagePkt() 613 pattrib->qsel = 0x10; in rtl8723b_set_FwRsvdPagePkt() 614 pattrib->pktlen = pattrib->last_txcmdsz = TotalPacketLen - TxDescOffset; in rtl8723b_set_FwRsvdPagePkt() 816 struct pkt_attrib *pattrib; in SetFwRsvdPagePkt_BTCoex() local 882 pattrib = &pcmdframe->attrib; in SetFwRsvdPagePkt_BTCoex() 883 update_mgntframe_attrib(padapter, pattrib); in SetFwRsvdPagePkt_BTCoex() 884 pattrib->qsel = 0x10; in SetFwRsvdPagePkt_BTCoex() 885 pattrib->pktlen = pattrib->last_txcmdsz = TotalPacketLen - TxDescOffset; in SetFwRsvdPagePkt_BTCoex()
|
A D | rtl8723bs_xmit.c | 441 struct pkt_attrib *pattrib; in rtl8723bs_mgnt_xmit() local 448 pattrib = &pmgntframe->attrib; in rtl8723bs_mgnt_xmit() 453 pxmitbuf->len = txdesc_size + pattrib->last_txcmdsz; in rtl8723bs_mgnt_xmit() 458 rtw_count_tx_stats(padapter, pmgntframe, pattrib->last_txcmdsz); in rtl8723bs_mgnt_xmit()
|
A D | hal_com.c | 1034 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; in rtw_store_phy_info() local 1036 struct odm_phy_info *pPhyInfo = (PODM_PHY_INFO_T)(&pattrib->phy_info); in rtw_store_phy_info() 1039 psample_pkt_rssi->data_rate = pattrib->data_rate; in rtw_store_phy_info() 1040 isCCKrate = pattrib->data_rate <= DESC_RATE11M; in rtw_store_phy_info()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/ |
A 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() 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() 192 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in rtw_recv_indicatepkt() local [all …]
|
A D | ioctl_cfg80211.c | 2101 struct pkt_attrib *pattrib; in rtw_cfg80211_monitor_if_xmit_entry() local 2121 pattrib = &pmgntframe->attrib; in rtw_cfg80211_monitor_if_xmit_entry() 2123 pattrib->retry_ctrl = false; in rtw_cfg80211_monitor_if_xmit_entry() 2130 pattrib->pktlen = len; in rtw_cfg80211_monitor_if_xmit_entry() 2139 pattrib->last_txcmdsz = pattrib->pktlen; in rtw_cfg80211_monitor_if_xmit_entry() 2513 struct pkt_attrib *pattrib; in _cfg80211_rtw_mgmt_tx() local 2539 pattrib = &pmgntframe->attrib; in _cfg80211_rtw_mgmt_tx() 2541 pattrib->retry_ctrl = false; in _cfg80211_rtw_mgmt_tx() 2548 pattrib->pktlen = len; in _cfg80211_rtw_mgmt_tx() 2553 pattrib->seqnum = pmlmeext->mgnt_seq; in _cfg80211_rtw_mgmt_tx() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/ |
A D | recv_osdep.h | 35 …os_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib);
|
A D | rtw_xmit.h | 442 extern s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, struct pkt_attrib *pattrib); 454 extern u32 rtw_calculate_wlan_pkt_size_by_attribue(struct pkt_attrib *pattrib);
|
/linux-6.3-rc2/fs/cifs/ |
A D | xattr.c | 48 __u32 *pattrib = (__u32 *)value; in cifs_attrib_set() local 56 attrib = *pattrib; in cifs_attrib_set()
|