Lines Matching refs:hslot

424 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec,  in _dhd_wlfc_deque_afq()  argument
441 ASSERT(hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM + 1)); in _dhd_wlfc_deque_afq()
443 if (hslot < WLFC_MAC_DESC_TABLE_SIZE) in _dhd_wlfc_deque_afq()
444 entry = &ctx->destination_entries.nodes[hslot]; in _dhd_wlfc_deque_afq()
445 else if (hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM)) in _dhd_wlfc_deque_afq()
446 entry = &ctx->destination_entries.interfaces[hslot - WLFC_MAC_DESC_TABLE_SIZE]; in _dhd_wlfc_deque_afq()
817 void* p, ewlfc_packet_state_t pkt_type, uint32 hslot) in _dhd_wlfc_rollback_packet_toq() argument
1117 int hslot = WLFC_HANGER_MAXITEMS; in _dhd_wlfc_pretx_pktprocess() local
1126 *slot = hslot; in _dhd_wlfc_pretx_pktprocess()
1146 hslot = (uint)(entry - &ctx->destination_entries.nodes[0]); in _dhd_wlfc_pretx_pktprocess()
1148 hslot = _dhd_wlfc_hanger_get_free_slot(ctx->hanger); in _dhd_wlfc_pretx_pktprocess()
1157 hslot = WL_TXSTATUS_GET_HSLOT(DHD_PKTTAG_H2DTAG(PKTTAG(p))); in _dhd_wlfc_pretx_pktprocess()
1164 _dhd_wlfc_hanger_get_genbit(ctx->hanger, p, hslot, &gen); in _dhd_wlfc_pretx_pktprocess()
1172 if (hslot >= WLFC_HANGER_MAXITEMS) { in _dhd_wlfc_pretx_pktprocess()
1178 WL_TXSTATUS_SET_HSLOT(htod, hslot); in _dhd_wlfc_pretx_pktprocess()
1207 rc = _dhd_wlfc_hanger_pushpkt(ctx->hanger, p, hslot); in _dhd_wlfc_pretx_pktprocess()
1210 h->items[hslot].push_time = in _dhd_wlfc_pretx_pktprocess()
1219 if (((wlfc_hanger_t*)(ctx->hanger))->items[hslot].pkt != p) in _dhd_wlfc_pretx_pktprocess()
1221 __FUNCTION__, p, h->items[hslot].pkt)); in _dhd_wlfc_pretx_pktprocess()
1222 ASSERT(h->items[hslot].pkt == p); in _dhd_wlfc_pretx_pktprocess()
1223 bcm_object_feature_set(h->items[hslot].pkt, in _dhd_wlfc_pretx_pktprocess()
1225 h->items[hslot].pkt_state = 0; in _dhd_wlfc_pretx_pktprocess()
1226 h->items[hslot].pkt_txstatus = 0; in _dhd_wlfc_pretx_pktprocess()
1227 h->items[hslot].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_pretx_pktprocess()
1236 *slot = hslot; in _dhd_wlfc_pretx_pktprocess()
2026 uint32 hslot; in _dhd_wlfc_handle_packet_commit() local
2045 commit_info->needs_hdr, &hslot); in _dhd_wlfc_handle_packet_commit()
2087 _dhd_wlfc_rollback_packet_toq(ctx, commit_info->p, commit_info->pkt_type, hslot); in _dhd_wlfc_handle_packet_commit()
2117 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2135 ASSERT(hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM + 1)); in dhd_wlfc_suppressed_acked_update()
2137 if (hslot < WLFC_MAC_DESC_TABLE_SIZE) in dhd_wlfc_suppressed_acked_update()
2138 entry = &ctx->destination_entries.nodes[hslot]; in dhd_wlfc_suppressed_acked_update()
2139 else if (hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM)) in dhd_wlfc_suppressed_acked_update()
2140 entry = &ctx->destination_entries.interfaces[hslot - WLFC_MAC_DESC_TABLE_SIZE]; in dhd_wlfc_suppressed_acked_update()
2197 _dhd_wlfc_hanger_pushpkt(ctx->hanger, p, hslot); in dhd_wlfc_suppressed_acked_update()
2214 uint16 hslot; in _dhd_wlfc_compressed_txstatus_update() local
2223 hslot = WL_TXSTATUS_GET_HSLOT(status); in _dhd_wlfc_compressed_txstatus_update()
2268 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
2271 ret = _dhd_wlfc_deque_afq(wlfc, hslot, hcnt, fifo_id, &pktbuf); in _dhd_wlfc_compressed_txstatus_update()
2275 ret = _dhd_wlfc_hanger_poppkt(wlfc->hanger, hslot, &pktbuf, FALSE); in _dhd_wlfc_compressed_txstatus_update()
2277 _dhd_wlfc_hanger_free_pkt(wlfc, hslot, in _dhd_wlfc_compressed_txstatus_update()
2282 if (h->items[hslot].state == WLFC_HANGER_ITEM_STATE_FLUSHED) { in _dhd_wlfc_compressed_txstatus_update()
2324 old_t = ((wlfc_hanger_t*)(wlfc->hanger))->items[hslot].push_time; in _dhd_wlfc_compressed_txstatus_update()
2379 _dhd_wlfc_hanger_mark_suppressed(wlfc->hanger, hslot, gen); in _dhd_wlfc_compressed_txstatus_update()
2387 _dhd_wlfc_hanger_free_pkt(wlfc, hslot, in _dhd_wlfc_compressed_txstatus_update()
2412 hslot = (hslot + 1) & WL_TXSTATUS_HSLOT_MASK; in _dhd_wlfc_compressed_txstatus_update()
3533 int hslot = WL_TXSTATUS_GET_HSLOT(DHD_PKTTAG_H2DTAG(PKTTAG(txp))); in dhd_wlfc_txcomplete() local
3534 _dhd_wlfc_hanger_free_pkt(wlfc, hslot, in dhd_wlfc_txcomplete()