Home
last modified time | relevance | path

Searched refs:sband_5ghz (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dcore.c2845 struct ieee80211_supported_band *sband_2ghz = NULL, *sband_5ghz = NULL; in rtw89_core_set_supported_band() local
2860 sband_5ghz = kmemdup(&rtw89_sband_5ghz, size, GFP_KERNEL); in rtw89_core_set_supported_band()
2861 if (!sband_5ghz) in rtw89_core_set_supported_band()
2863 rtw89_init_ht_cap(rtwdev, &sband_5ghz->ht_cap); in rtw89_core_set_supported_band()
2864 rtw89_init_vht_cap(rtwdev, &sband_5ghz->vht_cap); in rtw89_core_set_supported_band()
2865 rtw89_init_he_cap(rtwdev, NL80211_BAND_5GHZ, sband_5ghz); in rtw89_core_set_supported_band()
2866 hw->wiphy->bands[NL80211_BAND_5GHZ] = sband_5ghz; in rtw89_core_set_supported_band()
2885 if (sband_5ghz) in rtw89_core_set_supported_band()
2886 kfree(sband_5ghz->iftype_data); in rtw89_core_set_supported_band()
2890 kfree(sband_5ghz); in rtw89_core_set_supported_band()