Home
last modified time | relevance | path

Searched refs:rxsc_entry (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_recv_shortcut.c67 struct core_rxsc_entry *rxsc_entry = NULL; in core_rxsc_alloc_entry() local
77 if (psta->rxsc_entry[rxsc_idx].status != RXSC_ENTRY_APPLYING) in core_rxsc_alloc_entry()
82 rxsc_entry = &psta->rxsc_entry[rxsc_idx]; in core_rxsc_alloc_entry()
84 if (rxsc_entry->status == RXSC_ENTRY_APPLYING) in core_rxsc_alloc_entry()
87 rxsc_entry->status = RXSC_ENTRY_VALID; in core_rxsc_alloc_entry()
90 return rxsc_entry; in core_rxsc_alloc_entry()
99 struct core_rxsc_entry *rxsc_entry = NULL; in core_rxsc_get_entry() local
112 rxsc_entry = &psta->rxsc_entry[(psta->rxsc_idx_cached + idx) % NUM_RXSC_ENTRY]; in core_rxsc_get_entry()
114 if (rxsc_entry->status == RXSC_ENTRY_INVALID) in core_rxsc_get_entry()
117 rhs = (u8*)rxsc_entry->rxsc_wlanhdr.addr1; in core_rxsc_get_entry()
[all …]
H A Drtw_recv.c2504 struct core_rxsc_entry *rxsc_entry = NULL; in wlanhdr_to_ethhdr() local
2523 rxsc_entry = core_rxsc_alloc_entry(adapter, precvframe); in wlanhdr_to_ethhdr()
2525 if (rxsc_entry) { in wlanhdr_to_ethhdr()
2527 rxsc_entry->rxsc_payload_offset = (rmv_len - sizeof(struct ethhdr) + (pattrib->bsnaphdr ? 2 : 0)); in wlanhdr_to_ethhdr()
2531 rxsc_entry->rxsc_trim_pad = pattrib->icv_len; in wlanhdr_to_ethhdr()
2533 rxsc_entry->rxsc_trim_pad = 0; in wlanhdr_to_ethhdr()
2536 _rtw_memcpy((void *)&rxsc_entry->rxsc_wlanhdr, ptr, pattrib->hdrlen); in wlanhdr_to_ethhdr()
2557 if (rxsc_entry) { in wlanhdr_to_ethhdr()
2559 memcpy((void *)&rxsc_entry->rxsc_ethhdr, ptr, sizeof(rxsc_entry->rxsc_ethhdr)); in wlanhdr_to_ethhdr()
2562 memcpy((void *)&rxsc_entry->rxsc_attrib, pattrib, sizeof(rxsc_entry->rxsc_attrib)); in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_recv_shortcut.c67 struct core_rxsc_entry *rxsc_entry = NULL; in core_rxsc_alloc_entry() local
77 if (psta->rxsc_entry[rxsc_idx].status != RXSC_ENTRY_APPLYING) in core_rxsc_alloc_entry()
82 rxsc_entry = &psta->rxsc_entry[rxsc_idx]; in core_rxsc_alloc_entry()
84 if (rxsc_entry->status == RXSC_ENTRY_APPLYING) in core_rxsc_alloc_entry()
87 rxsc_entry->status = RXSC_ENTRY_VALID; in core_rxsc_alloc_entry()
90 return rxsc_entry; in core_rxsc_alloc_entry()
99 struct core_rxsc_entry *rxsc_entry = NULL; in core_rxsc_get_entry() local
112 rxsc_entry = &psta->rxsc_entry[(psta->rxsc_idx_cached + idx) % NUM_RXSC_ENTRY]; in core_rxsc_get_entry()
114 if (rxsc_entry->status == RXSC_ENTRY_INVALID) in core_rxsc_get_entry()
117 rhs = (u8*)rxsc_entry->rxsc_wlanhdr.addr1; in core_rxsc_get_entry()
[all …]
H A Drtw_recv.c2504 struct core_rxsc_entry *rxsc_entry = NULL; in wlanhdr_to_ethhdr() local
2523 rxsc_entry = core_rxsc_alloc_entry(adapter, precvframe); in wlanhdr_to_ethhdr()
2525 if (rxsc_entry) { in wlanhdr_to_ethhdr()
2527 rxsc_entry->rxsc_payload_offset = (rmv_len - sizeof(struct ethhdr) + (pattrib->bsnaphdr ? 2 : 0)); in wlanhdr_to_ethhdr()
2531 rxsc_entry->rxsc_trim_pad = pattrib->icv_len; in wlanhdr_to_ethhdr()
2533 rxsc_entry->rxsc_trim_pad = 0; in wlanhdr_to_ethhdr()
2536 _rtw_memcpy((void *)&rxsc_entry->rxsc_wlanhdr, ptr, pattrib->hdrlen); in wlanhdr_to_ethhdr()
2557 if (rxsc_entry) { in wlanhdr_to_ethhdr()
2559 memcpy((void *)&rxsc_entry->rxsc_ethhdr, ptr, sizeof(rxsc_entry->rxsc_ethhdr)); in wlanhdr_to_ethhdr()
2562 memcpy((void *)&rxsc_entry->rxsc_attrib, pattrib, sizeof(rxsc_entry->rxsc_attrib)); in wlanhdr_to_ethhdr()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Drtw_recv.h389 struct core_rxsc_entry *rxsc_entry; member
H A Dsta_info.h325 struct core_rxsc_entry rxsc_entry[NUM_RXSC_ENTRY]; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_recv.h389 struct core_rxsc_entry *rxsc_entry; member
H A Dsta_info.h325 struct core_rxsc_entry rxsc_entry[NUM_RXSC_ENTRY]; member