/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_rxdesc.c | 22 struct recv_frame *prframe) process_rssi() 24 struct rx_pkt_attrib *pattrib = &prframe->attrib; process_rssi() 39 struct recv_frame *prframe) process_link_qual() 44 if (prframe == NULL || padapter == NULL) process_link_qual() 47 pattrib = &prframe->attrib; process_link_qual() 61 /* void rtl8723a_process_phy_info(struct rtw_adapter *padapter, union recv_frame *prframe) */ rtl8723a_process_phy_info() 62 void rtl8723a_process_phy_info(struct rtw_adapter *padapter, void *prframe) rtl8723a_process_phy_info() argument 64 struct recv_frame *precvframe = prframe; rtl8723a_process_phy_info() 21 process_rssi(struct rtw_adapter *padapter, struct recv_frame *prframe) process_rssi() argument 38 process_link_qual(struct rtw_adapter *padapter, struct recv_frame *prframe) process_link_qual() argument
|
/linux-4.4.14/drivers/staging/rtl8712/ |
H A D | rtl8712_recv.c | 201 union recv_frame *prframe, *pnextrframe; recvframe_defrag() local 207 prframe = LIST_CONTAINOR(plist, union recv_frame, u); recvframe_defrag() 208 list_del_init(&prframe->u.list); recvframe_defrag() 209 pfhdr = &prframe->u.hdr; recvframe_defrag() 214 r8712_free_recvframe(prframe, pfree_recv_queue); recvframe_defrag() 227 * release the defrag_q & prframe */ recvframe_defrag() 228 r8712_free_recvframe(prframe, pfree_recv_queue); recvframe_defrag() 239 recvframe_pull_tail(prframe, pfhdr->attrib.icv_len); recvframe_defrag() 241 recvframe_put(prframe, pnfhdr->len); recvframe_defrag() 245 /* free the defrag_q queue and return the prframe */ recvframe_defrag() 247 return prframe; recvframe_defrag() 329 static int amsdu_to_msdu(struct _adapter *padapter, union recv_frame *prframe) amsdu_to_msdu() argument 341 pattrib = &prframe->u.hdr.attrib; amsdu_to_msdu() 342 recvframe_pull(prframe, prframe->u.hdr.attrib.hdrlen); amsdu_to_msdu() 343 if (prframe->u.hdr.attrib.iv_len > 0) amsdu_to_msdu() 344 recvframe_pull(prframe, prframe->u.hdr.attrib.iv_len); amsdu_to_msdu() 345 a_len = prframe->u.hdr.len; amsdu_to_msdu() 346 pdata = prframe->u.hdr.rx_data; amsdu_to_msdu() 425 prframe->u.hdr.len = 0; amsdu_to_msdu() 426 r8712_free_recvframe(prframe, pfree_recv_queue); amsdu_to_msdu() 483 union recv_frame *prframe) enqueue_reorder_recvframe() 490 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; enqueue_reorder_recvframe() 504 list_del_init(&(prframe->u.hdr.list)); enqueue_reorder_recvframe() 505 list_add_tail(&(prframe->u.hdr.list), plist); enqueue_reorder_recvframe() 514 union recv_frame *prframe; r8712_recv_indicatepkts_in_order() local 528 prframe = LIST_CONTAINOR(plist, union recv_frame, u); r8712_recv_indicatepkts_in_order() 529 pattrib = &prframe->u.hdr.attrib; r8712_recv_indicatepkts_in_order() 535 prframe = LIST_CONTAINOR(plist, union recv_frame, u); r8712_recv_indicatepkts_in_order() 536 pattrib = &prframe->u.hdr.attrib; r8712_recv_indicatepkts_in_order() 539 list_del_init(&(prframe->u.hdr.list)); r8712_recv_indicatepkts_in_order() 550 prframe); r8712_recv_indicatepkts_in_order() 553 if (amsdu_to_msdu(padapter, prframe) != r8712_recv_indicatepkts_in_order() 555 r8712_free_recvframe(prframe, r8712_recv_indicatepkts_in_order() 569 union recv_frame *prframe) recv_indicatepkt_reorder() 572 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; recv_indicatepkt_reorder() 573 struct recv_reorder_ctrl *preorder_ctrl = prframe->u.hdr.preorder_ctrl; recv_indicatepkt_reorder() 579 r8712_wlanhdr_to_ethhdr(prframe); recv_indicatepkt_reorder() 583 r8712_recv_indicatepkt(padapter, prframe); recv_indicatepkt_reorder() 595 if (!enqueue_reorder_recvframe(preorder_ctrl, prframe)) recv_indicatepkt_reorder() 640 union recv_frame *prframe) r8712_process_recv_indicatepkts() 647 if (recv_indicatepkt_reorder(padapter, prframe) != _SUCCESS) { r8712_process_recv_indicatepkts() 654 retval = r8712_wlanhdr_to_ethhdr(prframe); r8712_process_recv_indicatepkts() 659 r8712_recv_indicatepkt(padapter, prframe); r8712_process_recv_indicatepkts() 729 union recv_frame *prframe) query_rx_phy_status() 732 struct recv_stat *prxstat = (struct recv_stat *)prframe->u.hdr.rx_head; query_rx_phy_status() 743 bcck_rate = (prframe->u.hdr.attrib.mcs_rate <= 3 ? 1 : 0); query_rx_phy_status() 830 prframe->u.hdr.attrib.signal_qual = sq; query_rx_phy_status() 831 prframe->u.hdr.attrib.rx_mimo_signal_qual[0] = sq; query_rx_phy_status() 832 prframe->u.hdr.attrib.rx_mimo_signal_qual[1] = -1; query_rx_phy_status() 852 if (prframe->u.hdr.attrib.htc && query_rx_phy_status() 853 prframe->u.hdr.attrib.mcs_rate >= 20 && query_rx_phy_status() 854 prframe->u.hdr.attrib.mcs_rate <= 27) { query_rx_phy_status() 864 prframe->u.hdr.attrib.signal_qual = query_rx_phy_status() 866 prframe->u.hdr.attrib.rx_mimo_signal_qual[i] = query_rx_phy_status() 875 prframe->u.hdr.attrib.signal_strength = query_rx_phy_status() 879 prframe->u.hdr.attrib.signal_strength = query_rx_phy_status() 886 union recv_frame *prframe) process_link_qual() 891 if (prframe == NULL || padapter == NULL) process_link_qual() 893 pattrib = &prframe->u.hdr.attrib; process_link_qual() 923 static void process_rssi(struct _adapter *padapter, union recv_frame *prframe) process_rssi() argument 926 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; process_rssi() 950 union recv_frame *prframe) process_phy_info() 952 query_rx_phy_status(padapter, prframe); process_phy_info() 953 process_rssi(padapter, prframe); process_phy_info() 954 process_link_qual(padapter, prframe); process_phy_info() 960 union recv_frame *prframe, *orig_prframe; recv_func() local 965 prframe = (union recv_frame *)pcontext; recv_func() 966 orig_prframe = prframe; recv_func() 967 pattrib = &prframe->u.hdr.attrib; recv_func() 980 retval = r8712_validate_recv_frame(padapter, prframe); recv_func() 986 process_phy_info(padapter, prframe); recv_func() 987 prframe = r8712_decryptor(padapter, prframe); recv_func() 988 if (prframe == NULL) { recv_func() 992 prframe = r8712_recvframe_chk_defrag(padapter, prframe); recv_func() 993 if (prframe == NULL) recv_func() 995 prframe = r8712_portctrl(padapter, prframe); recv_func() 996 if (prframe == NULL) { recv_func() 1000 retval = r8712_process_recv_indicatepkts(padapter, prframe); recv_func() 482 enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, union recv_frame *prframe) enqueue_reorder_recvframe() argument 568 recv_indicatepkt_reorder(struct _adapter *padapter, union recv_frame *prframe) recv_indicatepkt_reorder() argument 639 r8712_process_recv_indicatepkts(struct _adapter *padapter, union recv_frame *prframe) r8712_process_recv_indicatepkts() argument 728 query_rx_phy_status(struct _adapter *padapter, union recv_frame *prframe) query_rx_phy_status() argument 885 process_link_qual(struct _adapter *padapter, union recv_frame *prframe) process_link_qual() argument 949 process_phy_info(struct _adapter *padapter, union recv_frame *prframe) process_phy_info() argument
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
H A D | rtw_recv.c | 710 struct recv_frame *prframe, struct sta_info *sta) count_rx_stats() 715 struct rx_pkt_attrib *pattrib = & prframe->attrib; count_rx_stats() 718 sz = prframe->pkt->len; count_rx_stats() 730 psta = prframe->psta; count_rx_stats() 1574 struct recv_frame *prframe, *pnextrframe; recvframe_defrag() local 1585 prframe = container_of(plist, struct recv_frame, list); recvframe_defrag() 1586 list_del_init(&prframe->list); recvframe_defrag() 1587 skb = prframe->pkt; recvframe_defrag() 1589 if (curfragnum != prframe->attrib.frag_num) { recvframe_defrag() 1592 rtw_free_recvframe23a(prframe); recvframe_defrag() 1602 data = prframe->pkt->data; recvframe_defrag() 1612 /* release the defrag_q & prframe */ list_for_each_safe() 1613 rtw_free_recvframe23a(prframe); list_for_each_safe() 1631 skb_trim(skb, skb->len - prframe->attrib.icv_len); list_for_each_safe() 1638 prframe->attrib.icv_len = pnfhdr->attrib.icv_len; list_for_each_safe() 1641 /* free the defrag_q queue and return the prframe */ 1649 return prframe; 1774 int amsdu_to_msdu(struct rtw_adapter *padapter, struct recv_frame *prframe); amsdu_to_msdu() 1775 int amsdu_to_msdu(struct rtw_adapter *padapter, struct recv_frame *prframe) amsdu_to_msdu() argument 1781 pattrib = &prframe->attrib; amsdu_to_msdu() 1783 skb = prframe->pkt; amsdu_to_msdu() 1784 skb_pull(skb, prframe->attrib.hdrlen); amsdu_to_msdu() 1800 prframe->pkt = NULL; amsdu_to_msdu() 1801 rtw_free_recvframe23a(prframe); amsdu_to_msdu() 1838 struct recv_frame *prframe) enqueue_reorder_recvframe23a() 1840 struct rx_pkt_attrib *pattrib = &prframe->attrib; enqueue_reorder_recvframe23a() 1875 list_del_init(&prframe->list); 1877 list_add_tail(&prframe->list, plist); 1894 struct recv_frame *prframe; recv_indicatepkts_in_order() local 1919 prframe = container_of(plist, struct recv_frame, list); recv_indicatepkts_in_order() 1920 pattrib = &prframe->attrib; recv_indicatepkts_in_order() 1928 prframe = container_of(plist, struct recv_frame, list); recv_indicatepkts_in_order() 1929 pattrib = &prframe->attrib; recv_indicatepkts_in_order() 1938 list_del_init(&prframe->list); recv_indicatepkts_in_order() 1949 rtw_recv_indicatepkt23a(padapter, prframe); recv_indicatepkts_in_order() 1952 if (amsdu_to_msdu(padapter, prframe) != recv_indicatepkts_in_order() 1954 rtw_free_recvframe23a(prframe); recv_indicatepkts_in_order() 1975 struct recv_frame *prframe); recv_indicatepkt_reorder() 1977 struct recv_frame *prframe) recv_indicatepkt_reorder() 1984 pattrib = &prframe->attrib; recv_indicatepkt_reorder() 1985 preorder_ctrl = prframe->preorder_ctrl; recv_indicatepkt_reorder() 1990 wlanhdr_to_ethhdr(prframe); recv_indicatepkt_reorder() 1999 rtw_recv_indicatepkt23a(padapter, prframe); recv_indicatepkt_reorder() 2009 rtw_recv_indicatepkt23a(padapter, prframe); recv_indicatepkt_reorder() 2019 retval = amsdu_to_msdu(padapter, prframe); recv_indicatepkt_reorder() 2039 if (!enqueue_reorder_recvframe23a(preorder_ctrl, prframe)) { recv_indicatepkt_reorder() 2099 struct recv_frame *prframe); process_recv_indicatepkts() 2101 struct recv_frame *prframe) process_recv_indicatepkts() 2105 /* struct rx_pkt_attrib *pattrib = &prframe->attrib; */ process_recv_indicatepkts() 2110 /* prframe->preorder_ctrl = &precvpriv->recvreorder_ctrl[pattrib->priority]; */ process_recv_indicatepkts() 2113 if (recv_indicatepkt_reorder(padapter, prframe) != _SUCCESS) { process_recv_indicatepkts() 2121 retval = wlanhdr_to_ethhdr(prframe); process_recv_indicatepkts() 2133 rtw_recv_indicatepkt23a(padapter, prframe); process_recv_indicatepkts() 2170 struct recv_frame *prframe) recv_func_posthandle() 2173 struct recv_frame *orig_prframe = prframe; recv_func_posthandle() 2177 prframe = decryptor(padapter, prframe); recv_func_posthandle() 2178 if (prframe == NULL) { recv_func_posthandle() 2185 prframe = recvframe_chk_defrag23a(padapter, prframe); recv_func_posthandle() 2186 if (!prframe) { recv_func_posthandle() 2195 if (prframe->attrib.iv_len > 0) { recv_func_posthandle() 2196 skb_pull(prframe->pkt, prframe->attrib.iv_len); recv_func_posthandle() 2199 if (prframe->attrib.icv_len > 0) { recv_func_posthandle() 2200 skb_trim(prframe->pkt, recv_func_posthandle() 2201 prframe->pkt->len - prframe->attrib.icv_len); recv_func_posthandle() 2204 prframe = portctrl(padapter, prframe); recv_func_posthandle() 2205 if (!prframe) { recv_func_posthandle() 2212 count_rx_stats(padapter, prframe, NULL); recv_func_posthandle() 2214 ret = process_recv_indicatepkts(padapter, prframe); recv_func_posthandle() 709 count_rx_stats(struct rtw_adapter *padapter, struct recv_frame *prframe, struct sta_info *sta) count_rx_stats() argument 1837 enqueue_reorder_recvframe23a(struct recv_reorder_ctrl *preorder_ctrl, struct recv_frame *prframe) enqueue_reorder_recvframe23a() argument 1976 recv_indicatepkt_reorder(struct rtw_adapter *padapter, struct recv_frame *prframe) recv_indicatepkt_reorder() argument 2100 process_recv_indicatepkts(struct rtw_adapter *padapter, struct recv_frame *prframe) process_recv_indicatepkts() argument 2169 recv_func_posthandle(struct rtw_adapter *padapter, struct recv_frame *prframe) recv_func_posthandle() argument
|
H A D | rtw_sta_mgt.c | 266 struct recv_frame *prframe; rtw_free_stainfo23a() local 281 prframe = container_of(plist, struct recv_frame, list); rtw_free_stainfo23a() 283 list_del_init(&prframe->list); rtw_free_stainfo23a() 284 rtw_free_recvframe23a(prframe); rtw_free_stainfo23a()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
H A D | rtw_recv.c | 659 struct recv_frame *prframe, count_rx_stats() 665 struct rx_pkt_attrib *pattrib = &prframe->attrib; count_rx_stats() 668 sz = prframe->len; count_rx_stats() 679 psta = prframe->psta; count_rx_stats() 1427 struct recv_frame *prframe, *pnextrframe; recvframe_defrag() local 1436 prframe = (struct recv_frame *)pfhdr; recvframe_defrag() 1437 list_del_init(&(prframe->list)); recvframe_defrag() 1442 rtw_free_recvframe(prframe, pfree_recv_queue); recvframe_defrag() 1462 /* release the defrag_q & prframe */ recvframe_defrag() 1463 rtw_free_recvframe(prframe, pfree_recv_queue); recvframe_defrag() 1478 recvframe_pull_tail(prframe, pfhdr->attrib.icv_len); recvframe_defrag() 1483 recvframe_put(prframe, pnfhdr->len); recvframe_defrag() 1489 /* free the defrag_q queue and return the prframe */ recvframe_defrag() 1494 return prframe; recvframe_defrag() 1597 static int amsdu_to_msdu(struct adapter *padapter, struct recv_frame *prframe) amsdu_to_msdu() argument 1610 pattrib = &prframe->attrib; amsdu_to_msdu() 1612 recvframe_pull(prframe, prframe->attrib.hdrlen); amsdu_to_msdu() 1614 if (prframe->attrib.iv_len > 0) amsdu_to_msdu() 1615 recvframe_pull(prframe, prframe->attrib.iv_len); amsdu_to_msdu() 1617 a_len = prframe->len; amsdu_to_msdu() 1619 pdata = prframe->rx_data; amsdu_to_msdu() 1641 sub_skb = skb_clone(prframe->pkt, GFP_ATOMIC); amsdu_to_msdu() 1708 prframe->len = 0; amsdu_to_msdu() 1709 rtw_free_recvframe(prframe, pfree_recv_queue);/* free this recv_frame */ amsdu_to_msdu() 1745 struct recv_frame *prframe) enqueue_reorder_recvframe() 1747 struct rx_pkt_attrib *pattrib = &prframe->attrib; enqueue_reorder_recvframe() 1768 list_del_init(&(prframe->list)); enqueue_reorder_recvframe() 1770 list_add_tail(&(prframe->list), plist); enqueue_reorder_recvframe() 1777 struct recv_frame *prframe; recv_indicatepkts_in_order() local 1801 prframe = (struct recv_frame *)prhdr; recv_indicatepkts_in_order() 1802 pattrib = &prframe->attrib; recv_indicatepkts_in_order() 1809 list_del_init(&(prframe->list)); recv_indicatepkts_in_order() 1820 rtw_recv_indicatepkt(padapter, prframe);/* indicate this recv_frame */ recv_indicatepkts_in_order() 1822 if (amsdu_to_msdu(padapter, prframe) != _SUCCESS) recv_indicatepkts_in_order() 1823 rtw_free_recvframe(prframe, &precvpriv->free_recv_queue); recv_indicatepkts_in_order() 1839 struct recv_frame *prframe) recv_indicatepkt_reorder() 1842 struct rx_pkt_attrib *pattrib = &prframe->attrib; recv_indicatepkt_reorder() 1843 struct recv_reorder_ctrl *preorder_ctrl = prframe->preorder_ctrl; recv_indicatepkt_reorder() 1848 wlanhdr_to_ethhdr(prframe); recv_indicatepkt_reorder() 1856 rtw_recv_indicatepkt(padapter, prframe); recv_indicatepkt_reorder() 1866 rtw_recv_indicatepkt(padapter, prframe); recv_indicatepkt_reorder() 1874 retval = amsdu_to_msdu(padapter, prframe); recv_indicatepkt_reorder() 1889 rtw_recv_indicatepkt(padapter, prframe); recv_indicatepkt_reorder() 1897 if (!enqueue_reorder_recvframe(preorder_ctrl, prframe)) recv_indicatepkt_reorder() 1950 struct recv_frame *prframe) process_recv_indicatepkts() 1957 if (recv_indicatepkt_reorder(padapter, prframe) != _SUCCESS) { process_recv_indicatepkts() 1966 retval = wlanhdr_to_ethhdr(prframe); process_recv_indicatepkts() 1976 rtw_recv_indicatepkt(padapter, prframe); process_recv_indicatepkts() 2008 struct recv_frame *prframe) recv_func_posthandle() 2011 struct recv_frame *orig_prframe = prframe; recv_func_posthandle() 2018 prframe = decryptor(padapter, prframe); recv_func_posthandle() 2019 if (prframe == NULL) { recv_func_posthandle() 2025 prframe = recvframe_chk_defrag(padapter, prframe); recv_func_posthandle() 2026 if (prframe == NULL) { recv_func_posthandle() 2031 prframe = portctrl(padapter, prframe); recv_func_posthandle() 2032 if (prframe == NULL) { recv_func_posthandle() 2038 count_rx_stats(padapter, prframe, NULL); recv_func_posthandle() 2040 ret = process_recv_indicatepkts(padapter, prframe); recv_func_posthandle() 658 count_rx_stats(struct adapter *padapter, struct recv_frame *prframe, struct sta_info *sta) count_rx_stats() argument 1744 enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, struct recv_frame *prframe) enqueue_reorder_recvframe() argument 1838 recv_indicatepkt_reorder(struct adapter *padapter, struct recv_frame *prframe) recv_indicatepkt_reorder() argument 1949 process_recv_indicatepkts(struct adapter *padapter, struct recv_frame *prframe) process_recv_indicatepkts() argument 2007 recv_func_posthandle(struct adapter *padapter, struct recv_frame *prframe) recv_func_posthandle() argument
|
H A D | rtw_sta_mgt.c | 325 struct recv_frame *prframe; rtw_free_stainfo() local 342 prframe = (struct recv_frame *)prhdr; rtw_free_stainfo() 346 list_del_init(&(prframe->list)); rtw_free_stainfo() 348 rtw_free_recvframe(prframe, pfree_recv_queue); rtw_free_stainfo()
|
/linux-4.4.14/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188e_rxdesc.c | 26 static void process_rssi(struct adapter *padapter, struct recv_frame *prframe) process_rssi() argument 28 struct rx_pkt_attrib *pattrib = &prframe->attrib; process_rssi() 43 struct recv_frame *prframe) process_link_qual() 48 if (prframe == NULL || padapter == NULL) process_link_qual() 51 pattrib = &prframe->attrib; process_link_qual() 65 void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe) rtl8188e_process_phy_info() argument 67 struct recv_frame *precvframe = (struct recv_frame *)prframe; rtl8188e_process_phy_info() 42 process_link_qual(struct adapter *padapter, struct recv_frame *prframe) process_link_qual() argument
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
H A D | rtl8188e_recv.h | 64 void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe);
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
H A D | rtl8723a_recv.h | 61 void rtl8723a_process_phy_info(struct rtw_adapter *padapter, void *prframe);
|