pframe 1240 drivers/media/platform/sti/delta/delta-v4l2.c struct delta_frame **pframe) pframe 1246 drivers/media/platform/sti/delta/delta-v4l2.c *pframe = NULL; pframe 1268 drivers/media/platform/sti/delta/delta-v4l2.c *pframe = frame; pframe 561 drivers/media/platform/sti/delta/delta.h struct delta_frame **pframe); pframe 2028 drivers/scsi/mvumi.c struct mvumi_msg_frame *pframe; pframe 2032 drivers/scsi/mvumi.c pframe = cmd->frame; pframe 2033 drivers/scsi/mvumi.c pframe->device_id = ((unsigned short) scmd->device->id) | pframe 2035 drivers/scsi/mvumi.c pframe->cmd_flag = 0; pframe 2039 drivers/scsi/mvumi.c pframe->cmd_flag |= CMD_FLAG_NON_DATA; pframe 2042 drivers/scsi/mvumi.c pframe->cmd_flag |= CMD_FLAG_DATA_IN; pframe 2045 drivers/scsi/mvumi.c pframe->cmd_flag |= CMD_FLAG_DATA_OUT; pframe 2054 drivers/scsi/mvumi.c pframe->cdb_length = scmd->cmd_len; pframe 2055 drivers/scsi/mvumi.c memcpy(pframe->cdb, scmd->cmnd, pframe->cdb_length); pframe 2056 drivers/scsi/mvumi.c pframe->req_function = CL_FUN_SCSI_CMD; pframe 2058 drivers/scsi/mvumi.c if (mvumi_make_sgl(mhba, scmd, &pframe->payload[0], pframe 2059 drivers/scsi/mvumi.c &pframe->sg_counts)) pframe 2062 drivers/scsi/mvumi.c pframe->data_transfer_length = scsi_bufflen(scmd); pframe 2064 drivers/scsi/mvumi.c pframe->sg_counts = 0; pframe 2065 drivers/scsi/mvumi.c pframe->data_transfer_length = 0; pframe 314 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 341 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 342 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 353 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_BEACON); pframe 355 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 364 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, cur_network->ies, cur_network->ie_length); pframe 366 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe+_BEACON_IE_OFFSET_ pframe 370 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += (cur_network->ie_length+len_diff); pframe 387 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 8; pframe 392 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); pframe 394 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 2; pframe 399 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); pframe 401 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 2; pframe 405 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->ssid.ssid_length, cur_network->ssid.ssid, &pattrib->pktlen); pframe 409 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, min_t(unsigned int, rate_len, 8), cur_network->SupportedRates, &pattrib->pktlen); pframe 412 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&cur_network->Configuration.DSConfig, &pattrib->pktlen); pframe 419 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _IBSS_PARA_IE_, 2, (unsigned char *)(&ATIMWindow), &pattrib->pktlen); pframe 422 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _ERPINFO_IE_, 1, &erpinfo, &pattrib->pktlen); pframe 427 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pattrib->pktlen); pframe 455 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 482 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 483 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 500 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; pframe 520 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, cur_network->ies, wps_offset); pframe 521 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += wps_offset; pframe 526 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2); pframe 527 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += wps_ielen+2; pframe 532 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, premainder_ie, remainder_ielen); pframe 533 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += remainder_ielen; pframe 537 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, cur_network->ies, cur_network->ie_length); pframe 538 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += cur_network->ie_length; pframe 545 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 8; pframe 550 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); pframe 552 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 2; pframe 557 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); pframe 559 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 2; pframe 565 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->ssid.ssid_length, cur_network->ssid.ssid, &pattrib->pktlen); pframe 569 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, min_t(unsigned int, rate_len, 8), cur_network->SupportedRates, &pattrib->pktlen); pframe 572 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&cur_network->Configuration.DSConfig, &pattrib->pktlen); pframe 580 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _IBSS_PARA_IE_, 2, (unsigned char *)(&ATIMWindow), &pattrib->pktlen); pframe 583 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _ERPINFO_IE_, 1, &erpinfo, &pattrib->pktlen); pframe 588 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pattrib->pktlen); pframe 604 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 627 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 628 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 649 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_PROBEREQ); pframe 651 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 655 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, pssid->ssid_length, pssid->ssid, &pattrib->pktlen); pframe 657 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, 0, NULL, &pattrib->pktlen); pframe 662 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, bssrate, &pattrib->pktlen); pframe 663 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, bssrate_len - 8, bssrate + 8, &pattrib->pktlen); pframe 665 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, bssrate_len, bssrate, &pattrib->pktlen); pframe 670 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, pmlmepriv->wps_probe_req_ie, pmlmepriv->wps_probe_req_ie_len); pframe 671 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += pmlmepriv->wps_probe_req_ie_len; pframe 739 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 763 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 764 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 771 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_AUTH); pframe 773 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 798 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_ALGM_NUM_, &le_val16, pframe 804 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_SEQ_NUM_, &le_val16, pframe 810 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _STATUS_CODE_, pframe 815 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _CHLGETXT_IE_, 128, psta->chg_txt, &pattrib->pktlen); pframe 834 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 4, &le_tmp32, pframe 841 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_ALGM_NUM_, &le_tmp16, pframe 847 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_SEQ_NUM_, &le_tmp16, pframe 852 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _STATUS_CODE_, &le_tmp16, pframe 857 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _CHLGETXT_IE_, 128, pmlmeinfo->chg_txt, &pattrib->pktlen); pframe 885 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pbuf, *pframe; pframe 908 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 909 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 928 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; pframe 933 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _CAPABILITY_, &val, &pattrib->pktlen); pframe 936 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _STATUS_CODE_, &lestatus, pframe 940 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _ASOC_ID_, &leval, &pattrib->pktlen); pframe 943 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, pstat->bssratelen, pstat->bssrateset, &pattrib->pktlen); pframe 945 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, pstat->bssrateset, &pattrib->pktlen); pframe 946 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, pstat->bssratelen-8, pstat->bssrateset+8, &pattrib->pktlen); pframe 955 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, pbuf, ie_len+2); pframe 956 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += (ie_len+2); pframe 963 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, pbuf, ie_len+2); pframe 964 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += (ie_len+2); pframe 977 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, pbuf, ie_len+2); pframe 978 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += (ie_len+2); pframe 989 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, 6, REALTEK_96B_IE, &pattrib->pktlen); pframe 993 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, pmlmepriv->wps_assoc_resp_ie, pmlmepriv->wps_assoc_resp_ie_len); pframe 995 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += pmlmepriv->wps_assoc_resp_ie_len; pframe 1009 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe, *p; pframe 1032 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 1033 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1043 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ASSOCREQ); pframe 1045 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 1050 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pframe, rtw_get_capability_from_ie(pmlmeinfo->network.ies), 2); pframe 1052 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 2; pframe 1057 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c put_unaligned_le16(3, pframe); pframe 1058 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += 2; pframe 1062 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, pmlmeinfo->network.ssid.ssid_length, pmlmeinfo->network.ssid.ssid, &pattrib->pktlen); pframe 1109 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, bssrate, &pattrib->pktlen); pframe 1110 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, bssrate_len - 8, bssrate + 8, &pattrib->pktlen); pframe 1112 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, bssrate_len, bssrate, &pattrib->pktlen); pframe 1118 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _RSN_IE_2_, ie_len, p + 2, &pattrib->pktlen); pframe 1138 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _HT_CAPABILITY_IE_, ie_len, (u8 *)(&pmlmeinfo->HT_caps), &pattrib->pktlen); pframe 1158 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, pIE->Length, pIE->data, &pattrib->pktlen); pframe 1167 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, 6, REALTEK_96B_IE, &pattrib->pktlen); pframe 1188 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 1215 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 1216 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1235 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_DATA_NULL); pframe 1237 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 1309 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 1336 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 1337 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1350 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c qc = (unsigned short *)(pframe + pattrib->hdrlen - 2); pframe 1364 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_QOS_DATA_NULL); pframe 1366 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_qos_hdr); pframe 1436 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 1457 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 1458 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1469 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_DEAUTH); pframe 1471 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 1475 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _RSON_CODE_, &le_tmp, pframe 1552 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe; pframe 1575 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 1576 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1587 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ACTION); pframe 1589 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 1592 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &category, &pattrib->pktlen); pframe 1593 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &action, &pattrib->pktlen); pframe 1601 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &pmlmeinfo->dialogToken, &pattrib->pktlen); pframe 1605 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &(le_tmp), pframe 1610 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &(le_tmp), pframe 1624 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &(le_tmp), pframe 1631 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, pframe 1634 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &status, pframe 1664 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &(le_tmp), pframe 1666 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, pframe 1674 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &(le_tmp), pframe 1679 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, &(le_tmp), pframe 1698 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *pframe; pframe 1732 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 1733 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1744 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ACTION); pframe 1746 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 1749 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &category, &pattrib->pktlen); pframe 1750 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &action, &pattrib->pktlen); pframe 1758 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_BSSCoexistence, 1, &iedata, &pattrib->pktlen); pframe 1813 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_BSSIntolerantChlReport, k, InfoContent, &pattrib->pktlen); pframe 2017 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 2031 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c subtype = GetFrameSubType(pframe); pframe 2054 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); pframe 2132 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(bssid->MacAddress, GetAddr2Ptr(pframe)); pframe 2144 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(bssid->MacAddress, GetAddr2Ptr(pframe)); pframe 2147 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(bssid->MacAddress, GetAddr3Ptr(pframe)); pframe 2514 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 2524 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, &ielen, pframe 2535 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probersp(padapter, get_sa(pframe)); pframe 2562 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 2573 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!memcmp(GetAddr3Ptr(pframe), pnetwork->MacAddress, ETH_ALEN)) { pframe 2586 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pframe+sizeof(struct ieee80211_hdr_3addr), len-sizeof(struct ieee80211_hdr_3addr)); pframe 2589 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_TSF(pmlmeext, pframe, len); pframe 2598 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 2600 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = rtw_check_bcn_info(padapter, pframe, len); pframe 2609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); pframe 2612 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 2617 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); pframe 2625 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_HDR_A3_LEN - _BEACON_IE_OFFSET_), cam_idx) == _FAIL) { pframe 2631 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_TSF(pmlmeext, pframe, len); pframe 2634 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); pframe 2659 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 2667 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c sa = GetAddr2Ptr(pframe); pframe 2670 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + 2)); pframe 2671 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c algorithm = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN)); pframe 2761 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, &ie_len, pframe 2822 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 2828 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), get_da(pframe), ETH_ALEN)) pframe 2834 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c offset = (GetPrivacy(pframe)) ? 4 : 0; pframe 2836 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 2)); pframe 2837 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c status = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 4)); pframe 2855 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, &len, pframe 2910 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 2916 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c frame_type = GetFrameSubType(pframe); pframe 2931 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pstat = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 2937 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c capab_info = get_unaligned_le16(pframe + WLAN_HDR_A3_LEN); pframe 2940 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pos = pframe + (IEEE80211_3ADDR_LEN + ie_offset); pframe 2969 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, _SSID_IE_, &ie_len, pframe 2989 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, _SUPPORTEDRATES_IE_, &ie_len, pkt_len - WLAN_HDR_A3_LEN - ie_offset); pframe 3002 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, _EXT_SUPPORTEDRATES_IE_, &ie_len, pframe 3146 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = pframe + WLAN_HDR_A3_LEN + ie_offset; ie_len = 0; pframe 3308 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_deauth(padapter, (void *)GetAddr2Ptr(pframe), status); pframe 3335 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3341 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), get_da(pframe), ETH_ALEN)) pframe 3353 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c status = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN + 2)); pframe 3362 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->capability = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN)); pframe 3368 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->aid = (int)(le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN + 4)) & 0x3fff); pframe 3375 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pIE = (struct ndis_802_11_var_ie *)(pframe + i); pframe 3404 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_buf_update(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len, pframe, pkt_len); pframe 3420 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3424 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(GetAddr3Ptr(pframe), pnetwork->MacAddress, ETH_ALEN)) pframe 3427 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reason = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN)); pframe 3437 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reason, GetAddr2Ptr(pframe)); pframe 3439 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 3459 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reason, GetAddr3Ptr(pframe)); pframe 3461 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); pframe 3474 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3478 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(GetAddr3Ptr(pframe), pnetwork->MacAddress, ETH_ALEN)) pframe 3481 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reason = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN)); pframe 3491 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reason, GetAddr2Ptr(pframe)); pframe 3493 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 3513 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reason, GetAddr3Ptr(pframe)); pframe 3515 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); pframe 3533 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3534 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 3540 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 3589 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3593 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), pframe 3603 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c addr = GetAddr2Ptr(pframe); pframe 3609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c frame_body = (unsigned char *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 3693 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3697 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c frame_body = (unsigned char *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 3709 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3710 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 3722 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3723 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 3741 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3742 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 3746 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN)) pframe 3812 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 3814 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c frame_body = (unsigned char *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 4069 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 4073 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && pframe 4074 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) pframe 4088 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 *pframe = precv_frame->pkt->data; pframe 4089 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); pframe 4093 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c (unsigned int)GetFrameType(pframe), pframe 4094 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c (unsigned int)GetFrameSubType(pframe))); pframe 4096 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (GetFrameType(pframe) != WIFI_MGT_TYPE) { pframe 4099 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c (unsigned int)GetFrameType(pframe))); pframe 4104 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && pframe 4105 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) pframe 4110 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c index = GetFrameSubType(pframe) >> 4; pframe 4119 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (GetRetry(pframe)) { pframe 4132 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c switch (GetFrameSubType(pframe)) { pframe 215 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *pframe, *payload, *pframemic; pframe 257 drivers/staging/rtl8188eu/core/rtw_recv.c pframe = precvframe->pkt->data; pframe 258 drivers/staging/rtl8188eu/core/rtw_recv.c payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; pframe 261 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], pframe 868 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *pframe = precv_frame->pkt->data; pframe 870 drivers/staging/rtl8188eu/core/rtw_recv.c if (GetFrameType(pframe) != WIFI_CTRL_TYPE) pframe 874 drivers/staging/rtl8188eu/core/rtw_recv.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) pframe 878 drivers/staging/rtl8188eu/core/rtw_recv.c if (GetFrameSubType(pframe) == WIFI_PSPOLL) { pframe 883 drivers/staging/rtl8188eu/core/rtw_recv.c aid = GetAid(pframe); pframe 884 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 135 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe; pframe 154 drivers/staging/rtl8188eu/core/rtw_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; pframe 178 drivers/staging/rtl8188eu/core/rtw_security.c skb_put_data(skb, pframe, length); pframe 189 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe, skb->data, skb->len); pframe 191 drivers/staging/rtl8188eu/core/rtw_security.c pframe += skb->len; pframe 192 drivers/staging/rtl8188eu/core/rtw_security.c pframe = (u8 *)round_up((size_t)(pframe), 4); pframe 208 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe = skb->data; pframe 220 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(iv, pframe + prxattrib->hdrlen, 4); pframe 221 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(icv, pframe + skb->len - 4, 4); pframe 238 drivers/staging/rtl8188eu/core/rtw_security.c memmove(pframe, pframe + 4, prxattrib->hdrlen); pframe 242 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + prxattrib->hdrlen, iv, 4); pframe 243 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + skb->len - 4, icv, 4); pframe 586 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; pframe 599 drivers/staging/rtl8188eu/core/rtw_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; pframe 616 drivers/staging/rtl8188eu/core/rtw_security.c iv = pframe+pattrib->hdrlen; pframe 617 drivers/staging/rtl8188eu/core/rtw_security.c payload = pframe+pattrib->iv_len+pattrib->hdrlen; pframe 643 drivers/staging/rtl8188eu/core/rtw_security.c pframe += pxmitpriv->frag_len; pframe 644 drivers/staging/rtl8188eu/core/rtw_security.c pframe = (u8 *)round_up((size_t)(pframe), 4); pframe 666 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; pframe 674 drivers/staging/rtl8188eu/core/rtw_security.c pframe = (unsigned char *)((struct recv_frame *)precvframe)->pkt->data; pframe 692 drivers/staging/rtl8188eu/core/rtw_security.c iv = pframe+prxattrib->hdrlen; pframe 693 drivers/staging/rtl8188eu/core/rtw_security.c payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; pframe 1084 drivers/staging/rtl8188eu/core/rtw_security.c static int aes_cipher(u8 *key, uint hdrlen, u8 *pframe, uint plen) pframe 1100 drivers/staging/rtl8188eu/core/rtw_security.c uint frtype = GetFrameType(pframe); pframe 1101 drivers/staging/rtl8188eu/core/rtw_security.c uint frsubtype = GetFrameSubType(pframe); pframe 1130 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; pframe 1131 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; pframe 1132 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; pframe 1133 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; pframe 1134 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; pframe 1135 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; pframe 1137 drivers/staging/rtl8188eu/core/rtw_security.c construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); pframe 1139 drivers/staging/rtl8188eu/core/rtw_security.c construct_mic_header1(mic_header1, hdrlen, pframe); pframe 1140 drivers/staging/rtl8188eu/core/rtw_security.c construct_mic_header2(mic_header2, pframe, a4_exists, qc_exists); pframe 1156 drivers/staging/rtl8188eu/core/rtw_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer);/* bitwise_xor(aes_out, &message[payload_index], chain_buffer); */ pframe 1167 drivers/staging/rtl8188eu/core/rtw_security.c padded_buffer[j] = pframe[payload_index++];/* padded_buffer[j] = message[payload_index++]; */ pframe 1177 drivers/staging/rtl8188eu/core/rtw_security.c pframe[payload_index+j] = mic[j]; pframe 1181 drivers/staging/rtl8188eu/core/rtw_security.c construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, i+1); pframe 1183 drivers/staging/rtl8188eu/core/rtw_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer); pframe 1185 drivers/staging/rtl8188eu/core/rtw_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1190 drivers/staging/rtl8188eu/core/rtw_security.c construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); pframe 1195 drivers/staging/rtl8188eu/core/rtw_security.c padded_buffer[j] = pframe[payload_index+j]; pframe 1199 drivers/staging/rtl8188eu/core/rtw_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1202 drivers/staging/rtl8188eu/core/rtw_security.c construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, 0); pframe 1207 drivers/staging/rtl8188eu/core/rtw_security.c padded_buffer[j] = pframe[j+hdrlen+8+plen]; pframe 1212 drivers/staging/rtl8188eu/core/rtw_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1224 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe, *prwskey; /* *payload,*iv */ pframe 1240 drivers/staging/rtl8188eu/core/rtw_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; pframe 1260 drivers/staging/rtl8188eu/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); pframe 1264 drivers/staging/rtl8188eu/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); pframe 1265 drivers/staging/rtl8188eu/core/rtw_security.c pframe += pxmitpriv->frag_len; pframe 1266 drivers/staging/rtl8188eu/core/rtw_security.c pframe = (u8 *)round_up((size_t)(pframe), 8); pframe 1292 drivers/staging/rtl8188eu/core/rtw_security.c u8 *key, *pframe = skb->data; pframe 1316 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(iv, pframe + prxattrib->hdrlen, iv_len); pframe 1317 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(icv, pframe + skb->len - icv_len, icv_len); pframe 1333 drivers/staging/rtl8188eu/core/rtw_security.c memmove(pframe, pframe + iv_len, prxattrib->hdrlen); pframe 1337 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + prxattrib->hdrlen, iv, iv_len); pframe 1338 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + skb->len - icv_len, icv, icv_len); pframe 810 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) pframe 822 drivers/staging/rtl8188eu/core/rtw_wlan_util.c u8 *pbssid = GetAddr3Ptr(pframe); pframe 849 drivers/staging/rtl8188eu/core/rtw_wlan_util.c subtype = GetFrameSubType(pframe) >> 4; pframe 858 drivers/staging/rtl8188eu/core/rtw_wlan_util.c memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); pframe 1013 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) pframe 1022 drivers/staging/rtl8188eu/core/rtw_wlan_util.c pIE = (struct ndis_802_11_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); pframe 1205 drivers/staging/rtl8188eu/core/rtw_wlan_util.c unsigned char check_assoc_AP(u8 *pframe, uint len) pframe 1216 drivers/staging/rtl8188eu/core/rtw_wlan_util.c pIE = (struct ndis_802_11_var_ie *)(pframe + i); pframe 1450 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) pframe 1455 drivers/staging/rtl8188eu/core/rtw_wlan_util.c pIE = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 591 drivers/staging/rtl8188eu/core/rtw_xmit.c u8 *pframe, *payload, mic[8]; pframe 612 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe = pxmitframe->buf_addr + hw_hdr_offset; pframe 626 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pframe[1] & 1) { /* ToDS == 1 */ pframe 627 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[16], 6); /* DA */ pframe 628 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pframe[1] & 2) /* From Ds == 1 */ pframe 629 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[24], 6); pframe 631 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[10], 6); pframe 633 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[4], 6); /* DA */ pframe 634 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pframe[1] & 2) /* From Ds == 1 */ pframe 635 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[16], 6); pframe 637 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[10], 6); pframe 645 drivers/staging/rtl8188eu/core/rtw_xmit.c payload = pframe; pframe 911 drivers/staging/rtl8188eu/core/rtw_xmit.c u8 *pframe, *mem_start; pframe 952 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe = mem_start; pframe 956 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe += pattrib->hdrlen; pframe 980 drivers/staging/rtl8188eu/core/rtw_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); pframe 986 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->iv[3], *pframe, *(pframe + 1), pframe 987 drivers/staging/rtl8188eu/core/rtw_xmit.c *(pframe + 2), *(pframe + 3))); pframe 989 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe += pattrib->iv_len; pframe 995 drivers/staging/rtl8188eu/core/rtw_xmit.c llc_sz = rtw_put_snap(pframe, pattrib->ether_type); pframe 996 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe += llc_sz; pframe 1004 drivers/staging/rtl8188eu/core/rtw_xmit.c skb_copy_bits(pkt, pkt->len - remainder, pframe, mem_sz); pframe 1007 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe += mem_sz; pframe 1010 drivers/staging/rtl8188eu/core/rtw_xmit.c memcpy(pframe, pattrib->icv, pattrib->icv_len); pframe 1011 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe += pattrib->icv_len; pframe 1029 drivers/staging/rtl8188eu/core/rtw_xmit.c addr = (size_t)(pframe); pframe 208 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c static void ConstructBeacon(struct adapter *adapt, u8 *pframe, u32 *pLength) pframe 218 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 228 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c SetFrameSubType(pframe, WIFI_BEACON); pframe 230 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 234 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe += 8; pframe 238 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); pframe 240 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe += 2; pframe 244 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); pframe 246 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe += 2; pframe 251 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c memcpy(pframe, cur_network->ies+sizeof(struct ndis_802_11_fixed_ie), pktlen); pframe 259 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->ssid.ssid_length, cur_network->ssid.ssid, &pktlen); pframe 263 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, min_t(u32, rate_len, 8), cur_network->SupportedRates, &pktlen); pframe 266 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&(cur_network->Configuration.DSConfig), &pktlen); pframe 272 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe = rtw_set_ie(pframe, _IBSS_PARA_IE_, 2, (unsigned char *)(&ATIMWindow), &pktlen); pframe 279 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pktlen); pframe 293 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c static void ConstructPSPoll(struct adapter *adapt, u8 *pframe, u32 *pLength) pframe 301 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 307 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c SetFrameSubType(pframe, WIFI_PSPOLL); pframe 310 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); pframe 321 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c static void ConstructNullFunctionData(struct adapter *adapt, u8 *pframe, pframe 338 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 371 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c SetFrameSubType(pframe, WIFI_QOS_DATA_NULL); pframe 373 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pwlanqoshdr = (struct ieee80211_qos_hdr *)pframe; pframe 379 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c SetFrameSubType(pframe, WIFI_DATA_NULL); pframe 387 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c static void ConstructProbeRsp(struct adapter *adapt, u8 *pframe, u32 *pLength, u8 *StaAddr, bool bHideSSID) pframe 397 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 412 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe += pktlen; pframe 417 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c memcpy(pframe, cur_network->ies, cur_network->ie_length); pframe 418 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pframe += cur_network->ie_length; pframe 494 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned char check_assoc_AP(u8 *pframe, uint len); pframe 506 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, pframe 508 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len); pframe 578 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len); pframe 161 drivers/staging/rtl8188eu/include/wifi.h #define get_tofr_ds(pframe) ((GetToDs(pframe) << 1) | GetFrDs(pframe)) pframe 260 drivers/staging/rtl8188eu/include/wifi.h static inline unsigned char *get_da(unsigned char *pframe) pframe 263 drivers/staging/rtl8188eu/include/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 267 drivers/staging/rtl8188eu/include/wifi.h da = GetAddr1Ptr(pframe); pframe 270 drivers/staging/rtl8188eu/include/wifi.h da = GetAddr1Ptr(pframe); pframe 273 drivers/staging/rtl8188eu/include/wifi.h da = GetAddr3Ptr(pframe); pframe 276 drivers/staging/rtl8188eu/include/wifi.h da = GetAddr3Ptr(pframe); pframe 282 drivers/staging/rtl8188eu/include/wifi.h static inline unsigned char *get_sa(unsigned char *pframe) pframe 285 drivers/staging/rtl8188eu/include/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 289 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr2Ptr(pframe); pframe 292 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr3Ptr(pframe); pframe 295 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr2Ptr(pframe); pframe 298 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr4Ptr(pframe); pframe 304 drivers/staging/rtl8188eu/include/wifi.h static inline unsigned char *get_hdr_bssid(unsigned char *pframe) pframe 307 drivers/staging/rtl8188eu/include/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 311 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr3Ptr(pframe); pframe 314 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr2Ptr(pframe); pframe 317 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr1Ptr(pframe); pframe 320 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr1Ptr(pframe); pframe 329 drivers/staging/rtl8188eu/include/wifi.h static inline int IsFrameTypeCtrl(unsigned char *pframe) pframe 331 drivers/staging/rtl8188eu/include/wifi.h if (WIFI_CTRL_TYPE == GetFrameType(pframe)) pframe 413 drivers/staging/rtl8192e/rtllib.h #define IsQoSDataFrame(pframe) \ pframe 414 drivers/staging/rtl8192e/rtllib.h ((*(u16 *)pframe&(RTLLIB_STYPE_QOS_DATA|RTLLIB_FTYPE_DATA)) == \ pframe 416 drivers/staging/rtl8192e/rtllib.h #define Frame_Order(pframe) (*(u16 *)pframe&RTLLIB_FCTL_ORDER) pframe 414 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IsQoSDataFrame(pframe) ((*(u16 *)pframe & (IEEE80211_STYPE_QOS_DATA | IEEE80211_FTYPE_DATA)) == (IEEE80211_STYPE_QOS_DATA | IEEE80211_FTYPE_DATA)) pframe 415 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define Frame_Order(pframe) (*(u16 *)pframe & IEEE80211_FCTL_ORDER) pframe 144 drivers/staging/rtl8712/rtl871x_recv.c u8 *pframe, *payload, *pframemic; pframe 168 drivers/staging/rtl8712/rtl871x_recv.c pframe = precvframe->u.hdr.rx_data; pframe 169 drivers/staging/rtl8712/rtl871x_recv.c payload = pframe + prxattrib->hdrlen + pframe 171 drivers/staging/rtl8712/rtl871x_recv.c seccalctkipmic(mickey, pframe, payload, datalen, pframe 156 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv; /*,*wepkey*/ pframe 165 drivers/staging/rtl8712/rtl871x_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; pframe 172 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + pattrib->hdrlen; pframe 177 drivers/staging/rtl8712/rtl871x_security.c payload = pframe + pattrib->iv_len + pattrib->hdrlen; pframe 201 drivers/staging/rtl8712/rtl871x_security.c pframe += pxmitpriv->frag_len; pframe 202 drivers/staging/rtl8712/rtl871x_security.c pframe = (u8 *)RND4((addr_t)(pframe)); pframe 214 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv, wepkey[16]; pframe 220 drivers/staging/rtl8712/rtl871x_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)-> pframe 225 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; pframe 234 drivers/staging/rtl8712/rtl871x_security.c payload = pframe + prxattrib->iv_len + prxattrib->hdrlen; pframe 569 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv, *prwskey; pframe 579 drivers/staging/rtl8712/rtl871x_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; pframe 591 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + pattrib->hdrlen; pframe 592 drivers/staging/rtl8712/rtl871x_security.c payload = pframe + pattrib->iv_len + pframe 627 drivers/staging/rtl8712/rtl871x_security.c pframe += pxmitpriv->frag_len; pframe 628 drivers/staging/rtl8712/rtl871x_security.c pframe = (u8 *)RND4((addr_t)(pframe)); pframe 648 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv, *prwskey, idx = 0; pframe 655 drivers/staging/rtl8712/rtl871x_security.c pframe = (unsigned char *)((union recv_frame *) pframe 662 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; pframe 663 drivers/staging/rtl8712/rtl871x_security.c payload = pframe + prxattrib->iv_len + pframe 1015 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, uint plen) pframe 1031 drivers/staging/rtl8712/rtl871x_security.c u16 frtype = GetFrameType(pframe); pframe 1032 drivers/staging/rtl8712/rtl871x_security.c u16 frsubtype = GetFrameSubType(pframe); pframe 1064 drivers/staging/rtl8712/rtl871x_security.c pn_vector[0] = pframe[hdrlen]; pframe 1065 drivers/staging/rtl8712/rtl871x_security.c pn_vector[1] = pframe[hdrlen + 1]; pframe 1066 drivers/staging/rtl8712/rtl871x_security.c pn_vector[2] = pframe[hdrlen + 4]; pframe 1067 drivers/staging/rtl8712/rtl871x_security.c pn_vector[3] = pframe[hdrlen + 5]; pframe 1068 drivers/staging/rtl8712/rtl871x_security.c pn_vector[4] = pframe[hdrlen + 6]; pframe 1069 drivers/staging/rtl8712/rtl871x_security.c pn_vector[5] = pframe[hdrlen + 7]; pframe 1070 drivers/staging/rtl8712/rtl871x_security.c construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); pframe 1071 drivers/staging/rtl8712/rtl871x_security.c construct_mic_header1(mic_header1, hdrlen, pframe); pframe 1072 drivers/staging/rtl8712/rtl871x_security.c construct_mic_header2(mic_header2, pframe, a4_exists, qc_exists); pframe 1084 drivers/staging/rtl8712/rtl871x_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer); pframe 1093 drivers/staging/rtl8712/rtl871x_security.c padded_buffer[j] = pframe[payload_index++]; pframe 1101 drivers/staging/rtl8712/rtl871x_security.c pframe[payload_index + j] = mic[j]; pframe 1105 drivers/staging/rtl8712/rtl871x_security.c pframe, pn_vector, i + 1); pframe 1107 drivers/staging/rtl8712/rtl871x_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer); pframe 1109 drivers/staging/rtl8712/rtl871x_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1114 drivers/staging/rtl8712/rtl871x_security.c pframe, pn_vector, num_blocks + 1); pframe 1118 drivers/staging/rtl8712/rtl871x_security.c padded_buffer[j] = pframe[payload_index + j]; pframe 1122 drivers/staging/rtl8712/rtl871x_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1126 drivers/staging/rtl8712/rtl871x_security.c pframe, pn_vector, 0); pframe 1130 drivers/staging/rtl8712/rtl871x_security.c padded_buffer[j] = pframe[j + hdrlen + 8 + plen]; pframe 1134 drivers/staging/rtl8712/rtl871x_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1141 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *prwskey; pframe 1150 drivers/staging/rtl8712/rtl871x_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; pframe 1168 drivers/staging/rtl8712/rtl871x_security.c pframe, length); pframe 1175 drivers/staging/rtl8712/rtl871x_security.c pframe, length); pframe 1176 drivers/staging/rtl8712/rtl871x_security.c pframe += pxmitpriv->frag_len; pframe 1177 drivers/staging/rtl8712/rtl871x_security.c pframe = (u8 *)RND4((addr_t)(pframe)); pframe 1188 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, uint plen) pframe 1203 drivers/staging/rtl8712/rtl871x_security.c uint frtype = GetFrameType(pframe); pframe 1204 drivers/staging/rtl8712/rtl871x_security.c uint frsubtype = GetFrameSubType(pframe); pframe 1218 drivers/staging/rtl8712/rtl871x_security.c pn_vector[0] = pframe[hdrlen]; pframe 1219 drivers/staging/rtl8712/rtl871x_security.c pn_vector[1] = pframe[hdrlen + 1]; pframe 1220 drivers/staging/rtl8712/rtl871x_security.c pn_vector[2] = pframe[hdrlen + 4]; pframe 1221 drivers/staging/rtl8712/rtl871x_security.c pn_vector[3] = pframe[hdrlen + 5]; pframe 1222 drivers/staging/rtl8712/rtl871x_security.c pn_vector[4] = pframe[hdrlen + 6]; pframe 1223 drivers/staging/rtl8712/rtl871x_security.c pn_vector[5] = pframe[hdrlen + 7]; pframe 1248 drivers/staging/rtl8712/rtl871x_security.c pframe, pn_vector, i + 1); pframe 1250 drivers/staging/rtl8712/rtl871x_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer); pframe 1252 drivers/staging/rtl8712/rtl871x_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1257 drivers/staging/rtl8712/rtl871x_security.c pframe, pn_vector, num_blocks + 1); pframe 1261 drivers/staging/rtl8712/rtl871x_security.c padded_buffer[j] = pframe[payload_index + j]; pframe 1265 drivers/staging/rtl8712/rtl871x_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1268 drivers/staging/rtl8712/rtl871x_security.c memcpy((void *)message, pframe, (hdrlen + plen + 8)); pframe 1269 drivers/staging/rtl8712/rtl871x_security.c pn_vector[0] = pframe[hdrlen]; pframe 1270 drivers/staging/rtl8712/rtl871x_security.c pn_vector[1] = pframe[hdrlen + 1]; pframe 1271 drivers/staging/rtl8712/rtl871x_security.c pn_vector[2] = pframe[hdrlen + 4]; pframe 1272 drivers/staging/rtl8712/rtl871x_security.c pn_vector[3] = pframe[hdrlen + 5]; pframe 1273 drivers/staging/rtl8712/rtl871x_security.c pn_vector[4] = pframe[hdrlen + 6]; pframe 1274 drivers/staging/rtl8712/rtl871x_security.c pn_vector[5] = pframe[hdrlen + 7]; pframe 1348 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *prwskey, *iv, idx; pframe 1354 drivers/staging/rtl8712/rtl871x_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)-> pframe 1362 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; pframe 1375 drivers/staging/rtl8712/rtl871x_security.c aes_decipher(prwskey, prxattrib->hdrlen, pframe, pframe 349 drivers/staging/rtl8712/rtl871x_xmit.c u8 *pframe, *payload, mic[8]; pframe 370 drivers/staging/rtl8712/rtl871x_xmit.c pframe = pxmitframe->buf_addr + TXDESC_OFFSET; pframe 389 drivers/staging/rtl8712/rtl871x_xmit.c if (pframe[1] & 1) { /* ToDS==1 */ pframe 391 drivers/staging/rtl8712/rtl871x_xmit.c &pframe[16], 6); /*DA*/ pframe 392 drivers/staging/rtl8712/rtl871x_xmit.c if (pframe[1] & 2) /* From Ds==1 */ pframe 394 drivers/staging/rtl8712/rtl871x_xmit.c &pframe[24], 6); pframe 397 drivers/staging/rtl8712/rtl871x_xmit.c &pframe[10], 6); pframe 400 drivers/staging/rtl8712/rtl871x_xmit.c &pframe[4], 6); /* DA */ pframe 401 drivers/staging/rtl8712/rtl871x_xmit.c if (pframe[1] & 2) /* From Ds==1 */ pframe 403 drivers/staging/rtl8712/rtl871x_xmit.c &pframe[16], 6); pframe 406 drivers/staging/rtl8712/rtl871x_xmit.c &pframe[10], 6); pframe 411 drivers/staging/rtl8712/rtl871x_xmit.c payload = pframe; pframe 591 drivers/staging/rtl8712/rtl871x_xmit.c u8 *pframe, *mem_start, *ptxdesc; pframe 625 drivers/staging/rtl8712/rtl871x_xmit.c pframe = mem_start; pframe 627 drivers/staging/rtl8712/rtl871x_xmit.c pframe += pattrib->hdrlen; pframe 660 drivers/staging/rtl8712/rtl871x_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); pframe 661 drivers/staging/rtl8712/rtl871x_xmit.c pframe += pattrib->iv_len; pframe 665 drivers/staging/rtl8712/rtl871x_xmit.c llc_sz = r8712_put_snap(pframe, pattrib->ether_type); pframe 666 drivers/staging/rtl8712/rtl871x_xmit.c pframe += llc_sz; pframe 672 drivers/staging/rtl8712/rtl871x_xmit.c mem_sz = _r8712_pktfile_read(&pktfile, pframe, pframe 675 drivers/staging/rtl8712/rtl871x_xmit.c mem_sz = _r8712_pktfile_read(&pktfile, pframe, pframe 677 drivers/staging/rtl8712/rtl871x_xmit.c pframe += mem_sz; pframe 679 drivers/staging/rtl8712/rtl871x_xmit.c memcpy(pframe, pattrib->icv, pattrib->icv_len); pframe 680 drivers/staging/rtl8712/rtl871x_xmit.c pframe += pattrib->icv_len; pframe 694 drivers/staging/rtl8712/rtl871x_xmit.c addr = (addr_t)(pframe); pframe 161 drivers/staging/rtl8712/wifi.h static inline unsigned char get_tofr_ds(unsigned char *pframe) pframe 163 drivers/staging/rtl8712/wifi.h return ((GetToDs(pframe) << 1) | GetFrDs(pframe)); pframe 281 drivers/staging/rtl8712/wifi.h static inline unsigned char *get_da(unsigned char *pframe) pframe 284 drivers/staging/rtl8712/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 288 drivers/staging/rtl8712/wifi.h da = GetAddr1Ptr(pframe); pframe 291 drivers/staging/rtl8712/wifi.h da = GetAddr1Ptr(pframe); pframe 294 drivers/staging/rtl8712/wifi.h da = GetAddr3Ptr(pframe); pframe 297 drivers/staging/rtl8712/wifi.h da = GetAddr3Ptr(pframe); pframe 303 drivers/staging/rtl8712/wifi.h static inline unsigned char *get_sa(unsigned char *pframe) pframe 306 drivers/staging/rtl8712/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 310 drivers/staging/rtl8712/wifi.h sa = GetAddr2Ptr(pframe); pframe 313 drivers/staging/rtl8712/wifi.h sa = GetAddr3Ptr(pframe); pframe 316 drivers/staging/rtl8712/wifi.h sa = GetAddr2Ptr(pframe); pframe 319 drivers/staging/rtl8712/wifi.h sa = GetAddr4Ptr(pframe); pframe 326 drivers/staging/rtl8712/wifi.h static inline unsigned char *get_hdr_bssid(unsigned char *pframe) pframe 329 drivers/staging/rtl8712/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 333 drivers/staging/rtl8712/wifi.h sa = GetAddr3Ptr(pframe); pframe 336 drivers/staging/rtl8712/wifi.h sa = GetAddr2Ptr(pframe); pframe 339 drivers/staging/rtl8712/wifi.h sa = GetAddr1Ptr(pframe); pframe 2646 drivers/staging/rtl8723bs/core/rtw_mlme.c u8 *pframe; pframe 2650 drivers/staging/rtl8723bs/core/rtw_mlme.c pframe = rtw_set_ie(out_ie+out_len, _VENDOR_SPECIFIC_IE_, pframe 2662 drivers/staging/rtl8723bs/core/rtw_mlme.c unsigned char *p, *pframe; pframe 2792 drivers/staging/rtl8723bs/core/rtw_mlme.c pframe = rtw_set_ie(out_ie+out_len, _HT_CAPABILITY_IE_, pframe 2801 drivers/staging/rtl8723bs/core/rtw_mlme.c pframe = rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2, pout_len); pframe 2995 drivers/staging/rtl8723bs/core/rtw_mlme.c u8 *pframe; pframe 3002 drivers/staging/rtl8723bs/core/rtw_mlme.c pframe = rtw_set_ie(out_ie + *pout_len, EID_EXTCapability, 8, cap_content, pout_len); pframe 505 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 509 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && pframe 510 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) pframe 523 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 524 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); pframe 530 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c GetFrameType(pframe), GetFrameSubType(pframe))); pframe 532 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (GetFrameType(pframe) != WIFI_MGT_TYPE) { pframe 533 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("mgt_dispatcher: type(0x%x) error!\n", GetFrameType(pframe))); pframe 538 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && pframe 539 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) { pframe 545 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index = GetFrameSubType(pframe) >> 4; pframe 554 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (GetRetry(pframe)) { pframe 565 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c switch (GetFrameSubType(pframe)) { pframe 606 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 630 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _VENDOR_SPECIFIC_IE_, (int *)&ielen, pframe 639 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(p+6, get_sa(pframe), ETH_ALEN)) { pframe 641 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c MAC_ARG(get_sa(pframe)), MAC_ARG(p+6)); pframe 646 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("%s, got the pairing device("MAC_FMT")\n", __func__, MAC_ARG(get_sa(pframe))); pframe 649 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, get_sa(pframe)); pframe 652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("going to alloc stainfo for rc ="MAC_FMT"\n", MAC_ARG(get_sa(pframe))); pframe 653 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_alloc_stainfo(pstapriv, get_sa(pframe)); pframe 718 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probersp(padapter, get_sa(pframe), false); pframe 730 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, pframe 748 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probersp(padapter, get_sa(pframe), is_valid_p2p_probereq); pframe 778 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 785 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + sizeof(struct ieee80211_hdr_3addr) + _BEACON_IE_OFFSET_, _EXT_SUPPORTEDRATES_IE_, &ielen, precv_frame->u.hdr.len - sizeof(struct ieee80211_hdr_3addr) - _BEACON_IE_OFFSET_); pframe 789 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("[WIFIDBG] Error in ESR IE is detected in Beacon of BSSID:"MAC_FMT". Fix the length of ESR IE to avoid failed Beacon parsing.\n", MAC_ARG(GetAddr3Ptr(pframe))); pframe 799 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!memcmp(GetAddr3Ptr(pframe), get_my_bssid(&pmlmeinfo->network), ETH_ALEN)) { pframe 812 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pframe+sizeof(struct ieee80211_hdr_3addr), len-sizeof(struct ieee80211_hdr_3addr)); pframe 815 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_TSF(pmlmeext, pframe, len); pframe 832 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 834 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = rtw_check_bcn_info(padapter, pframe, len); pframe 844 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); pframe 846 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c adaptive_early_32k(pmlmeext, pframe, len); pframe 849 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 855 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); pframe 864 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_HDR_A3_LEN - _BEACON_IE_OFFSET_), cam_idx) == _FAIL) { pframe 870 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_TSF(pmlmeext, pframe, len); pframe 873 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); pframe 896 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 905 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c sa = GetAddr2Ptr(pframe); pframe 909 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (GetPrivacy(pframe)) { pframe 916 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c iv = pframe+prxattrib->hdrlen; pframe 927 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c algorithm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); pframe 928 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); pframe 1030 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, (int *)&ie_len, pframe 1092 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1098 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), get_da(pframe), ETH_ALEN)) pframe 1104 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c offset = (GetPrivacy(pframe)) ? 4 : 0; pframe 1106 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c algthm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); pframe 1107 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); pframe 1108 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c status = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 4)); pframe 1127 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, (int *)&len, pframe 1189 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1195 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c frame_type = GetFrameSubType(pframe); pframe 1211 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pstat = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 1217 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c capab_info = RTW_GET_LE16(pframe + WLAN_HDR_A3_LEN); pframe 1220 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c listen_interval = RTW_GET_LE16(pframe + WLAN_HDR_A3_LEN+2); pframe 1223 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pos = pframe + (sizeof(struct ieee80211_hdr_3addr) + ie_offset); pframe 1256 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, _SSID_IE_, &ie_len, pframe 1276 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, _SUPPORTEDRATES_IE_, &ie_len, pkt_len - WLAN_HDR_A3_LEN - ie_offset); pframe 1289 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, _EXT_SUPPORTEDRATES_IE_, &ie_len, pframe 1448 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = pframe + WLAN_HDR_A3_LEN + ie_offset; ie_len = 0; pframe 1618 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pstat->passoc_req, pframe, pkt_len); pframe 1631 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_deauth(padapter, (void *)GetAddr2Ptr(pframe), status); pframe 1656 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1662 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), get_da(pframe), ETH_ALEN)) pframe 1674 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c status = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN + 2)); pframe 1683 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->capability = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN)); pframe 1689 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c res = pmlmeinfo->aid = (int)(le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN + 4))&0x3fff); pframe 1695 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pIE = (struct ndis_80211_var_ie *)(pframe + i); pframe 1729 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_buf_update(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len, pframe, pkt_len); pframe 1745 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1748 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(GetAddr3Ptr(pframe), get_my_bssid(&pmlmeinfo->network), ETH_ALEN)) pframe 1751 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reason = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN)); pframe 1764 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reason, GetAddr2Ptr(pframe)); pframe 1766 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 1803 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reason, GetAddr3Ptr(pframe), ignore_received_deauth); pframe 1806 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); pframe 1820 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1823 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(GetAddr3Ptr(pframe), get_my_bssid(&pmlmeinfo->network), ETH_ALEN)) pframe 1826 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reason = le16_to_cpu(*(__le16 *)(pframe + WLAN_HDR_A3_LEN)); pframe 1839 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reason, GetAddr2Ptr(pframe)); pframe 1841 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 1860 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reason, GetAddr3Ptr(pframe)); pframe 1862 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); pframe 1879 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1880 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *frame_body = (u8 *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 1886 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 1921 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1927 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ pframe 1934 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c addr = GetAddr2Ptr(pframe); pframe 1940 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c frame_body = (unsigned char *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 2054 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2058 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c frame_body = (unsigned char *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 2071 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2072 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 2084 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2086 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 2098 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_cfg80211_rx_action(adapter, pframe, frame_len, msg); pframe 2109 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2110 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 2114 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) pframe 2137 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2138 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *frame_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 2142 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) pframe 2164 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2172 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c switch (pframe[WLAN_HDR_A3_LEN+1]) { pframe 2174 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(&tid, &pframe[WLAN_HDR_A3_LEN+2], sizeof(unsigned short)); pframe 2175 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("OnAction_sa_query request, action =%d, tid =%04x\n", pframe[WLAN_HDR_A3_LEN+1], tid); pframe 2176 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_SA_Query(padapter, GetAddr2Ptr(pframe), 1, tid); pframe 2181 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("OnAction_sa_query response, action =%d, tid =%04x, cancel timer\n", pframe[WLAN_HDR_A3_LEN+1], pframe[WLAN_HDR_A3_LEN+2]); pframe 2190 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c printk(" %02x ", pframe[pp]); pframe 2203 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 2205 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c frame_body = (unsigned char *)(pframe + sizeof(struct ieee80211_hdr_3addr)); pframe 2321 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe; pframe 2324 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 2326 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); pframe 2327 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pattrib->ta, GetAddr2Ptr(pframe), ETH_ALEN); pframe 2440 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 2468 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 2469 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 2481 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_BEACON); pframe 2483 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 2490 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, cur_network->IEs, cur_network->IELength); pframe 2492 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe+_BEACON_IE_OFFSET_ pframe 2496 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += (cur_network->IELength+len_diff); pframe 2522 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 8; pframe 2527 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); pframe 2529 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 2; pframe 2534 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); pframe 2536 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 2; pframe 2540 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pattrib->pktlen); pframe 2544 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->SupportedRates, &pattrib->pktlen); pframe 2547 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&(cur_network->Configuration.DSConfig), &pattrib->pktlen); pframe 2556 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _IBSS_PARA_IE_, 2, (unsigned char *)(&ATIMWindow), &pattrib->pktlen); pframe 2559 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _ERPINFO_IE_, 1, &erpinfo, &pattrib->pktlen); pframe 2565 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pattrib->pktlen); pframe 2596 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 2628 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 2629 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 2646 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; pframe 2666 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, cur_network->IEs, wps_offset); pframe 2667 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += wps_offset; pframe 2672 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2); pframe 2673 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += wps_ielen+2; pframe 2678 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, premainder_ie, remainder_ielen); pframe 2679 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += remainder_ielen; pframe 2683 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, cur_network->IEs, cur_network->IELength); pframe 2684 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += cur_network->IELength; pframe 2697 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c (pframe-ies)-_FIXED_IE_LENGTH_); pframe 2705 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c remainder_ielen = (pframe-remainder_ie); pframe 2717 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += ssid_ielen_diff; pframe 2723 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 8; pframe 2728 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); pframe 2730 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 2; pframe 2735 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); pframe 2737 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 2; pframe 2743 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pattrib->pktlen); pframe 2747 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->SupportedRates, &pattrib->pktlen); pframe 2750 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&(cur_network->Configuration.DSConfig), &pattrib->pktlen); pframe 2758 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _IBSS_PARA_IE_, 2, (unsigned char *)(&ATIMWindow), &pattrib->pktlen); pframe 2761 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _ERPINFO_IE_, 1, &erpinfo, &pattrib->pktlen); pframe 2767 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pattrib->pktlen); pframe 2799 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, sizeof(RC_INFO), RC_INFO, &pattrib->pktlen); pframe 2821 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 2845 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 2846 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 2867 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_PROBEREQ); pframe 2869 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 2873 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, pssid->SsidLength, pssid->Ssid, &(pattrib->pktlen)); pframe 2875 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, 0, NULL, &(pattrib->pktlen)); pframe 2880 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, bssrate, &(pattrib->pktlen)); pframe 2881 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (bssrate_len - 8), (bssrate + 8), &(pattrib->pktlen)); pframe 2883 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, bssrate_len, bssrate, &(pattrib->pktlen)); pframe 2887 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, &ch, &pattrib->pktlen); pframe 2892 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, pmlmepriv->wps_probe_req_ie, pmlmepriv->wps_probe_req_ie_len); pframe 2893 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += pmlmepriv->wps_probe_req_ie_len; pframe 2963 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 2984 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 2985 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 2992 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_AUTH); pframe 2994 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 3014 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_ALGM_NUM_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3019 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_SEQ_NUM_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3024 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _STATUS_CODE_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3028 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _CHLGETXT_IE_, 128, psta->chg_txt, &(pattrib->pktlen)); pframe 3050 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 4, (unsigned char *)&le_tmp32, &(pattrib->pktlen)); pframe 3055 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_ALGM_NUM_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3059 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _AUTH_SEQ_NUM_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3064 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _STATUS_CODE_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3068 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _CHLGETXT_IE_, 128, pmlmeinfo->chg_txt, &(pattrib->pktlen)); pframe 3099 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pbuf, *pframe; pframe 3123 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3124 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3143 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; pframe 3148 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _CAPABILITY_, (unsigned char *)&val, &(pattrib->pktlen)); pframe 3151 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _STATUS_CODE_, (unsigned char *)&lestatus, &(pattrib->pktlen)); pframe 3154 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _ASOC_ID_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3157 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, pstat->bssratelen, pstat->bssrateset, &(pattrib->pktlen)); pframe 3159 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, pstat->bssrateset, &(pattrib->pktlen)); pframe 3160 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (pstat->bssratelen-8), pstat->bssrateset+8, &(pattrib->pktlen)); pframe 3170 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, pbuf, ie_len+2); pframe 3171 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += (ie_len+2); pframe 3179 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, pbuf, ie_len+2); pframe 3180 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += (ie_len+2); pframe 3194 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, pbuf, ie_len+2); pframe 3195 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += (ie_len+2); pframe 3209 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, 6, REALTEK_96B_IE, &(pattrib->pktlen)); pframe 3214 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, pmlmepriv->wps_assoc_resp_ie, pmlmepriv->wps_assoc_resp_ie_len); pframe 3216 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += pmlmepriv->wps_assoc_resp_ie_len; pframe 3230 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 3254 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3255 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3265 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ASSOCREQ); pframe 3267 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 3271 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, rtw_get_capability_from_ie(pmlmeinfo->network.IEs), 2); pframe 3273 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 2; pframe 3279 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pframe, (unsigned char *)&val16, 2); pframe 3280 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += 2; pframe 3284 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SSID_IE_, pmlmeinfo->network.Ssid.SsidLength, pmlmeinfo->network.Ssid.Ssid, &(pattrib->pktlen)); pframe 3344 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, bssrate, &(pattrib->pktlen)); pframe 3345 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (bssrate_len - 8), (bssrate + 8), &(pattrib->pktlen)); pframe 3347 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, bssrate_len, bssrate, &(pattrib->pktlen)); pframe 3367 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, vs_ie_length, pIE->data, &(pattrib->pktlen)); pframe 3372 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_WPA2, pIE->Length, pIE->data, &(pattrib->pktlen)); pframe 3378 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_HTCapability, pIE->Length, (u8 *)(&(pmlmeinfo->HT_caps)), &(pattrib->pktlen)); pframe 3385 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_EXTCapability, pIE->Length, pIE->data, &(pattrib->pktlen)); pframe 3395 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, 6, REALTEK_96B_IE, &(pattrib->pktlen)); pframe 3419 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 3446 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3447 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3466 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_DATA_NULL); pframe 3468 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 3578 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 3604 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3605 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3618 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c qc = (unsigned short *)(pframe + pattrib->hdrlen - 2); pframe 3632 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_QOS_DATA_NULL); pframe 3634 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_qos_hdr); pframe 3702 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 3725 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3726 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3737 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_DEAUTH); pframe 3739 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 3743 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, _RSON_CODE_, (unsigned char *)&le_tmp, &(pattrib->pktlen)); pframe 3810 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe; pframe 3832 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3833 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3847 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ACTION); pframe 3849 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 3852 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &category, &pattrib->pktlen); pframe 3853 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &action, &pattrib->pktlen); pframe 3857 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)&pmlmeext->sa_query_seq, &pattrib->pktlen); pframe 3865 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)&le_tmp, &pattrib->pktlen); pframe 3887 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe; pframe 3910 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3911 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3923 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ACTION); pframe 3925 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 3928 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &(category), &(pattrib->pktlen)); pframe 3929 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &(action), &(pattrib->pktlen)); pframe 3937 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &(pmlmeinfo->dialogToken), &(pattrib->pktlen)); pframe 3952 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(le_tmp)), &(pattrib->pktlen)); pframe 3956 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(le_tmp)), &(pattrib->pktlen)); pframe 3971 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(le_tmp)), &(pattrib->pktlen)); pframe 3975 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &(pmlmeinfo->ADDBA_req.dialog_token), &(pattrib->pktlen)); pframe 3976 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&status), &(pattrib->pktlen)); pframe 4009 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(le_tmp)), &(pattrib->pktlen)); pframe 4010 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(pmlmeinfo->ADDBA_req.BA_timeout_value)), &(pattrib->pktlen)); pframe 4015 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(le_tmp)), &(pattrib->pktlen)); pframe 4019 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(le_tmp)), &(pattrib->pktlen)); pframe 4037 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *pframe; pframe 4073 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 4074 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 4085 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SetFrameSubType(pframe, WIFI_ACTION); pframe 4087 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 4090 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &(category), &(pattrib->pktlen)); pframe 4091 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_fixed_ie(pframe, 1, &(action), &(pattrib->pktlen)); pframe 4100 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_BSSCoexistence, 1, &iedata, &(pattrib->pktlen)); pframe 4164 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, EID_BSSIntolerantChlReport, k, InfoContent, &(pattrib->pktlen)); pframe 4417 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 4434 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c subtype = GetFrameSubType(pframe); pframe 4457 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); pframe 4536 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(bssid->MacAddress, GetAddr2Ptr(pframe), ETH_ALEN); pframe 4539 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(bssid->MacAddress, GetAddr3Ptr(pframe), ETH_ALEN); pframe 319 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *pframe, *payload, *pframemic; pframe 360 drivers/staging/rtl8723bs/core/rtw_recv.c pframe = precvframe->u.hdr.rx_data; pframe 361 drivers/staging/rtl8723bs/core/rtw_recv.c payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; pframe 366 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], (unsigned char)prxattrib->priority); /* care the length of the data */ pframe 1088 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *pframe = precv_frame->u.hdr.rx_data; pframe 1094 drivers/staging/rtl8723bs/core/rtw_recv.c if (GetFrameType(pframe) != WIFI_CTRL_TYPE) pframe 1098 drivers/staging/rtl8723bs/core/rtw_recv.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) pframe 1101 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); pframe 1109 drivers/staging/rtl8723bs/core/rtw_recv.c if (GetFrameSubType(pframe) == WIFI_PSPOLL) { pframe 1113 drivers/staging/rtl8723bs/core/rtw_recv.c aid = GetAid(pframe); pframe 222 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv; /* wepkey */ pframe 233 drivers/staging/rtl8723bs/core/rtw_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; pframe 240 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+pattrib->hdrlen; pframe 243 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+pattrib->iv_len+pattrib->hdrlen; pframe 262 drivers/staging/rtl8723bs/core/rtw_security.c pframe += pxmitpriv->frag_len; pframe 263 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (u8 *)RND4((SIZE_PTR)(pframe)); pframe 278 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv, wepkey[16]; pframe 283 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; pframe 287 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+prxattrib->hdrlen; pframe 296 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; pframe 662 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; pframe 674 drivers/staging/rtl8723bs/core/rtw_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; pframe 710 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+pattrib->hdrlen; pframe 711 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+pattrib->iv_len+pattrib->hdrlen; pframe 738 drivers/staging/rtl8723bs/core/rtw_security.c pframe += pxmitpriv->frag_len; pframe 739 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (u8 *)RND4((SIZE_PTR)(pframe)); pframe 770 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; pframe 778 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; pframe 829 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+prxattrib->hdrlen; pframe 830 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; pframe 1330 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, uint plen) pframe 1346 drivers/staging/rtl8723bs/core/rtw_security.c uint frtype = GetFrameType(pframe); pframe 1347 drivers/staging/rtl8723bs/core/rtw_security.c uint frsubtype = GetFrameSubType(pframe); pframe 1384 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; pframe 1385 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; pframe 1386 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; pframe 1387 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; pframe 1388 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; pframe 1389 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; pframe 1395 drivers/staging/rtl8723bs/core/rtw_security.c pframe, /* message, */ pframe 1404 drivers/staging/rtl8723bs/core/rtw_security.c pframe, /* message */ pframe 1409 drivers/staging/rtl8723bs/core/rtw_security.c pframe, /* message, */ pframe 1429 drivers/staging/rtl8723bs/core/rtw_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer);/* bitwise_xor(aes_out, &message[payload_index], chain_buffer); */ pframe 1440 drivers/staging/rtl8723bs/core/rtw_security.c padded_buffer[j] = pframe[payload_index++];/* padded_buffer[j] = message[payload_index++]; */ pframe 1452 drivers/staging/rtl8723bs/core/rtw_security.c pframe[payload_index+j] = mic[j]; /* message[payload_index+j] = mic[j]; */ pframe 1460 drivers/staging/rtl8723bs/core/rtw_security.c pframe, /* message, */ pframe 1466 drivers/staging/rtl8723bs/core/rtw_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer);/* bitwise_xor(aes_out, &message[payload_index], chain_buffer); */ pframe 1468 drivers/staging/rtl8723bs/core/rtw_security.c pframe[payload_index++] = chain_buffer[j];/* for (j = 0; j<16;j++) message[payload_index++] = chain_buffer[j]; */ pframe 1478 drivers/staging/rtl8723bs/core/rtw_security.c pframe, /* message, */ pframe 1487 drivers/staging/rtl8723bs/core/rtw_security.c padded_buffer[j] = pframe[payload_index+j];/* padded_buffer[j] = message[payload_index+j]; */ pframe 1492 drivers/staging/rtl8723bs/core/rtw_security.c pframe[payload_index++] = chain_buffer[j];/* for (j = 0; j<payload_remainder;j++) message[payload_index++] = chain_buffer[j]; */ pframe 1500 drivers/staging/rtl8723bs/core/rtw_security.c pframe, /* message, */ pframe 1509 drivers/staging/rtl8723bs/core/rtw_security.c padded_buffer[j] = pframe[j+hdrlen+8+plen];/* padded_buffer[j] = message[j+hdrlen+8+plen]; */ pframe 1514 drivers/staging/rtl8723bs/core/rtw_security.c pframe[payload_index++] = chain_buffer[j];/* for (j = 0; j<8;j++) message[payload_index++] = chain_buffer[j]; */ pframe 1529 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *prwskey; /* *payload,*iv */ pframe 1543 drivers/staging/rtl8723bs/core/rtw_security.c pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; pframe 1561 drivers/staging/rtl8723bs/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); pframe 1565 drivers/staging/rtl8723bs/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); pframe 1566 drivers/staging/rtl8723bs/core/rtw_security.c pframe += pxmitpriv->frag_len; pframe 1567 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (u8 *)RND4((SIZE_PTR)(pframe)); pframe 1577 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, uint plen) pframe 1597 drivers/staging/rtl8723bs/core/rtw_security.c uint frtype = GetFrameType(pframe); pframe 1598 drivers/staging/rtl8723bs/core/rtw_security.c uint frsubtype = GetFrameSubType(pframe); pframe 1617 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; pframe 1618 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; pframe 1619 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; pframe 1620 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; pframe 1621 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; pframe 1622 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; pframe 1658 drivers/staging/rtl8723bs/core/rtw_security.c pframe, pframe 1665 drivers/staging/rtl8723bs/core/rtw_security.c bitwise_xor(aes_out, &pframe[payload_index], chain_buffer); pframe 1668 drivers/staging/rtl8723bs/core/rtw_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1678 drivers/staging/rtl8723bs/core/rtw_security.c pframe, pframe 1687 drivers/staging/rtl8723bs/core/rtw_security.c padded_buffer[j] = pframe[payload_index+j]; pframe 1692 drivers/staging/rtl8723bs/core/rtw_security.c pframe[payload_index++] = chain_buffer[j]; pframe 1697 drivers/staging/rtl8723bs/core/rtw_security.c memcpy((void *)message, pframe, (hdrlen + plen+8)); /* 8 is for ext iv len */ pframe 1700 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; pframe 1701 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; pframe 1702 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; pframe 1703 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; pframe 1704 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; pframe 1705 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; pframe 1837 drivers/staging/rtl8723bs/core/rtw_security.c if (pframe[hdrlen+8+plen-8+i] != message[hdrlen+8+plen-8+i]) { pframe 1839 drivers/staging/rtl8723bs/core/rtw_security.c i, pframe[hdrlen+8+plen-8+i], message[hdrlen+8+plen-8+i])); pframe 1841 drivers/staging/rtl8723bs/core/rtw_security.c i, pframe[hdrlen+8+plen-8+i], message[hdrlen+8+plen-8+i]); pframe 1860 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *prwskey; /* *payload,*iv */ pframe 1867 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; pframe 1926 drivers/staging/rtl8723bs/core/rtw_security.c res = aes_decipher(prwskey, prxattrib->hdrlen, pframe, length); pframe 1941 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe; pframe 1959 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; pframe 1961 drivers/staging/rtl8723bs/core/rtw_security.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1963 drivers/staging/rtl8723bs/core/rtw_security.c memcpy(BIP_AAD+BIP_AAD_SIZE, pframe+WLAN_HDR_A3_LEN, pattrib->pkt_len-WLAN_HDR_A3_LEN); pframe 2001 drivers/staging/rtl8723bs/core/rtw_security.c if (!memcmp(mic, pframe+pattrib->pkt_len-8, 8)) { pframe 1275 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) pframe 1288 drivers/staging/rtl8723bs/core/rtw_wlan_util.c u8 *pbssid = GetAddr3Ptr(pframe); pframe 1324 drivers/staging/rtl8723bs/core/rtw_wlan_util.c subtype = GetFrameSubType(pframe) >> 4; pframe 1333 drivers/staging/rtl8723bs/core/rtw_wlan_util.c memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); pframe 1494 drivers/staging/rtl8723bs/core/rtw_wlan_util.c DBG_871X("%s by "ADPT_FMT" - NumOfChkFail = %d (SeqNum of this Beacon frame = %d).\n", __func__, ADPT_ARG(Adapter), pmlmepriv->NumOfBcnInfoChkFail, GetSequence(pframe)); pframe 1508 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) pframe 1517 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); pframe 1624 drivers/staging/rtl8723bs/core/rtw_wlan_util.c unsigned char check_assoc_AP(u8 *pframe, uint len) pframe 1630 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pIE = (struct ndis_80211_var_ie *)(pframe + i); pframe 1893 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) pframe 1898 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pIE = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 1913 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) pframe 1924 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pIE = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 855 drivers/staging/rtl8723bs/core/rtw_xmit.c u8 *pframe, *payload, mic[8]; pframe 897 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe = pxmitframe->buf_addr + hw_hdr_offset; pframe 917 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pframe[1]&1) { /* ToDS == 1 */ pframe 918 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[16], 6); /* DA */ pframe 919 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pframe[1]&2) /* From Ds == 1 */ pframe 920 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[24], 6); pframe 922 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[10], 6); pframe 924 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[4], 6); /* DA */ pframe 925 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pframe[1]&2) /* From Ds == 1 */ pframe 926 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[16], 6); pframe 928 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_secmicappend(&micdata, &pframe[10], 6); pframe 939 drivers/staging/rtl8723bs/core/rtw_xmit.c payload = pframe; pframe 1203 drivers/staging/rtl8723bs/core/rtw_xmit.c u8 *pframe, *mem_start; pframe 1270 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe = mem_start; pframe 1274 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->hdrlen; pframe 1279 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); pframe 1283 drivers/staging/rtl8723bs/core/rtw_xmit.c padapter->securitypriv.dot11PrivacyKeyIndex, pattrib->iv[3], *pframe, *(pframe+1), *(pframe+2), *(pframe+3))); pframe 1285 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->iv_len; pframe 1291 drivers/staging/rtl8723bs/core/rtw_xmit.c llc_sz = rtw_put_snap(pframe, pattrib->ether_type); pframe 1292 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += llc_sz; pframe 1303 drivers/staging/rtl8723bs/core/rtw_xmit.c mem_sz = _rtw_pktfile_read(&pktfile, pframe, pattrib->pktlen); pframe 1305 drivers/staging/rtl8723bs/core/rtw_xmit.c mem_sz = _rtw_pktfile_read(&pktfile, pframe, mpdu_len); pframe 1308 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += mem_sz; pframe 1311 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, pattrib->icv, pattrib->icv_len); pframe 1312 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->icv_len; pframe 1329 drivers/staging/rtl8723bs/core/rtw_xmit.c addr = (SIZE_PTR)(pframe); pframe 1357 drivers/staging/rtl8723bs/core/rtw_xmit.c u8 *pframe, *mem_start = NULL, *tmp_buf = NULL; pframe 1370 drivers/staging/rtl8723bs/core/rtw_xmit.c mem_start = pframe = (u8 *)(pxmitframe->buf_addr) + TXDESC_OFFSET; pframe 1371 drivers/staging/rtl8723bs/core/rtw_xmit.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 1375 drivers/staging/rtl8723bs/core/rtw_xmit.c subtype = GetFrameSubType(pframe); /* bit(7)~bit(2) */ pframe 1399 drivers/staging/rtl8723bs/core/rtw_xmit.c if (GetFrameSubType(pframe) != WIFI_DEAUTH && GetFrameSubType(pframe) != WIFI_DISASSOC) pframe 1402 drivers/staging/rtl8723bs/core/rtw_xmit.c MGMT_body = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 1403 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->pktlen; pframe 1413 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe = rtw_set_ie(pframe, _MME_IE_, 16, MME, &(pattrib->pktlen)); pframe 1433 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe-8, mic, 8); pframe 1457 drivers/staging/rtl8723bs/core/rtw_xmit.c (pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_PUBLIC || pframe 1458 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_HT || pframe 1459 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_UNPROTECTED_WNM || pframe 1460 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_SELF_PROTECTED || pframe 1461 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_P2P)) pframe 1467 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(tmp_buf, pframe, pattrib->pktlen); pframe 1469 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->hdrlen; pframe 1485 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); pframe 1486 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->iv_len; pframe 1488 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, tmp_buf+pattrib->hdrlen, pattrib->pktlen-pattrib->hdrlen); pframe 1490 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->pktlen-pattrib->hdrlen; pframe 1494 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, pattrib->icv, pattrib->icv_len); pframe 1495 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->icv_len; pframe 122 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructBeacon(struct adapter *padapter, u8 *pframe, u32 *pLength) pframe 135 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 146 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_BEACON); pframe 148 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += sizeof(struct ieee80211_hdr_3addr); pframe 152 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += 8; pframe 156 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); pframe 158 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += 2; pframe 162 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); pframe 164 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += 2; pframe 170 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, cur_network->IEs+sizeof(struct ndis_802_11_fix_ie), pktlen); pframe 178 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pktlen); pframe 182 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->SupportedRates, &pktlen); pframe 185 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&(cur_network->Configuration.DSConfig), &pktlen); pframe 192 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _IBSS_PARA_IE_, 2, (unsigned char *)(&ATIMWindow), &pktlen); pframe 201 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pktlen); pframe 219 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructPSPoll(struct adapter *padapter, u8 *pframe, u32 *pLength) pframe 228 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 234 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_PSPOLL); pframe 237 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetDuration(pframe, (pmlmeinfo->aid | 0xc000)); pframe 250 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pframe, pframe 270 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 303 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_QOS_DATA_NULL); pframe 305 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanqoshdr = (struct ieee80211_qos_hdr *)pframe; pframe 311 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_DATA_NULL); pframe 327 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pframe, pframe 338 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pARPRspPkt = pframe; pframe 340 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *payload = pframe; pframe 344 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 392 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memset(&(pframe[*pLength]), 0, EncryptionHeadOverhead); pframe 400 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pARPRspPkt = (u8 *)(pframe + *pLength); pframe 467 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength pframe 473 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pPnoInfoPkt = pframe; pframe 474 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pPnoInfoPkt = (u8 *)(pframe + *pLength); pframe 509 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength pframe 513 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pSSIDListPkt = pframe; pframe 516 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pSSIDListPkt = (u8 *)(pframe + *pLength); pframe 528 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength pframe 532 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pScanInfoPkt = pframe; pframe 535 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pScanInfoPkt = (u8 *)(pframe + *pLength); pframe 586 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength pframe 596 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pGTKRspPkt = pframe; pframe 600 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 640 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memset(&(pframe[*pLength]), 0, EncryptionHeadOverhead); pframe 649 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pGTKRspPkt = (u8 *)(pframe + *pLength); pframe 662 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memset(&(pframe[*pLength]), 0, 88); pframe 670 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructProbeReq(struct adapter *padapter, u8 *pframe, u32 *pLength) pframe 680 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 693 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_PROBEREQ); pframe 696 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += pktlen; pframe 698 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _SSID_IE_, 0, NULL, &pktlen); pframe 703 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, bssrate, &pktlen); pframe 704 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (bssrate_len - 8), (bssrate + 8), &pktlen); pframe 706 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, bssrate_len, bssrate, &pktlen); pframe 714 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructProbeRsp(struct adapter *padapter, u8 *pframe, u32 *pLength, u8 *StaAddr, bool bHideSSID) pframe 729 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 747 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += pktlen; pframe 766 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, cur_network->IEs, wps_offset); pframe 767 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += wps_offset; pframe 772 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2); pframe 773 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += wps_ielen+2; pframe 778 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, premainder_ie, remainder_ielen); pframe 779 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += remainder_ielen; pframe 783 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pframe, cur_network->IEs, cur_network->IELength); pframe 784 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += cur_network->IELength; pframe 794 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *ies = pframe + sizeof(struct ieee80211_hdr_3addr); pframe 797 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c (pframe-ies)-_FIXED_IE_LENGTH_); pframe 805 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c remainder_ielen = (pframe-remainder_ie); pframe 816 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pframe += ssid_ielen_diff; pframe 2062 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 *pframe, pframe 2082 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 2107 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_QOS_DATA_NULL); pframe 2109 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwlanqoshdr = (struct ieee80211_qos_hdr *)pframe; pframe 2115 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFrameSubType(pframe, WIFI_DATA_NULL); pframe 293 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_frame *pframe; pframe 294 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pframe = (struct xmit_frame *)pxmitbuf->priv_data; pframe 295 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pframe->agg_num = k; pframe 297 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtl8723b_update_txdesc(pframe, pframe->buf_addr); pframe 298 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pframe); pframe 384 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_frame *pframe; pframe 385 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pframe = (struct xmit_frame *)pxmitbuf->priv_data; pframe 386 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pframe->agg_num = k; pframe 388 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtl8723b_update_txdesc(pframe, pframe->buf_addr); pframe 389 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pframe); pframe 513 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c u8 *pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 534 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (GetFrameSubType(pframe) == WIFI_BEACON) { /* dump beacon directly */ pframe 606 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned char check_assoc_AP(u8 *pframe, uint len); pframe 619 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta); pframe 620 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len); pframe 740 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len); pframe 742 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len); pframe 217 drivers/staging/rtl8723bs/include/wifi.h #define get_tofr_ds(pframe) ((GetToDs(pframe) << 1) | GetFrDs(pframe)) pframe 358 drivers/staging/rtl8723bs/include/wifi.h static inline unsigned char * get_ra(unsigned char *pframe) pframe 361 drivers/staging/rtl8723bs/include/wifi.h ra = GetAddr1Ptr(pframe); pframe 364 drivers/staging/rtl8723bs/include/wifi.h static inline unsigned char * get_ta(unsigned char *pframe) pframe 367 drivers/staging/rtl8723bs/include/wifi.h ta = GetAddr2Ptr(pframe); pframe 371 drivers/staging/rtl8723bs/include/wifi.h static inline unsigned char * get_da(unsigned char *pframe) pframe 374 drivers/staging/rtl8723bs/include/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 378 drivers/staging/rtl8723bs/include/wifi.h da = GetAddr1Ptr(pframe); pframe 381 drivers/staging/rtl8723bs/include/wifi.h da = GetAddr1Ptr(pframe); pframe 384 drivers/staging/rtl8723bs/include/wifi.h da = GetAddr3Ptr(pframe); pframe 387 drivers/staging/rtl8723bs/include/wifi.h da = GetAddr3Ptr(pframe); pframe 395 drivers/staging/rtl8723bs/include/wifi.h static inline unsigned char * get_sa(unsigned char *pframe) pframe 398 drivers/staging/rtl8723bs/include/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 402 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr2Ptr(pframe); pframe 405 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr3Ptr(pframe); pframe 408 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr2Ptr(pframe); pframe 411 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr4Ptr(pframe); pframe 418 drivers/staging/rtl8723bs/include/wifi.h static inline unsigned char * get_hdr_bssid(unsigned char *pframe) pframe 421 drivers/staging/rtl8723bs/include/wifi.h unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); pframe 425 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr3Ptr(pframe); pframe 428 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr2Ptr(pframe); pframe 431 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr1Ptr(pframe); pframe 434 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr1Ptr(pframe); pframe 442 drivers/staging/rtl8723bs/include/wifi.h static inline int IsFrameTypeCtrl(unsigned char *pframe) pframe 444 drivers/staging/rtl8723bs/include/wifi.h if (WIFI_CTRL_TYPE == GetFrameType(pframe)) pframe 2514 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c unsigned char *pframe; pframe 2550 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 2552 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(pframe, (void*)buf, len); pframe 2555 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 3012 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c unsigned char *pframe; pframe 3043 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; pframe 3045 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(pframe, (void*)buf, len); pframe 3048 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwlanhdr = (struct ieee80211_hdr *)pframe; pframe 787 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe; pframe 791 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->rxframe; pframe 792 drivers/usb/gadget/udc/fsl_qe_udc.c if ((frame_get_info(pframe) & PID_SETUP) pframe 794 drivers/usb/gadget/udc/fsl_qe_udc.c fsize = frame_get_length(pframe); pframe 798 drivers/usb/gadget/udc/fsl_qe_udc.c memcpy(cp, pframe->data, fsize); pframe 811 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe; pframe 816 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->rxframe; pframe 835 drivers/usb/gadget/udc/fsl_qe_udc.c qe_frame_clean(pframe); pframe 837 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_data(pframe, (u8 *)vaddr); pframe 838 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_length(pframe, pframe 840 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_status(pframe, FRAME_OK); pframe 843 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_SETUP); pframe 846 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_DATA1); pframe 849 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_DATA0); pframe 883 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe; pframe 889 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->rxframe; pframe 891 drivers/usb/gadget/udc/fsl_qe_udc.c if (frame_get_info(pframe) & PID_DATA1) pframe 899 drivers/usb/gadget/udc/fsl_qe_udc.c fsize = frame_get_length(pframe); pframe 907 drivers/usb/gadget/udc/fsl_qe_udc.c memcpy(cp, pframe->data, fsize); pframe 930 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe; pframe 947 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->rxframe; pframe 963 drivers/usb/gadget/udc/fsl_qe_udc.c qe_frame_clean(pframe); pframe 965 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_data(pframe, (u8 *)vaddr); pframe 966 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_length(pframe, pframe 968 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_status(pframe, FRAME_OK); pframe 971 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_DATA1); pframe 974 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_SETUP); pframe 977 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_DATA0); pframe 1017 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe; pframe 1022 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->rxframe; pframe 1357 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe; pframe 1363 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->txframe; pframe 1375 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_status(pframe, FRAME_ERROR); pframe 1377 drivers/usb/gadget/udc/fsl_qe_udc.c pframe->status |= TX_ER_TIMEOUT; pframe 1379 drivers/usb/gadget/udc/fsl_qe_udc.c pframe->status |= TX_ER_UNDERUN; pframe 1413 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe = NULL; pframe 1420 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->txframe; pframe 1422 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_status(pframe, FRAME_ERROR); pframe 1424 drivers/usb/gadget/udc/fsl_qe_udc.c pframe->status |= TX_ER_TIMEOUT; pframe 1426 drivers/usb/gadget/udc/fsl_qe_udc.c pframe->status |= TX_ER_UNDERUN; pframe 1466 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_frame *pframe = NULL; pframe 1478 drivers/usb/gadget/udc/fsl_qe_udc.c pframe = ep->rxframe; pframe 1489 drivers/usb/gadget/udc/fsl_qe_udc.c qe_frame_clean(pframe); pframe 1491 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_data(pframe, (u8 *)vaddr); pframe 1492 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_length(pframe, (length - USB_CRC_SIZE)); pframe 1493 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_status(pframe, FRAME_OK); pframe 1496 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_DATA1); break; pframe 1498 drivers/usb/gadget/udc/fsl_qe_udc.c frame_set_info(pframe, PID_DATA0); break; pframe 1502 drivers/usb/gadget/udc/fsl_qe_udc.c if (frame_get_info(pframe) & PID_DATA1) pframe 1510 drivers/usb/gadget/udc/fsl_qe_udc.c fsize = frame_get_length(pframe); pframe 1514 drivers/usb/gadget/udc/fsl_qe_udc.c memcpy(cp, pframe->data, fsize);