Lines Matching refs:hslot
544 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
561 ASSERT(hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM + 1)); in _dhd_wlfc_deque_afq()
563 if (hslot < WLFC_MAC_DESC_TABLE_SIZE) in _dhd_wlfc_deque_afq()
564 entry = &ctx->destination_entries.nodes[hslot]; in _dhd_wlfc_deque_afq()
565 else if (hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM)) in _dhd_wlfc_deque_afq()
566 entry = &ctx->destination_entries.interfaces[hslot - WLFC_MAC_DESC_TABLE_SIZE]; in _dhd_wlfc_deque_afq()
943 void* p, ewlfc_packet_state_t pkt_type, uint32 hslot) in _dhd_wlfc_rollback_packet_toq() argument
1252 int hslot = WLFC_HANGER_MAXITEMS; in _dhd_wlfc_pretx_pktprocess() local
1261 *slot = hslot; in _dhd_wlfc_pretx_pktprocess()
1281 hslot = (uint)(entry - &ctx->destination_entries.nodes[0]); in _dhd_wlfc_pretx_pktprocess()
1283 hslot = _dhd_wlfc_hanger_get_free_slot(ctx->hanger); in _dhd_wlfc_pretx_pktprocess()
1296 hslot = WL_TXSTATUS_GET_HSLOT(DHD_PKTTAG_H2DTAG(PKTTAG(p))); in _dhd_wlfc_pretx_pktprocess()
1303 _dhd_wlfc_hanger_get_genbit(ctx->hanger, p, hslot, &gen); in _dhd_wlfc_pretx_pktprocess()
1320 if (hslot >= WLFC_HANGER_MAXITEMS) { in _dhd_wlfc_pretx_pktprocess()
1326 WL_TXSTATUS_SET_HSLOT(htod, hslot); in _dhd_wlfc_pretx_pktprocess()
1355 rc = _dhd_wlfc_hanger_pushpkt(ctx->hanger, p, hslot); in _dhd_wlfc_pretx_pktprocess()
1358 h->items[hslot].push_time = in _dhd_wlfc_pretx_pktprocess()
1367 if (((wlfc_hanger_t*)(ctx->hanger))->items[hslot].pkt != p) in _dhd_wlfc_pretx_pktprocess()
1369 __FUNCTION__, p, h->items[hslot].pkt)); in _dhd_wlfc_pretx_pktprocess()
1370 ASSERT(h->items[hslot].pkt == p); in _dhd_wlfc_pretx_pktprocess()
1371 bcm_object_feature_set(h->items[hslot].pkt, in _dhd_wlfc_pretx_pktprocess()
1373 h->items[hslot].pkt_state = 0; in _dhd_wlfc_pretx_pktprocess()
1374 h->items[hslot].pkt_txstatus = 0; in _dhd_wlfc_pretx_pktprocess()
1375 h->items[hslot].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_pretx_pktprocess()
1384 *slot = hslot; in _dhd_wlfc_pretx_pktprocess()
2241 uint32 hslot; in _dhd_wlfc_handle_packet_commit() local
2260 commit_info->needs_hdr, &hslot); in _dhd_wlfc_handle_packet_commit()
2310 _dhd_wlfc_rollback_packet_toq(ctx, commit_info->p, commit_info->pkt_type, hslot); in _dhd_wlfc_handle_packet_commit()
2340 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2358 ASSERT(hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM + 1)); in dhd_wlfc_suppressed_acked_update()
2360 if (hslot < WLFC_MAC_DESC_TABLE_SIZE) in dhd_wlfc_suppressed_acked_update()
2361 entry = &ctx->destination_entries.nodes[hslot]; in dhd_wlfc_suppressed_acked_update()
2362 else if (hslot < (WLFC_MAC_DESC_TABLE_SIZE + WLFC_MAX_IFNUM)) in dhd_wlfc_suppressed_acked_update()
2363 entry = &ctx->destination_entries.interfaces[hslot - WLFC_MAC_DESC_TABLE_SIZE]; in dhd_wlfc_suppressed_acked_update()
2420 _dhd_wlfc_hanger_pushpkt(ctx->hanger, p, hslot); in dhd_wlfc_suppressed_acked_update()
2437 uint16 hslot; in _dhd_wlfc_compressed_txstatus_update() local
2447 hslot = WL_TXSTATUS_GET_HSLOT(status); in _dhd_wlfc_compressed_txstatus_update()
2492 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
2495 ret = _dhd_wlfc_deque_afq(wlfc, hslot, hcnt, fifo_id, &pktbuf); in _dhd_wlfc_compressed_txstatus_update()
2499 ret = _dhd_wlfc_hanger_poppkt(wlfc->hanger, hslot, &pktbuf, FALSE); in _dhd_wlfc_compressed_txstatus_update()
2501 _dhd_wlfc_hanger_free_pkt(wlfc, hslot, in _dhd_wlfc_compressed_txstatus_update()
2506 if (h->items[hslot].state == WLFC_HANGER_ITEM_STATE_FLUSHED) { in _dhd_wlfc_compressed_txstatus_update()
2562 old_t = ((wlfc_hanger_t*)(wlfc->hanger))->items[hslot].push_time; in _dhd_wlfc_compressed_txstatus_update()
2624 _dhd_wlfc_hanger_mark_suppressed(wlfc->hanger, hslot, gen); in _dhd_wlfc_compressed_txstatus_update()
2651 _dhd_wlfc_hanger_free_pkt(wlfc, hslot, in _dhd_wlfc_compressed_txstatus_update()
2679 hslot = (hslot + 1) & WL_TXSTATUS_HSLOT_MASK; in _dhd_wlfc_compressed_txstatus_update()
3895 int hslot = WL_TXSTATUS_GET_HSLOT(DHD_PKTTAG_H2DTAG(PKTTAG(txp))); in dhd_wlfc_txcomplete() local
3896 _dhd_wlfc_hanger_free_pkt(wlfc, hslot, in dhd_wlfc_txcomplete()