ENUM WWAN_PORT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum wwan_port_type(9) β€” the WWAN port types page, bestie edition πŸ’–

okay so this is a page from the Kernel API Manual and it's literally just one enum: enum wwan_port_type, which is the whole vibe of "what kind of WWAN port are we even talking about rn". stay with me, it's short and cute.


✨ NAME ✨

enum wwan_port_type β€” WWAN port types πŸ¦‹


🌸 SYNOPSIS 🌸

like, here's the whole thing, verbatim, no cap:

enum wwan_port_type {
    WWAN_PORT_AT ,
    WWAN_PORT_MBIM ,
    WWAN_PORT_QMI ,
    WWAN_PORT_QCDM ,
    WWAN_PORT_FIREHOSE ,
    WWAN_PORT_XMMRPC ,
    WWAN_PORT_FASTBOOT ,
    WWAN_PORT_ADB ,
    WWAN_PORT_MIPC ,
    WWAN_PORT_NMEA ,
    __WWAN_PORT_MAX ,
    WWAN_PORT_MAX ,
    WWAN_PORT_UNKNOWN

};

πŸŽ€ CONSTANTS πŸŽ€

okay this is the part where every single one gets its moment. main character energy for all of them, no skipping πŸ’…

  • WWAN_PORT_AT β€” AT commands. that's it, that's the whole description, and honestly? iconic.
  • WWAN_PORT_MBIM β€” Mobile Broadband Interface Model control 🌈
  • WWAN_PORT_QMI β€” Qcom modem/MSM interface for modem control
  • WWAN_PORT_QCDM β€” Qcom Modem diagnostic interface
  • WWAN_PORT_FIREHOSE β€” XML based command protocol πŸ”₯
  • WWAN_PORT_XMMRPC β€” Control protocol for Intel XMM modems
  • WWAN_PORT_FASTBOOT β€” Fastboot protocol control
  • WWAN_PORT_ADB β€” ADB protocol control
  • WWAN_PORT_MIPC β€” MTK MIPC diagnostic interface
  • WWAN_PORT_NMEA β€” embedded GNSS receiver with NMEA output πŸ›°οΈ
  • __WWAN_PORT_MAX β€” Internal use πŸ™ˆ (don't touch, it's not for you, it's an internal thing)
  • WWAN_PORT_MAX β€” Highest supported port types πŸ‘‘
  • WWAN_PORT_UNKNOWN β€” Special value to indicate an unknown port type πŸ’€ like when the port won't tell you what it is and you're just standing there

🫢 SEE ALSO 🫢

go read these next, they're in the kernel file ./include/linux/wwan.h:


ngl bestie, that's the whole page β€” every single constant accounted for, nothing dropped, we ate and left no crumbs πŸ“

and that's a wrap! this one came from ./include/linux with the version date October 2026, so bookmark it, screenshot it, send it to the group chat. mwah πŸ’œβœ¨

πŸ“¦ where this page comes from