ath5k_hw_setup_rx_desc(9)
π ath5k_hw_setup_rx_desc(9) β like, the Kernel API Manual, bestie β¨
Okay so picture this: you're deep in the ath5k wireless driver situation, and there's this one little function that gets your rx control descriptor all cute and ready to go. That's her. That's ath5k_hw_setup_rx_desc. She's giving main character energy in the Kernel API Manual and honestly? Obsessed. π
β¨ NAME β¨
ath5k_hw_setup_rx_desc β initialize an rx control descriptor, periodt π
πΈ SYNOPSIS πΈ
int ath5k_hw_setup_rx_desc (struct ath5k_hw *ah , struct ath5k_desc
*desc , u32 size , unsigned int flags );
That's the whole vibe check right there β she takes four things and hands you back an int. No cap. π¦
π§ ARGUMENTS π§
ahβ thestruct ath5k_hw. That's your hardware struct, the main squeeze of the whole operation πdescβ thestruct ath5k_desc. Your descriptor, the lil' note that tells everyone what's up β¨sizeβ RX buffer length, and it's in bytes (important!! don't come at me with your other units π)flagsβ one of theAR5K_RXDESC_*flags. Literally one. Pick one, bestie, iykyk π
π SEE ALSO π
- Kernel file
./drivers/net/wireless/ath/ath5k/desc.cβ the actual source, go read her π«Ά - Hardware descriptor functions(9)
ath5k_hw_setup_2word_tx_desc(9)ath5k_hw_setup_4word_tx_desc(9)ath5k_hw_setup_mrr_tx_desc(9)ath5k_hw_proc_2word_tx_status(9)ath5k_hw_proc_4word_tx_status(9)ath5k_hw_proc_5210_rx_status(9)ath5k_hw_proc_5212_rx_status(9)ath5k_hw_init_desc_functions(9)
Basically the whole descriptor friend group π they all show up together, it's a whole thing.
Lowkey a friendly heads up: you're gonna want to double-check those AR5K_RXDESC_* flags before you pass one in, because one of is doing a lot of heavy lifting in that sentence and she means it. π
And that's the page, bestie!! π This icon was brought to you by the ./drivers/net/wireless/ath/ath5k source tree, version date October 2026, and the manual page ath5k_hw_setup_rx_desc(9) β slay, go forth, and initialize those descriptors responsibly π
ππ¦
π¦ 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