Lines Matching refs:hw
49 static void _rtl8723e_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl8723e_set_bcn_ctrl_reg() argument
52 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723e_set_bcn_ctrl_reg()
53 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_set_bcn_ctrl_reg()
61 static void _rtl8723e_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl8723e_stop_tx_beacon() argument
63 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_stop_tx_beacon()
74 static void _rtl8723e_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl8723e_resume_tx_beacon() argument
76 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_resume_tx_beacon()
87 static void _rtl8723e_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8723e_enable_bcn_sub_func() argument
89 _rtl8723e_set_bcn_ctrl_reg(hw, 0, BIT(1)); in _rtl8723e_enable_bcn_sub_func()
92 static void _rtl8723e_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8723e_disable_bcn_sub_func() argument
94 _rtl8723e_set_bcn_ctrl_reg(hw, BIT(1), 0); in _rtl8723e_disable_bcn_sub_func()
97 void rtl8723e_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl8723e_get_hw_reg() argument
99 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_get_hw_reg()
100 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_get_hw_reg()
101 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_get_hw_reg()
114 rtlpriv->cfg->ops->get_hw_reg(hw, in rtl8723e_get_hw_reg()
151 void rtl8723e_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl8723e_set_hw_reg() argument
153 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_hw_reg()
154 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_set_hw_reg()
155 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_set_hw_reg()
156 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl8723e_set_hw_reg()
157 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_set_hw_reg()
216 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
321 rtl8723_dm_init_edca_turbo(hw); in rtl8723e_set_hw_reg()
324 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
403 rtl8723e_phy_set_io_cmd(hw, (*(enum io_type *)val)); in rtl8723e_set_hw_reg()
428 rtl8723e_dm_rf_saving(hw, true); in rtl8723e_set_hw_reg()
430 rtl8723e_set_fw_pwrmode_cmd(hw, (*(u8 *)val)); in rtl8723e_set_hw_reg()
442 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_AID, in rtl8723e_set_hw_reg()
449 _rtl8723e_set_bcn_ctrl_reg(hw, 0, BIT(3)); in rtl8723e_set_hw_reg()
450 _rtl8723e_set_bcn_ctrl_reg(hw, BIT(4), 0); in rtl8723e_set_hw_reg()
460 rtl8723e_set_fw_rsvdpagepkt(hw, 0); in rtl8723e_set_hw_reg()
462 _rtl8723e_set_bcn_ctrl_reg(hw, BIT(3), 0); in rtl8723e_set_hw_reg()
463 _rtl8723e_set_bcn_ctrl_reg(hw, 0, BIT(4)); in rtl8723e_set_hw_reg()
474 rtl8723e_set_fw_joinbss_report_cmd(hw, (*(u8 *)val)); in rtl8723e_set_hw_reg()
479 rtl8723e_set_p2p_ps_offload_cmd(hw, (*(u8 *)val)); in rtl8723e_set_hw_reg()
496 _rtl8723e_stop_tx_beacon(hw); in rtl8723e_set_hw_reg()
498 _rtl8723e_set_bcn_ctrl_reg(hw, 0, BIT(3)); in rtl8723e_set_hw_reg()
505 _rtl8723e_set_bcn_ctrl_reg(hw, BIT(3), 0); in rtl8723e_set_hw_reg()
508 _rtl8723e_resume_tx_beacon(hw); in rtl8723e_set_hw_reg()
520 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
523 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
527 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
534 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
537 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
541 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_hw_reg()
554 static bool _rtl8723e_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) in _rtl8723e_llt_write() argument
556 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_llt_write()
581 static bool _rtl8723e_llt_table_init(struct ieee80211_hw *hw) in _rtl8723e_llt_table_init() argument
583 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_llt_table_init()
636 status = _rtl8723e_llt_write(hw, i, i + 1); in _rtl8723e_llt_table_init()
641 status = _rtl8723e_llt_write(hw, (txpktbuf_bndy - 1), 0xFF); in _rtl8723e_llt_table_init()
646 status = _rtl8723e_llt_write(hw, i, (i + 1)); in _rtl8723e_llt_table_init()
651 status = _rtl8723e_llt_write(hw, maxpage, txpktbuf_bndy); in _rtl8723e_llt_table_init()
662 static void _rtl8723e_gen_refresh_led_state(struct ieee80211_hw *hw) in _rtl8723e_gen_refresh_led_state() argument
664 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_gen_refresh_led_state()
665 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); in _rtl8723e_gen_refresh_led_state()
666 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8723e_gen_refresh_led_state()
673 rtl8723e_sw_led_on(hw, pled0); in _rtl8723e_gen_refresh_led_state()
675 rtl8723e_sw_led_on(hw, pled0); in _rtl8723e_gen_refresh_led_state()
677 rtl8723e_sw_led_off(hw, pled0); in _rtl8723e_gen_refresh_led_state()
680 static bool _rtl8712e_init_mac(struct ieee80211_hw *hw) in _rtl8712e_init_mac() argument
682 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8712e_init_mac()
683 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8712e_init_mac()
736 if (!_rtl8723e_llt_table_init(hw)) in _rtl8712e_init_mac()
789 _rtl8723e_gen_refresh_led_state(hw); in _rtl8712e_init_mac()
796 static void _rtl8723e_hw_configure(struct ieee80211_hw *hw) in _rtl8723e_hw_configure() argument
798 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl8723e_hw_configure()
799 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_hw_configure()
881 static void _rtl8723e_enable_aspm_back_door(struct ieee80211_hw *hw) in _rtl8723e_enable_aspm_back_door() argument
883 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_enable_aspm_back_door()
884 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl8723e_enable_aspm_back_door()
899 void rtl8723e_enable_hw_security_config(struct ieee80211_hw *hw) in rtl8723e_enable_hw_security_config() argument
901 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_enable_hw_security_config()
929 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_WPA_CONFIG, &sec_reg_value); in rtl8723e_enable_hw_security_config()
933 int rtl8723e_hw_init(struct ieee80211_hw *hw) in rtl8723e_hw_init() argument
935 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_hw_init()
936 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723e_hw_init()
937 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_hw_init()
939 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_hw_init()
940 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_hw_init()
958 rtlpriv->intf_ops->disable_aspm(hw); in rtl8723e_hw_init()
959 rtstatus = _rtl8712e_init_mac(hw); in rtl8723e_hw_init()
966 err = rtl8723_download_fw(hw, false, FW_8723A_POLLING_TIMEOUT_COUNT); in rtl8723e_hw_init()
976 rtl8723e_phy_mac_config(hw); in rtl8723e_hw_init()
986 rtl8723e_phy_bb_config(hw); in rtl8723e_hw_init()
988 rtl8723e_phy_rf_config(hw); in rtl8723e_hw_init()
990 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, MASKDWORD, 0x30255); in rtl8723e_hw_init()
991 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G2, MASKDWORD, 0x50a00); in rtl8723e_hw_init()
993 rtl_set_rfreg(hw, RF90_PATH_A, 0x0C, MASKDWORD, 0x894AE); in rtl8723e_hw_init()
994 rtl_set_rfreg(hw, RF90_PATH_A, 0x0A, MASKDWORD, 0x1AF31); in rtl8723e_hw_init()
995 rtl_set_rfreg(hw, RF90_PATH_A, RF_IPA, MASKDWORD, 0x8F425); in rtl8723e_hw_init()
996 rtl_set_rfreg(hw, RF90_PATH_A, RF_SYN_G2, MASKDWORD, 0x4F200); in rtl8723e_hw_init()
997 rtl_set_rfreg(hw, RF90_PATH_A, RF_RCK1, MASKDWORD, 0x44053); in rtl8723e_hw_init()
998 rtl_set_rfreg(hw, RF90_PATH_A, RF_RCK2, MASKDWORD, 0x80201); in rtl8723e_hw_init()
1000 rtlphy->rfreg_chnlval[0] = rtl_get_rfreg(hw, (enum radio_path)0, in rtl8723e_hw_init()
1002 rtlphy->rfreg_chnlval[1] = rtl_get_rfreg(hw, (enum radio_path)1, in rtl8723e_hw_init()
1004 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl8723e_hw_init()
1005 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl8723e_hw_init()
1006 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl8723e_hw_init()
1007 _rtl8723e_hw_configure(hw); in rtl8723e_hw_init()
1008 rtl_cam_reset_all_entry(hw); in rtl8723e_hw_init()
1009 rtl8723e_enable_hw_security_config(hw); in rtl8723e_hw_init()
1013 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_ETHER_ADDR, mac->mac_addr); in rtl8723e_hw_init()
1014 _rtl8723e_enable_aspm_back_door(hw); in rtl8723e_hw_init()
1015 rtlpriv->intf_ops->enable_aspm(hw); in rtl8723e_hw_init()
1017 rtl8723e_bt_hw_init(hw); in rtl8723e_hw_init()
1020 rtl8723e_phy_set_rfpath_switch(hw, 1); in rtl8723e_hw_init()
1022 rtl8723e_phy_iq_calibrate(hw, true); in rtl8723e_hw_init()
1024 rtl8723e_phy_iq_calibrate(hw, false); in rtl8723e_hw_init()
1028 rtl8723e_dm_check_txpower_tracking(hw); in rtl8723e_hw_init()
1029 rtl8723e_phy_lc_calibrate(hw); in rtl8723e_hw_init()
1032 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl8723e_hw_init()
1034 rtl_set_rfreg(hw, RF90_PATH_A, 0x15, 0x0F, 0x05); in rtl8723e_hw_init()
1046 rtl8723e_dm_init(hw); in rtl8723e_hw_init()
1053 static enum version_8723e _rtl8723e_read_chip_version(struct ieee80211_hw *hw) in _rtl8723e_read_chip_version() argument
1055 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_read_chip_version()
1121 static int _rtl8723e_set_media_status(struct ieee80211_hw *hw, in _rtl8723e_set_media_status() argument
1124 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_set_media_status()
1175 _rtl8723e_stop_tx_beacon(hw); in _rtl8723e_set_media_status()
1176 _rtl8723e_enable_bcn_sub_func(hw); in _rtl8723e_set_media_status()
1178 _rtl8723e_resume_tx_beacon(hw); in _rtl8723e_set_media_status()
1179 _rtl8723e_disable_bcn_sub_func(hw); in _rtl8723e_set_media_status()
1187 rtlpriv->cfg->ops->led_control(hw, ledaction); in _rtl8723e_set_media_status()
1195 void rtl8723e_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid) in rtl8723e_set_check_bssid() argument
1197 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_check_bssid()
1198 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_set_check_bssid()
1206 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_RCR, in rtl8723e_set_check_bssid()
1208 _rtl8723e_set_bcn_ctrl_reg(hw, 0, BIT(4)); in rtl8723e_set_check_bssid()
1211 _rtl8723e_set_bcn_ctrl_reg(hw, BIT(4), 0); in rtl8723e_set_check_bssid()
1212 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl8723e_set_check_bssid()
1217 int rtl8723e_set_network_type(struct ieee80211_hw *hw, in rtl8723e_set_network_type() argument
1220 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_network_type()
1222 if (_rtl8723e_set_media_status(hw, type)) in rtl8723e_set_network_type()
1227 rtl8723e_set_check_bssid(hw, true); in rtl8723e_set_network_type()
1229 rtl8723e_set_check_bssid(hw, false); in rtl8723e_set_network_type()
1238 void rtl8723e_set_qos(struct ieee80211_hw *hw, int aci) in rtl8723e_set_qos() argument
1240 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_qos()
1242 rtl8723_dm_init_edca_turbo(hw); in rtl8723e_set_qos()
1261 void rtl8723e_enable_interrupt(struct ieee80211_hw *hw) in rtl8723e_enable_interrupt() argument
1263 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_enable_interrupt()
1264 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_enable_interrupt()
1271 void rtl8723e_disable_interrupt(struct ieee80211_hw *hw) in rtl8723e_disable_interrupt() argument
1273 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_disable_interrupt()
1274 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_disable_interrupt()
1281 static void _rtl8723e_poweroff_adapter(struct ieee80211_hw *hw) in _rtl8723e_poweroff_adapter() argument
1283 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_poweroff_adapter()
1284 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8723e_poweroff_adapter()
1297 rtl8723ae_firmware_selfreset(hw); in _rtl8723e_poweroff_adapter()
1323 void rtl8723e_card_disable(struct ieee80211_hw *hw) in rtl8723e_card_disable() argument
1325 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_card_disable()
1326 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_card_disable()
1327 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_card_disable()
1332 _rtl8723e_set_media_status(hw, opmode); in rtl8723e_card_disable()
1335 rtlpriv->cfg->ops->led_control(hw, LED_CTL_POWER_OFF); in rtl8723e_card_disable()
1337 _rtl8723e_poweroff_adapter(hw); in rtl8723e_card_disable()
1343 void rtl8723e_interrupt_recognized(struct ieee80211_hw *hw, in rtl8723e_interrupt_recognized() argument
1346 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_interrupt_recognized()
1347 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_interrupt_recognized()
1353 void rtl8723e_set_beacon_related_registers(struct ieee80211_hw *hw) in rtl8723e_set_beacon_related_registers() argument
1356 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_beacon_related_registers()
1357 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_set_beacon_related_registers()
1362 rtl8723e_disable_interrupt(hw); in rtl8723e_set_beacon_related_registers()
1369 rtl8723e_enable_interrupt(hw); in rtl8723e_set_beacon_related_registers()
1372 void rtl8723e_set_beacon_interval(struct ieee80211_hw *hw) in rtl8723e_set_beacon_interval() argument
1374 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_beacon_interval()
1375 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_set_beacon_interval()
1380 rtl8723e_disable_interrupt(hw); in rtl8723e_set_beacon_interval()
1382 rtl8723e_enable_interrupt(hw); in rtl8723e_set_beacon_interval()
1385 void rtl8723e_update_interrupt_mask(struct ieee80211_hw *hw, in rtl8723e_update_interrupt_mask() argument
1388 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_update_interrupt_mask()
1389 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl8723e_update_interrupt_mask()
1398 rtl8723e_disable_interrupt(hw); in rtl8723e_update_interrupt_mask()
1399 rtl8723e_enable_interrupt(hw); in rtl8723e_update_interrupt_mask()
1415 static void _rtl8723e_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, in _rtl8723e_read_txpower_info_from_hwpg() argument
1419 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_read_txpower_info_from_hwpg()
1420 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl8723e_read_txpower_info_from_hwpg()
1627 static void _rtl8723e_read_adapter_info(struct ieee80211_hw *hw, in _rtl8723e_read_adapter_info() argument
1630 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_read_adapter_info()
1631 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl8723e_read_adapter_info()
1632 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8723e_read_adapter_info()
1642 rtl_efuse_shadow_map_update(hw); in _rtl8723e_read_adapter_info()
1690 _rtl8723e_read_txpower_info_from_hwpg(hw, rtlefuse->autoload_failflag, in _rtl8723e_read_adapter_info()
1693 rtl8723e_read_bt_coexist_info_from_hwpg(hw, in _rtl8723e_read_adapter_info()
1836 static void _rtl8723e_hal_customized_behavior(struct ieee80211_hw *hw) in _rtl8723e_hal_customized_behavior() argument
1838 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723e_hal_customized_behavior()
1839 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); in _rtl8723e_hal_customized_behavior()
1840 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl8723e_hal_customized_behavior()
1860 void rtl8723e_read_eeprom_info(struct ieee80211_hw *hw) in rtl8723e_read_eeprom_info() argument
1862 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_read_eeprom_info()
1863 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl8723e_read_eeprom_info()
1865 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723e_read_eeprom_info()
1873 rtlhal->version = _rtl8723e_read_chip_version(hw); in rtl8723e_read_eeprom_info()
1894 _rtl8723e_read_adapter_info(hw, false); in rtl8723e_read_eeprom_info()
1897 _rtl8723e_read_adapter_info(hw, false); in rtl8723e_read_eeprom_info()
1900 _rtl8723e_hal_customized_behavior(hw); in rtl8723e_read_eeprom_info()
1903 static void rtl8723e_update_hal_rate_table(struct ieee80211_hw *hw, in rtl8723e_update_hal_rate_table() argument
1906 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_update_hal_rate_table()
1908 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_update_hal_rate_table()
1909 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723e_update_hal_rate_table()
1992 static void rtl8723e_update_hal_rate_mask(struct ieee80211_hw *hw, in rtl8723e_update_hal_rate_mask() argument
1996 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_update_hal_rate_mask()
1998 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_update_hal_rate_mask()
1999 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl8723e_update_hal_rate_mask()
2121 rtl8723e_fill_h2c_cmd(hw, H2C_RA_MASK, 5, rate_mask); in rtl8723e_update_hal_rate_mask()
2124 void rtl8723e_update_hal_rate_tbl(struct ieee80211_hw *hw, in rtl8723e_update_hal_rate_tbl() argument
2127 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_update_hal_rate_tbl()
2130 rtl8723e_update_hal_rate_mask(hw, sta, rssi_level); in rtl8723e_update_hal_rate_tbl()
2132 rtl8723e_update_hal_rate_table(hw, sta); in rtl8723e_update_hal_rate_tbl()
2135 void rtl8723e_update_channel_access_setting(struct ieee80211_hw *hw) in rtl8723e_update_channel_access_setting() argument
2137 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_update_channel_access_setting()
2138 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_update_channel_access_setting()
2141 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_SLOT_TIME, &mac->slot_time); in rtl8723e_update_channel_access_setting()
2146 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_SIFS, (u8 *)&sifs_timer); in rtl8723e_update_channel_access_setting()
2149 bool rtl8723e_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid) in rtl8723e_gpio_radio_on_off_checking() argument
2151 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_gpio_radio_on_off_checking()
2152 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl8723e_gpio_radio_on_off_checking()
2219 void rtl8723e_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl8723e_set_key() argument
2223 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_set_key()
2224 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_set_key()
2225 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl8723e_set_key()
2248 rtl_cam_mark_invalid(hw, cam_offset + idx); in rtl8723e_set_key()
2249 rtl_cam_empty_entry(hw, cam_offset + idx); in rtl8723e_set_key()
2289 rtl_cam_get_free_entry(hw, p_macaddr); in rtl8723e_set_key()
2310 rtl_cam_del_entry(hw, p_macaddr); in rtl8723e_set_key()
2311 rtl_cam_delete_one_entry(hw, p_macaddr, entry_id); in rtl8723e_set_key()
2319 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl8723e_set_key()
2328 rtl_cam_add_one_entry(hw, in rtl8723e_set_key()
2338 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl8723e_set_key()
2348 static void rtl8723e_bt_var_init(struct ieee80211_hw *hw) in rtl8723e_bt_var_init() argument
2350 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_bt_var_init()
2426 void rtl8723e_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, in rtl8723e_read_bt_coexist_info_from_hwpg() argument
2429 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_read_bt_coexist_info_from_hwpg()
2453 rtl8723e_bt_var_init(hw); in rtl8723e_read_bt_coexist_info_from_hwpg()
2456 void rtl8723e_bt_reg_init(struct ieee80211_hw *hw) in rtl8723e_bt_reg_init() argument
2458 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_bt_reg_init()
2468 void rtl8723e_bt_hw_init(struct ieee80211_hw *hw) in rtl8723e_bt_hw_init() argument
2470 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_bt_hw_init()
2476 void rtl8723e_suspend(struct ieee80211_hw *hw) in rtl8723e_suspend() argument
2480 void rtl8723e_resume(struct ieee80211_hw *hw) in rtl8723e_resume() argument