Implementation of passive scanning at LL

Second attempt of submitting a PR which should be based on the good branch this time ! 

I tried to apply your suggestions, tell me if you see a problem somewhere. 

Thanks,

Tom