Home
last modified time | relevance | path

Searched refs:pframe (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_mlme_ext.c2003 u8 *pframe; in update_mgntframe_attrib_addr() local
2195 pframe += 8; in issue_beacon()
2202 pframe += 2; in issue_beacon()
2209 pframe += 2; in issue_beacon()
2395 pframe += 8; in issue_probersp()
2402 pframe += 2; in issue_probersp()
2409 pframe += 2; in issue_probersp()
2890 pframe += 2; in issue_assocreq()
2897 pframe += 2; in issue_assocreq()
3372 u8 *pframe; in issue_action_SA_Query() local
[all …]
A Drtw_security.c65 iv = pframe+pattrib->hdrlen; in rtw_wep_encrypt()
87 pframe += pxmitpriv->frag_len; in rtw_wep_encrypt()
88 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_wep_encrypt()
110 iv = pframe+prxattrib->hdrlen; in rtw_wep_decrypt()
524 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_tkip_encrypt()
866 u8 *pframe, uint plen) in aes_cipher() argument
930 pframe, /* message, */ in aes_cipher()
1069 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_aes_encrypt()
1077 u8 *pframe, uint plen) in aes_decipher() argument
1152 qc_exists, pframe, in aes_decipher()
[all …]
A Drtw_xmit.c810 payload = pframe; in xmitframe_addmic()
1029 u8 *pframe, *mem_start; in rtw_xmitframe_coalesce() local
1065 pframe = mem_start; in rtw_xmitframe_coalesce()
1069 pframe += pattrib->hdrlen; in rtw_xmitframe_coalesce()
1076 pframe += pattrib->iv_len; in rtw_xmitframe_coalesce()
1083 pframe += llc_sz; in rtw_xmitframe_coalesce()
1097 pframe += mem_sz; in rtw_xmitframe_coalesce()
1117 addr = (SIZE_PTR)(pframe); in rtw_xmitframe_coalesce()
1188 pframe += pattrib->pktlen; in rtw_mgmt_xmitframe_coalesce()
1198 pframe = rtw_set_ie(pframe, WLAN_EID_MMIE, 16, in rtw_mgmt_xmitframe_coalesce()
[all …]
A Drtw_wlan_util.c1146 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) in rtw_check_bcn_info() argument
1159 u8 *pbssid = GetAddr3Ptr(pframe); in rtw_check_bcn_info()
1188 subtype = GetFrameSubType(pframe) >> 4; in rtw_check_bcn_info()
1197 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info()
1335 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
1471 unsigned char check_assoc_AP(u8 *pframe, uint len) in check_assoc_AP() argument
1477 pIE = (struct ndis_80211_var_ie *)(pframe + i); in check_assoc_AP()
1687 void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in update_TSF() argument
1692 pIE = pframe + sizeof(struct ieee80211_hdr_3addr); in update_TSF()
1707 void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in adaptive_early_32k() argument
[all …]
A Drtw_recv.c305 u8 *pframe, *payload, *pframemic; in recvframe_chkmic() local
337 pframe = precvframe->u.hdr.rx_data; in recvframe_chkmic()
338 payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; in recvframe_chkmic()
340 …rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], (unsigned char)prxattrib->priori… in recvframe_chkmic()
895 u8 *pframe = precv_frame->u.hdr.rx_data; in validate_recv_ctrl_frame() local
899 if (GetFrameType(pframe) != WIFI_CTRL_TYPE) in validate_recv_ctrl_frame()
903 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
906 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in validate_recv_ctrl_frame()
914 if (GetFrameSubType(pframe) == WIFI_PSPOLL) { in validate_recv_ctrl_frame()
918 aid = GetAid(pframe); in validate_recv_ctrl_frame()
/linux-6.3-rc2/drivers/staging/rtl8712/
A Drtl871x_security.c172 iv = pframe + pattrib->hdrlen; in r8712_wep_encrypt()
201 pframe += pxmitpriv->frag_len; in r8712_wep_encrypt()
202 pframe = (u8 *)RND4((addr_t)(pframe)); in r8712_wep_encrypt()
627 pframe = (u8 *)RND4((addr_t)(pframe)); in r8712_tkip_encrypt()
1014 u8 *pframe, uint plen) in aes_cipher() argument
1063 pn_vector[0] = pframe[hdrlen]; in aes_cipher()
1140 u8 *pframe, *prwskey; in r8712_aes_encrypt() local
1167 pframe, length); in r8712_aes_encrypt()
1174 pframe, length); in r8712_aes_encrypt()
1176 pframe = (u8 *)RND4((addr_t)(pframe)); in r8712_aes_encrypt()
[all …]
A Dwifi.h47 static inline unsigned char get_tofr_ds(unsigned char *pframe) in get_tofr_ds() argument
49 return ((GetToDs(pframe) << 1) | GetFrDs(pframe)); in get_tofr_ds()
159 static inline unsigned char *get_hdr_bssid(unsigned char *pframe) in get_hdr_bssid() argument
162 unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); in get_hdr_bssid()
166 sa = GetAddr3Ptr(pframe); in get_hdr_bssid()
169 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
172 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
A Drtl871x_xmit.c391 &pframe[24], 6); in xmitframe_addmic()
394 &pframe[10], 6); in xmitframe_addmic()
400 &pframe[16], 6); in xmitframe_addmic()
403 &pframe[10], 6); in xmitframe_addmic()
408 payload = pframe; in xmitframe_addmic()
619 pframe = mem_start; in r8712_xmitframe_coalesce()
621 pframe += pattrib->hdrlen; in r8712_xmitframe_coalesce()
652 pframe += pattrib->iv_len; in r8712_xmitframe_coalesce()
657 pframe += llc_sz; in r8712_xmitframe_coalesce()
668 pframe += mem_sz; in r8712_xmitframe_coalesce()
[all …]
A Drtl871x_recv.c142 u8 *pframe, *payload, *pframemic; in r8712_recvframe_chkmic() local
166 pframe = precvframe->u.hdr.rx_data; in r8712_recvframe_chkmic()
167 payload = pframe + prxattrib->hdrlen + in r8712_recvframe_chkmic()
169 seccalctkipmic(mickey, pframe, payload, datalen, in r8712_recvframe_chkmic()
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/
A Dwifi.h102 #define get_tofr_ds(pframe) ((GetToDs(pframe) << 1) | GetFrDs(pframe)) argument
232 ra = GetAddr1Ptr(pframe); in rtl8723bs_get_ra()
238 ta = GetAddr2Ptr(pframe); in get_ta()
245 unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); in get_da()
249 da = GetAddr1Ptr(pframe); in get_da()
252 da = GetAddr1Ptr(pframe); in get_da()
255 da = GetAddr3Ptr(pframe); in get_da()
258 da = GetAddr3Ptr(pframe); in get_da()
269 unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); in get_sa()
273 sa = GetAddr2Ptr(pframe); in get_sa()
[all …]
A Drtw_mlme_ext.h530 unsigned char check_assoc_AP(u8 *pframe, uint len);
543 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
544 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len);
659 extern void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len);
661 extern void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len);
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Drtl8723b_cmd.c117 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon()
128 SetFrameSubType(pframe, WIFI_BEACON); in ConstructBeacon()
134 pframe += 8; in ConstructBeacon()
140 pframe += 2; in ConstructBeacon()
146 pframe += 2; in ConstructBeacon()
159pframe = rtw_set_ie(pframe, WLAN_EID_SSID, cur_network->ssid.ssid_length, cur_network->ssid.ssid, … in ConstructBeacon()
173 pframe = rtw_set_ie(pframe, WLAN_EID_IBSS_PARAMS, 2, (unsigned char *)(&ATIMWindow), &pktlen); in ConstructBeacon()
209 SetFrameSubType(pframe, WIFI_PSPOLL); in ConstructPSPoll()
225 u8 *pframe, in ConstructNullFunctionData() argument
283 SetFrameSubType(pframe, WIFI_DATA_NULL); in ConstructNullFunctionData()
[all …]
A Drtl8723bs_xmit.c246 struct xmit_frame *pframe; in xmit_xmitframes() local
247 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
248 pframe->agg_num = k; in xmit_xmitframes()
250 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
251 rtw_free_xmitframe(pxmitpriv, pframe); in xmit_xmitframes()
330 struct xmit_frame *pframe; in xmit_xmitframes() local
331 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
332 pframe->agg_num = k; in xmit_xmitframes()
334 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
335 rtw_free_xmitframe(pxmitpriv, pframe); in xmit_xmitframes()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Dfsl_qe_udc.c793 struct qe_frame *pframe; in ep0_setup_handle() local
797 pframe = ep->rxframe; in ep0_setup_handle()
817 struct qe_frame *pframe; in qe_ep0_rx() local
822 pframe = ep->rxframe; in qe_ep0_rx()
889 struct qe_frame *pframe; in qe_ep_rxframe_handle() local
895 pframe = ep->rxframe; in qe_ep_rxframe_handle()
953 pframe = ep->rxframe; in ep_rx_tasklet()
1028 pframe = ep->rxframe; in qe_ep_rx()
1369 pframe = ep->txframe; in qe_ep0_txconf()
1426 pframe = ep->txframe; in qe_ep_txconf()
[all …]
/linux-6.3-rc2/drivers/scsi/
A Dmvumi.c2028 struct mvumi_msg_frame *pframe; in mvumi_build_frame() local
2032 pframe = cmd->frame; in mvumi_build_frame()
2035 pframe->cmd_flag = 0; in mvumi_build_frame()
2039 pframe->cmd_flag |= CMD_FLAG_NON_DATA; in mvumi_build_frame()
2042 pframe->cmd_flag |= CMD_FLAG_DATA_IN; in mvumi_build_frame()
2045 pframe->cmd_flag |= CMD_FLAG_DATA_OUT; in mvumi_build_frame()
2054 pframe->cdb_length = scmd->cmd_len; in mvumi_build_frame()
2055 memcpy(pframe->cdb, scmd->cmnd, pframe->cdb_length); in mvumi_build_frame()
2059 &pframe->sg_counts)) in mvumi_build_frame()
2064 pframe->sg_counts = 0; in mvumi_build_frame()
[all …]
/linux-6.3-rc2/drivers/media/platform/st/sti/delta/
A Ddelta.h561 struct delta_frame **pframe);
A Ddelta-v4l2.c1239 struct delta_frame **pframe) in delta_get_free_frame() argument
1245 *pframe = NULL; in delta_get_free_frame()
1267 *pframe = frame; in delta_get_free_frame()
/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/
A Dioctl_cfg80211.c2102 unsigned char *pframe; in rtw_cfg80211_monitor_if_xmit_entry() local
2127 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtw_cfg80211_monitor_if_xmit_entry()
2129 memcpy(pframe, (void *)buf, len); in rtw_cfg80211_monitor_if_xmit_entry()
2132 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry()
2514 unsigned char *pframe; in _cfg80211_rtw_mgmt_tx() local
2545 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in _cfg80211_rtw_mgmt_tx()
2547 memcpy(pframe, (void *)buf, len); in _cfg80211_rtw_mgmt_tx()
2550 pwlanhdr = (struct ieee80211_hdr *)pframe; in _cfg80211_rtw_mgmt_tx()
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/
A Dieee80211.h351 #define IsQoSDataFrame(pframe) ((*(u16 *)pframe & (IEEE80211_STYPE_QOS_DATA | IEEE80211_FTYPE_DATA… argument
352 #define Frame_Order(pframe) (*(u16 *)pframe & IEEE80211_FCTL_ORDER) argument
/linux-6.3-rc2/drivers/staging/rtl8192e/
A Drtllib.h413 #define IsQoSDataFrame(pframe) \ argument
414 ((*(u16 *)pframe&(RTLLIB_STYPE_QOS_DATA|RTLLIB_FTYPE_DATA)) == \
416 #define Frame_Order(pframe) (*(u16 *)pframe&RTLLIB_FCTL_ORDER) argument

Completed in 107 milliseconds