Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Dcore.c3369 struct ieee80211_supported_band *sband_2ghz = NULL, *sband_5ghz = NULL; in rtw89_core_set_supported_band() local
3384 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()