/Linux-v5.4/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822c.c | 18 static void rtw8822c_config_trx_mode(struct rtw_dev *rtwdev, u8 tx_path, 27 static int rtw8822c_read_efuse(struct rtw_dev *rtwdev, u8 *log_map) in rtw8822c_read_efuse() argument 29 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822c_read_efuse() 47 switch (rtw_hci_type(rtwdev)) { in rtw8822c_read_efuse() 59 static void rtw8822c_header_file_init(struct rtw_dev *rtwdev, bool pre) in rtw8822c_header_file_init() argument 61 rtw_write32_set(rtwdev, REG_3WIRE, BIT_3WIRE_TX_EN | BIT_3WIRE_RX_EN); in rtw8822c_header_file_init() 62 rtw_write32_set(rtwdev, REG_3WIRE, BIT_3WIRE_PI_ON); in rtw8822c_header_file_init() 63 rtw_write32_set(rtwdev, REG_3WIRE2, BIT_3WIRE_TX_EN | BIT_3WIRE_RX_EN); in rtw8822c_header_file_init() 64 rtw_write32_set(rtwdev, REG_3WIRE2, BIT_3WIRE_PI_ON); in rtw8822c_header_file_init() 67 rtw_write32_clr(rtwdev, REG_ENCCK, BIT_CCK_OFDM_BLK_EN); in rtw8822c_header_file_init() [all …]
|
D | coex.c | 12 static u8 rtw_coex_next_rssi_state(struct rtw_dev *rtwdev, u8 pre_state, in rtw_coex_next_rssi_state() argument 15 struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_next_rssi_state() 35 static void rtw_coex_limited_tx(struct rtw_dev *rtwdev, in rtw_coex_limited_tx() argument 38 struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_limited_tx() 39 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_limited_tx() 52 coex_stat->darfrc = rtw_read32(rtwdev, REG_DARFRC); in rtw_coex_limited_tx() 53 coex_stat->darfrch = rtw_read32(rtwdev, REG_DARFRCH); in rtw_coex_limited_tx() 54 coex_stat->retry_limit = rtw_read16(rtwdev, REG_RETRY_LIMIT); in rtw_coex_limited_tx() 59 rtw_read8(rtwdev, REG_AMPDU_MAX_TIME_V1); in rtw_coex_limited_tx() 68 rtw_write8_set(rtwdev, REG_TX_HANG_CTRL, BIT_EN_GNT_BT_AWAKE); in rtw_coex_limited_tx() [all …]
|
D | hci.h | 10 int (*tx)(struct rtw_dev *rtwdev, 13 int (*setup)(struct rtw_dev *rtwdev); 14 int (*start)(struct rtw_dev *rtwdev); 15 void (*stop)(struct rtw_dev *rtwdev); 17 int (*write_data_rsvd_page)(struct rtw_dev *rtwdev, u8 *buf, u32 size); 18 int (*write_data_h2c)(struct rtw_dev *rtwdev, u8 *buf, u32 size); 20 u8 (*read8)(struct rtw_dev *rtwdev, u32 addr); 21 u16 (*read16)(struct rtw_dev *rtwdev, u32 addr); 22 u32 (*read32)(struct rtw_dev *rtwdev, u32 addr); 23 void (*write8)(struct rtw_dev *rtwdev, u32 addr, u8 val); [all …]
|
D | mac.c | 11 void rtw_set_channel_mac(struct rtw_dev *rtwdev, u8 channel, u8 bw, in rtw_set_channel_mac() argument 23 rtw_write8(rtwdev, REG_DATA_SC, in rtw_set_channel_mac() 26 value32 = rtw_read32(rtwdev, REG_WMAC_TRXPTCL_CTL); in rtw_set_channel_mac() 39 rtw_write32(rtwdev, REG_WMAC_TRXPTCL_CTL, value32); in rtw_set_channel_mac() 41 value32 = rtw_read32(rtwdev, REG_AFE_CTRL1) & ~(BIT_MAC_CLK_SEL); in rtw_set_channel_mac() 43 rtw_write32(rtwdev, REG_AFE_CTRL1, value32); in rtw_set_channel_mac() 45 rtw_write8(rtwdev, REG_USTIME_TSF, MAC_CLK_SPEED); in rtw_set_channel_mac() 46 rtw_write8(rtwdev, REG_USTIME_EDCA, MAC_CLK_SPEED); in rtw_set_channel_mac() 48 value8 = rtw_read8(rtwdev, REG_CCK_CHECK); in rtw_set_channel_mac() 52 rtw_write8(rtwdev, REG_CCK_CHECK, value8); in rtw_set_channel_mac() [all …]
|
D | rtw8822b.c | 17 static void rtw8822b_config_trx_mode(struct rtw_dev *rtwdev, u8 tx_path, 26 static int rtw8822b_read_efuse(struct rtw_dev *rtwdev, u8 *log_map) in rtw8822b_read_efuse() argument 28 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_read_efuse() 50 switch (rtw_hci_type(rtwdev)) { in rtw8822b_read_efuse() 62 static void rtw8822b_phy_rfe_init(struct rtw_dev *rtwdev) in rtw8822b_phy_rfe_init() argument 65 rtw_write32_mask(rtwdev, 0x64, BIT(29) | BIT(28), 0x3); in rtw8822b_phy_rfe_init() 66 rtw_write32_mask(rtwdev, 0x4c, BIT(26) | BIT(25), 0x0); in rtw8822b_phy_rfe_init() 67 rtw_write32_mask(rtwdev, 0x40, BIT(2), 0x1); in rtw8822b_phy_rfe_init() 70 rtw_write32_mask(rtwdev, 0x1990, 0x3f, 0x30); in rtw8822b_phy_rfe_init() 71 rtw_write32_mask(rtwdev, 0x1990, (BIT(11) | BIT(10)), 0x3); in rtw8822b_phy_rfe_init() [all …]
|
D | ps.c | 12 static int rtw_ips_pwr_up(struct rtw_dev *rtwdev) in rtw_ips_pwr_up() argument 16 ret = rtw_core_start(rtwdev); in rtw_ips_pwr_up() 18 rtw_err(rtwdev, "leave idle state failed\n"); in rtw_ips_pwr_up() 20 rtw_set_channel(rtwdev); in rtw_ips_pwr_up() 21 rtw_flag_clear(rtwdev, RTW_FLAG_INACTIVE_PS); in rtw_ips_pwr_up() 26 int rtw_enter_ips(struct rtw_dev *rtwdev) in rtw_enter_ips() argument 28 rtw_flag_set(rtwdev, RTW_FLAG_INACTIVE_PS); in rtw_enter_ips() 30 rtw_coex_ips_notify(rtwdev, COEX_IPS_ENTER); in rtw_enter_ips() 32 rtw_core_stop(rtwdev); in rtw_enter_ips() 40 struct rtw_dev *rtwdev = data; in rtw_restore_port_cfg_iter() local [all …]
|
D | mac80211.c | 19 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_tx() local 22 if (!rtw_flag_check(rtwdev, RTW_FLAG_RUNNING)) in rtw_ops_tx() 25 rtw_tx_pkt_info_update(rtwdev, &pkt_info, control, skb); in rtw_ops_tx() 26 if (rtw_hci_tx(rtwdev, &pkt_info, skb)) in rtw_ops_tx() 37 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_start() local 40 mutex_lock(&rtwdev->mutex); in rtw_ops_start() 41 ret = rtw_core_start(rtwdev); in rtw_ops_start() 42 mutex_unlock(&rtwdev->mutex); in rtw_ops_start() 49 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_stop() local 51 mutex_lock(&rtwdev->mutex); in rtw_ops_stop() [all …]
|
D | fw.c | 12 static void rtw_fw_c2h_cmd_handle_ext(struct rtw_dev *rtwdev, in rtw_fw_c2h_cmd_handle_ext() argument 23 rtw_tx_report_handle(rtwdev, skb); in rtw_fw_c2h_cmd_handle_ext() 30 void rtw_fw_c2h_cmd_handle(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_fw_c2h_cmd_handle() argument 40 mutex_lock(&rtwdev->mutex); in rtw_fw_c2h_cmd_handle() 44 rtw_coex_bt_info_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle() 47 rtw_coex_wl_fwdbginfo_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle() 50 rtw_fw_c2h_cmd_handle_ext(rtwdev, skb); in rtw_fw_c2h_cmd_handle() 56 mutex_unlock(&rtwdev->mutex); in rtw_fw_c2h_cmd_handle() 59 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_c2h_cmd_rx_irqsafe() argument 69 rtw_dbg(rtwdev, RTW_DBG_FW, "recv C2H, id=0x%02x, seq=0x%02x, len=%d\n", in rtw_fw_c2h_cmd_rx_irqsafe() [all …]
|
D | main.c | 150 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_watch_dog_work() local 153 bool busy_traffic = rtw_flag_check(rtwdev, RTW_FLAG_BUSY_TRAFFIC); in rtw_watch_dog_work() 155 if (!rtw_flag_check(rtwdev, RTW_FLAG_RUNNING)) in rtw_watch_dog_work() 158 ieee80211_queue_delayed_work(rtwdev->hw, &rtwdev->watch_dog_work, in rtw_watch_dog_work() 161 if (rtwdev->stats.tx_cnt > 100 || rtwdev->stats.rx_cnt > 100) in rtw_watch_dog_work() 162 rtw_flag_set(rtwdev, RTW_FLAG_BUSY_TRAFFIC); in rtw_watch_dog_work() 164 rtw_flag_clear(rtwdev, RTW_FLAG_BUSY_TRAFFIC); in rtw_watch_dog_work() 166 if (busy_traffic != rtw_flag_check(rtwdev, RTW_FLAG_BUSY_TRAFFIC)) in rtw_watch_dog_work() 167 rtw_coex_wl_status_change_notify(rtwdev); in rtw_watch_dog_work() 170 rtwdev->stats.tx_unicast = 0; in rtw_watch_dog_work() [all …]
|
D | pci.c | 44 static u8 rtw_pci_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read8() argument 46 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read8() 51 static u16 rtw_pci_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read16() argument 53 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read16() 58 static u32 rtw_pci_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read32() argument 60 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read32() 65 static void rtw_pci_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_pci_write8() argument 67 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_write8() 72 static void rtw_pci_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_pci_write16() argument 74 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_write16() [all …]
|
D | phy.c | 114 static void rtw_phy_cck_pd_init(struct rtw_dev *rtwdev) in rtw_phy_cck_pd_init() argument 116 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_cck_pd_init() 127 void rtw_phy_init(struct rtw_dev *rtwdev) in rtw_phy_init() argument 129 struct rtw_chip_info *chip = rtwdev->chip; in rtw_phy_init() 130 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_init() 144 dm_info->igi_history[0] = rtw_read32_mask(rtwdev, addr, mask); in rtw_phy_init() 145 rtw_phy_cck_pd_init(rtwdev); in rtw_phy_init() 148 void rtw_phy_dig_write(struct rtw_dev *rtwdev, u8 igi) in rtw_phy_dig_write() argument 150 struct rtw_chip_info *chip = rtwdev->chip; in rtw_phy_dig_write() 151 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_dig_write() [all …]
|
D | coex.h | 294 static inline void rtw_coex_set_init(struct rtw_dev *rtwdev) in rtw_coex_set_init() argument 296 struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_set_init() 298 chip->ops->coex_set_init(rtwdev); in rtw_coex_set_init() 302 void rtw_coex_set_ant_switch(struct rtw_dev *rtwdev, u8 ctrl_type, u8 pos_type) in rtw_coex_set_ant_switch() argument 304 struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_set_ant_switch() 309 chip->ops->coex_set_ant_switch(rtwdev, ctrl_type, pos_type); in rtw_coex_set_ant_switch() 312 static inline void rtw_coex_set_gnt_fix(struct rtw_dev *rtwdev) in rtw_coex_set_gnt_fix() argument 314 struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_set_gnt_fix() 316 chip->ops->coex_set_gnt_fix(rtwdev); in rtw_coex_set_gnt_fix() 319 static inline void rtw_coex_set_gnt_debug(struct rtw_dev *rtwdev) in rtw_coex_set_gnt_debug() argument [all …]
|
D | phy.h | 19 void rtw_phy_init(struct rtw_dev *rtwdev); 20 void rtw_phy_dynamic_mechanism(struct rtw_dev *rtwdev); 22 u32 rtw_phy_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 24 bool rtw_phy_write_rf_reg_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 26 bool rtw_phy_write_rf_reg(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 28 bool rtw_phy_write_rf_reg_mix(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 30 void rtw_phy_setup_phy_cond(struct rtw_dev *rtwdev, u32 pkg); 31 void rtw_parse_tbl_phy_cond(struct rtw_dev *rtwdev, const struct rtw_table *tbl); 32 void rtw_parse_tbl_bb_pg(struct rtw_dev *rtwdev, const struct rtw_table *tbl); 33 void rtw_parse_tbl_txpwr_lmt(struct rtw_dev *rtwdev, const struct rtw_table *tbl); [all …]
|
D | efuse.c | 12 static void switch_efuse_bank(struct rtw_dev *rtwdev) in switch_efuse_bank() argument 14 rtw_write32_mask(rtwdev, REG_LDO_EFUSE_CTRL, BIT_MASK_EFUSE_BANK_SEL, in switch_efuse_bank() 38 static int rtw_dump_logical_efuse_map(struct rtw_dev *rtwdev, u8 *phy_map, in rtw_dump_logical_efuse_map() argument 41 u32 physical_size = rtwdev->efuse.physical_size; in rtw_dump_logical_efuse_map() 42 u32 protect_size = rtwdev->efuse.protect_size; in rtw_dump_logical_efuse_map() 43 u32 logical_size = rtwdev->efuse.logical_size; in rtw_dump_logical_efuse_map() 85 static int rtw_dump_physical_efuse_map(struct rtw_dev *rtwdev, u8 *map) in rtw_dump_physical_efuse_map() argument 87 struct rtw_chip_info *chip = rtwdev->chip; in rtw_dump_physical_efuse_map() 88 u32 size = rtwdev->efuse.physical_size; in rtw_dump_physical_efuse_map() 93 switch_efuse_bank(rtwdev); in rtw_dump_physical_efuse_map() [all …]
|
D | debug.c | 16 struct rtw_dev *rtwdev; member 102 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_read_reg() local 109 val = rtw_read8(rtwdev, addr); in rtw_debugfs_get_read_reg() 113 val = rtw_read16(rtwdev, addr); in rtw_debugfs_get_read_reg() 117 val = rtw_read32(rtwdev, addr); in rtw_debugfs_get_read_reg() 127 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_rf_read() local 135 val = rtw_read_rf(rtwdev, path, addr, mask); in rtw_debugfs_get_rf_read() 168 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_read_reg() local 181 rtw_warn(rtwdev, "read reg setting wrong len\n"); in rtw_debugfs_set_read_reg() 193 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_dump_cam() local [all …]
|
D | util.c | 9 bool check_hw_ready(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 target) in check_hw_ready() argument 14 if (rtw_read32_mask(rtwdev, addr, mask) == target) in check_hw_ready() 23 bool ltecoex_read_reg(struct rtw_dev *rtwdev, u16 offset, u32 *val) in ltecoex_read_reg() argument 25 if (!check_hw_ready(rtwdev, LTECOEX_ACCESS_CTRL, LTECOEX_READY, 1)) in ltecoex_read_reg() 28 rtw_write32(rtwdev, LTECOEX_ACCESS_CTRL, 0x800F0000 | offset); in ltecoex_read_reg() 29 *val = rtw_read32(rtwdev, LTECOEX_READ_DATA); in ltecoex_read_reg() 34 bool ltecoex_reg_write(struct rtw_dev *rtwdev, u16 offset, u32 value) in ltecoex_reg_write() argument 36 if (!check_hw_ready(rtwdev, LTECOEX_ACCESS_CTRL, LTECOEX_READY, 1)) in ltecoex_reg_write() 39 rtw_write32(rtwdev, LTECOEX_WRITE_DATA, value); in ltecoex_reg_write() 40 rtw_write32(rtwdev, LTECOEX_ACCESS_CTRL, 0xC00F0000 | offset); in ltecoex_reg_write() [all …]
|
D | debug.h | 25 void rtw_debugfs_init(struct rtw_dev *rtwdev); 29 static inline void rtw_debugfs_init(struct rtw_dev *rtwdev) {} in rtw_debugfs_init() argument 36 void __rtw_dbg(struct rtw_dev *rtwdev, enum rtw_debug_mask mask, 39 #define rtw_dbg(rtwdev, a...) __rtw_dbg(rtwdev, ##a) argument 43 static inline void rtw_dbg(struct rtw_dev *rtwdev, enum rtw_debug_mask mask, in rtw_dbg() argument 48 #define rtw_info(rtwdev, a...) dev_info(rtwdev->dev, ##a) argument 49 #define rtw_warn(rtwdev, a...) dev_warn(rtwdev->dev, ##a) argument 50 #define rtw_err(rtwdev, a...) dev_err(rtwdev->dev, ##a) argument
|
D | tx.c | 11 void rtw_tx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_tx_stats() argument 24 rtwdev->stats.tx_unicast += skb->len; in rtw_tx_stats() 25 rtwdev->stats.tx_cnt++; in rtw_tx_stats() 31 rtw_leave_lps_irqsafe(rtwdev, rtwvif); in rtw_tx_stats() 80 static u8 get_highest_ht_tx_rate(struct rtw_dev *rtwdev, in get_highest_ht_tx_rate() argument 85 if (rtwdev->hal.rf_type == RF_2T2R && sta->ht_cap.mcs.rx_mask[1] != 0) in get_highest_ht_tx_rate() 93 static u8 get_highest_vht_tx_rate(struct rtw_dev *rtwdev, in get_highest_vht_tx_rate() argument 96 struct rtw_efuse *efuse = &rtwdev->efuse; in get_highest_vht_tx_rate() 134 static void rtw_tx_report_enable(struct rtw_dev *rtwdev, in rtw_tx_report_enable() argument 137 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() [all …]
|
D | sec.c | 22 void rtw_sec_write_cam(struct rtw_dev *rtwdev, in rtw_sec_write_cam() argument 73 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, content); in rtw_sec_write_cam() 74 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_write_cam() 78 void rtw_sec_clear_cam(struct rtw_dev *rtwdev, in rtw_sec_clear_cam() argument 95 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, 0); in rtw_sec_clear_cam() 96 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_clear_cam() 99 void rtw_sec_enable_sec_engine(struct rtw_dev *rtwdev) in rtw_sec_enable_sec_engine() argument 101 struct rtw_sec_desc *sec = &rtwdev->sec; in rtw_sec_enable_sec_engine() 108 ctrl_reg = rtw_read16(rtwdev, REG_CR); in rtw_sec_enable_sec_engine() 110 rtw_write16(rtwdev, REG_CR, ctrl_reg); in rtw_sec_enable_sec_engine() [all …]
|
D | rx.c | 9 void rtw_rx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_rx_stats() argument 22 rtwdev->stats.rx_unicast += skb->len; in rtw_rx_stats() 23 rtwdev->stats.rx_cnt++; in rtw_rx_stats() 29 rtw_leave_lps_irqsafe(rtwdev, rtwvif); in rtw_rx_stats() 36 struct rtw_dev *rtwdev; member 48 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_rx_addr_match_iter() local 56 sta = ieee80211_find_sta_by_ifaddr(rtwdev->hw, hdr->addr2, in rtw_rx_addr_match_iter() 68 static void rtw_rx_addr_match(struct rtw_dev *rtwdev, in rtw_rx_addr_match() argument 78 data.rtwdev = rtwdev; in rtw_rx_addr_match() 83 rtw_iterate_vifs_atomic(rtwdev, rtw_rx_addr_match_iter, &data); in rtw_rx_addr_match() [all …]
|
D | ps.h | 10 int rtw_enter_ips(struct rtw_dev *rtwdev); 11 int rtw_leave_ips(struct rtw_dev *rtwdev); 14 void rtw_enter_lps_irqsafe(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); 15 void rtw_leave_lps_irqsafe(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); 16 void rtw_enter_lps(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); 17 void rtw_leave_lps(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); 18 bool rtw_in_lps(struct rtw_dev *rtwdev);
|
D | main.h | 624 int (*mac_init)(struct rtw_dev *rtwdev); 625 int (*read_efuse)(struct rtw_dev *rtwdev, u8 *map); 626 void (*phy_set_param)(struct rtw_dev *rtwdev); 627 void (*set_channel)(struct rtw_dev *rtwdev, u8 channel, 629 void (*query_rx_desc)(struct rtw_dev *rtwdev, u8 *rx_desc, 632 u32 (*read_rf)(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 634 bool (*write_rf)(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 636 void (*set_tx_power_index)(struct rtw_dev *rtwdev); 637 int (*rsvd_page_dump)(struct rtw_dev *rtwdev, u8 *buf, u32 offset, 639 void (*set_antenna)(struct rtw_dev *rtwdev, u8 antenna_tx, [all …]
|
D | fw.h | 265 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, 267 void rtw_fw_c2h_cmd_handle(struct rtw_dev *rtwdev, struct sk_buff *skb); 268 void rtw_fw_send_general_info(struct rtw_dev *rtwdev); 269 void rtw_fw_send_phydm_info(struct rtw_dev *rtwdev); 271 void rtw_fw_do_iqk(struct rtw_dev *rtwdev, struct rtw_iqk_para *para); 272 void rtw_fw_set_pwr_mode(struct rtw_dev *rtwdev); 273 void rtw_fw_query_bt_info(struct rtw_dev *rtwdev); 274 void rtw_fw_wl_ch_info(struct rtw_dev *rtwdev, u8 link, u8 ch, u8 bw); 275 void rtw_fw_query_bt_mp_info(struct rtw_dev *rtwdev, 277 void rtw_fw_force_bt_tx_power(struct rtw_dev *rtwdev, u8 bt_pwr_dec_lvl); [all …]
|
D | util.h | 10 #define rtw_iterate_vifs(rtwdev, iterator, data) \ argument 11 ieee80211_iterate_active_interfaces(rtwdev->hw, \ 13 #define rtw_iterate_vifs_atomic(rtwdev, iterator, data) \ argument 14 ieee80211_iterate_active_interfaces_atomic(rtwdev->hw, \ 16 #define rtw_iterate_stas_atomic(rtwdev, iterator, data) \ argument 17 ieee80211_iterate_stations_atomic(rtwdev->hw, iterator, data)
|
D | mac.h | 28 void rtw_set_channel_mac(struct rtw_dev *rtwdev, u8 channel, u8 bw, 30 int rtw_mac_power_on(struct rtw_dev *rtwdev); 31 void rtw_mac_power_off(struct rtw_dev *rtwdev); 32 int rtw_download_firmware(struct rtw_dev *rtwdev, struct rtw_fw_state *fw); 33 int rtw_mac_init(struct rtw_dev *rtwdev);
|