STRUCT STATION_PARAMETERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

struct station_parameters β€” station parameters. that's it, that's the name, bestie. this page lives in the Kernel API Manual and it's all about struct station_parameters(9) 🫢

✨ SYNOPSIS ✨

okay so here's the struct, copied exactly because we do not play with code in this group chat:

struct station_parameters {
    struct net_device *vlan;
    u32 sta_flags_mask, sta_flags_set;
    u32 sta_modify_mask;
    int listen_interval;
    u16 aid;
    u16 vlan_id;
    u16 peer_aid;
    u8 plink_action;
    u8 plink_state;
    u8 uapsd_queues;
    u8 max_sp;
    enum nl80211_mesh_power_mode local_pm;
    u16 capability;
    const u8 *ext_capab;
    u8 ext_capab_len;
    const u8 *supported_channels;
    u8 supported_channels_len;
    const u8 *supported_oper_classes;
    u8 supported_oper_classes_len;
    int support_p2p_ps;
    u16 airtime_weight;
    bool eml_cap_present;
    u16 eml_cap;
    struct link_station_parameters link_sta_params;
    bool epp_peer;
    const u8 *nmi_mac;
};

πŸ’– Members πŸ’–

one bullet per member, no skipping, periodt. πŸ’…

  • vlan β€” the vlan interface the station should belong to πŸ’œ
  • sta_flags_mask β€” which station flags changed, as a bitmask of BIT(NL80211_STA_FLAG_...) ✨
  • sta_flags_set β€” the station flags values, as a bitmask of BIT(NL80211_STA_FLAG_...) ⭐
  • sta_modify_mask β€” bitmap indicating which parameters changed (for those that don't have a natural "no change" value), see enum station_parameters_apply_mask πŸŽ€
  • listen_interval β€” the listen interval, or -1 for no change. noted, bestie 🫢
  • aid β€” the AID, or zero for no change 🌸
  • vlan_id β€” VLAN ID for the station (if nonzero) πŸ’–
  • peer_aid β€” mesh peer AID, or zero for no change 🌈
  • plink_action β€” the plink action to take πŸ¦‹
  • plink_state β€” set the peer link state for a station ✨
  • uapsd_queues β€” bitmap of queues configured for uapsd. same format as the AC bitmap in the QoS info field πŸ’…
  • max_sp β€” max Service Period. same format as the MAX_SP in the QoS info field (but already shifted down) πŸ”₯
  • local_pm β€” local link-specific mesh power save mode (no change when set to unknown) πŸ‘‘
  • capability β€” station capability πŸ’œ
  • ext_capab β€” extended capabilities of the station ✨
  • ext_capab_len β€” number of extended capabilities πŸŽ€
  • supported_channels β€” supported channels in IEEE 802.11 format 🌸
  • supported_channels_len β€” number of supported channels πŸ¦‹
  • supported_oper_classes β€” supported oper classes in IEEE 802.11 format 🌈
  • supported_oper_classes_len β€” number of supported operating classes ⭐
  • support_p2p_ps β€” information if station supports P2P PS mechanism πŸ’–
  • airtime_weight β€” airtime scheduler weight for this station πŸ‘‘
  • eml_cap_present β€” Specifies if EML capabilities field (eml_cap) is present/updated ✨
  • eml_cap β€” EML capabilities of this station πŸ’…
  • link_sta_params β€” link related params. simple as that 🫢
  • epp_peer β€” EPP peer indication 🌸
  • nmi_mac β€” MAC address of the NMI station of the NAN peer πŸ¦‹

🌈 Description 🌈

This struct is used to change a station and create a new one. literally its whole purpose, bestie β€” change a station, create a new station, slay. πŸ’–

🌈 SEE ALSO 🌈

okay bestie, this is the part where the page name-drops literally everyone in the cfg80211 cinematic universe πŸ’… and yes, every single one of these is a real page you can go read. no skips, no cap, we're listing the whole guest list 🫢

that's the whole extended universe bestie, go forth and cross-reference πŸ’–βœ¨

...and the list literally does not stop, bestie 😭 ok here's the rest of the crew:

ok the NAN girlies are entering the chat, make some room πŸ’…

BSS colouring section, we love a coordinated palette 🎨✨

and the NAN queue continues, she's booked and busy fr fr 🫢


and that's a wrap, bestie πŸŽ€ this whole glow-up lives in ./include/net and it's dated October 2026 β€” go read struct station_parameters(9) and slay your wireless driver era πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from