rtw8822b.c (690e179059e7e89040d1cd564e39761567a8d5dc) rtw8822b.c (f429298d68fba1d67dbe7016a37417a155be0a52)
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/* Copyright(c) 2018-2019 Realtek Corporation
3 */
4
5#include <linux/module.h>
6#include "main.h"
7#include "coex.h"
8#include "fw.h"

--- 2483 unchanged lines hidden (view full) ---

2492 {0xc50, MASKBYTE0, RTW_REG_DOMAIN_MAC8},
2493};
2494
2495static struct rtw_hw_reg_offset rtw8822b_edcca_th[] = {
2496 [EDCCA_TH_L2H_IDX] = {{.addr = 0x8a4, .mask = MASKBYTE0}, .offset = 0},
2497 [EDCCA_TH_H2L_IDX] = {{.addr = 0x8a4, .mask = MASKBYTE1}, .offset = 0},
2498};
2499
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/* Copyright(c) 2018-2019 Realtek Corporation
3 */
4
5#include <linux/module.h>
6#include "main.h"
7#include "coex.h"
8#include "fw.h"

--- 2483 unchanged lines hidden (view full) ---

2492 {0xc50, MASKBYTE0, RTW_REG_DOMAIN_MAC8},
2493};
2494
2495static struct rtw_hw_reg_offset rtw8822b_edcca_th[] = {
2496 [EDCCA_TH_L2H_IDX] = {{.addr = 0x8a4, .mask = MASKBYTE0}, .offset = 0},
2497 [EDCCA_TH_H2L_IDX] = {{.addr = 0x8a4, .mask = MASKBYTE1}, .offset = 0},
2498};
2499
2500struct rtw_chip_info rtw8822b_hw_spec = {
2500const struct rtw_chip_info rtw8822b_hw_spec = {
2501 .ops = &rtw8822b_ops,
2502 .id = RTW_CHIP_TYPE_8822B,
2503 .fw_name = "rtw88/rtw8822b_fw.bin",
2504 .wlan_cpu = RTW_WCPU_11AC,
2505 .tx_pkt_desc_sz = 48,
2506 .tx_buf_desc_sz = 16,
2507 .rx_pkt_desc_sz = 24,
2508 .rx_buf_desc_sz = 8,

--- 34 unchanged lines hidden (view full) ---

2543 .pwr_track_tbl = &rtw8822b_rtw_pwr_track_tbl,
2544 .iqk_threshold = 8,
2545 .bfer_su_max_num = 2,
2546 .bfer_mu_max_num = 1,
2547 .rx_ldpc = true,
2548 .edcca_th = rtw8822b_edcca_th,
2549 .l2h_th_ini_cs = 10 + EDCCA_IGI_BASE,
2550 .l2h_th_ini_ad = -14 + EDCCA_IGI_BASE,
2501 .ops = &rtw8822b_ops,
2502 .id = RTW_CHIP_TYPE_8822B,
2503 .fw_name = "rtw88/rtw8822b_fw.bin",
2504 .wlan_cpu = RTW_WCPU_11AC,
2505 .tx_pkt_desc_sz = 48,
2506 .tx_buf_desc_sz = 16,
2507 .rx_pkt_desc_sz = 24,
2508 .rx_buf_desc_sz = 8,

--- 34 unchanged lines hidden (view full) ---

2543 .pwr_track_tbl = &rtw8822b_rtw_pwr_track_tbl,
2544 .iqk_threshold = 8,
2545 .bfer_su_max_num = 2,
2546 .bfer_mu_max_num = 1,
2547 .rx_ldpc = true,
2548 .edcca_th = rtw8822b_edcca_th,
2549 .l2h_th_ini_cs = 10 + EDCCA_IGI_BASE,
2550 .l2h_th_ini_ad = -14 + EDCCA_IGI_BASE,
2551 .ampdu_density = IEEE80211_HT_MPDU_DENSITY_2,
2551
2552 .coex_para_ver = 0x20070206,
2553 .bt_desired_ver = 0x6,
2554 .scbd_support = true,
2555 .new_scbd10_def = false,
2556 .ble_hid_profile_support = false,
2557 .wl_mimo_ps_support = false,
2558 .pstdma_type = COEX_PSTDMA_FORCE_LPSOFF,

--- 33 unchanged lines hidden ---
2552
2553 .coex_para_ver = 0x20070206,
2554 .bt_desired_ver = 0x6,
2555 .scbd_support = true,
2556 .new_scbd10_def = false,
2557 .ble_hid_profile_support = false,
2558 .wl_mimo_ps_support = false,
2559 .pstdma_type = COEX_PSTDMA_FORCE_LPSOFF,

--- 33 unchanged lines hidden ---