Searched refs:sband_2ghz (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() local3375 sband_2ghz = kmemdup(&rtw89_sband_2ghz, size, GFP_KERNEL); in rtw89_core_set_supported_band()3376 if (!sband_2ghz) in rtw89_core_set_supported_band()3378 rtw89_init_ht_cap(rtwdev, &sband_2ghz->ht_cap); in rtw89_core_set_supported_band()3379 rtw89_init_he_cap(rtwdev, NL80211_BAND_2GHZ, sband_2ghz); in rtw89_core_set_supported_band()3380 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband_2ghz; in rtw89_core_set_supported_band()3407 if (sband_2ghz) in rtw89_core_set_supported_band()3408 kfree(sband_2ghz->iftype_data); in rtw89_core_set_supported_band()3413 kfree(sband_2ghz); in rtw89_core_set_supported_band()