Skip to main content

parse_survey_dump

Function parse_survey_dump 

Source
pub fn parse_survey_dump(text: &str) -> Option<SurveySample>
Expand description

Parse the output of iw dev <iface> survey dump and return the counters of the channel marked [in use].

Returns None if no in-use channel with both counters is present (some drivers do not report survey data).