ENUM MAC80211_SCAN_STATE(9)
β¨ enum mac80211_scan_state(9) β¨
okay so bestie, welcome to the Kernel API Manual π today we're doing the scan state machine, and honestly? it's giving main character energy. this is the enum that holds all the states the mac80211 scan state machine can be in. let's get into it π
πΈ NAME πΈ
enum mac80211_scan_state β the scan state machine states, periodt π
π¦ SYNOPSIS π¦
enum mac80211_scan_state {
SCAN_DECISION ,
SCAN_SET_CHANNEL ,
SCAN_SEND_PROBE ,
SCAN_SUSPEND ,
SCAN_RESUME ,
SCAN_ABORT
};
like, that's the whole roster. six states, no cap π₯
π CONSTANTS π
SCAN_DECISIONβ the main entry point to the scan state machine, iykyk. this state is literally the vibe check: it decides whether we keep on scanning or switch back to the operating channel π§SCAN_SET_CHANNELβ sets the next channel to be scanned. next up on the itinerary, bestie β¨SCAN_SEND_PROBEβ sends probe requests and waits for probe responses. it's out here shooting its shot and waiting to see who replies πSCAN_SUSPENDβ suspends the scan and goes back to the operating channel to send out data. not me pausing the side quest to handle actual business πSCAN_RESUMEβ resumes the scan and scans the next channel. we're so back π«ΆSCAN_ABORTβ aborts the scan and goes back to the operating channel. ok we're done here, closing the tab π
π SEE ALSO π
kernel file ./net/mac80211/ieee80211_i.h enum, plus the whole friend group:
ieee80211_bss_corrupt_data_flags(9)enum ieee80211_bss_valid_data_flags(9)enum ieee80211_packet_rx_flags(9)enum ieee80211_rx_flags(9)struct ieee80211_if_ocb(9)struct ieee80211_mesh_sync_ops(9)struct mesh_table(9)struct mesh_tx_cache(9)enum ieee80211_sub_if_data_flags(9)enum ieee80211_sdata_state_bits(9)enum ieee80211_chanctx_mode(9)enum ieee80211_chanctx_replace_state(9)struct txq_info(9)struct ieee80211_if_nan(9)struct ieee80211_if_nan_data(9)enum mac80211_scan_flags(9)ieee80211_parse_ch_switch_ie(9)struct ieee80211_elems_parse_params(9)
like, a whole squad π go read them too fr fr.
π cute sign-off: this icon lives in./net/mac80211and the date on it is October 2026 β and the page title isenum mac80211_scan_state(9), in case you forgot already πβ¨ slay, go scan some channels π¦π
π¦ 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