| 53 | } |
| 54 | |
| 55 | bool wifi::commandhelper::iw_enable_monitor_mode(const std::string &device) { |
| 56 | get_logger()->info("iw_enable_monitor_mode {}", device); |
| 57 | std::vector<std::string> args{"dev", device, "set", "monitor", "otherbss"}; |
| 58 | bool success = OHDUtil::run_command("iw", args); |
| 59 | return success; |
| 60 | } |
| 61 | |
| 62 | // use_ht40_plus: Only in 40Mhz mode |
| 63 | static std::string channel_width_as_iw_string(uint32_t channel_width, |
nothing calls this directly
no test coverage detected