t7xx_cldma_send_skb(9)
π t7xx_cldma_send_skb(9) β like, the whole kernel API manual page, bestie
okay so real talk: this is a page from the Kernel API Manual, and it's about one little function that yeets control data at the modem. her name is t7xx_cldma_send_skb, and she's lowkey carrying the whole "pls wake up and take my packet" situation. let's get into it π«Ά
β¨ NAME β¨
t7xx_cldma_send_skb β send control data to modem. that's it, that's the gig, and she does it every time without complaining. iconic.
πΈ SYNOPSIS πΈ
int t7xx_cldma_send_skb (struct cldma_ctrl *md_ctrl , int qno , struct
sk_buff *skb );
returns an int bestie β so yeah, you're gonna want to actually check that return value. just saying. π
π ARGUMENTS π
md_ctrlβ the CLDMA context structure. this is her emotional support struct, she needs it for everything.qnoβ queue number. which queue are we sliding into? that one. β¨skbβ socket buffer. the actual packet, the payload, the main character of this whole operation.
π RETURN π
she hands you back an int and it always means something, so pls don't ignore her:
0β Success. slay!! we love a clean win π β¨-ENOMEMβ Allocation failure. ran out of memory, tragic, no cap π-EINVALβ Invalid queue request. you asked for a queue that does not exist and she is not entertaining it π-EIOβ Queue is not active. the queue is literally asleep, not responding, closed for business π-ETIMEDOUTβ Timeout waiting for the device to wake up. she waited, she knocked, nobody came to the door. rude. β°
π¦ SEE ALSO π¦
the kernel file herself:
Kernel file ./drivers/net/wwan/t7xx/t7xx_hif_cldma.c
and her whole friend group, go say hi:
t7xx_cldma_q_reset(9)t7xx_cldma_stop(9)t7xx_cldma_start(9)t7xx_cldma_set_recv_skb(9)t7xx_cldma_init(9)
ngl bestie, if you're reading this page you're probably deep in WWAN driver land at 2am. hydrate. π
okay that's the whole page!! π§ from ./drivers/net/wwan/t7xx, dated October 2026 β and yeah, that's the source/version and date, folded in all cute at the end instead of as a boring footer line. mwah. ππ
π¦ 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