diff --git a/feeds/qca-wifi-7/mac80211/patches-qca/pending/901-compile-fixes.patch b/feeds/qca-wifi-7/mac80211/patches-qca/pending/901-compile-fixes.patch new file mode 100644 index 000000000..18ea49b81 --- /dev/null +++ b/feeds/qca-wifi-7/mac80211/patches-qca/pending/901-compile-fixes.patch @@ -0,0 +1,67 @@ +--- a/drivers/net/wireless/ath/ath12k/wmi.c ++++ b/drivers/net/wireless/ath/ath12k/wmi.c +@@ -13902,7 +13902,7 @@ ath12k_wmi_dcs_interference_event(struct + break; + + default: +- ath12k_warn(ab, ATH12K_DBG_WMI, ++ ath12k_warn(ab, + "For pdev=%d, Invalid Interference type=%d recieved from FW", + pdev_id, interference_type); + break; +--- a/drivers/net/wireless/ath/ath12k/mac.c ++++ b/drivers/net/wireless/ath/ath12k/mac.c +@@ -415,7 +415,7 @@ enum nl80211_eht_ru_alloc ath12k_mac_eht + return ret; + } + +-enum nl80211_he_gi ath12k_mac_he_gi_to_nl80211_he_gi(u8 sgi) ++u32 ath12k_mac_he_gi_to_nl80211_he_gi(u8 sgi) + { + enum nl80211_he_gi ret; + +--- a/drivers/net/wireless/ath/ath12k/vendor.c ++++ b/drivers/net/wireless/ath/ath12k/vendor.c +@@ -2760,7 +2760,7 @@ static int ath12k_vendor_receive_afc_res + + if (nla_parse(tb, QCA_WLAN_VENDOR_ATTR_AFC_RESP_MAX, data, data_len, + ath12k_cfg80211_afc_response_policy, NULL)) { +- ath12k_warn(ar->ab, ATH12K_DBG_AFC, ++ ath12k_warn(ar->ab, + "invalid set afc config policy attribute\n"); + return -EINVAL; + } +@@ -2779,7 +2779,7 @@ static int ath12k_vendor_receive_afc_res + */ + afc_rsp = kzalloc(afc_resp_len, GFP_KERNEL); + } else { +- ath12k_warn(ar->ab, ATH12K_DBG_AFC, ++ ath12k_warn(ar->ab, + "AFC JSON data is not present!"); + return -EINVAL; + } +@@ -2790,13 +2790,13 @@ static int ath12k_vendor_receive_afc_res + tb[QCA_WLAN_VENDOR_ATTR_AFC_RESP_DATA], + afc_resp_len); + } else { +- ath12k_warn(ar->ab, ATH12K_DBG_AFC, ++ ath12k_warn(ar->ab, + "Response buffer allocation failed"); + return -EINVAL; + } + + } else { +- ath12k_warn(ar->ab, ATH12K_DBG_AFC, ++ ath12k_warn(ar->ab, + "AFC JSON data not found"); + return -EINVAL; + } +@@ -2829,7 +2829,7 @@ static int ath12k_vendor_receive_afc_res + break; + + default: +- ath12k_warn(ar->ab, ATH12K_DBG_AFC, "Invalid response format type %d\n", ++ ath12k_warn(ar->ab, "Invalid response format type %d\n", + afc_resp_format); + ret = -EINVAL; + goto exit;