Strange WiFi battery usage on Marshmallow Nexus 5
There is a known issue on Nexus 5/6 with Marshmallow and wifi. This wifi drain has been noted by many users, me included.

http://forum.xda-developers.com/google-nexus-5/help/wifi-plaguing-android-marshmallow-t3220031