ENUM QLINK_TLV_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME

okay so this is the enum qlink_tlv_id(9) page from the Kernel API Manual, and it's literally just list of TLVs that Qlink messages can carry. that's the whole vibe. TLVs, bestie. it's giving "type-length-value catalog" and honestly? we respect it πŸ’…


✨ SYNOPSIS

enum qlink_tlv_id {
    QTN_TLV_ID_FRAG_THRESH ,
    QTN_TLV_ID_RTS_THRESH ,
    QTN_TLV_ID_SRETRY_LIMIT ,
    QTN_TLV_ID_LRETRY_LIMIT ,
    QTN_TLV_ID_REG_RULE ,
    QTN_TLV_ID_CHANNEL ,
    QTN_TLV_ID_CHANDEF ,
    QTN_TLV_ID_BITMAP ,
    QTN_TLV_ID_STA_STATS ,
    QTN_TLV_ID_COVERAGE_CLASS ,
    QTN_TLV_ID_IFACE_LIMIT ,
    QTN_TLV_ID_CHANNEL_STATS ,
    QTN_TLV_ID_KEY ,
    QTN_TLV_ID_SEQ ,
    QTN_TLV_ID_IE_SET ,
    QTN_TLV_ID_EXT_CAPABILITY_MASK ,
    QTN_TLV_ID_ACL_DATA ,
    QTN_TLV_ID_BUILD_NAME ,
    QTN_TLV_ID_BUILD_REV ,
    QTN_TLV_ID_BUILD_TYPE ,
    QTN_TLV_ID_BUILD_LABEL ,
    QTN_TLV_ID_HW_ID ,
    QTN_TLV_ID_CALIBRATION_VER ,
    QTN_TLV_ID_UBOOT_VER ,
    QTN_TLV_ID_RANDOM_MAC_ADDR ,
    QTN_TLV_ID_WOWLAN_CAPAB ,
    QTN_TLV_ID_WOWLAN_PATTERN ,
    QTN_TLV_ID_IFTYPE_DATA

};

like, all 28 of them, in order, no notes πŸ”₯


πŸ¦‹ Constants

so the tea here is: most of these have no description AT ALL on this page. the source literally says -- undescribed -- and honestly, iconic mystery behavior. keeping it 100% accurate:

  • QTN_TLV_ID_FRAG_THRESH β€” -- undescribed --, so we're left guessing 🫠
  • QTN_TLV_ID_RTS_THRESH β€” -- undescribed --, no crumbs.
  • QTN_TLV_ID_SRETRY_LIMIT β€” -- undescribed --, the manpage said nothing.
  • QTN_TLV_ID_LRETRY_LIMIT β€” -- undescribed --, silent treatment fr.
  • QTN_TLV_ID_REG_RULE β€” -- undescribed --, blank. empty. nada.
  • QTN_TLV_ID_CHANNEL β€” -- undescribed --, mystery box behavior πŸ’€
  • QTN_TLV_ID_CHANDEF β€” -- undescribed --, same energy.
  • QTN_TLV_ID_BITMAP β€” ok this one has actual lore πŸ‘‘ it's a data representing a bitmap that is used together with other TLVs:
    • enum qlink_sta_info β€” used to indicate which statistic carried in QTN_TLV_ID_STA_STATS is valid.
    • enum qlink_hw_capab β€” listing wireless card capabilities.
    • enum qlink_driver_capab β€” listing driver/host system capabilities.
    • enum qlink_chan_stat β€” used to indicate which statistic carried in QTN_TLV_ID_CHANNEL_STATS is valid.
  • QTN_TLV_ID_STA_STATS β€” per-STA statistics as defined by struct qlink_sta_stats. and bestie, only the valid values are marked as such in a bitmap carried by QTN_TLV_ID_BITMAP ✨
  • QTN_TLV_ID_COVERAGE_CLASS β€” -- undescribed --, we know nothing πŸ’”
  • QTN_TLV_ID_IFACE_LIMIT β€” -- undescribed --, ghosted by the docs.
  • QTN_TLV_ID_CHANNEL_STATS β€” -- undescribed --, no context given.
  • QTN_TLV_ID_KEY β€” -- undescribed --, keeping secrets fr πŸ”
  • QTN_TLV_ID_SEQ β€” -- undescribed --, no comment.
  • QTN_TLV_ID_IE_SET β€” -- undescribed --, that's it, that's the entry.
  • QTN_TLV_ID_EXT_CAPABILITY_MASK β€” -- undescribed --, nothing to report.
  • QTN_TLV_ID_ACL_DATA β€” -- undescribed --, head empty, no thoughts.
  • QTN_TLV_ID_BUILD_NAME β€” -- undescribed --, unnamed (ironically).
  • QTN_TLV_ID_BUILD_REV β€” -- undescribed --, no revision notes either.
  • QTN_TLV_ID_BUILD_TYPE β€” -- undescribed --, type unspecified, slay.
  • QTN_TLV_ID_BUILD_LABEL β€” -- undescribed --, label unlabeled 😭
  • QTN_TLV_ID_HW_ID β€” -- undescribed --, no ID card shown.
  • QTN_TLV_ID_CALIBRATION_VER β€” -- undescribed --, uncalibrated documentation.
  • QTN_TLV_ID_UBOOT_VER β€” -- undescribed --, bootloader lore withheld.
  • QTN_TLV_ID_RANDOM_MAC_ADDR β€” -- undescribed --, appropriately random info.
  • QTN_TLV_ID_WOWLAN_CAPAB β€” -- undescribed --, no capabilities listed here.
  • QTN_TLV_ID_WOWLAN_PATTERN β€” -- undescribed --, pattern not found.
  • QTN_TLV_ID_IFTYPE_DATA β€” finally, a description! it's supported band data πŸ“Ά
real talk: don't go inventing meanings for the -- undescribed -- ones, bestie. the page says what it says and nothing more 🫢

πŸ‘‘ SEE ALSO

the main character of this whole saga: the kernel file ./drivers/net/wireless/quantenna/qtnfmac/qlink.h β€” and then a truly enormous friend group:

  • enum qlink_msg_type(9), struct qlink_msg_header(9), enum qlink_hw_capab(9), enum qlink_driver_capab(9), struct qlink_intf_info(9), struct qlink_channel(9)
  • struct qlink_chandef(9), struct qlink_sta_info_state(9), enum qlink_sr_ctrl_flags(9), struct qlink_sr_params(9), enum qlink_cmd_type(9), struct qlink_cmd(9)
  • struct qlink_cmd_init_fw(9), struct qlink_cmd_manage_intf(9), struct qlink_cmd_mgmt_frame_register(9), struct qlink_cmd_frame_tx(9), struct qlink_cmd_get_sta_info(9)
  • struct qlink_cmd_add_key(9), struct qlink_cmd_set_def_key(9), struct qlink_cmd_set_def_mgmt_key(9), struct qlink_cmd_change_sta(9), struct qlink_cmd_del_sta(9)
  • struct qlink_cmd_connect(9), struct qlink_cmd_external_auth(9), struct qlink_cmd_disconnect(9), struct qlink_cmd_updown(9), enum qlink_band(9)
  • struct qlink_cmd_band_info_get(9), struct qlink_cmd_get_chan_stats(9), enum qlink_reg_initiator(9), enum qlink_user_reg_hint_type(9), struct qlink_cmd_reg_notify(9)
  • enum qlink_chan_sw_flags(9), struct qlink_cmd_chan_switch(9), enum qlink_hidden_ssid(9), struct qlink_cmd_start_ap(9), struct qlink_cmd_start_cac(9)
  • struct qlink_acl_data(9), enum qlink_pm_mode(9), struct qlink_cmd_pm_set(9), enum qlink_txpwr_op(9), struct qlink_cmd_txpwr(9)
  • enum qlink_wowlan_trigger(9), struct qlink_cmd_wowlan_set(9), struct qlink_cmd_ndev_event(9), struct qlink_cmd_ndev_changeupper(9), enum qlink_scan_flags(9)
  • struct qlink_cmd_scan(9), struct qlink_cmd_update_owe(9), struct qlink_resp(9), struct qlink_resp_init_fw(9), enum qlink_dfs_regions(9)
  • struct qlink_resp_get_mac_info(9), struct qlink_resp_get_hw_info(9), struct qlink_resp_manage_intf(9), struct qlink_resp_get_sta_info(9), struct qlink_resp_band_info_get(9)
  • struct qlink_resp_get_chan_stats(9), struct qlink_resp_channel_get(9), struct qlink_resp_txpwr(9), struct qlink_event(9), struct qlink_event_sta_assoc(9)
  • struct qlink_event_sta_deauth(9), struct qlink_event_bss_join(9), struct qlink_event_bss_leave(9), struct qlink_event_freq_change(9), struct qlink_event_rxmgmt(9)
  • struct qlink_event_scan_result(9), enum qlink_scan_complete_flags(9), struct qlink_event_scan_complete(9), struct qlink_event_radar(9), struct qlink_event_external_auth(9)
  • struct qlink_event_mic_failure(9), struct qlink_event_update_owe(9), enum qlink_reg_rule_flags(9), struct qlink_tlv_reg_rule(9), struct qlink_tlv_channel(9)
  • struct qlink_tlv_chandef(9), struct qlink_tlv_ie_set(9), struct qlink_tlv_ext_ie(9), struct qlink_tlv_iftype_data(9), enum qlink_chan_stat(9)
  • struct qlink_chan_stats(9), enum qlink_sta_info(9), struct qlink_sta_info_rate(9), struct qlink_sta_stats(9), struct qlink_random_mac_addr(9)
  • struct qlink_wowlan_capab_data(9), struct qlink_wowlan_support(9)

like. that's the whole extended universe 🌈


and that's the page, bestie 🫢 this lil writeup came from the kernel source path ./drivers/net/wireless/quanten... (that's how it shows up, truncated and all, no cap) and it's dated October 2026 β€” so mark your calendar and stan responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from