projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95d8d6
)
rtw89: declare AP mode support
author
Ping-Ke Shih
<pkshih@realtek.com>
Mon, 7 Feb 2022 06:39:00 +0000
(14:39 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Thu, 10 Feb 2022 08:40:52 +0000
(10:40 +0200)
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
drivers/net/wireless/realtek/rtw89/core.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtw89/core.c
b/drivers/net/wireless/realtek/rtw89/core.c
index
413bb39
..
a9544b0
100644
(file)
--- a/
drivers/net/wireless/realtek/rtw89/core.c
+++ b/
drivers/net/wireless/realtek/rtw89/core.c
@@
-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;