ENUM BSS_COMPARE_MODE(9)
β¨ 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 BSStree/liststructure(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
- 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