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.
203 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0)
248 * - reo_cmd_list
249 * - reo_cmd_cache_flush_list
250 * - reo_cmd_cache_flush_count
317 /* host -> target HTT_SRING_SETUP message
320 * each host facing LMAC SRING. Target setups up HW registers based
328 * |--------------- +-----------------+----------------+------------------|
330 * |----------------------------------------------------------------------|
332 * |----------------------------------------------------------------------|
334 * |----------------------------------------------------------------------|
336 * |----------------------------------------------------------------------|
338 * |----------------------------------------------------------------------|
340 * |----------------------------------------------------------------------|
342 * |----------------------------------------------------------------------|
344 * |----------------------------------------------------------------------|
346 * |----------------------------------------------------------------------|
348 * |----------------------------------------------------------------------|
350 * |----------------------------------------------------------------------|
352 * |----------------------------------------------------------------------|
354 * |----------------------------------------------------------------------|
361 * dword0 - b'0:7 - msg_type: This will be set to
363 * b'8:15 - pdev_id:
366 * b'16:23 - ring_id: identify which ring is to setup,
368 * b'24:31 - ring_type: identify type of host rings,
370 * dword1 - b'0:31 - ring_base_addr_lo: Lower 32bits of ring base address
371 * dword2 - b'0:31 - ring_base_addr_hi: Upper 32bits of ring base address
372 * dword3 - b'0:15 - ring_size: size of the ring in unit of 4-bytes words
373 * b'16:23 - ring_entry_size: Size of each entry in 4-byte word units
374 * b'24:31 - ring_misc_cfg_flag: Valid only for HW_TO_SW_RING and
377 * dword4 - b'0:31 - ring_head_off32_remote_addr_lo:
379 * storing the 4-byte word offset that identifies the head
383 * dword5 - b'0:31 - ring_head_off32_remote_addr_hi:
385 * storing the 4-byte word offset that identifies the head
389 * dword6 - b'0:31 - ring_tail_off32_remote_addr_lo:
391 * storing the 4-byte word offset that identifies the tail
395 * dword7 - b'0:31 - ring_tail_off32_remote_addr_hi:
397 * storing the 4-byte word offset that identifies the tail
401 * dword8 - b'0:31 - ring_msi_addr_lo: Lower 32bits of MSI cfg address
403 * dword9 - b'0:31 - ring_msi_addr_hi: Upper 32bits of MSI cfg address
405 * dword10 - b'0:31 - ring_msi_data: MSI data
408 * dword11 - b'0:14 - intr_batch_counter_th:
409 * batch counter threshold is in units of 4-byte words.
414 * b'15 - sw_intr_mode:
419 * b'16:31 - intr_timer_th:
423 * dword12 - b'0:15 - intr_low_threshold:
428 * b'16:18 - prefetch_timer_cfg:
439 * b'19 - response_required:
441 * b'20:31 - reserved: reserved for future use
480 /* host -> target FW PPDU_STATS config message
489 * |-----------------------------------------------------------|
491 * |-----------------------------------------------------------|
493 * - MSG_TYPE
497 * - PDEV_MASK
503 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
505 * - REQ_TLV_BIT_MASK
569 * |-----------------+----------------+----------------+---------------|
571 * |-------------------------------------------------------------------|
573 * |-------------------------------------------------------------------|
575 * |-------------------------------------------------------------------|
577 * |-------------------------------------------------------------------|
579 * |-------------------------------------------------------------------|
581 * |-------------------------------------------------------------------|
583 * |-------------------------------------------------------------------|
588 * dword0 - b'0:7 - msg_type: This will be set to
590 * b'8:15 - pdev_id:
593 * b'16:23 - ring_id : Identify the ring to configure.
595 * b'24 - status_swap: 1 is to swap status TLV
596 * b'25 - pkt_swap: 1 is to swap packet TLV
597 * b'26:31 - rsvd1: reserved for future use
598 * dword1 - b'0:16 - ring_buffer_size: size of bufferes referenced by rx ring,
601 * - b'16:31 - rsvd2: Reserved for future use
602 * dword2 - b'0:31 - packet_type_enable_flags_0:
604 * bits from low to high: FP, MD, MO - 3 bits
608 * 10 mgmt subtypes * 3 bits -> 30 bits
610 * dword3 - b'0:31 - packet_type_enable_flags_1:
612 * bits from low to high: FP, MD, MO - 3 bits
614 * dword4 - b'0:31 - packet_type_enable_flags_2:
616 * bits from low to high: FP, MD, MO - 3 bits
618 * dword5 - b'0:31 - packet_type_enable_flags_3:
621 * bits from low to high: FP, MD, MO - 3 bits
623 * dword6 - b'0:31 - tlv_filter_in_flags:
956 /* HTT message target->host */
1075 * |----------------------------------------------------------------------|
1077 * |----------------------------------------------------------------------|
1079 * |----------------------------------------------------------------------|
1081 * |----------------------------------------------------------------------|
1083 * |----------------------------------------------------------------------|
1084 * | type-specific stats info |
1086 * |----------------------------------------------------------------------|
1088 * - MSG_TYPE
1093 * - mac_id
1096 * Value: 0-3
1097 * - pdev_id
1100 * Value: 0-3
1102 * 1/2/3 PDEV -> 0/1/2
1103 * - payload_size
1140 /* bw - HTT_PPDU_STATS_BW */
1154 /* BIT [15 : 0] - phy mode (WLAN_PHY_MODE) with which ppdu was transmitted
1155 * BIT [31 : 16] - bandwidth (in MHz) with which ppdu was transmitted
1336 * @brief target -> host packet log message
1341 * The message consists of a 4-octet header,followed by a variable number
1342 * of 32-bit character values.
1345 * |------------------------------------------------------------------|
1347 * |------------------------------------------------------------------|
1349 * |------------------------------------------------------------------|
1350 * - MSG_TYPE
1354 * - mac_id
1357 * Value: 0-3
1358 * - pdev_id
1361 * Value: 0-3
1363 * 1/2/3 PDEV -> 0/1/2
1364 * - payload_size
1375 * @brief host -> target FW extended statistics retrieve
1383 * |-----------------------------------------------------------|
1385 * |-----------------------------------------------------------|
1387 * |-----------------------------------------------------------|
1389 * |-----------------------------------------------------------|
1391 * |-----------------------------------------------------------|
1393 * |-----------------------------------------------------------|
1395 * |-----------------------------------------------------------|
1397 * |-----------------------------------------------------------|
1399 * |-----------------------------------------------------------|
1401 * - MSG_TYPE
1405 * - PDEV_MASK
1411 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
1413 * - STATS_TYPE
1417 * - Reserved
1419 * - CONFIG_PARAM [0]
1422 * Value: stats-type specific configuration value
1424 * - CONFIG_PARAM [1]
1427 * Value: stats-type specific configuration value
1429 * - CONFIG_PARAM [2]
1432 * Value: stats-type specific configuration value
1434 * - CONFIG_PARAM [3]
1437 * Value: stats-type specific configuration value
1439 * - Reserved [31:0] for future use.
1440 * - COOKIE_LSBS
1442 * Purpose: Provide a mechanism to match a target->host stats confirmation
1443 * message with its preceding host->target stats request message.
1444 * Value: LSBs of the opaque cookie specified by the host-side requestor
1445 * - COOKIE_MSBS
1447 * Purpose: Provide a mechanism to match a target->host stats confirmation
1448 * message with its preceding host->target stats request message.
1449 * Value: MSBs of the opaque cookie specified by the host-side requestor
1483 * [Bit0] - [0] for sw_peer_id, [1] for mac_addr based request
1511 * @brief target -> host extended statistics upload
1516 * The message contains a cookie echoed from the HTT host->target stats
1520 * will have tag-length-value stats information elements.
1521 * The tag-length header for each HTT stats IND message also includes a
1529 * |--------------------------------------------------------------|
1531 * |--------------------------------------------------------------|
1533 * |--------------------------------------------------------------|
1535 * |--------------------------------------------------------------|
1537 * |--------------------------------------------------------------|
1538 * | type-specific stats info |
1540 * |--------------------------------------------------------------|
1542 * - MSG_TYPE
1547 * - COOKIE_LSBS
1549 * Purpose: Provide a mechanism to match a target->host stats confirmation
1550 * message with its preceding host->target stats request message.
1551 * Value: LSBs of the opaque cookie specified by the host-side requestor
1552 * - COOKIE_MSBS
1554 * Purpose: Provide a mechanism to match a target->host stats confirmation
1555 * message with its preceding host->target stats request message.
1556 * Value: MSBs of the opaque cookie specified by the host-side requestor
1558 * Stats Information Element tag-length header fields:
1559 * - STAT_TYPE
1564 * - STATUS
1568 * - DONE
1574 * 0 -> the stats retrieval is ongoing
1575 * 1 -> the stats retrieval is complete
1576 * - LENGTH
1580 * that follows the element tag-length header.
1608 memcpy(addr + 4, &addr_h16, ETH_ALEN - 4); in ath11k_dp_get_mac_addr()