This still is not over. I have upgraded a Macbook Pro (MacBookPro9,2 according to "About your Mac") to Yosemite 10.10.2. The WLAN chipset it has built in is the Broadcom BCM4331. The driver/firmware version is 7.15.159.13.12. I still get the same kind of latency with 1 second pings:
PING 192.168.1.22 (192.168.1.22) 56(84) bytes of data.
64 bytes from 192.168.1.22: icmp_req=1 ttl=64 time=1.84 ms
64 bytes from 192.168.1.22: icmp_req=2 ttl=64 time=111 ms
64 bytes from 192.168.1.22: icmp_req=3 ttl=64 time=31.7 ms
64 bytes from 192.168.1.22: icmp_req=4 ttl=64 time=1.59 ms
64 bytes from 192.168.1.22: icmp_req=5 ttl=64 time=71.6 ms
64 bytes from 192.168.1.22: icmp_req=6 ttl=64 time=104 ms
64 bytes from 192.168.1.22: icmp_req=7 ttl=64 time=19.9 ms
64 bytes from 192.168.1.22: icmp_req=8 ttl=64 time=60.2 ms
64 bytes from 192.168.1.22: icmp_req=9 ttl=64 time=60.4 ms
64 bytes from 192.168.1.22: icmp_req=10 ttl=64 time=87.4 ms
64 bytes from 192.168.1.22: icmp_req=11 ttl=64 time=110 ms
64 bytes from 192.168.1.22: icmp_req=12 ttl=64 time=33.0 ms
64 bytes from 192.168.1.22: icmp_req=13 ttl=64 time=64.6 ms
64 bytes from 192.168.1.22: icmp_req=14 ttl=64 time=76.2 ms
64 bytes from 192.168.1.22: icmp_req=15 ttl=64 time=4.44 ms
64 bytes from 192.168.1.22: icmp_req=16 ttl=64 time=1.63 ms
64 bytes from 192.168.1.22: icmp_req=17 ttl=64 time=42.6 ms
64 bytes from 192.168.1.22: icmp_req=18 ttl=64 time=62.5 ms
64 bytes from 192.168.1.22: icmp_req=19 ttl=64 time=86.3 ms
64 bytes from 192.168.1.22: icmp_req=20 ttl=64 time=109 ms
64 bytes from 192.168.1.22: icmp_req=21 ttl=64 time=30.5 ms
64 bytes from 192.168.1.22: icmp_req=22 ttl=64 time=52.8 ms
64 bytes from 192.168.1.22: icmp_req=23 ttl=64 time=75.3 ms
64 bytes from 192.168.1.22: icmp_req=24 ttl=64 time=98.2 ms
64 bytes from 192.168.1.22: icmp_req=25 ttl=64 time=130 ms
64 bytes from 192.168.1.22: icmp_req=26 ttl=64 time=39.0 ms
64 bytes from 192.168.1.22: icmp_req=27 ttl=64 time=63.7 ms
64 bytes from 192.168.1.22: icmp_req=28 ttl=64 time=86.5 ms
64 bytes from 192.168.1.22: icmp_req=29 ttl=64 time=116 ms
64 bytes from 192.168.1.22: icmp_req=30 ttl=64 time=31.4 ms
64 bytes from 192.168.1.22: icmp_req=31 ttl=64 time=59.2 ms
^C
--- 192.168.1.22 ping statistics ---
31 packets transmitted, 31 received, 0% packet loss, time 30038ms
rtt min/avg/max/mdev = 1.597/62.117/130.333/36.253 ms
If one pings in 0.2 second intervals things look up, but are still not the way they ought to be:
--- 192.168.1.22 ping statistics ---
1848 packets transmitted, 1847 received, 0% packet loss, time 370577ms
rtt min/avg/max/mdev = 0.876/3.763/125.117/7.167 ms
If I boot a Linux distribution on that Macbook and make it accessible via WLAN, the ping average drops to a bit above one millisecond, 1.2 or thereabouts. Also, the maximum latency does not go above 20 milliseconds.
All my testing was done on a pretty quiet WLAN with two workstations attached. The access point was a Ubiquity Unifi, the 2.4 Ghz model that does a/b/g/n. Pinging was not done from the Mac, but from a server on the network (which should not affect results).