Searched refs:sband_5ghz (Results 1 – 1 of 1) sorted by relevance
3369 struct ieee80211_supported_band *sband_2ghz = NULL, *sband_5ghz = NULL; in rtw89_core_set_supported_band() local3384 sband_5ghz = kmemdup(&rtw89_sband_5ghz, size, GFP_KERNEL); in rtw89_core_set_supported_band()3385 if (!sband_5ghz) in rtw89_core_set_supported_band()3387 rtw89_init_ht_cap(rtwdev, &sband_5ghz->ht_cap); in rtw89_core_set_supported_band()3388 rtw89_init_vht_cap(rtwdev, &sband_5ghz->vht_cap); in rtw89_core_set_supported_band()3389 rtw89_init_he_cap(rtwdev, NL80211_BAND_5GHZ, sband_5ghz); in rtw89_core_set_supported_band()3390 hw->wiphy->bands[NL80211_BAND_5GHZ] = sband_5ghz; in rtw89_core_set_supported_band()3409 if (sband_5ghz) in rtw89_core_set_supported_band()3410 kfree(sband_5ghz->iftype_data); in rtw89_core_set_supported_band()3414 kfree(sband_5ghz); in rtw89_core_set_supported_band()