wifi: rtw89: adjust init_he_cap() to add EHT cap into iftype_data
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 12 Jan 2024 06:26:37 +0000 (14:26 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 18 Jan 2024 09:33:20 +0000 (11:33 +0200)
commitc19443700370d77f400625246df9a825f4ff85f4
treec15d9435a37629ce4fe2e1bc7f2fe21fb14f220a
parent23b8330156e55aa80027d2e962146ada78a693ce
wifi: rtw89: adjust init_he_cap() to add EHT cap into iftype_data

EHT capabilities are also stored in struct ieee80211_sband_iftype_data, so
adjust allocation of iftype_data as common part named init_he_eht_cap(),
and then init_eht_cap() can be added later. Don't change logic at all
by this patch.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240112062640.36922-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c