| /linux/drivers/staging/rtl8723bs/include/ |
| A D | wifi.h | 83 #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 …]
|
| A D | rtw_mlme_ext.h | 493 unsigned char check_assoc_AP(u8 *pframe, uint len); 506 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta); 507 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len); 622 extern void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len); 624 extern void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len);
|
| /linux/drivers/staging/rtl8723bs/core/ |
| A D | rtw_mlme_ext.c | 2000 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 …]
|
| A D | rtw_security.c | 64 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 …]
|
| A D | rtw_xmit.c | 809 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 …]
|
| A D | rtw_wlan_util.c | 1145 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) in rtw_check_bcn_info() argument 1158 u8 *pbssid = GetAddr3Ptr(pframe); in rtw_check_bcn_info() 1187 subtype = GetFrameSubType(pframe) >> 4; in rtw_check_bcn_info() 1196 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info() 1334 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info() 1470 unsigned char check_assoc_AP(u8 *pframe, uint len) in check_assoc_AP() argument 1476 pIE = (struct ndis_80211_var_ie *)(pframe + i); in check_assoc_AP() 1686 void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in update_TSF() argument 1691 pIE = pframe + sizeof(struct ieee80211_hdr_3addr); in update_TSF() 1706 void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in adaptive_early_32k() argument [all …]
|
| A D | rtw_recv.c | 304 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/drivers/staging/rtl8712/ |
| A D | rtl871x_security.c | 172 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 D | wifi.h | 47 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 D | rtl871x_xmit.c | 413 &pframe[24], 6); in xmitframe_addmic() 416 &pframe[10], 6); in xmitframe_addmic() 422 &pframe[16], 6); in xmitframe_addmic() 425 &pframe[10], 6); in xmitframe_addmic() 430 payload = pframe; in xmitframe_addmic() 641 pframe = mem_start; in r8712_xmitframe_coalesce() 643 pframe += pattrib->hdrlen; in r8712_xmitframe_coalesce() 674 pframe += pattrib->iv_len; in r8712_xmitframe_coalesce() 679 pframe += llc_sz; in r8712_xmitframe_coalesce() 690 pframe += mem_sz; in r8712_xmitframe_coalesce() [all …]
|
| A D | rtl871x_recv.c | 142 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/drivers/staging/rtl8723bs/hal/ |
| A D | rtl8723b_cmd.c | 116 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() 158 …pframe = 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 …]
|
| A D | rtl8723bs_xmit.c | 245 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/drivers/usb/gadget/udc/ |
| A D | fsl_qe_udc.c | 794 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/drivers/scsi/ |
| A D | mvumi.c | 2028 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/drivers/media/platform/st/sti/delta/ |
| A D | delta.h | 561 struct delta_frame **pframe);
|
| A D | delta-v4l2.c | 1239 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/drivers/staging/rtl8192e/ |
| A D | rtllib.h | 343 #define is_qos_data_frame(pframe) \ argument 344 ((*(u16 *)pframe & (IEEE80211_STYPE_QOS_DATA | RTLLIB_FTYPE_DATA)) == \ 346 #define frame_order(pframe) (*(u16 *)pframe & IEEE80211_FCTL_ORDER) argument
|
| /linux/drivers/staging/rtl8723bs/os_dep/ |
| A D | ioctl_cfg80211.c | 2068 unsigned char *pframe; in rtw_cfg80211_monitor_if_xmit_entry() local 2093 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtw_cfg80211_monitor_if_xmit_entry() 2095 memcpy(pframe, (void *)buf, len); in rtw_cfg80211_monitor_if_xmit_entry() 2098 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry() 2477 unsigned char *pframe; in _cfg80211_rtw_mgmt_tx() local 2508 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in _cfg80211_rtw_mgmt_tx() 2510 memcpy(pframe, (void *)buf, len); in _cfg80211_rtw_mgmt_tx() 2513 pwlanhdr = (struct ieee80211_hdr *)pframe; in _cfg80211_rtw_mgmt_tx()
|