ieee80211_rts_duration(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ieee80211_rts_duration β€” get the duration field for an RTS frame

okay bestie, welcome to the Kernel API Manual, section 9, where we hang out with the networking girlies 🫢. This little function is ieee80211_rts_duration, and honestly? It's giving "small but crucial." ✨


✨ NAME ✨

ieee80211_rts_duration β€” get the duration field for an RTS frame πŸ’Œ


🌸 SYNOPSIS 🌸

__le16 ieee80211_rts_duration (struct ieee80211_hw *hw , struct
ieee80211_vif *vif , size_t frame_len , const struct ieee80211_tx_info
*frame_txctl );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” the pointer you got from ieee80211_alloc_hw. like, the whole hardware vibe check. πŸ’»
  • vif β€” a struct ieee80211_vif pointer, straight from the add_interface callback. get it from the source, diva. 🌈
  • frame_len β€” the length of the frame that's gonna be protected by the RTS. yes, protected, like it's got bodyguards. πŸ›‘οΈ
  • frame_txctl β€” the struct ieee80211_tx_info of the frame. the receipts, basically. 🧾

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the situation πŸ‘€: if the RTS is generated in firmware, but the host system has to provide the duration field, then the low-level driver uses this function to receive that duration field value β€” and it comes through in little-endian byteorder, no cap. πŸ”₯

so like, firmware makes the frame, but you still gotta hand over the timing info. teamwork. slay. πŸ’…


πŸ‘‘ RETURN πŸ‘‘

The duration. that's it. that's the whole vibe. ⭐


πŸ’– SEE ALSO πŸ’–

buckle up bestie, this reference list is literally the entire header file and half the mac80211 universe. not me listing every single one 😭 β€” but I will, because we don't skip entries in this house. 🏠✨

like, that's ALL of them. every last one. periodt. πŸ’€πŸ‘‘


so yeah, that's the whole page, bestie 🌸. this one lives in ./include/net and the doc stamp says October 2026, from the Kernel API Manual (section 9, obvs). go forth and get those durations. mwah πŸ’‹πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from