Default [Q] WiFi internal network transfer speed

Hi guys I would like to know why when using my phone to download through wifi in internet the speed is always perfect (max speed of my connection 5MB\Sec) but when instead I use wifi to transfer files in my LAN to PC I can't reach speed above 300kb \sec...someone knows why? Thanks