Lines Matching +full:b +full:- +full:facing
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023, 2025 Qualcomm Innovation Center, Inc. All rights reserved.
237 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0)
283 * - reo_cmd_list
284 * - reo_cmd_cache_flush_list
285 * - reo_cmd_cache_flush_count
357 /* host -> target HTT_SRING_SETUP message
360 * each host facing LMAC SRING. Target setups up HW registers based
368 * |--------------- +-----------------+----------------+------------------|
370 * |----------------------------------------------------------------------|
372 * |----------------------------------------------------------------------|
374 * |----------------------------------------------------------------------|
376 * |----------------------------------------------------------------------|
378 * |----------------------------------------------------------------------|
380 * |----------------------------------------------------------------------|
382 * |----------------------------------------------------------------------|
384 * |----------------------------------------------------------------------|
386 * |----------------------------------------------------------------------|
388 * |----------------------------------------------------------------------|
390 * |----------------------------------------------------------------------|
392 * |----------------------------------------------------------------------|
394 * |----------------------------------------------------------------------|
401 * dword0 - b'0:7 - msg_type: This will be set to
403 * b'8:15 - pdev_id:
406 * b'16:23 - ring_id: identify which ring is to setup,
408 * b'24:31 - ring_type: identify type of host rings,
410 * dword1 - b'0:31 - ring_base_addr_lo: Lower 32bits of ring base address
411 * dword2 - b'0:31 - ring_base_addr_hi: Upper 32bits of ring base address
412 * dword3 - b'0:15 - ring_size: size of the ring in unit of 4-bytes words
413 * b'16:23 - ring_entry_size: Size of each entry in 4-byte word units
414 * b'24:31 - ring_misc_cfg_flag: Valid only for HW_TO_SW_RING and
417 * dword4 - b'0:31 - ring_head_off32_remote_addr_lo:
419 * storing the 4-byte word offset that identifies the head
423 * dword5 - b'0:31 - ring_head_off32_remote_addr_hi:
425 * storing the 4-byte word offset that identifies the head
429 * dword6 - b'0:31 - ring_tail_off32_remote_addr_lo:
431 * storing the 4-byte word offset that identifies the tail
435 * dword7 - b'0:31 - ring_tail_off32_remote_addr_hi:
437 * storing the 4-byte word offset that identifies the tail
441 * dword8 - b'0:31 - ring_msi_addr_lo: Lower 32bits of MSI cfg address
443 * dword9 - b'0:31 - ring_msi_addr_hi: Upper 32bits of MSI cfg address
445 * dword10 - b'0:31 - ring_msi_data: MSI data
448 * dword11 - b'0:14 - intr_batch_counter_th:
449 * batch counter threshold is in units of 4-byte words.
454 * b'15 - sw_intr_mode:
459 * b'16:31 - intr_timer_th:
463 * dword12 - b'0:15 - intr_low_threshold:
468 * b'16:18 - prefetch_timer_cfg:
479 * b'19 - response_required:
481 * b'20:31 - reserved: reserved for future use
520 /* host -> target FW PPDU_STATS config message
529 * |-----------------------------------------------------------|
531 * |-----------------------------------------------------------|
533 * - MSG_TYPE
537 * - PDEV_MASK
543 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
545 * - REQ_TLV_BIT_MASK
610 * |-----------------+----------------+----------------+---------------|
612 * |-------------------------------------------------------------------|
614 * |-------------------------------------------------------------------|
616 * |-------------------------------------------------------------------|
618 * |-------------------------------------------------------------------|
620 * |-------------------------------------------------------------------|
622 * |-------------------------------------------------------------------|
624 * |-------------------------------------------------------------------|
629 * dword0 - b'0:7 - msg_type: This will be set to
631 * b'8:15 - pdev_id:
634 * b'16:23 - ring_id : Identify the ring to configure.
636 * b'24 - status_swap: 1 is to swap status TLV
637 * b'25 - pkt_swap: 1 is to swap packet TLV
638 * b'26:31 - rsvd1: reserved for future use
639 * dword1 - b'0:16 - ring_buffer_size: size of buffers referenced by rx ring,
642 * - b'16:31 - rsvd2: Reserved for future use
643 * dword2 - b'0:31 - packet_type_enable_flags_0:
645 * bits from low to high: FP, MD, MO - 3 bits
649 * 10 mgmt subtypes * 3 bits -> 30 bits
651 * dword3 - b'0:31 - packet_type_enable_flags_1:
653 * bits from low to high: FP, MD, MO - 3 bits
655 * dword4 - b'0:31 - packet_type_enable_flags_2:
657 * bits from low to high: FP, MD, MO - 3 bits
659 * dword5 - b'0:31 - packet_type_enable_flags_3:
662 * bits from low to high: FP, MD, MO - 3 bits
664 * dword6 - b'0:31 - tlv_filter_in_flags:
1006 * 0 - REO destination ring select
1007 * 1 - FW destination ring select
1008 * 2 - SW destination ring select
1009 * 3 - Release destination ring select
1023 /* HTT message target->host */
1142 * |----------------------------------------------------------------------|
1144 * |----------------------------------------------------------------------|
1146 * |----------------------------------------------------------------------|
1148 * |----------------------------------------------------------------------|
1150 * |----------------------------------------------------------------------|
1151 * | type-specific stats info |
1153 * |----------------------------------------------------------------------|
1155 * - MSG_TYPE
1160 * - mac_id
1163 * Value: 0-3
1164 * - pdev_id
1167 * Value: 0-3
1169 * 1/2/3 PDEV -> 0/1/2
1170 * - payload_size
1207 /* bw - HTT_PPDU_STATS_BW */
1221 /* BIT [15 : 0] - phy mode (WLAN_PHY_MODE) with which ppdu was transmitted
1222 * BIT [31 : 16] - bandwidth (in MHz) with which ppdu was transmitted
1379 /* @brief target -> host packet log message
1384 * The message consists of a 4-octet header,followed by a variable number
1385 * of 32-bit character values.
1388 * |------------------------------------------------------------------|
1390 * |------------------------------------------------------------------|
1392 * |------------------------------------------------------------------|
1393 * - MSG_TYPE
1397 * - mac_id
1400 * Value: 0-3
1401 * - pdev_id
1404 * Value: 0-3
1406 * 1/2/3 PDEV -> 0/1/2
1407 * - payload_size
1417 /* @brief host -> target FW extended statistics retrieve
1425 * |-----------------------------------------------------------|
1427 * |-----------------------------------------------------------|
1429 * |-----------------------------------------------------------|
1431 * |-----------------------------------------------------------|
1433 * |-----------------------------------------------------------|
1435 * |-----------------------------------------------------------|
1437 * |-----------------------------------------------------------|
1439 * |-----------------------------------------------------------|
1441 * |-----------------------------------------------------------|
1443 * - MSG_TYPE
1447 * - PDEV_MASK
1453 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
1455 * - STATS_TYPE
1459 * - Reserved
1461 * - CONFIG_PARAM [0]
1464 * Value: stats-type specific configuration value
1466 * - CONFIG_PARAM [1]
1469 * Value: stats-type specific configuration value
1471 * - CONFIG_PARAM [2]
1474 * Value: stats-type specific configuration value
1476 * - CONFIG_PARAM [3]
1479 * Value: stats-type specific configuration value
1481 * - Reserved [31:0] for future use.
1482 * - COOKIE_LSBS
1484 * Purpose: Provide a mechanism to match a target->host stats confirmation
1485 * message with its preceding host->target stats request message.
1486 * Value: LSBs of the opaque cookie specified by the host-side requestor
1487 * - COOKIE_MSBS
1489 * Purpose: Provide a mechanism to match a target->host stats confirmation
1490 * message with its preceding host->target stats request message.
1491 * Value: MSBs of the opaque cookie specified by the host-side requestor
1525 * [Bit0] - [0] for sw_peer_id, [1] for mac_addr based request
1552 /* @brief target -> host extended statistics upload
1557 * The message contains a cookie echoed from the HTT host->target stats
1561 * will have tag-length-value stats information elements.
1562 * The tag-length header for each HTT stats IND message also includes a
1570 * |--------------------------------------------------------------|
1572 * |--------------------------------------------------------------|
1574 * |--------------------------------------------------------------|
1576 * |--------------------------------------------------------------|
1578 * |--------------------------------------------------------------|
1579 * | type-specific stats info |
1581 * |--------------------------------------------------------------|
1583 * - MSG_TYPE
1588 * - COOKIE_LSBS
1590 * Purpose: Provide a mechanism to match a target->host stats confirmation
1591 * message with its preceding host->target stats request message.
1592 * Value: LSBs of the opaque cookie specified by the host-side requestor
1593 * - COOKIE_MSBS
1595 * Purpose: Provide a mechanism to match a target->host stats confirmation
1596 * message with its preceding host->target stats request message.
1597 * Value: MSBs of the opaque cookie specified by the host-side requestor
1599 * Stats Information Element tag-length header fields:
1600 * - STAT_TYPE
1605 * - STATUS
1609 * - DONE
1615 * 0 -> the stats retrieval is ongoing
1616 * 1 -> the stats retrieval is complete
1617 * - LENGTH
1621 * that follows the element tag-length header.
1656 memcpy(addr + 4, &addr_h16, ETH_ALEN - 4); in ath11k_dp_get_mac_addr()