/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | fw.c | 1186 rtw89_err(rtwdev, "failed to send h2c\n"); 1263 rtw89_err(rtwdev, "failed to send h2c\n"); 1702 rtw89_err(rtwdev, "failed to send h2c\n"); 1738 rtw89_err(rtwdev, "failed to send h2c\n"); 1754 struct rtw89_h2c_dctlinfo_ud_v2 *h2c; local 1755 u32 len = sizeof(*h2c); 1765 h2c = (struct rtw89_h2c_dctlinfo_ud_v2 *)skb->data; 1767 rtw89_cam_fill_dctl_sec_cam_info_v2(rtwdev, rtwvif, rtwsta, h2c); 1777 rtw89_err(rtwdev, "failed to send h2c\n"); 1794 struct rtw89_h2c_dctlinfo_ud_v2 *h2c; local 1849 struct rtw89_h2c_ba_cam *h2c; local 1923 struct rtw89_h2c_ba_cam *h2c; local 1980 struct rtw89_h2c_ba_cam_v1 *h2c; local 2053 struct rtw89_h2c_ba_cam_init *h2c; local 2304 struct rtw89_h2c_lps_ch_info *h2c; local 2473 struct rtw89_h2c_cctlinfo_ud_g7 *h2c; local 2751 struct rtw89_h2c_cctlinfo_ud_g7 *h2c; local 2864 struct rtw89_h2c_cctlinfo_ud_g7 *h2c; local 3012 struct rtw89_h2c_bcn_upd *h2c; local 3091 struct rtw89_h2c_bcn_upd_be *h2c; local 3253 struct rtw89_h2c_join *h2c; local 3321 struct rtw89_h2c_notify_dbcc *h2c; local 3358 struct rtw89_fw_macid_pause_grp *h2c; local 3532 struct rtw89_h2c_bcnfltr *h2c; local 3588 struct rtw89_h2c_ofld_rssi *h2c; local 3634 struct rtw89_h2c_ofld *h2c; local 3676 struct rtw89_h2c_ra *h2c; local 3763 struct rtw89_h2c_cxinit *h2c; local 3828 struct rtw89_h2c_cxinit_v7 *h2c; local 4172 struct rtw89_h2c_cxctrl_v7 *h2c; local 4403 struct rtw89_h2c_chinfo *h2c; local 4474 struct rtw89_h2c_chinfo *h2c; local 4570 struct rtw89_h2c_scanofld *h2c; local 4653 struct rtw89_h2c_scanofld_be *h2c; local 4869 struct rtw89_fw_h2c_rfk_pre_info *h2c; local 4944 struct rtw89_h2c_rf_tssi *h2c; local 4988 struct rtw89_h2c_rf_iqk *h2c; local 5025 struct rtw89_h2c_rf_dpk *h2c; local 5069 struct rtw89_h2c_rf_txgapk *h2c; local 5110 struct rtw89_h2c_rf_dack *h2c; local 5148 struct rtw89_h2c_rf_rxdck *h2c; local 6869 struct rtw89_h2c_mrc_start *h2c; local 6906 struct rtw89_h2c_mrc_del *h2c; local 6937 struct rtw89_h2c_mrc_req_tsf *h2c; local 6981 struct rtw89_h2c_mrc_upd_bitmap *h2c; local 7023 struct rtw89_h2c_mrc_sync *h2c; local 7067 struct rtw89_h2c_mrc_upd_duration *h2c; local [all...] |
H A D | fw.h | 1830 static inline void SET_FWROLE_MAINTAIN_MACID(void *h2c, u32 val) argument 1832 le32p_replace_bits((__le32 *)h2c, val, GENMASK(7, 0)); 1835 static inline void SET_FWROLE_MAINTAIN_SELF_ROLE(void *h2c, u32 val) argument 1837 le32p_replace_bits((__le32 *)h2c, val, GENMASK(9, 8)); 1840 static inline void SET_FWROLE_MAINTAIN_UPD_MODE(void *h2c, u32 val) argument 1842 le32p_replace_bits((__le32 *)h2c, val, GENMASK(12, 10)); 1845 static inline void SET_FWROLE_MAINTAIN_WIFI_ROLE(void *h2c, u32 val) argument 1847 le32p_replace_bits((__le32 *)h2c, val, GENMASK(16, 13)); 1897 static inline void SET_GENERAL_PKT_MACID(void *h2c, u32 val) argument 1899 le32p_replace_bits((__le32 *)h2c, va 1902 SET_GENERAL_PKT_PROBRSP_ID(void *h2c, u32 val) argument 1907 SET_GENERAL_PKT_PSPOLL_ID(void *h2c, u32 val) argument 1912 SET_GENERAL_PKT_NULL_ID(void *h2c, u32 val) argument 1917 SET_GENERAL_PKT_QOS_NULL_ID(void *h2c, u32 val) argument 1922 SET_GENERAL_PKT_CTS2SELF_ID(void *h2c, u32 val) argument 1927 SET_LOG_CFG_LEVEL(void *h2c, u32 val) argument 1932 SET_LOG_CFG_PATH(void *h2c, u32 val) argument 1937 SET_LOG_CFG_COMP(void *h2c, u32 val) argument 1942 SET_LOG_CFG_COMP_EXT(void *h2c, u32 val) argument 1989 SET_LPS_PARM_MACID(void *h2c, u32 val) argument 1994 SET_LPS_PARM_PSMODE(void *h2c, u32 val) argument 1999 SET_LPS_PARM_RLBM(void *h2c, u32 val) argument 2004 SET_LPS_PARM_SMARTPS(void *h2c, u32 val) argument 2009 SET_LPS_PARM_AWAKEINTERVAL(void *h2c, u32 val) argument 2014 SET_LPS_PARM_VOUAPSD(void *h2c, u32 val) argument 2019 SET_LPS_PARM_VIUAPSD(void *h2c, u32 val) argument 2024 SET_LPS_PARM_BEUAPSD(void *h2c, u32 val) argument 2029 SET_LPS_PARM_BKUAPSD(void *h2c, u32 val) argument 2034 SET_LPS_PARM_LASTRPWM(void *h2c, u32 val) argument 2105 RTW89_SET_KEEP_ALIVE_ENABLE(void *h2c, u32 val) argument 2110 RTW89_SET_KEEP_ALIVE_PKT_NULL_ID(void *h2c, u32 val) argument 2115 RTW89_SET_KEEP_ALIVE_PERIOD(void *h2c, u32 val) argument 2120 RTW89_SET_KEEP_ALIVE_MACID(void *h2c, u32 val) argument 2125 RTW89_SET_DISCONNECT_DETECT_ENABLE(void *h2c, u32 val) argument 2130 RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_EN(void *h2c, u32 val) argument 2135 RTW89_SET_DISCONNECT_DETECT_DISCONNECT(void *h2c, u32 val) argument 2140 RTW89_SET_DISCONNECT_DETECT_MAC_ID(void *h2c, u32 val) argument 2145 RTW89_SET_DISCONNECT_DETECT_CHECK_PERIOD(void *h2c, u32 val) argument 2150 RTW89_SET_DISCONNECT_DETECT_TRY_PKT_COUNT(void *h2c, u32 val) argument 2155 RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_LIMIT(void *h2c, u32 val) argument 2160 RTW89_SET_WOW_GLOBAL_ENABLE(void *h2c, u32 val) argument 2165 RTW89_SET_WOW_GLOBAL_DROP_ALL_PKT(void *h2c, u32 val) argument 2170 RTW89_SET_WOW_GLOBAL_RX_PARSE_AFTER_WAKE(void *h2c, u32 val) argument 2175 RTW89_SET_WOW_GLOBAL_WAKE_BAR_PULLED(void *h2c, u32 val) argument 2180 RTW89_SET_WOW_GLOBAL_MAC_ID(void *h2c, u32 val) argument 2185 RTW89_SET_WOW_GLOBAL_PAIRWISE_SEC_ALGO(void *h2c, u32 val) argument 2190 RTW89_SET_WOW_GLOBAL_GROUP_SEC_ALGO(void *h2c, u32 val) argument 2195 RTW89_SET_WOW_GLOBAL_REMOTECTRL_INFO_CONTENT(void *h2c, u32 val) argument 2200 RTW89_SET_WOW_WAKEUP_CTRL_PATTERN_MATCH_ENABLE(void *h2c, u32 val) argument 2205 RTW89_SET_WOW_WAKEUP_CTRL_MAGIC_ENABLE(void *h2c, u32 val) argument 2210 RTW89_SET_WOW_WAKEUP_CTRL_HW_UNICAST_ENABLE(void *h2c, u32 val) argument 2215 RTW89_SET_WOW_WAKEUP_CTRL_FW_UNICAST_ENABLE(void *h2c, u32 val) argument 2220 RTW89_SET_WOW_WAKEUP_CTRL_DEAUTH_ENABLE(void *h2c, u32 val) argument 2225 RTW89_SET_WOW_WAKEUP_CTRL_REKEYP_ENABLE(void *h2c, u32 val) argument 2230 RTW89_SET_WOW_WAKEUP_CTRL_EAP_ENABLE(void *h2c, u32 val) argument 2235 RTW89_SET_WOW_WAKEUP_CTRL_ALL_DATA_ENABLE(void *h2c, u32 val) argument 2240 RTW89_SET_WOW_WAKEUP_CTRL_MAC_ID(void *h2c, u32 val) argument 2245 RTW89_SET_WOW_CAM_UPD_R_W(void *h2c, u32 val) argument 2250 RTW89_SET_WOW_CAM_UPD_IDX(void *h2c, u32 val) argument 2255 RTW89_SET_WOW_CAM_UPD_WKFM1(void *h2c, u32 val) argument 2260 RTW89_SET_WOW_CAM_UPD_WKFM2(void *h2c, u32 val) argument 2265 RTW89_SET_WOW_CAM_UPD_WKFM3(void *h2c, u32 val) argument 2270 RTW89_SET_WOW_CAM_UPD_WKFM4(void *h2c, u32 val) argument 2275 RTW89_SET_WOW_CAM_UPD_CRC(void *h2c, u32 val) argument 2280 RTW89_SET_WOW_CAM_UPD_NEGATIVE_PATTERN_MATCH(void *h2c, u32 val) argument 2285 RTW89_SET_WOW_CAM_UPD_SKIP_MAC_HDR(void *h2c, u32 val) argument 2290 RTW89_SET_WOW_CAM_UPD_UC(void *h2c, u32 val) argument 2295 RTW89_SET_WOW_CAM_UPD_MC(void *h2c, u32 val) argument 2300 RTW89_SET_WOW_CAM_UPD_BC(void *h2c, u32 val) argument 2305 RTW89_SET_WOW_CAM_UPD_VALID(void *h2c, u32 val) argument [all...] |
H A D | cam.c | 71 rtw89_err(rtwdev, "failed to send sec key h2c: %d\n", ret); 93 rtw89_err(rtwdev, "failed to send ext sec key h2c: %d\n", ret); 784 struct rtw89_h2c_dctlinfo_ud_v2 *h2c) 788 h2c->c0 = le32_encode_bits(rtwsta ? rtwsta->mac_id : rtwvif->mac_id, 792 h2c->w4 = le32_encode_bits(addr_cam->sec_ent_keyid[0], 806 h2c->m4 = cpu_to_le32(DCTLINFO_V2_W4_SEC_ENT0_KEYID | 814 h2c->w5 = le32_encode_bits(addr_cam->sec_cam_map[0], 818 h2c->m5 = cpu_to_le32(DCTLINFO_V2_W5_SEC_ENT_VALID_V1 | 821 h2c->w6 = le32_encode_bits(addr_cam->sec_ent[1], 829 h2c 781 rtw89_cam_fill_dctl_sec_cam_info_v2(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, struct rtw89_sta *rtwsta, struct rtw89_h2c_dctlinfo_ud_v2 *h2c) argument [all...] |
H A D | debug.c | 3262 u8 *h2c; local 3266 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); 3267 if (IS_ERR(h2c)) 3270 ret = rtw89_fw_h2c_raw(rtwdev, h2c, h2c_len); 3272 kfree(h2c); 3287 seq_printf(m, "%d: %*ph\n", ++seq, early_h2c->h2c_len, early_h2c->h2c); 3301 u8 *h2c; local 3304 h2c = rtw89_hex2bin_user(rtwdev, user_buf, count); 3305 if (IS_ERR(h2c)) 3308 if (h2c_len >= 2 && h2c[ [all...] |
H A D | phy.c | 1376 "rf reg h2c total len %d larger than %d\n", 1656 rtw89_warn(rtwdev, "rf path %d reg h2c config failed\n", 3584 struct rtw89_h2c_rf_tssi *h2c) 3600 h2c->curr_tssi_trim_de[i] = trim_de; 3609 h2c->curr_tssi_cck_de[i] = 0x0; 3610 h2c->curr_tssi_cck_de_20m[i] = val; 3611 h2c->curr_tssi_cck_de_40m[i] = val; 3612 h2c->curr_tssi_efuse_cck_de[i] = cck_de; 3620 h2c->curr_tssi_ofdm_de[i] = 0x0; 3621 h2c 3581 rtw89_phy_rfk_tssi_fill_fwcmd_efuse_to_de(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, const struct rtw89_chan *chan, struct rtw89_h2c_rf_tssi *h2c) argument 3633 rtw89_phy_rfk_tssi_fill_fwcmd_tmeter_tbl(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, const struct rtw89_chan *chan, struct rtw89_h2c_rf_tssi *h2c) argument [all...] |
H A D | phy.h | 916 struct rtw89_h2c_rf_tssi *h2c); 920 struct rtw89_h2c_rf_tssi *h2c);
|
H A D | cam.h | 484 struct rtw89_h2c_dctlinfo_ud_v2 *h2c);
|
H A D | mac_be.c | 322 SET_QUOTA(h2c, PLE, 3);
|
H A D | core.h | 1987 u32 h2c_cnt; /* fw recv h2c counter */ 1996 __le32 cnt_h2c; /* fw recv h2c counter */ 2010 __le16 cnt_h2c; /* fw recv h2c counter */ 3479 u16 h2c; member in struct:rtw89_ple_quota 4792 u8 *h2c; member in struct:rtw89_early_h2c
|
H A D | mac.c | 1980 SET_QUOTA(h2c, PLE, 3);
|
/linux-master/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8723b.c | 356 struct h2c_cmd h2c; local 359 memset(&h2c, 0, sizeof(struct h2c_cmd)); 360 h2c.bt_mp_oper.cmd = H2C_8723B_BT_MP_OPER; 361 h2c.bt_mp_oper.operreq = 0 | (reqnum << 4); 362 h2c.bt_mp_oper.opcode = BT_MP_OP_WRITE_REG_VALUE; 363 h2c.bt_mp_oper.data = data; 364 rtl8xxxu_gen2_h2c_cmd(priv, &h2c, sizeof(h2c.bt_mp_oper)); 367 memset(&h2c, 0, sizeof(struct h2c_cmd)); 368 h2c 1521 struct h2c_cmd h2c; local [all...] |
H A D | rtl8xxxu_core.c | 992 rtl8xxxu_gen1_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) argument 1025 rtl8xxxu_write16(priv, mbox_ext_reg, le16_to_cpu(h2c->raw.ext)); 1028 le16_to_cpu(h2c->raw.ext)); 1030 rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); 1032 dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c->raw.data)); 1042 rtl8xxxu_gen2_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len) argument 1076 le32_to_cpu(h2c->raw_wide.ext)); 1079 le32_to_cpu(h2c->raw_wide.ext)); 1081 rtl8xxxu_write32(priv, mbox_reg, le32_to_cpu(h2c->raw.data)); 1083 dev_info(dev, "H2C %08x\n", le32_to_cpu(h2c 3414 struct h2c_cmd h2c; local 3942 struct h2c_cmd h2c; local 4639 struct h2c_cmd h2c; local 4660 struct h2c_cmd h2c; local 4691 struct h2c_cmd h2c; local 4712 struct h2c_cmd h2c; local 4730 struct h2c_cmd h2c; local 4744 struct h2c_cmd h2c; local [all...] |
H A D | rtl8xxxu.h | 2086 struct h2c_cmd *h2c, int len);
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.c | 385 struct rtw_h2c_register *h2c) 391 rtw_dbg(rtwdev, RTW_DBG_FW, "send H2C content %08x %08x\n", h2c->w0, 392 h2c->w1); 396 box = rtwdev->h2c.last_box_num; 415 WARN(1, "invalid h2c mail box number\n"); 424 rtw_err(rtwdev, "failed to send h2c command\n"); 429 rtw_write32(rtwdev, box_ex_reg, h2c->w1); 430 rtw_write32(rtwdev, box_reg, h2c->w0); 432 if (++rtwdev->h2c.last_box_num >= 4) 433 rtwdev->h2c 384 rtw_fw_send_h2c_command_register(struct rtw_dev *rtwdev, struct rtw_h2c_register *h2c) argument 436 rtw_fw_send_h2c_command(struct rtw_dev *rtwdev, u8 *h2c) argument 491 rtw_fw_h2c_cmd_dbg(struct rtw_dev *rtwdev, u8 *h2c) argument 598 struct rtw_h2c_register h2c = {}; local [all...] |
H A D | mac.c | 816 rtwdev->h2c.last_box_num = 0; 817 rtwdev->h2c.seq = 0; 959 rtwdev->h2c.last_box_num = 0; 960 rtwdev->h2c.seq = 0;
|
H A D | fw.h | 871 void rtw_fw_h2c_cmd_dbg(struct rtw_dev *rtwdev, u8 *h2c);
|
H A D | debug.c | 1238 rtw_debugfs_add_w(h2c);
|
H A D | main.h | 2041 } h2c; member in struct:rtw_dev
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | dm.c | 374 u8 h2c[4] = { 0 }; local 391 h2c[3] = 0; 392 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); 393 h2c[1] = 0x20; 394 h2c[0] = ++i; 395 rtl92ee_fill_h2c_cmd(hw, H2C_92E_RSSI_REPORT, 4, h2c); 419 h2c[3] = 0; 420 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); 421 h2c[1] = 0x20; 422 h2c[ [all...] |