rt2x00queue_get_tx_queue(9)
π rt2x00queue_get_tx_queue β bestie's guide to the Kernel API Manual β¨
okay so this is the page for rt2x00queue_get_tx_queue(9), straight out of the Kernel API Manual β yes, that Kernel API Manual, the one we all know and love π«Ά. She's a tiny little function with one job and she does it immaculately. Let's get into it.
πΈ NAME πΈ
rt2x00queue_get_tx_queue β literally takes a tx queue index and hands you back the queue pointer. That's it. That's the whole gig. Iconic behaviour, no notes π
β¨ SYNOPSIS β¨
struct data_queue * rt2x00queue_get_tx_queue (struct rt2x00_dev
*rt2x00dev , enum data_queue_qid queue );
look at her. beautiful. two arguments, one return value, zero drama. main character energy fr fr π
π ARGUMENTS π
rt2x00devβ a pointer tostruct rt2x00_dev. just the dev, bestie. she needs to know who we're talking about before she can find what you're looking for πqueueβ the rt2x00 queue index. like, the integer-y one β seeenum data_queue_qidfor the full menu of options π
π¦ DESCRIPTION π¦
so you hand her a queue index and she converts it into a queue pointer. simple, clean, slay.
and if you pass her something that isn't a tx queue? she returns NULL. no cap, no error code, no little tantrum β just NULL π that's the entire documented behaviour and honestly? respect.
β οΈ lowkey important:NULLcomes back for non-tx queues. that's the whole vibe check. if you getNULL, that's the reason. don't come for her, she told you upfront π
π₯ SEE ALSO π₯
she doesn't work alone, she runs with a whole crew π
- Kernel file
./drivers/net/wireless/ralink/rt2x00/rt2x00.h struct hw_mode_spec(9)rt2x00queue_map_txskb(9)rt2x00queue_unmap_skb(9)rt2x00queue_get_entry(9)rt2x00queue_pause_queue(9)rt2x00queue_unpause_queue(9)rt2x00queue_start_queue(9)rt2x00queue_stop_queue(9)rt2x00queue_flush_queue(9)rt2x00queue_start_queues(9)rt2x00queue_stop_queues(9)rt2x00queue_flush_queues(9)rt2x00debug_dump_frame(9)
π okay that's the page!! source/version is ./drivers/net/wireless/ralink/... and it's dated October 2026 β so she's from the future, which honestly tracks ππ go forth and convert those queue indices, bestie. periodt. πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms