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 Qualcomm Innovation Center, Inc. All rights reserved.
235 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0)
281 * - reo_cmd_list
282 * - reo_cmd_cache_flush_list
283 * - reo_cmd_cache_flush_count
355 /* host -> target HTT_SRING_SETUP message
358 * each host facing LMAC SRING. Target setups up HW registers based
366 * |--------------- +-----------------+----------------+------------------|
368 * |----------------------------------------------------------------------|
370 * |----------------------------------------------------------------------|
372 * |----------------------------------------------------------------------|
374 * |----------------------------------------------------------------------|
376 * |----------------------------------------------------------------------|
378 * |----------------------------------------------------------------------|
380 * |----------------------------------------------------------------------|
382 * |----------------------------------------------------------------------|
384 * |----------------------------------------------------------------------|
386 * |----------------------------------------------------------------------|
388 * |----------------------------------------------------------------------|
390 * |----------------------------------------------------------------------|
392 * |----------------------------------------------------------------------|
399 * dword0 - b'0:7 - msg_type: This will be set to
401 * b'8:15 - pdev_id:
404 * b'16:23 - ring_id: identify which ring is to setup,
406 * b'24:31 - ring_type: identify type of host rings,
408 * dword1 - b'0:31 - ring_base_addr_lo: Lower 32bits of ring base address
409 * dword2 - b'0:31 - ring_base_addr_hi: Upper 32bits of ring base address
410 * dword3 - b'0:15 - ring_size: size of the ring in unit of 4-bytes words
411 * b'16:23 - ring_entry_size: Size of each entry in 4-byte word units
412 * b'24:31 - ring_misc_cfg_flag: Valid only for HW_TO_SW_RING and
415 * dword4 - b'0:31 - ring_head_off32_remote_addr_lo:
417 * storing the 4-byte word offset that identifies the head
421 * dword5 - b'0:31 - ring_head_off32_remote_addr_hi:
423 * storing the 4-byte word offset that identifies the head
427 * dword6 - b'0:31 - ring_tail_off32_remote_addr_lo:
429 * storing the 4-byte word offset that identifies the tail
433 * dword7 - b'0:31 - ring_tail_off32_remote_addr_hi:
435 * storing the 4-byte word offset that identifies the tail
439 * dword8 - b'0:31 - ring_msi_addr_lo: Lower 32bits of MSI cfg address
441 * dword9 - b'0:31 - ring_msi_addr_hi: Upper 32bits of MSI cfg address
443 * dword10 - b'0:31 - ring_msi_data: MSI data
446 * dword11 - b'0:14 - intr_batch_counter_th:
447 * batch counter threshold is in units of 4-byte words.
452 * b'15 - sw_intr_mode:
457 * b'16:31 - intr_timer_th:
461 * dword12 - b'0:15 - intr_low_threshold:
466 * b'16:18 - prefetch_timer_cfg:
477 * b'19 - response_required:
479 * b'20:31 - reserved: reserved for future use
518 /* host -> target FW PPDU_STATS config message
527 * |-----------------------------------------------------------|
529 * |-----------------------------------------------------------|
531 * - MSG_TYPE
535 * - PDEV_MASK
541 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
543 * - REQ_TLV_BIT_MASK
608 * |-----------------+----------------+----------------+---------------|
610 * |-------------------------------------------------------------------|
612 * |-------------------------------------------------------------------|
614 * |-------------------------------------------------------------------|
616 * |-------------------------------------------------------------------|
618 * |-------------------------------------------------------------------|
620 * |-------------------------------------------------------------------|
622 * |-------------------------------------------------------------------|
627 * dword0 - b'0:7 - msg_type: This will be set to
629 * b'8:15 - pdev_id:
632 * b'16:23 - ring_id : Identify the ring to configure.
634 * b'24 - status_swap: 1 is to swap status TLV
635 * b'25 - pkt_swap: 1 is to swap packet TLV
636 * b'26:31 - rsvd1: reserved for future use
637 * dword1 - b'0:16 - ring_buffer_size: size of buffers referenced by rx ring,
640 * - b'16:31 - rsvd2: Reserved for future use
641 * dword2 - b'0:31 - packet_type_enable_flags_0:
643 * bits from low to high: FP, MD, MO - 3 bits
647 * 10 mgmt subtypes * 3 bits -> 30 bits
649 * dword3 - b'0:31 - packet_type_enable_flags_1:
651 * bits from low to high: FP, MD, MO - 3 bits
653 * dword4 - b'0:31 - packet_type_enable_flags_2:
655 * bits from low to high: FP, MD, MO - 3 bits
657 * dword5 - b'0:31 - packet_type_enable_flags_3:
660 * bits from low to high: FP, MD, MO - 3 bits
662 * dword6 - b'0:31 - tlv_filter_in_flags:
1004 * 0 - REO destination ring select
1005 * 1 - FW destination ring select
1006 * 2 - SW destination ring select
1007 * 3 - Release destination ring select
1021 /* HTT message target->host */
1140 * |----------------------------------------------------------------------|
1142 * |----------------------------------------------------------------------|
1144 * |----------------------------------------------------------------------|
1146 * |----------------------------------------------------------------------|
1148 * |----------------------------------------------------------------------|
1149 * | type-specific stats info |
1151 * |----------------------------------------------------------------------|
1153 * - MSG_TYPE
1158 * - mac_id
1161 * Value: 0-3
1162 * - pdev_id
1165 * Value: 0-3
1167 * 1/2/3 PDEV -> 0/1/2
1168 * - payload_size
1205 /* bw - HTT_PPDU_STATS_BW */
1219 /* BIT [15 : 0] - phy mode (WLAN_PHY_MODE) with which ppdu was transmitted
1220 * BIT [31 : 16] - bandwidth (in MHz) with which ppdu was transmitted
1377 /* @brief target -> host packet log message
1382 * The message consists of a 4-octet header,followed by a variable number
1383 * of 32-bit character values.
1386 * |------------------------------------------------------------------|
1388 * |------------------------------------------------------------------|
1390 * |------------------------------------------------------------------|
1391 * - MSG_TYPE
1395 * - mac_id
1398 * Value: 0-3
1399 * - pdev_id
1402 * Value: 0-3
1404 * 1/2/3 PDEV -> 0/1/2
1405 * - payload_size
1415 /* @brief host -> target FW extended statistics retrieve
1423 * |-----------------------------------------------------------|
1425 * |-----------------------------------------------------------|
1427 * |-----------------------------------------------------------|
1429 * |-----------------------------------------------------------|
1431 * |-----------------------------------------------------------|
1433 * |-----------------------------------------------------------|
1435 * |-----------------------------------------------------------|
1437 * |-----------------------------------------------------------|
1439 * |-----------------------------------------------------------|
1441 * - MSG_TYPE
1445 * - PDEV_MASK
1451 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
1453 * - STATS_TYPE
1457 * - Reserved
1459 * - CONFIG_PARAM [0]
1462 * Value: stats-type specific configuration value
1464 * - CONFIG_PARAM [1]
1467 * Value: stats-type specific configuration value
1469 * - CONFIG_PARAM [2]
1472 * Value: stats-type specific configuration value
1474 * - CONFIG_PARAM [3]
1477 * Value: stats-type specific configuration value
1479 * - Reserved [31:0] for future use.
1480 * - COOKIE_LSBS
1482 * Purpose: Provide a mechanism to match a target->host stats confirmation
1483 * message with its preceding host->target stats request message.
1484 * Value: LSBs of the opaque cookie specified by the host-side requestor
1485 * - COOKIE_MSBS
1487 * Purpose: Provide a mechanism to match a target->host stats confirmation
1488 * message with its preceding host->target stats request message.
1489 * Value: MSBs of the opaque cookie specified by the host-side requestor
1523 * [Bit0] - [0] for sw_peer_id, [1] for mac_addr based request
1550 /* @brief target -> host extended statistics upload
1555 * The message contains a cookie echoed from the HTT host->target stats
1559 * will have tag-length-value stats information elements.
1560 * The tag-length header for each HTT stats IND message also includes a
1568 * |--------------------------------------------------------------|
1570 * |--------------------------------------------------------------|
1572 * |--------------------------------------------------------------|
1574 * |--------------------------------------------------------------|
1576 * |--------------------------------------------------------------|
1577 * | type-specific stats info |
1579 * |--------------------------------------------------------------|
1581 * - MSG_TYPE
1586 * - COOKIE_LSBS
1588 * Purpose: Provide a mechanism to match a target->host stats confirmation
1589 * message with its preceding host->target stats request message.
1590 * Value: LSBs of the opaque cookie specified by the host-side requestor
1591 * - COOKIE_MSBS
1593 * Purpose: Provide a mechanism to match a target->host stats confirmation
1594 * message with its preceding host->target stats request message.
1595 * Value: MSBs of the opaque cookie specified by the host-side requestor
1597 * Stats Information Element tag-length header fields:
1598 * - STAT_TYPE
1603 * - STATUS
1607 * - DONE
1613 * 0 -> the stats retrieval is ongoing
1614 * 1 -> the stats retrieval is complete
1615 * - LENGTH
1619 * that follows the element tag-length header.
1654 memcpy(addr + 4, &addr_h16, ETH_ALEN - 4); in ath11k_dp_get_mac_addr()