Home
last modified time | relevance | path

Searched refs:pattrib (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/staging/rtl8712/
H A Drtl871x_xmit.c237 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib()
238 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib()
241 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib()
243 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib()
254 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib()
255 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in r8712_update_attrib()
434 payload += pattrib->hdrlen + pattrib->iv_len; in xmitframe_addmic()
446 pattrib->hdrlen - pattrib->iv_len - in xmitframe_addmic()
561 pattrib->seqnum = txtid[pattrib->priority]; in make_wlanhdr()
673 memcpy(pframe, pattrib->iv, pattrib->iv_len); in r8712_xmitframe_coalesce()
[all …]
H A Drtl871x_recv.c324 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 …]
H A Drtl8712_xmit.c53 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()
242 pattrib->qsel = qsel; in r8712_do_queue_select()
465 pattrib->qsel = 0x13; in update_txdesc()
472 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in update_txdesc()
514 (pattrib->dhcp_pkt != 1)) { in update_txdesc()
692 pattrib->icv_len); in dump_xframe()
[all …]
H A Drtl8712_recv.c315 struct rx_pkt_attrib *pattrib; in amsdu_to_msdu() local
321 pattrib = &prframe->u.hdr.attrib; in amsdu_to_msdu()
495 struct rx_pkt_attrib *pattrib; in r8712_recv_indicatepkts_in_order() local
521 pattrib->seq_num)) in r8712_recv_indicatepkts_in_order()
525 if (!pattrib->amsdu) { in r8712_recv_indicatepkts_in_order()
554 if (!pattrib->amsdu) { in recv_indicatepkt_reorder()
557 if (pattrib->qos != 1) { in recv_indicatepkt_reorder()
861 struct rx_pkt_attrib *pattrib; in process_link_qual() local
867 if (pattrib->signal_qual != 0) { in process_link_qual()
916 struct rx_pkt_attrib *pattrib; in recv_func() local
[all …]
H A Drtl871x_security.c167 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 …]
H A Dxmit_linux.c65 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()
H A Dusb_ops_linux.c329 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()
H A Dxmit_osdep.h45 struct pkt_attrib *pattrib);
H A Drtl8712_xmit.h99 struct pkt_attrib *pattrib);
H A Drtl871x_xmit.h267 struct pkt_attrib *pattrib);
269 struct pkt_attrib *pattrib);
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c390 if (pattrib->rtsen || pattrib->cts2self) { in update_attrib_vcs_info()
640 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in update_attrib()
641 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in update_attrib()
816 …length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_l… in xmitframe_addmic()
820 …length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_len… in xmitframe_addmic()
1108pattrib->last_txcmdsz = pattrib->hdrlen + pattrib->iv_len + ((pattrib->nr_frags == 1) ? llc_sz:0) + in rtw_xmitframe_coalesce()
1199 pattrib->last_txcmdsz = pattrib->pktlen; in rtw_mgmt_xmitframe_coalesce()
1267 memcpy(pframe, tmp_buf+pattrib->hdrlen, pattrib->pktlen-pattrib->hdrlen); in rtw_mgmt_xmitframe_coalesce()
1271 pattrib->pktlen += pattrib->iv_len; in rtw_mgmt_xmitframe_coalesce()
1277 pattrib->pktlen += pattrib->icv_len; in rtw_mgmt_xmitframe_coalesce()
[all …]
H A Drtw_recv.c710 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame()
711 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in sta2sta_data_frame()
797 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame()
798 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in ap2sta_data_frame()
1308 pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 32 : 26; in validate_recv_data_frame()
1315 pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 30 : 24; in validate_recv_data_frame()
1333 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, pattrib->encrypt); in validate_recv_data_frame()
1336 pattrib->iv_len = pattrib->icv_len = 0; in validate_recv_data_frame()
1365 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, pattrib->encrypt); in validate_80211w_mgmt()
1369 data_len = pattrib->pkt_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in validate_80211w_mgmt()
[all …]
H A Drtw_mlme_ext.c2249 pattrib->last_txcmdsz = pattrib->pktlen; in issue_beacon()
2306 pattrib->pktlen = pattrib->hdrlen; in issue_probersp()
2443 pattrib->last_txcmdsz = pattrib->pktlen; in issue_probersp()
2533 pattrib->last_txcmdsz = pattrib->pktlen; in _issue_probereq()
2699 pattrib->pktlen += pattrib->icv_len; in issue_auth()
2705 pattrib->last_txcmdsz = pattrib->pktlen; in issue_auth()
2758 pattrib->pktlen += pattrib->hdrlen; in issue_asocrsp()
2834 pattrib->last_txcmdsz = pattrib->pktlen; in issue_asocrsp()
3002 pattrib->last_txcmdsz = pattrib->pktlen; in issue_assocreq()
3071 pattrib->last_txcmdsz = pattrib->pktlen; in _issue_nulldata()
[all …]
H A Drtw_security.c60 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { 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()
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()
494 iv = pframe+pattrib->hdrlen; in rtw_tkip_encrypt()
495 payload = pframe+pattrib->iv_len+pattrib->hdrlen; in rtw_tkip_encrypt()
507 length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt()
515 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt()
1060 length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_aes_encrypt()
[all …]
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_recv.c23 struct rx_pkt_attrib *pattrib; in update_recvframe_attrib() local
34 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib()
105 !pattrib->icv_err && !pattrib->crc_err && in update_recvframe_phyinfo()
226 struct rx_pkt_attrib *pattrib; in rtl8723bs_recv_tasklet() local
256 pattrib, precvframe)) in rtl8723bs_recv_tasklet()
261 pattrib->shift_sz + in rtl8723bs_recv_tasklet()
262 pattrib->pkt_len; in rtl8723bs_recv_tasklet()
268 if ((pattrib->crc_err) || (pattrib->icv_err)) { in rtl8723bs_recv_tasklet()
279 skb_len = pattrib->pkt_len; in rtl8723bs_recv_tasklet()
283 if ((pattrib->mfrag == 1) && (pattrib->frag_num == 0)) { in rtl8723bs_recv_tasklet()
[all …]
H A Drtl8723b_rxdesc.c12 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()
H A Drtl8723b_hal_init.c2519 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype()
2520 switch (pattrib->encrypt) { in fill_txdesc_sectype()
2543 if (pattrib->vcs_mode) { in fill_txdesc_vcs_8723b()
2544 switch (pattrib->vcs_mode) { in fill_txdesc_vcs_8723b()
2567 if (pattrib->ht_en) in fill_txdesc_vcs_8723b()
2574 if (pattrib->ht_en) { in fill_txdesc_phy_8723b()
2589 struct pkt_attrib *pattrib; in rtl8723b_fill_default_txdesc() local
2628 if (pattrib->ampdu_en) { in rtl8723b_fill_default_txdesc()
2657 if (pattrib->ldpc) in rtl8723b_fill_default_txdesc()
2659 if (pattrib->stbc) in rtl8723b_fill_default_txdesc()
[all …]
H A Drtl8723b_cmd.c498 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()
H A Drtl8723bs_xmit.c440 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()
H A Dhal_com.c925 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/drivers/staging/rtl8723bs/os_dep/
H A Drecv_linux.c57 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()
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()
191 struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; in rtw_recv_indicatepkt() local
[all …]
H A Dioctl_cfg80211.c2067 struct pkt_attrib *pattrib; in rtw_cfg80211_monitor_if_xmit_entry() local
2087 pattrib = &pmgntframe->attrib; 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()
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()
2504 pattrib->retry_ctrl = false; in _cfg80211_rtw_mgmt_tx()
2511 pattrib->pktlen = len; in _cfg80211_rtw_mgmt_tx()
2516 pattrib->seqnum = pmlmeext->mgnt_seq; in _cfg80211_rtw_mgmt_tx()
[all …]
/linux/drivers/staging/rtl8723bs/include/
H A Drecv_osdep.h35 …os_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib);
H A Drtw_xmit.h432 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/fs/smb/client/
H A Dxattr.c48 __u32 *pattrib = (__u32 *)value; in cifs_attrib_set() local
56 attrib = *pattrib; in cifs_attrib_set()

12