ENUM BSS_COMPARE_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum bss_compare_mode(9) ✨

okay so bestie, this is a page straight out of the Kernel API Manual and it's literally just a baby little enum β€” but like, an important baby enum, because it tells the BSS compare logic how to compare stuff. no cap, it's short, it's cute, let's get into it πŸ’…


🌸 NAME 🌸

enum bss_compare_mode β€” BSS compare mode. that's it, that's the whole name, she's simple and she knows it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

enum bss_compare_mode {
    BSS_CMP_REGULAR ,
    BSS_CMP_HIDE_ZLEN ,
    BSS_CMP_HIDE_NUL

};

like, look at her. three constants, zero drama, maximum vibes ✨


πŸ’– Constants πŸ’–

okay so here are the three members and what each one is giving:

  • BSS_CMP_REGULAR β€” the regular compare mode. this is the one you use for insertion and for a normal find. it's the default main character energy of compare modes πŸ‘‘
  • BSS_CMP_HIDE_ZLEN β€” for when you're trying to find a hidden SSID using zero-length mode. sneaky little zero-length moment πŸ™ˆ
  • BSS_CMP_HIDE_NUL β€” for finding a hidden SSID with the NUL-ed out mode. yes, NUL-ed out, that's the actual word, we love a hyphenated legend πŸ’€
ngl bestie, all three of these are about comparing BSS entries β€” two of them are specifically the hidden-SSID-finding variants, and you should pick the one that matches how the hidden SSID is being represented. don't mix them up fr fr 🫢

🌈 SEE ALSO 🌈

  • Kernel file ./net/wireless/scan.c
  • BSS tree/list structure(9)

like yeah, go read scan.c if you want the whole lore, iykyk πŸ”₯


and that's the page!! shoutout to ./net/wireless for being the source and to October 2026 for the date stamp β€” mwah, iconic, periodt πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from