STRUCT BRCMF_PKTCNT_LE(9)
π struct brcmf_pktcnt_le(9) π
Hey bestie, welcome to the Kernel API Manual page for struct brcmf_pktcnt_le β no cap, it's just packet counters and it's lowkey iconic β¨
πΈ NAME πΈ
struct brcmf_pktcnt_le β packet counters, periodt. That's the whole vibe π
β¨ SYNOPSIS β¨
struct brcmf_pktcnt_le {
__le32 rx_good_pkt;
__le32 rx_bad_pkt;
__le32 tx_good_pkt;
__le32 tx_bad_pkt;
__le32 rx_ocast_good_pkt;
};
Look at her. Five fields, all __le32, all minding their own business. Art πΌοΈ
π Members π
rx_good_pktβ the packets (MSDUs & MMPDUs, iykyk) that came in from this station and were, like, fine. Good vibes only πrx_bad_pktβ failed rx packets π not everything can slaytx_good_pktβ packets (MSDUs & MMPDUs, again) that got transmitted to this station successfully. She ate π₯tx_bad_pktβ failed tx packets π it happens to the best of usrx_ocast_good_pktβ unicast packets destined for others π¦ not for you, bestie, but still counted. main character energy in the wrong inbox fr fr
π SEE ALSO π
The kernel file lives at ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h β that's her home address π
And here's the whole friend group, all of them, nobody left out π«Ά:
struct brcmf_wsec_pmk_le(9)struct brcmf_wsec_sae_pwd_le(9)struct brcmf_fil_wowl_pattern_le(9)struct brcmf_fil_country_le(9)struct brcmf_rev_info_le(9)struct brcmf_wlc_version_le(9)struct brcmf_assoclist_le(9)struct brcmf_rssi_be(9)struct brcmf_wowl_wakeind_le(9)struct brcmf_pmksa(9)struct brcmf_pmksa_v2(9)struct brcmf_pmksa_v3(9)struct brcmf_pmk_list_le(9)struct brcmf_pmk_list_v2_le(9)struct brcmf_pmk_op_v3_le(9)struct brcmf_pno_param_le(9)struct brcmf_pno_config_le(9)struct brcmf_pno_net_param_le(9)struct brcmf_pno_net_info_le(9)struct brcmf_pno_scanresults_le(9)struct brcmf_pno_macaddr_le(9)struct brcmf_dload_data_le(9)struct brcmf_pno_bssid_le(9)struct brcmf_gtk_keyinfo_le(9)struct brcmf_gscan_bucket_config(9)enum brcmf_gscan_cfg_flags(9)struct brcmf_gscan_config(9)struct brcmf_mkeep_alive_pkt_le(9)
Bestie heads up π¨: these counter fields are __le32, so they're little-endian. Don't just read them raw and act surprised, ok? Convert first π
β¨ That's the whole page, bestie β¨ Big kiss from ./drivers/net/wireless/broadco..., dated October 2026, brought to you by the struct brcmf_pktcnt_le(9) section of the Kernel API Manual. Study her, cite her, love her. Mwah ππ§π
π¦ 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