ieee80211_txq_airtime_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ieee80211_txq_airtime_check β€” the kernel API manual, bestie edition ✨

okay so real talk: this is a page from the Kernel API Manual, and bestie, it's about one (1) very specific little vibe check for your WiFi driver. It's called ieee80211_txq_airtime_check</p> and honestly? She's small but she's important.


🌸 NAME 🌸

ieee80211_txq_airtime_check β€” check if a txq can send frame to device

Like, literally just a ✨ vibe check ✨ for your transmit queue. Is there airtime budget left? Yes or no. That's it. That's the whole function. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ieee80211_txq_airtime_check (struct ieee80211_hw *hw , struct
       ieee80211_txq *txq );

Look at her. Two pointers in, one bool out. Iconic, unproblematic, lowkey perfect. πŸ’œ


πŸ’– ARGUMENTS πŸ’–

  • hw β€” pointer obtained from ieee80211_alloc_hw. Yeah, the hardware one. You know her. πŸ‘‘
  • txq β€” pointer obtained from station or virtual interface. She's the transmit queue you're asking about, and no, you cannot just make one up. πŸ™ˆ

⭐ RETURN ⭐

So here's the tea, and it's genuinely useful so pay attention please:

Returns true if the AQL's airtime limit has not been reached and the txq can continue to send more packets to the device. Otherwise it returns false. πŸ’€

That's the whole deal. true = go off, send more. false = bestie, put the packets down, you've hit the limit. No cap. πŸ”₯


🌈 SEE ALSO 🌈

okay this section is long β€” like, unreasonably long, it's giving "the entire header file got dumped into one list" energy. But I promised to keep every single one, so here we go, buckle up. 🫢

that was a lot. drink some water. πŸ’€πŸ’§


heads up bestie: this page lives in ./include/net, it's dated October 2026, and it's filed under ieee80211_txq_airtime_check(9) in the Kernel API Manual. Go read the source if you need the full lore β€” this is just the sparknotes version. 🧚✨

later bestie, go ship some packets responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from