I had tons of problems with GT6 online so I tried everything with my wifi like port forwarding, DMZ, etc. My PS3 recently bricked and I was given a replacement (older) model and I think the wi-fi is just very bad in it, so I hooked it up via ethernet cable and it's been a black and white difference so far.
With wi-fi it would take like 10 or more seconds to auto-sign in once the console launched to the XMB, and in GT6 when I went to open lobby it would take a long time to establish connection to even see the room list (30 seconds or more). Then when I tried to join a room... probably 70-80% of the time I couldn't join the rooms I tried. It would take forever to load and then timeout, say I couldn't join, or one time it didn't freeze but nothing would happen and I had to reset the system.
Since I changed to ethernet, I sign in almost immediately in the XMB, it takes only a few seconds to connect to GT servers, I can join any room I want (so far) and it joins within a few seconds.
I remember I had a lot of problems in GT5 with disconnect problems or being incompatible with many hosts, but that was when I had a different PS3 with a better wi-fi signal. I remember forwarding my ports and I probably added the PS3 to the DMZ, and I think that seemed to solve the problems back then.