cfg80211_cqm_pktloss_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cfg80211_cqm_pktloss_notify(9) πŸ’–

okay so this is from the Kernel API Manual, section 9 β€” yes, the kernel manual, we're literally in the big leagues now bestie 🫢


✨ NAME ✨

cfg80211_cqm_pktloss_notify β€” the function that tells userspace "hey girl, we're dropping packets to this peer" πŸ“‘πŸ’€


🌸 SYNOPSIS 🌸

void cfg80211_cqm_pktloss_notify (struct net_device *dev , const u8
       *peer , u32 num_packets , gfp_t gfp );

look at that signature, it's giving "I take four arguments and I'm not sorry" πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the network device. the actual netdev we're talking about, she's the main character here πŸ‘‘
  • peer β€” the peer's MAC address, like literally the address of the other end of this whole situation πŸ¦‹
  • num_packets β€” how many packets were lost. and bestie, listen: this should be a fixed threshold, but probably no less than maybe 50, or maybe a throughput dependent threshold (to account for temporary interference). so like, pick your vibe, but don't be weird about it πŸ™ˆ
  • gfp β€” context flags. the allocation-seasoning of the whole operation ✨

ngl the num_packets one is the icon of this whole page β€” fixed threshold? maybe 50-ish minimum? throughput dependent to dodge temporary interference? all of the above, and the manual is not going to make that decision for you πŸ’€

more parts coming, don't go anywhere πŸ’œ

✨ SEE ALSO ✨

okay bestie, buckle up πŸ’… β€” this is the reading list, and it's long. Like genuinely long. But every single one of these is a real friend of ours from ./include/net/cfg80211.h, so we're gonna get through it together, yeah? No skipping, no skimming, we do not leave anyone on read πŸ™ˆ


where it all lives 🌸

  • Kernel file ./include/net/cfg80211.h
  • Introduction(9)
  • Device registration(9)

the band + channel + rate girlies ✨

πŸŽ€ Actions and configuration πŸŽ€

this whole cluster is the "chandef girlies" and honestly they ate πŸ”₯

πŸ¦‹ Scanning and BSS list handling πŸ¦‹

  • 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)
  • 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)
  • 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)

🧚 Neighbor Awareness Networking (NAN) 🧚

yes the vibes-based networking one, she's iconic and she knows it πŸ‘‘

  • 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)
  • 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)

πŸ‘‘ the wiphy-adjacent royalty πŸ‘‘

like, struct cfg80211_ops(9) is the main character here, no cap

πŸ’œ Utility functions πŸ’œ

🌈 Data path helpers 🌈

🌸 Regulatory enforcement infrastructure 🌸

the literal vibe police of the spectrum, respectfully πŸ’€

Internal regulatory db functions πŸ“

🫢 the BSS + MLME notification squad 🫢

RFkill integration ⭐

Vendor commands πŸŽ€

Test mode πŸ¦‹

πŸ’– connect / disconnect / roam notifications πŸ’–

πŸ”₯ the notification besties (our actual neighbours here) πŸ”₯

these are literally our siblings, so like… show some respect ✨

okay so the SEE ALSO list turned into a whole friend group at this point 😭 and NO we are not doing the thing where we skip half of them to look cool. Every single cross-reference gets its moment, exactly as written, no cap. Consider this your tbr pile, bestie β€” pace yourself 🫢

first block: done, hydrated, glowing ✨

quick vibe check: some of these are cfg80211_ girlies, some are ieee80211_ girlies, and two of them (you'll see them, they start with struct) are structs, not functions. two households, both alike in dignity πŸŽ€

the wiphy_ entries arriving fashionably late but serving, as always πŸ’…

genuinely the NAN cluster of the list and I'm obsessed, they're all sitting together 🧚

the color-change girlies said "we're a set, you can't split us" and honestly? iconic 🌈

and that's the whole list β€” all 63 of them, in the original order, nothing dropped, nothing renamed, nothing merged πŸ˜€πŸ’– reading them all is a main character move fr fr.


okay that's genuinely the end of the page, bestie πŸ₯Ή this one lives in ./include/net, it's dated October 2026, and the whole thing is filed under cfg80211_cqm_pktloss_notify(9). go forth and cross-reference responsibly, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from