Re: [RFC V3 01/11] nl80211: add reporting of gscan capabilities

2016-12-13 Thread Arend Van Spriel
On 13-12-2016 17:15, Johannes Berg wrote: > >> +case 14: >> +if (!rdev->wiphy.gscan) { >> +/* done */ >> +state->split_start = 0; >> +break; >> +} >> > > Nit, but I'm not really happy with this - this assume

Re: [RFC V3 01/11] nl80211: add reporting of gscan capabilities

2016-12-13 Thread Johannes Berg
> + case 14: > + if (!rdev->wiphy.gscan) { > + /* done */ > + state->split_start = 0; > + break; > + } > Nit, but I'm not really happy with this - this assumes that case 14 is the last case, if anyone ever ad

[RFC V3 01/11] nl80211: add reporting of gscan capabilities

2016-12-12 Thread Arend van Spriel
From: Arend van Spriel GScan is a scan offload feature used in recent Android releases. This patch adds possibility for wireless device drivers to report their capabilities and provide it to user-space. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Franky Lin Sig