WiFi to Wi-Fi in docs and messages.

This commit is contained in:
Robin Davies
2024-09-12 19:19:50 -04:00
parent f34ca1f0da
commit f34da1f494
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -53,12 +53,12 @@ static std::vector<OpClassChannels> opClasses = {
* care of removing invalid channels.
*/
// WiFi 5.
// Wi-Fi 5.
// {WifiMode::IEEE80211A, 128, 36, 177, 4, WifiBandwidth::BW80, true},
// {WifiMode::IEEE80211A, 129, 36, 177, 4, WifiBandwidth::BW160, true},
// {WifiMode::IEEE80211A, 130, 36, 177, 4, WifiBandwidth::BW80P80, true},
// WiFi 6.
// Wi-Fi 6.
// {WifiMode::IEEE80211AX, 131, 1, 233, 4, WifiBandwidth::BW20, true},
// {WifiMode::IEEE80211AX, 132, 1, 233, 8, WifiBandwidth::BW40PLUS, true},
// {WifiMode::IEEE80211AX, 133, 1, 233, 16, WifiBandwidth::BW80, true},
+1 -1
View File
@@ -504,7 +504,7 @@ uint32_t pipedal::ChannelToWifiFrequency(uint32_t channel)
{
return 5500 + (channel - 100) / 5;
}
throw invalid_argument(SS("Invalid WiFi channel: " << channel));
throw invalid_argument(SS("Invalid Wi-Fi channel: " << channel));
}
bool WifiConfigSettings::ValidateChannel(const std::string &countryCode, const std::string &value)
@@ -123,7 +123,7 @@ void WifiDirectConfigSettings::ParseArguments(const std::vector<std::string> &ar
if (!WifiConfigSettings::ValidateChannel(this->countryCode_,channel_))
{
throw invalid_argument(SS("Invalid WiFi channel: " << channel_));
throw invalid_argument(SS("Invalid Wi-Fi channel: " << channel_));
}
}