cfg80211_testmode_reply(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cfg80211_testmode_reply(9) πŸ’…

ok so picture this: you're deep in the Kernel API Manual (that's the manual name bestie, we're in the kernel docs rn 🌸) and you just need to send your reply. That's literally what this whole page is about. Let's get into it ✨


πŸŽ€ NAME πŸŽ€

cfg80211_testmode_reply β€” it sends the reply skb, no cap, that's the whole job πŸ’Œ


πŸ¦‹ SYNOPSIS πŸ¦‹

int cfg80211_testmode_reply (struct sk_buff *skb );

one function, one argument, immaculate vibes πŸ‘‘


🌸 ARGUMENTS 🌸

  • skb β€” the skb itself, bestie. And listen, it must have been allocated with cfg80211_testmode_alloc_reply_skb. That's not optional, that's the rule. If you roll up with some random skb you made yourself, that's not it πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

So the way this works: calling this function is usually gonna be the last thing you do before you return from the testmode_cmd, which means the move here is to return the error code β€” like, you already know what happened, so hand it back. main character behavior honestly πŸ’…

🫢 important one: this function consumes the skb regardless of the return value. Read that again. Success or error, the skb is gone. Do not touch it after. Do not pass it somewhere else. She's been taken, and she's not coming back 😭

⭐ RETURN ⭐

You get an error code back, or 0 on success. That's it, that's the whole return story πŸŽ€


anyway bestie this is just part 1, so don't go anywhere β€” there's more coming and I'm not done hyping you up yet πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€

okay so before we go, the manpage wants to introduce you to literally everyone it knows πŸ’… no cap, this is the whole cfg80211 friend group, and it is big. but like, every single one is a real page you can go read, so let's run through them:



  • scanning & BSS list handling (the main event) β€” Scanning and BSS list handling(9), struct cfg80211_ssid(9), struct cfg80211_scan_info(9), struct cfg80211_scan_6ghz_params(9), struct cfg80211_scan_request(9), struct cfg80211_match_set(9), struct cfg80211_sched_scan_plan(9), struct cfg80211_bss_select_adjust(9), struct cfg80211_sched_scan_request(9), enum cfg80211_signal_type(9), struct cfg80211_inform_bss(9), struct cfg80211_bss_ies(9), struct cfg80211_bss(9), ieee80211_bss_get_elem(9), ieee80211_bss_get_ie(9)
  • auth / assoc / connect pipeline β€” struct cfg80211_auth_request(9), struct cfg80211_assoc_link(9), struct cfg80211_ml_reconf_req(9), enum cfg80211_assoc_req_flags(9), struct cfg80211_assoc_request(9), struct cfg80211_deauth_request(9), struct cfg80211_disassoc_request(9), struct cfg80211_ibss_params(9), struct cfg80211_bss_selection(9), struct cfg80211_connect_params(9), enum cfg80211_connect_params_changed(9), enum wiphy_params_flags(9), struct cfg80211_pmksa(9)
  • wowlan / coalesce / packet pattern vibes β€” struct cfg80211_pkt_pattern(9), struct cfg80211_wowlan_tcp(9), struct cfg80211_wowlan(9), struct cfg80211_coalesce_rules(9), struct cfg80211_coalesce(9), struct cfg80211_wowlan_nd_match(9), struct cfg80211_wowlan_nd_info(9), struct cfg80211_wowlan_wakeup(9), struct cfg80211_gtk_rekey_data(9), struct cfg80211_update_ft_ies_params(9), struct cfg80211_mgmt_tx_params(9), struct cfg80211_dscp_exception(9), struct cfg80211_dscp_range(9), struct cfg80211_qos_map(9)
  • NAN, aka Neighbor Awareness Networking, aka the social network πŸ¦‹ β€” Neighbor Awareness Networking (NAN)(9), struct cfg80211_nan_band_config(9), struct cfg80211_nan_conf(9), struct cfg80211_nan_channel(9), struct cfg80211_nan_local_sched(9), struct cfg80211_nan_peer_map(9), struct cfg80211_nan_peer_sched(9), enum cfg80211_nan_conf_changes(9), struct cfg80211_nan_func_filter(9), struct cfg80211_nan_func(9)
  • pmk, external auth & pmsr β€” struct cfg80211_pmk_conf(9), struct cfg80211_external_auth_params(9), struct cfg80211_ftm_responder_stats(9), struct cfg80211_pmsr_ftm_result(9), struct cfg80211_pmsr_result(9), struct cfg80211_pmsr_ftm_request_peer(9), struct cfg80211_pmsr_request_peer(9), struct cfg80211_pmsr_request(9), struct cfg80211_update_owe_info(9), struct mgmt_frame_regs(9)




and that's the whole guest list for this stretch of the page πŸ’– every single one of those is a real manpage, so go click around if you're curious β€”

okay the reference list literally keeps going and every single one of these is a baddie in her own right β€” here's the rest of the SEE ALSO crew, and yes you should read them all, bestie, no cap:


okay that's genuinely the whole list, you made it, I'm so proud of you πŸ₯ΉπŸ’– go read a few of them, pick your faves, iykyk.

this little love letter lives at ./include/net, dated October 2026, and it's the cfg80211_testmode_reply(9) page β€” go be iconic with it, bestie, and remember: check your return values πŸ’…βœ¨πŸ¦‹
πŸ“¦ where this page comes from