[PATCH] bss: Update bss with P2P IE for p2p find

Jouni Malinen j
Sun Sep 28 09:51:30 PDT 2014


On Wed, Sep 10, 2014 at 11:09:41PM -0400, Eduardo Abinader wrote:
> Just update bss scan results for a p2p finding, if the scan
> results contain p2p IE, no matter if the receiving iface
> is p2p or not. Such change saves memory and avoid unecessary
> notifications, by ignoring those BSSs supposedly not relevant
> for p2p find procedure.

p2p_find can be used to run a scan for both P2P device discovery and
non-P2P use cases (finding an AP) without having to run two separate
scans. As such, I'm not sure that it would be justifiable to save some
CPU load if that comes at the price of having to run two separate scans
to cover both the P2P and non-P2P uses.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list