Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v2 1/2] mac80211_hwsim: enable parent TSF feature
@ 2019-11-22 17:06 James Prestwood
  2019-11-22 17:06 ` [PATCH v2 2/2] mac80211_hwsim: set rx_status mactime/flag for wmediumd path James Prestwood
  0 siblings, 1 reply; 3+ messages in thread
From: James Prestwood @ 2019-11-22 17:06 UTC (permalink / raw)
  To: linux-wireless; +Cc: James Prestwood

Support for this is already in nl80211, and some code paths in
mac80211_hwsim already set the rx_status to allow the parent TSF
value to be sent to user space.

Signed-off-by: James Prestwood <prestwoj@gmail.com>
---
 drivers/net/wireless/mac80211_hwsim.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 772e54f0696f..e9bc599481d4 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2825,6 +2825,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
 			       NL80211_FEATURE_DYNAMIC_SMPS |
 			       NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR;
 	wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
+	wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_BSS_PARENT_TSF);
 
 	hw->wiphy->interface_modes = param->iftypes;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-22 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-22 17:06 [PATCH v2 1/2] mac80211_hwsim: enable parent TSF feature James Prestwood
2019-11-22 17:06 ` [PATCH v2 2/2] mac80211_hwsim: set rx_status mactime/flag for wmediumd path James Prestwood
2019-11-22 17:15   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox