File kernel614.patch of Package rtw89
diff -Naur rtw89/mac.c rtw89n/mac.c
--- rtw89/mac.c 2024-05-10 19:27:01.538191592 +0200
+++ rtw89n/mac.c 2025-04-20 14:04:02.436775378 +0200
@@ -5359,11 +5359,11 @@
case RTW89_MAC_C2H_CLASS_FWDBG:
return;
default:
- rtw89_info(rtwdev, "c2h class %d not support\n", class);
+ rtw89_info(rtwdev, "MAC c2h class %d not support\n", class);
return;
}
if (!handler) {
- rtw89_info(rtwdev, "c2h class %d func %d not support\n", class,
+ rtw89_info(rtwdev, "MAC c2h class %d func %d not support\n", class,
func);
return;
}
diff -Naur rtw89/phy.c rtw89n/phy.c
--- rtw89/phy.c 2024-08-25 17:07:41.254606798 +0200
+++ rtw89n/phy.c 2025-04-20 14:22:52.541052852 +0200
@@ -3131,11 +3131,15 @@
wait->state, wait->version,
(int)(len - sizeof(report->hdr)), &report->state);
}
+static void
+rtw89_phy_c2h_rfk_log_tas_pwr(struct rtw89_dev *rtwdev, struct sk_buff *c2h, u32 len)
+{
+}
static
void (* const rtw89_phy_c2h_rfk_report_handler[])(struct rtw89_dev *rtwdev,
struct sk_buff *c2h, u32 len) = {
- [RTW89_PHY_C2H_RFK_REPORT_FUNC_STATE] = rtw89_phy_c2h_rfk_report_state,
+ [RTW89_PHY_C2H_RFK_LOG_TAS_PWR] = rtw89_phy_c2h_rfk_log_tas_pwr,
};
bool rtw89_phy_c2h_chk_atomic(struct rtw89_dev *rtwdev, u8 class, u8 func)
@@ -3189,11 +3193,11 @@
return;
fallthrough;
default:
- rtw89_info(rtwdev, "c2h class %d not support\n", class);
+ rtw89_info(rtwdev, "PHY c2h class %d not support", class);
return;
}
if (!handler) {
- rtw89_info(rtwdev, "c2h class %d func %d not support\n", class,
+ rtw89_info(rtwdev, "PHY c2h class %d func %d not support", class,
func);
return;
}
diff -Naur rtw89/phy.h rtw89n/phy.h
--- rtw89/phy.h 2024-05-10 19:27:01.538191592 +0200
+++ rtw89n/phy.h 2025-04-20 14:08:14.816887183 +0200
@@ -150,6 +150,7 @@
enum rtw89_phy_c2h_rfk_report_func {
RTW89_PHY_C2H_RFK_REPORT_FUNC_STATE = 0,
+ RTW89_PHY_C2H_RFK_LOG_TAS_PWR = 6,
};
enum rtw89_phy_c2h_dm_func {