We finished floor and sub floor and now

Please tell us nails we should use on wall frame as well as on roll roofing.
I have been told 16d common for wall framing ...correct me if am wrong...

Two of the four walls will have dimensional lumber 2x4 at 16" center
and other two will have pressure treated 2x6 again 16" center ..so advice accordingly.
also what type of nails to be used when we put t1-11?