On 17-11-2016 15:39, Johannes Berg wrote: > On Thu, 2016-11-17 at 13:18 +0000, Arend van Spriel wrote: >> Android employs a Wifi-HAL layer in its wireless frame. It basically >> abstracts dealing with netlink messages from the framework. For some >> features it employs nl80211 vendor commands. The goal I set myself is >> to be able to have a generic nl80211 Wifi-HAL implementation. One of >> the features currently requiring the vendor commands is g-scan. We >> can only guess what the 'g' stands for ;-) This series converts the >> vendor command api into common nl80211 api. > > Hehe :) > We also have gscan API. If you're interested, you can see it here: > https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/backport-iwlwifi.git/tree/drivers/net/wireless/intel/iwlwifi/mvm/vendor-cmd.h#n96 I am interested and I did have a look at it when I found out, but I had already tinkered out a large portion so decided to stick with that. >> Before making an attempt to explain more about the g-scan >> functionality first this. While I am still testing the driver >> implementation resulting in numerous questions Dmitry send the email >> below to bring a related discussion to the table..eh.. the linux- >> wireless list. This is probably a good thing as anyone can dive in >> and share their thoughts. > > > Yeah. How does this overlap? Have you looked at it already? The overlap occurred when Dmitry pointed me to this thread in response to questions I had regarding gscan :-p Now the similarity is reflected mainly in terms used for functionality like bss hotlist, batch results, etc. which are also found in gscan defintions in android wifi hal. The main difference between the gscan and universal scan is that gscan specifies everything in a single start request and the universal scan api can be used to add/remove individual scans, which would be equivalent with the ability to add/remove buckets in gscan. I will comment more replying the RFC email from Dmitry. Regards, Arend