[PATCH v2] virt_wifi: Return micros for BSS TSF values

2021-03-18 Thread A. Cody Schuffelen
cfg80211_inform_bss expects to receive a TSF value, but is given the time since boot in nanoseconds. TSF values are expected to be at microsecond scale rather than nanosecond scale. Signed-off-by: A. Cody Schuffelen --- drivers/net/wireless/virt_wifi.c | 5 +++-- 1 file changed, 3 insertions

[PATCH] virt_wifi: Return micros for BSS TSF values

2021-03-17 Thread A. Cody Schuffelen
cfg80211_inform_bss expects to receive a TSF value, but is given the time since boot in nanoseconds. TSF values are expected to be at microsecond scale rather than nanosecond scale. Signed-off-by: A. Cody Schuffelen --- drivers/net/wireless/virt_wifi.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH mac80211-next] virt_wifi: Remove REGULATORY_WIPHY_SELF_MANAGED

2019-02-06 Thread Cody Schuffelen
fixes the problem and the virtual wireless network continues to work. Signed-off-by: Cody Schuffelen Acked-by: Alistair Strachan Acked-by: Greg Hartman --- drivers/net/wireless/virt_wifi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/virt_wifi.c b/drivers/net/wireless

Re: [PATCH mac80211-next v4] mac80211-next: rtnetlink wifi simulation device

2018-11-26 Thread Cody Schuffelen
> > +config VIRT_WIFI > > + bool "Wifi wrapper for ethernet drivers" > > The built bot complaint is most likely because of this being bool rather > than tristate (CFG80211=m, VIRT_WIFI=y, I guess, didn't check), I > thought this was because of the wrong reasons and should be back to > tristate?

Re: [PATCH net-next v3] wireless-drivers: rtnetlink wifi simulation device

2018-11-20 Thread Cody Schuffelen
> 1. Do not EVER submit HTML mails, mailing lists will automatically >reject them. So your mail didn't reach the lists and I only got it >because I was in the Cc field. I apologize, my mistake. > 2. Do not top post, it's really annoying: > > > https://wireless.wiki.kernel.org/en/devel

[PATCH net-next] Implement a rtnetlink device which simulates wifi.

2018-07-27 Thread Cody Schuffelen
e instead of forcing packaging of ethernet data into mac80211 frames. Signed-off-by: A. Cody Schuffelen Acked-by: Alistair Strachan Acked-by: Greg Hartman --- drivers/net/wireless/Kconfig | 7 + drivers/net/wireless/Makefile| 2 + drivers/net/wireless/virt_wifi.c | 544 ++