mcps_data_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 mcps_data_request(9) β€” or, like, the send-data glow-up πŸ’…

okay bestie, welcome to the Kernel API Manual page for mcps_data_request πŸ’– yes that's the manual name, no I'm not gonna make you read it in a boring header line, we're doing this properly.

So real talk: this one is the "Send Data" request, and it does exactly what it says on the tin β€” it's the request according to the API Spec. Main character energy from the jump. πŸŽ€


✨ SYNOPSIS ✨

u8 mcps_data_request (u8 src_addr_mode , u8 dst_address_mode , u16
dst_pan_id , union macaddr *dst_addr , u8 msdu_length , u8 *msdu , u8
msdu_handle , u8 tx_options , struct secspec *security , void
*device_ref );

That's the whole thing, no cap β€” copy it exactly, don't get cute with the types. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

Ten arguments, ten little besties. Here's the vibe check on each one, and I'm keeping the names exactly as they are, because renaming kernel args is not the slay you think it is:

  • src_addr_mode β€” Source Addressing Mode.
  • dst_address_mode β€” Destination Addressing Mode.
  • dst_pan_id β€” Destination PAN ID.
  • dst_addr β€” Pointer to Destination Address.
  • msdu_length β€” length of Data.
  • msdu β€” Pointer to Data.
  • msdu_handle β€” Handle of Data.
  • tx_options β€” Tx Options Bit Field.
  • security β€” Pointer to Security Structure or NULL.
  • device_ref β€” Nondescript pointer to target device. (Nondescript is literally the word, I'm not making that up, she's mysterious and that's fine πŸ’€)

πŸ‘‘ RETURN πŸ‘‘

It hands you back an 802.15.4 status code of action. That's it, that's the whole return section. Short queen behavior. ✨


🌈 SEE ALSO 🌈

okay this is the part where the page goes FULL group chat, because there are so many references and every single one of them is here. Kernel file ./drivers/net/ieee802154/ca8210.c and then:

Like… sixty-ish references, and every single one of them ate. That's the whole list, don't let anyone tell you I skipped one. πŸ’…

real talk bestie: the entire reference crew lives under ./drivers/net/ieee802154, so that's where you go when you wanna read more.

and that's the page!! πŸŽ€ this little love letter came from source ./drivers/net/ieee802154, dated October 2026 β€” mwah, go forth and send that data, iykyk πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from