Home
last modified time | relevance | path

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

/linux-6.15/drivers/staging/rtl8723bs/include/
H A Dwifi.h83 #define get_tofr_ds(pframe) ((GetToDs(pframe) << 1) | GetFrDs(pframe)) argument
195 ra = GetAddr1Ptr(pframe); in rtl8723bs_get_ra()
201 ta = GetAddr2Ptr(pframe); in get_ta()
208 unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); in get_da()
212 da = GetAddr1Ptr(pframe); in get_da()
215 da = GetAddr1Ptr(pframe); in get_da()
218 da = GetAddr3Ptr(pframe); in get_da()
221 da = GetAddr3Ptr(pframe); in get_da()
232 unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); in get_sa()
236 sa = GetAddr2Ptr(pframe); in get_sa()
[all …]
H A Drtw_mlme_ext.h489 unsigned char check_assoc_AP(u8 *pframe, uint len);
502 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
503 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len);
617 extern void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len);
619 extern void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len);
/linux-6.15/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c2000 u8 *pframe; in update_mgntframe_attrib_addr() local
2192 pframe += 8; in issue_beacon()
2199 pframe += 2; in issue_beacon()
2206 pframe += 2; in issue_beacon()
2392 pframe += 8; in issue_probersp()
2399 pframe += 2; in issue_probersp()
2406 pframe += 2; in issue_probersp()
2887 pframe += 2; in issue_assocreq()
2894 pframe += 2; in issue_assocreq()
3369 u8 *pframe; in issue_action_SA_Query() local
[all …]
H A Drtw_security.c64 iv = pframe+pattrib->hdrlen; in rtw_wep_encrypt()
86 pframe += pxmitpriv->frag_len; in rtw_wep_encrypt()
87 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_wep_encrypt()
109 iv = pframe+prxattrib->hdrlen; in rtw_wep_decrypt()
523 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_tkip_encrypt()
865 u8 *pframe, uint plen) in aes_cipher() argument
929 pframe, /* message, */ in aes_cipher()
1068 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_aes_encrypt()
1076 u8 *pframe, uint plen) in aes_decipher() argument
1151 qc_exists, pframe, in aes_decipher()
[all …]
H A Drtw_xmit.c809 payload = pframe; in xmitframe_addmic()
1028 u8 *pframe, *mem_start; in rtw_xmitframe_coalesce() local
1064 pframe = mem_start; in rtw_xmitframe_coalesce()
1068 pframe += pattrib->hdrlen; in rtw_xmitframe_coalesce()
1075 pframe += pattrib->iv_len; in rtw_xmitframe_coalesce()
1082 pframe += llc_sz; in rtw_xmitframe_coalesce()
1096 pframe += mem_sz; in rtw_xmitframe_coalesce()
1116 addr = (SIZE_PTR)(pframe); in rtw_xmitframe_coalesce()
1187 pframe += pattrib->pktlen; in rtw_mgmt_xmitframe_coalesce()
1197 pframe = rtw_set_ie(pframe, WLAN_EID_MMIE, 16, in rtw_mgmt_xmitframe_coalesce()
[all …]
H A Drtw_wlan_util.c1107 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) in rtw_check_bcn_info() argument
1120 u8 *pbssid = GetAddr3Ptr(pframe); in rtw_check_bcn_info()
1149 subtype = GetFrameSubType(pframe) >> 4; in rtw_check_bcn_info()
1158 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info()
1296 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
1432 unsigned char check_assoc_AP(u8 *pframe, uint len) in check_assoc_AP() argument
1438 pIE = (struct ndis_80211_var_ie *)(pframe + i); in check_assoc_AP()
1648 void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in update_TSF() argument
1653 pIE = pframe + sizeof(struct ieee80211_hdr_3addr); in update_TSF()
1668 void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in adaptive_early_32k() argument
[all …]
H A Drtw_recv.c304 u8 *pframe, *payload, *pframemic; in recvframe_chkmic() local
336 pframe = precvframe->u.hdr.rx_data; in recvframe_chkmic()
337 payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; in recvframe_chkmic()
339 …rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], (unsigned char)prxattrib->priori… in recvframe_chkmic()
894 u8 *pframe = precv_frame->u.hdr.rx_data; in validate_recv_ctrl_frame() local
898 if (GetFrameType(pframe) != WIFI_CTRL_TYPE) in validate_recv_ctrl_frame()
902 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
905 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in validate_recv_ctrl_frame()
913 if (GetFrameSubType(pframe) == WIFI_PSPOLL) { in validate_recv_ctrl_frame()
917 aid = GetAid(pframe); in validate_recv_ctrl_frame()
/linux-6.15/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_cmd.c116 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon()
127 SetFrameSubType(pframe, WIFI_BEACON); in ConstructBeacon()
133 pframe += 8; in ConstructBeacon()
139 pframe += 2; in ConstructBeacon()
145 pframe += 2; in ConstructBeacon()
158pframe = rtw_set_ie(pframe, WLAN_EID_SSID, cur_network->ssid.ssid_length, cur_network->ssid.ssid, … in ConstructBeacon()
172 pframe = rtw_set_ie(pframe, WLAN_EID_IBSS_PARAMS, 2, (unsigned char *)(&ATIMWindow), &pktlen); in ConstructBeacon()
208 SetFrameSubType(pframe, WIFI_PSPOLL); in ConstructPSPoll()
224 u8 *pframe, in ConstructNullFunctionData() argument
282 SetFrameSubType(pframe, WIFI_DATA_NULL); in ConstructNullFunctionData()
[all …]
H A Drtl8723bs_xmit.c245 struct xmit_frame *pframe; in xmit_xmitframes() local
246 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
247 pframe->agg_num = k; in xmit_xmitframes()
249 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
250 rtw_free_xmitframe(pxmitpriv, pframe); in xmit_xmitframes()
329 struct xmit_frame *pframe; in xmit_xmitframes() local
330 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
331 pframe->agg_num = k; in xmit_xmitframes()
333 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
334 rtw_free_xmitframe(pxmitpriv, pframe); in xmit_xmitframes()
[all …]
/linux-6.15/drivers/usb/gadget/udc/
H A Dfsl_qe_udc.c794 struct qe_frame *pframe; in ep0_setup_handle() local
798 pframe = ep->rxframe; in ep0_setup_handle()
818 struct qe_frame *pframe; in qe_ep0_rx() local
823 pframe = ep->rxframe; in qe_ep0_rx()
890 struct qe_frame *pframe; in qe_ep_rxframe_handle() local
896 pframe = ep->rxframe; in qe_ep_rxframe_handle()
954 pframe = ep->rxframe; in ep_rx_tasklet()
1029 pframe = ep->rxframe; in qe_ep_rx()
1370 pframe = ep->txframe; in qe_ep0_txconf()
1427 pframe = ep->txframe; in qe_ep_txconf()
[all …]
/linux-6.15/drivers/scsi/
H A Dmvumi.c2029 struct mvumi_msg_frame *pframe; in mvumi_build_frame() local
2033 pframe = cmd->frame; in mvumi_build_frame()
2036 pframe->cmd_flag = 0; in mvumi_build_frame()
2040 pframe->cmd_flag |= CMD_FLAG_NON_DATA; in mvumi_build_frame()
2043 pframe->cmd_flag |= CMD_FLAG_DATA_IN; in mvumi_build_frame()
2046 pframe->cmd_flag |= CMD_FLAG_DATA_OUT; in mvumi_build_frame()
2055 pframe->cdb_length = scmd->cmd_len; in mvumi_build_frame()
2056 memcpy(pframe->cdb, scmd->cmnd, pframe->cdb_length); in mvumi_build_frame()
2060 &pframe->sg_counts)) in mvumi_build_frame()
2065 pframe->sg_counts = 0; in mvumi_build_frame()
[all …]
/linux-6.15/drivers/media/platform/st/sti/delta/
H A Ddelta.h561 struct delta_frame **pframe);
H 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.15/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c2059 unsigned char *pframe; in rtw_cfg80211_monitor_if_xmit_entry() local
2084 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtw_cfg80211_monitor_if_xmit_entry()
2086 memcpy(pframe, (void *)buf, len); in rtw_cfg80211_monitor_if_xmit_entry()
2089 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry()
2468 unsigned char *pframe; in _cfg80211_rtw_mgmt_tx() local
2499 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in _cfg80211_rtw_mgmt_tx()
2501 memcpy(pframe, (void *)buf, len); in _cfg80211_rtw_mgmt_tx()
2504 pwlanhdr = (struct ieee80211_hdr *)pframe; in _cfg80211_rtw_mgmt_tx()