| 69 | } |
| 70 | |
| 71 | bool openhd::wb::any_card_support_frequency( |
| 72 | uint32_t frequency, const std::vector<WiFiCard>& m_broadcast_cards, |
| 73 | const std::shared_ptr<spdlog::logger>& m_console) { |
| 74 | bool any_supports_frequency = false; |
| 75 | for (const auto& card : m_broadcast_cards) { |
| 76 | if (wifi_card_supports_frequency(card, frequency)) { |
| 77 | any_supports_frequency = true; |
| 78 | } |
| 79 | } |
| 80 | return any_supports_frequency; |
| 81 | } |
| 82 | |
| 83 | bool openhd::wb::set_frequency_and_channel_width_for_all_cards( |
| 84 | uint32_t frequency, uint32_t channel_width, |
nothing calls this directly
no test coverage detected