| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | wifi.h | 83 #define get_tofr_ds(pframe) ((GetToDs(pframe) << 1) | GetFrDs(pframe)) argument 192 static inline unsigned char *rtl8723bs_get_ra(unsigned char *pframe) in rtl8723bs_get_ra() argument 195 ra = GetAddr1Ptr(pframe); in rtl8723bs_get_ra() 198 static inline unsigned char *get_ta(unsigned char *pframe) in get_ta() argument 201 ta = GetAddr2Ptr(pframe); in get_ta() 205 static inline unsigned char *get_da(unsigned char *pframe) in get_da() argument 208 unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); in get_da() 212 da = GetAddr1Ptr(pframe); in get_da() 215 da = GetAddr1Ptr(pframe); in get_da() 218 da = GetAddr3Ptr(pframe); in get_da() [all …]
|
| H A D | rtw_mlme_ext.h | 487 unsigned char check_assoc_AP(u8 *pframe, uint len); 500 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta); 501 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len); 615 extern void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len); 617 extern void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len);
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_mlme_ext.c | 422 u8 *pframe = precv_frame->u.hdr.rx_data; in _mgt_dispatcher() local 426 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher() 427 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) in _mgt_dispatcher() 439 u8 *pframe = precv_frame->u.hdr.rx_data; in mgt_dispatcher() local 440 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); in mgt_dispatcher() 444 if (GetFrameType(pframe) != WIFI_MGT_TYPE) in mgt_dispatcher() 448 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher() 449 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) { in mgt_dispatcher() 455 index = GetFrameSubType(pframe) >> 4; in mgt_dispatcher() 463 if (GetRetry(pframe)) { in mgt_dispatcher() [all …]
|
| H A D | rtw_security.c | 44 u8 *pframe, *payload, *iv; /* wepkey */ in rtw_wep_encrypt() local 56 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_wep_encrypt() 63 iv = pframe + pattrib->hdrlen; in rtw_wep_encrypt() 66 payload = pframe + pattrib->iv_len + pattrib->hdrlen; in rtw_wep_encrypt() 85 pframe += pxmitpriv->frag_len; in rtw_wep_encrypt() 86 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_wep_encrypt() 98 u8 *pframe, *payload, *iv, wepkey[16]; in rtw_wep_decrypt() local 104 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_wep_decrypt() 108 iv = pframe + prxattrib->hdrlen; in rtw_wep_decrypt() 117 payload = pframe + prxattrib->iv_len + prxattrib->hdrlen; in rtw_wep_decrypt() [all …]
|
| H A D | rtw_wlan_util.c | 1102 int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) in rtw_check_bcn_info() argument 1115 u8 *pbssid = GetAddr3Ptr(pframe); in rtw_check_bcn_info() 1144 subtype = GetFrameSubType(pframe) >> 4; in rtw_check_bcn_info() 1153 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info() 1282 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) in update_beacon_info() argument 1291 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info() 1427 unsigned char check_assoc_AP(u8 *pframe, uint len) in check_assoc_AP() argument 1433 pIE = (struct ndis_80211_var_ie *)(pframe + i); in check_assoc_AP() 1643 void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len) in update_TSF() argument 1648 pIE = pframe + sizeof(struct ieee80211_hdr_3addr); in update_TSF() [all …]
|
| /linux/drivers/staging/rtl8723bs/hal/ |
| H A D | rtl8723b_cmd.c | 106 static void ConstructBeacon(struct adapter *padapter, u8 *pframe, u32 *pLength) in ConstructBeacon() argument 115 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon() 126 SetFrameSubType(pframe, WIFI_BEACON); in ConstructBeacon() 128 pframe += sizeof(struct ieee80211_hdr_3addr); in ConstructBeacon() 132 pframe += 8; in ConstructBeacon() 136 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in ConstructBeacon() 138 pframe += 2; in ConstructBeacon() 142 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in ConstructBeacon() 144 pframe += 2; in ConstructBeacon() 149 memcpy(pframe, cur_network->ies+sizeof(struct ndis_802_11_fix_ie), pktlen); in ConstructBeacon() [all …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta.h | 561 struct delta_frame **pframe);
|
| /linux/drivers/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_cfg80211.c | 2062 unsigned char *pframe; in rtw_cfg80211_monitor_if_xmit_entry() local 2087 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtw_cfg80211_monitor_if_xmit_entry() 2089 memcpy(pframe, (void *)buf, len); in rtw_cfg80211_monitor_if_xmit_entry() 2092 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry() 2464 unsigned char *pframe; in _cfg80211_rtw_mgmt_tx() local 2495 pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in _cfg80211_rtw_mgmt_tx() 2497 memcpy(pframe, (void *)buf, len); in _cfg80211_rtw_mgmt_tx() 2500 pwlanhdr = (struct ieee80211_hdr *)pframe; in _cfg80211_rtw_mgmt_tx()
|