ieee80211_be...ate_ema_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ieee80211_beacon_get_template_ema_list β€” okay so this is the EMA beacon template generation situation, bestie πŸ’– and yes we're reading the Kernel API Manual together, grab a snack πŸ“


πŸŽ€ SYNOPSIS πŸŽ€

struct ieee80211_ema_beacons * ieee80211_beacon_get_template_ema_list
(struct ieee80211_hw *hw , struct ieee80211_vif *vif , unsigned int
link_id );

🌸 ARGUMENTS 🌸

  • hw β€” your pointer, and you got it from ieee80211_alloc_hw. that's the whole vibe check for this one 🫢
  • vif β€” a struct ieee80211_vif pointer that came from the add_interface callback. yeah. that one.
  • link_id β€” the link id that this beacon belongs to ✨ (or 0 if you're running a non-MLD AP, no cap)

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function literally follows the exact same rules as ieee80211_beacon_get_template, no new lore there πŸ‘‘ β€” BUT it goes and allocates, and hands you back, a pointer to a list of all the beacon templates you need to cover every single profile in the multiple BSSID set. it's giving "here's the whole collection, not just one" πŸ’…

and each template in that list includes only one multiple BSSID element. just the one. that's the rule 😌

🚨 important bestie alert 🚨 your driver must call ieee80211_beacon_free_ema_list to free that memory. don't leave it hanging, that's not the move πŸ™ˆ

⭐ RETURN ⭐

EMA beacon templates, of type struct ieee80211_ema_beacons * ✨ and on error you get NULL (sad but true 😭).


🧚 SEE ALSO 🧚

okay buckle up, this list is long long πŸ‘‘ the main character file here is ./include/net/mac80211.h, and then we got the whole extended universe:


and that's the whole thing, bestie 🌈 you ate, go free your EMA list and don't forget the free call πŸ’€ 🫢✨

this page lives in ./include/net, dated October 2026 β€” mwah, bye πŸ’œ

πŸ“¦ where this page comes from