mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
rtw89: declare AP mode support
Things are ready for AP mode, so declare this driver can support it. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220207063900.43643-8-pkshih@realtek.com
This commit is contained in:
parent
d95d8d6bba
commit
b478ff6bcb
|
|
@ -2696,7 +2696,8 @@ static int rtw89_core_register_hw(struct rtw89_dev *rtwdev)
|
|||
ieee80211_hw_set(hw, SUPPORTS_PS);
|
||||
ieee80211_hw_set(hw, SUPPORTS_DYNAMIC_PS);
|
||||
|
||||
hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
|
||||
hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
|
||||
BIT(NL80211_IFTYPE_AP);
|
||||
hw->wiphy->available_antennas_tx = BIT(rtwdev->chip->rf_path_num) - 1;
|
||||
hw->wiphy->available_antennas_rx = BIT(rtwdev->chip->rf_path_num) - 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user