/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 198 struct pkt_attrib *pattrib) in r8712_update_attrib() argument 216 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib() 222 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib() 232 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in r8712_update_attrib() 233 memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); in r8712_update_attrib() 234 pattrib->pctrl = 0; in r8712_update_attrib() 237 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 238 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() 240 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib() 241 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib() [all …]
|
D | rtl871x_recv.c | 300 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in sta2sta_data_frame() local 306 bool bmcast = is_multicast_ether_addr(pattrib->dst); in sta2sta_data_frame() 311 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 313 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame() 315 if (is_zero_ether_addr(pattrib->bssid) || in sta2sta_data_frame() 317 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 319 sta_addr = pattrib->src; in sta2sta_data_frame() 324 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 326 sta_addr = pattrib->bssid; in sta2sta_data_frame() 332 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() 222 void r8712_do_queue_select(struct _adapter *padapter, struct pkt_attrib *pattrib) in r8712_do_queue_select() argument 228 qsel = (unsigned int)pattrib->priority; in r8712_do_queue_select() 230 qsel = (unsigned int)pattrib->priority; in r8712_do_queue_select() 242 pattrib->qsel = qsel; in r8712_do_queue_select() [all …]
|
D | rtl8712_recv.c | 136 static void update_recvframe_attrib_from_recvstat(struct rx_pkt_attrib *pattrib, in update_recvframe_attrib_from_recvstat() argument 142 pattrib->bdecrypted = (le32_to_cpu(prxstat->rxdw0) & BIT(27)) == 0; in update_recvframe_attrib_from_recvstat() 143 pattrib->crc_err = (le32_to_cpu(prxstat->rxdw0) & BIT(14)) != 0; in update_recvframe_attrib_from_recvstat() 148 pattrib->tcpchk_valid = 1; /* valid */ in update_recvframe_attrib_from_recvstat() 150 pattrib->tcp_chkrpt = 1; /* correct */ in update_recvframe_attrib_from_recvstat() 152 pattrib->tcp_chkrpt = 0; /* incorrect */ in update_recvframe_attrib_from_recvstat() 154 pattrib->ip_chkrpt = 1; /* correct */ in update_recvframe_attrib_from_recvstat() 156 pattrib->ip_chkrpt = 0; /* incorrect */ in update_recvframe_attrib_from_recvstat() 158 pattrib->tcpchk_valid = 0; /* invalid */ in update_recvframe_attrib_from_recvstat() 160 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 = 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()
|
D | usb_ops_linux.c | 329 struct pkt_attrib *pattrib = &pxmitframe->attrib; in usb_write_port_complete() local 331 switch (pattrib->priority) { in usb_write_port_complete() 385 struct pkt_attrib *pattrib = &pxmitframe->attrib; in r8712_usb_write_port() local 395 switch (pattrib->priority) { in r8712_usb_write_port()
|
D | xmit_osdep.h | 45 struct pkt_attrib *pattrib);
|
D | rtl8712_xmit.h | 99 struct pkt_attrib *pattrib);
|
D | rtl871x_xmit.h | 267 struct pkt_attrib *pattrib); 269 struct pkt_attrib *pattrib);
|
/linux-6.12.1/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 355 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info() local 360 if (pattrib->nr_frags != 1) in update_attrib_vcs_info() 363 sz = pattrib->last_txcmdsz; in update_attrib_vcs_info() 371 pattrib->vcs_mode = RTS_CTS; in update_attrib_vcs_info() 373 if (pattrib->rtsen) in update_attrib_vcs_info() 374 pattrib->vcs_mode = RTS_CTS; in update_attrib_vcs_info() 375 else if (pattrib->cts2self) in update_attrib_vcs_info() 376 pattrib->vcs_mode = CTS_TO_SELF; in update_attrib_vcs_info() 378 pattrib->vcs_mode = NONE_VCS; in update_attrib_vcs_info() 383 if ((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && (pattrib->ampdu_en == true) && in update_attrib_vcs_info() [all …]
|
D | rtw_recv.c | 453 struct rx_pkt_attrib *pattrib; in portctrl() local 461 pattrib = &pfhdr->attrib; in portctrl() 462 psta_addr = pattrib->ta; in portctrl() 534 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in process_pwrbit_data() local 538 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data() 565 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in process_wmmps_data() local 569 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_wmmps_data() 583 switch (pattrib->priority) { in process_wmmps_data() 609 issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); in process_wmmps_data() 619 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; in count_rx_stats() local [all …]
|
D | rtw_mlme_ext.c | 1854 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in OnAction_sa_query() local 1873 printk("pattrib->pktlen = %d =>", pattrib->pkt_len); in OnAction_sa_query() 1874 for (pp = 0; pp < pattrib->pkt_len; pp++) in OnAction_sa_query() 1959 void update_mgntframe_attrib(struct adapter *padapter, struct pkt_attrib *pattrib) in update_mgntframe_attrib() argument 1966 pattrib->hdrlen = 24; in update_mgntframe_attrib() 1967 pattrib->nr_frags = 1; in update_mgntframe_attrib() 1968 pattrib->priority = 7; in update_mgntframe_attrib() 1969 pattrib->mac_id = 0; in update_mgntframe_attrib() 1970 pattrib->qsel = 0x12; in update_mgntframe_attrib() 1972 pattrib->pktlen = 0; in update_mgntframe_attrib() [all …]
|
D | rtw_security.c | 48 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_wep_encrypt() local 60 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in rtw_wep_encrypt() 63 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_wep_encrypt() 64 iv = pframe+pattrib->hdrlen; in rtw_wep_encrypt() 67 payload = pframe+pattrib->iv_len+pattrib->hdrlen; in rtw_wep_encrypt() 69 if ((curfragnum+1) == pattrib->nr_frags) { /* the last fragment */ in rtw_wep_encrypt() 71 length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_wep_encrypt() 80 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_wep_encrypt() 472 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_tkip_encrypt() local 485 if (pattrib->encrypt == _TKIP_) { in rtw_tkip_encrypt() [all …]
|
/linux-6.12.1/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 23 struct rx_pkt_attrib *pattrib; in update_recvframe_attrib() local 34 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib() 35 memset(pattrib, 0, sizeof(struct rx_pkt_attrib)); in update_recvframe_attrib() 38 pattrib->pkt_rpt_type = prxreport->c2h_ind ? C2H_PACKET : NORMAL_RX; in update_recvframe_attrib() 40 if (pattrib->pkt_rpt_type == NORMAL_RX) { in update_recvframe_attrib() 43 pattrib->pkt_len = (u16)prxreport->pktlen; in update_recvframe_attrib() 44 pattrib->drvinfo_sz = (u8)(prxreport->drvinfosize << 3); in update_recvframe_attrib() 45 pattrib->physt = (u8)prxreport->physt; in update_recvframe_attrib() 47 pattrib->crc_err = (u8)prxreport->crc32; in update_recvframe_attrib() 48 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 | 2450 u8 BWMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib) in BWMapping_8723B() argument 2456 if (pattrib->bwmode == CHANNEL_WIDTH_40) in BWMapping_8723B() 2469 u8 SCMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib) in SCMapping_8723B() argument 2475 if (pattrib->bwmode == CHANNEL_WIDTH_40) { in SCMapping_8723B() 2477 } else if (pattrib->bwmode == CHANNEL_WIDTH_20) { in SCMapping_8723B() 2516 static u8 fill_txdesc_sectype(struct pkt_attrib *pattrib) in fill_txdesc_sectype() argument 2519 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype() 2520 switch (pattrib->encrypt) { in fill_txdesc_sectype() 2541 static void fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct txde… in fill_txdesc_vcs_8723b() argument 2543 if (pattrib->vcs_mode) { in fill_txdesc_vcs_8723b() [all …]
|
D | rtl8723b_cmd.c | 498 struct pkt_attrib *pattrib; in rtl8723b_set_FwRsvdPagePkt() local 610 pattrib = &pcmdframe->attrib; in rtl8723b_set_FwRsvdPagePkt() 611 update_mgntframe_attrib(padapter, pattrib); in rtl8723b_set_FwRsvdPagePkt() 612 pattrib->qsel = 0x10; in rtl8723b_set_FwRsvdPagePkt() 613 pattrib->pktlen = pattrib->last_txcmdsz = TotalPacketLen - TxDescOffset; in rtl8723b_set_FwRsvdPagePkt() 815 struct pkt_attrib *pattrib; in SetFwRsvdPagePkt_BTCoex() local 881 pattrib = &pcmdframe->attrib; in SetFwRsvdPagePkt_BTCoex() 882 update_mgntframe_attrib(padapter, pattrib); in SetFwRsvdPagePkt_BTCoex() 883 pattrib->qsel = 0x10; in SetFwRsvdPagePkt_BTCoex() 884 pattrib->pktlen = pattrib->last_txcmdsz = TotalPacketLen - TxDescOffset; in SetFwRsvdPagePkt_BTCoex()
|
D | rtl8723bs_xmit.c | 440 struct pkt_attrib *pattrib; in rtl8723bs_mgnt_xmit() local 447 pattrib = &pmgntframe->attrib; in rtl8723bs_mgnt_xmit() 452 pxmitbuf->len = txdesc_size + pattrib->last_txcmdsz; in rtl8723bs_mgnt_xmit() 457 rtw_count_tx_stats(padapter, pmgntframe, pattrib->last_txcmdsz); in rtl8723bs_mgnt_xmit()
|
D | hal_com.c | 925 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; in rtw_store_phy_info() local 927 struct odm_phy_info *pPhyInfo = (PODM_PHY_INFO_T)(&pattrib->phy_info); in rtw_store_phy_info() 930 psample_pkt_rssi->data_rate = pattrib->data_rate; in rtw_store_phy_info() 931 isCCKrate = pattrib->data_rate <= DESC_RATE11M; in rtw_store_phy_info()
|
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 57 struct rx_pkt_attrib *pattrib; in rtw_os_alloc_msdu_pkt() local 59 pattrib = &prframe->u.hdr.attrib; in rtw_os_alloc_msdu_pkt() 79 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 80 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 86 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 87 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 93 …_os_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib) in rtw_os_recv_indicate_pkt() argument 103 int bmcast = is_multicast_ether_addr(pattrib->dst); in rtw_os_recv_indicate_pkt() 105 if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), ETH_ALEN)) { in rtw_os_recv_indicate_pkt() 110 psta = rtw_get_stainfo(pstapriv, pattrib->dst); in rtw_os_recv_indicate_pkt() [all …]
|
D | ioctl_cfg80211.c | 2067 struct pkt_attrib *pattrib; in rtw_cfg80211_monitor_if_xmit_entry() local 2087 pattrib = &pmgntframe->attrib; in rtw_cfg80211_monitor_if_xmit_entry() 2088 update_mgntframe_attrib(padapter, pattrib); in rtw_cfg80211_monitor_if_xmit_entry() 2089 pattrib->retry_ctrl = false; in rtw_cfg80211_monitor_if_xmit_entry() 2096 pattrib->pktlen = len; in rtw_cfg80211_monitor_if_xmit_entry() 2101 pattrib->seqnum = pmlmeext->mgnt_seq; in rtw_cfg80211_monitor_if_xmit_entry() 2104 pattrib->last_txcmdsz = pattrib->pktlen; in rtw_cfg80211_monitor_if_xmit_entry() 2476 struct pkt_attrib *pattrib; in _cfg80211_rtw_mgmt_tx() local 2502 pattrib = &pmgntframe->attrib; in _cfg80211_rtw_mgmt_tx() 2503 update_mgntframe_attrib(padapter, pattrib); in _cfg80211_rtw_mgmt_tx() [all …]
|
/linux-6.12.1/drivers/staging/rtl8723bs/include/ |
D | recv_osdep.h | 35 …os_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib);
|
D | rtw_xmit.h | 432 extern s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, struct pkt_attrib *pattrib); 444 extern u32 rtw_calculate_wlan_pkt_size_by_attribue(struct pkt_attrib *pattrib);
|
/linux-6.12.1/fs/smb/client/ |
D | xattr.c | 48 __u32 *pattrib = (__u32 *)value; in cifs_attrib_set() local 56 attrib = *pattrib; in cifs_attrib_set()
|