What's the medical condition Whitebeard has?
According to the One Piece Wikia, it is just old age.


  While not in battle, Whitebeard was typically on oxygen and attached
  to several medical sensor machines, due to health issues concerning
  his age.