ieee80211_next_txq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ieee80211_next_txq(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” today’s main character is ieee80211_next_txq(9), and she’s here to hand you the next TX queue to pull packets from. no cap, this is the function that keeps your TX path from just standing there looking cute. ✨

🌸 NAME 🌸

ieee80211_next_txq β€” get next tx queue to pull packets from. that’s the whole vibe. πŸ’…

✨ SYNOPSIS ✨

struct ieee80211_txq * ieee80211_next_txq (struct ieee80211_hw *hw , u8
ac );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer as obtained from ieee80211_alloc_hw. like, the hardware handle you already got from the allocator, bestie.
  • ac β€” AC number to return packets from. yes, the access category number. pick your lane. πŸ›£οΈ

πŸ¦‹ RETURN πŸ¦‹

it returns the next txq if successful, and NULL if no queue is eligible. that’s it. if a txq is returned, you should return it with ieee80211_return_txq after the driver has finished scheduling it. don’t ghost it β€” that’s the rule. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./include/net/mac80211.h, and the whole extended friend group is:

and that’s the page, bestie! sourced from ./include/net, dated October 2026, straight from the Kernel API Manual. mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from