STRUCT IWL_RXQ_SYNC_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_rxq_sync_cmd(9) πŸ’…

okay bestie, so this is a page straight outta the Kernel API Manual β€” yes, the manual is literally called Kernel API Manual, and this struct is the whole main character of it. it's called struct iwl_rxq_sync_cmd, and ngl the vibes are immaculate: it's the RXQ notification trigger. that's the NAME section, we ate that. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct iwl_rxq_sync_cmd {
    __le32 flags;
    __le32 rxq_mask;
    __le32 count;
    u8 payload[];
 };

like, look at her. four fields. one flexible array member at the end doing the absolute most. she's giving lowkey iconic C. πŸŽ€


🌸 Members 🌸

  • flags β€” the flags of the notification, bestie. specifically: bit 0:3 are the sender queue. yes, exactly like that, 0:3. iykyk. πŸ’…
  • rxq_mask β€” the rx queues you wanna send this notification on. it's a mask, so like, mask behavior, you know the drill. 🫢
  • count β€” number of bytes in payload. and listen: it should be DWORD aligned. don't do her dirty with a misaligned count. 😭
  • payload β€” the actual data you're sending to the rx queues. this is the u8 payload[] situation, the flexible array, the part that carries the whole personality. it's giving main character energy fr fr. πŸ”₯

⭐ SEE ALSO ⭐

okay so this struct does not exist alone in the universe β€” she has a whole group chat. all of these live in the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/rx.h:

  • struct iwl_rx_phy_info(9)
  • struct iwl_rx_mpdu_res_start(9)
  • enum iwl_rx_phy_flags(9)
  • enum iwl_mvm_rx_status(9)
  • struct iwl_rx_mpdu_desc_v1(9)
  • struct iwl_rx_mpdu_desc_v3(9)
  • struct iwl_rx_mpdu_desc(9)
  • struct iwl_rx_no_data(9)
  • struct iwl_rx_no_data_ver_3(9)
  • enum iwl_bar_frame_release_sta_tid(9)
  • enum iwl_bar_frame_release_ba_info(9)
  • struct iwl_bar_frame_release(9)
  • struct iwl_rss_config_cmd(9)
  • struct iwl_rxq_sync_notification(9)
  • enum iwl_mvm_pm_event(9)
  • struct iwl_mvm_pm_state_notification(9)
  • struct iwl_ba_window_status_notif(9)
  • struct iwl_rfh_queue_data(9)
  • struct iwl_rfh_queue_config(9)
  • struct iwl_beacon_filter_notif_v1(9)
  • struct iwl_beacon_filter_notif(9)
  • struct iwl_rx_phy_air_sniffer_ntfy(9)

yes that's all of them, no i did not skip any, we don't do that here. go read them all, bestie, it's a whole saga. πŸ“šβœ¨


real talk: the count needs to be DWORD aligned. that's not a vibe suggestion, that's in the docs. consider yourself warned. πŸ™ˆ

and that's the page, bestie! πŸŽ€ it came from ./drivers/net/wireless/intel/i... and it's stamped October 2026 β€” a page so fresh it's basically a time traveler. go forth and trigger those RXQ notifications. slay. πŸ‘‘πŸ’–

πŸ“¦ where this page comes from