ENUM IOSM_MDM_SEND_RECV_DATA(9)
π enum iosm_mdm_send_recv_data(9) β Kernel API Manual
okay bestie, pulling up enum iosm_mdm_send_recv_data(9) from the Kernel API Manual β this one's short and sweet and it's literally just "how many bytes are we yeeting at the modem," no cap. tiny page, big send energy. π¦
β¨ NAME β¨
enum iosm_mdm_send_recv_data β the data you send to the modem π
πΈ SYNOPSIS πΈ
enum iosm_mdm_send_recv_data {
IOSM_MDM_SEND_2 ,
IOSM_MDM_SEND_4 ,
IOSM_MDM_SEND_8 ,
IOSM_MDM_SEND_16
};
like, that's the whole lineup. four constants, one vibe check, each one = a chunk size. β
π Constants π
the main characters, in order, no skips:
IOSM_MDM_SEND_2β send 2 bytes of payload. smol. adorable. πIOSM_MDM_SEND_4β send 4 bytes of payload. a little more to work with. β¨IOSM_MDM_SEND_8β send 8 bytes of payload. now we're cooking. π₯IOSM_MDM_SEND_16β send 16 bytes of payload. the big one, the finale, the main character. π
so yeah, the constant is the byte count β pick the size, that's your payload chunk. iykyk. π
π¦ SEE ALSO π¦
go touch some of these next, bestie, they're the rest of the flash-header family in the kernel file ./drivers/net/wwan/iosm/iosm_ipc_flash.h enum:
enum iosm_flash_package_type(9)enum iosm_out_of_session_action(9)enum iosm_out_of_session_type(9)enum iosm_ebl_caps(9)enum iosm_ebl_rsp(9)struct iosm_ebl_one_error(9)struct iosm_ebl_error(9)struct iosm_swid_table(9)struct iosm_flash_msg_control(9)struct iosm_flash_data(9)
ok that's the whole thing!! go forth and send exactly the right number of bytes π«Ά
and that's a wrap on this lil page from ./drivers/net/wwan/iosm, dated October 2026, filed under enum iosm_md...nd_recv_data(9) β mwah, slay, bye bestie!! πππ
π¦ 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